]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/windows_wrap.cpp
More about the sizer changes
[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 if (PyNumber_Check(obj))
389 return PyInt_AsLong(obj);
390 else {
391 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
392 obj->ob_type->tp_name);
393 PyErr_SetObject(PyExc_TypeError, errmsg);
394 Py_DECREF(errmsg);
395 return 0;
396 }
397 }
398
399
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject *obj)
403 {
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj),
406 "int", INT_MIN, INT_MAX));
407 }
408 #else
409 #define SWIG_AsInt SWIG_AsLong
410 #endif
411
412
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject* obj)
415 {
416 SWIG_AsInt(obj);
417 if (PyErr_Occurred()) {
418 PyErr_Clear();
419 return 0;
420 } else {
421 return 1;
422 }
423 }
424
425
426 SWIGSTATICINLINE(int)
427 SWIG_CheckLong(PyObject* obj)
428 {
429 SWIG_AsLong(obj);
430 if (PyErr_Occurred()) {
431 PyErr_Clear();
432 return 0;
433 } else {
434 return 1;
435 }
436 }
437
438
439 SWIGSTATICINLINE(bool)
440 SWIG_AsBool(PyObject *obj)
441 {
442 return PyObject_IsTrue(obj) ? true : false;
443 }
444
445
446 SWIGSTATICINLINE(int)
447 SWIG_CheckBool(PyObject* obj)
448 {
449 SWIG_AsBool(obj);
450 if (PyErr_Occurred()) {
451 PyErr_Clear();
452 return 0;
453 } else {
454 return 1;
455 }
456 }
457
458
459 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
460 PyObject* o2;
461 PyObject* o3;
462
463 if (!target) {
464 target = o;
465 } else if (target == Py_None) {
466 Py_DECREF(Py_None);
467 target = o;
468 } else {
469 if (!PyTuple_Check(target)) {
470 o2 = target;
471 target = PyTuple_New(1);
472 PyTuple_SetItem(target, 0, o2);
473 }
474 o3 = PyTuple_New(1);
475 PyTuple_SetItem(o3, 0, o);
476
477 o2 = target;
478 target = PySequence_Concat(o2, o3);
479 Py_DECREF(o2);
480 Py_DECREF(o3);
481 }
482 return target;
483 }
484
485
486 SWIGSTATICINLINE(double)
487 SWIG_AsDouble(PyObject *obj)
488 {
489 if (PyNumber_Check(obj))
490 return PyFloat_AsDouble(obj);
491 else {
492 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
493 obj->ob_type->tp_name);
494 PyErr_SetObject(PyExc_TypeError, errmsg);
495 Py_DECREF(errmsg);
496 return 0;
497 }
498 }
499
500
501 SWIGSTATICINLINE(int)
502 SWIG_CheckDouble(PyObject* obj)
503 {
504 SWIG_AsDouble(obj);
505 if (PyErr_Occurred()) {
506 PyErr_Clear();
507 return 0;
508 } else {
509 return 1;
510 }
511 }
512
513 static const wxString wxPyFrameNameStr(wxFrameNameStr);
514 static const wxString wxPyDialogNameStr(wxDialogNameStr);
515 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
516 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
517 bool wxDialog_IsModalShowing(wxDialog *self){
518
519
520
521 return self->IsModalShowing();
522
523 }
524
525
526 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
527 wxRect r;
528 self->GetFieldRect(i, r);
529 return r;
530 }
531 static const wxString wxPySplitterNameStr(wxT("splitter"));
532 static const wxString wxPySashNameStr(wxT("sashWindow"));
533 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
534
535 #include <wx/popupwin.h>
536
537
538 class wxPopupWindow : public wxWindow {
539 public:
540 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
541 wxPopupWindow() { wxPyRaiseNotImplemented(); }
542 };
543
544 class wxPyPopupTransientWindow : public wxPopupWindow
545 {
546 public:
547 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
548 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
549 };
550
551
552 #include <wx/tipwin.h>
553
554 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
556 }
557
558 #include <wx/tipwin.h>
559
560
561 #include <wx/vscroll.h>
562
563
564 class wxPyVScrolledWindow : public wxVScrolledWindow
565 {
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567 public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628 };
629
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject * obj)
639 {
640 if (PyLong_Check(obj)) {
641 return PyLong_AsUnsignedLong(obj);
642 } else {
643 long i = SWIG_AsLong(obj);
644 if ( !PyErr_Occurred() && (i < 0)) {
645 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
646 }
647 return i;
648 }
649 }
650
651
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject* obj)
654 {
655 SWIG_AsUnsignedLong(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662 }
663
664
665 SWIGSTATICINLINE(PyObject* )
666 SWIG_FromUnsignedLong(unsigned long value)
667 {
668 return (value > LONG_MAX) ?
669 PyLong_FromUnsignedLong(value)
670 : PyInt_FromLong(swig_numeric_cast(long,value));
671 }
672
673
674 #include <wx/vlbox.h>
675
676 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
677
678 class wxPyVListBox : public wxVListBox
679 {
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
681 public:
682 wxPyVListBox() : wxVListBox() {}
683
684 wxPyVListBox(wxWindow *parent,
685 wxWindowID id = wxID_ANY,
686 const wxPoint& pos = wxDefaultPosition,
687 const wxSize& size = wxDefaultSize,
688 long style = 0,
689 const wxString& name = wxPyVListBoxNameStr)
690 : wxVListBox(parent, id, pos, size, style, name)
691 {}
692
693 // Overridable virtuals
694
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
699
700
701 // the derived class must implement this method to return the height of the
702 // specified item
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
705
706
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
710 //
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
714
715
716 // this method is used to draw the items background and, maybe, a border
717 // around it
718 //
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
722 // current
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
725
726
727 PYPRIVATE;
728 };
729
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
731
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
736
737
738
739 #include <wx/htmllbox.h>
740
741
742 class wxPyHtmlListBox : public wxHtmlListBox
743 {
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
745 public:
746 wxPyHtmlListBox() : wxHtmlListBox() {}
747
748 wxPyHtmlListBox(wxWindow *parent,
749 wxWindowID id = wxID_ANY,
750 const wxPoint& pos = wxDefaultPosition,
751 const wxSize& size = wxDefaultSize,
752 long style = 0,
753 const wxString& name = wxPyVListBoxNameStr)
754 : wxHtmlListBox(parent, id, pos, size, style, name)
755 {}
756
757 // Overridable virtuals
758
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
762
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
765
766 // TODO:
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
770 // //
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779
780
781 PYPRIVATE;
782 };
783
784
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
786
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
789
790
791
792
793
794 #ifdef __WXMAC__
795 // implement dummy classes and such for wxMac
796
797 class wxTaskBarIcon : public wxEvtHandler
798 {
799 public:
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
801 };
802
803
804 class wxTaskBarIconEvent : public wxEvent
805 {
806 public:
807 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent* Clone() const { return NULL; }
810 };
811
812 enum {
813 wxEVT_TASKBAR_MOVE = 0,
814 wxEVT_TASKBAR_LEFT_DOWN = 0,
815 wxEVT_TASKBAR_LEFT_UP = 0,
816 wxEVT_TASKBAR_RIGHT_DOWN = 0,
817 wxEVT_TASKBAR_RIGHT_UP = 0,
818 wxEVT_TASKBAR_LEFT_DCLICK = 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
820 };
821 #endif
822
823 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
824 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
825 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
826 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
827 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
828 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
829 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
830 wxArrayString arr;
831 self->GetFilenames(arr);
832 return wxArrayString2PyList_helper(arr);
833 }
834 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetPaths(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
840 return wxArrayInt2PyList_helper(self->GetSelections());
841 }
842 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
843 return new wxSingleChoiceDialog(parent, message, caption,
844 choices, choices_array, NULL, style, pos);
845 }
846
847 #include <wx/mdi.h>
848
849 // C++ version of Python aware wxWindow
850 class wxPyWindow : public wxWindow
851 {
852 DECLARE_DYNAMIC_CLASS(wxPyWindow)
853 public:
854 wxPyWindow() : wxWindow() {}
855 wxPyWindow(wxWindow* parent, const wxWindowID id,
856 const wxPoint& pos = wxDefaultPosition,
857 const wxSize& size = wxDefaultSize,
858 long style = 0,
859 const wxString& name = wxPyPanelNameStr)
860 : wxWindow(parent, id, pos, size, style, name) {}
861
862
863 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
864 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
865 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
866 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
867
868 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
869 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
870 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
871
872 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
873 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
874
875 DEC_PYCALLBACK__(InitDialog);
876 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
877 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
878 DEC_PYCALLBACK_BOOL_(Validate);
879
880 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
881 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
882 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
883
884 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
885 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
886
887 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
888 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
889
890 PYPRIVATE;
891 };
892
893 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
894
895 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
896 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
897 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
898 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
899
900 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
901 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
902 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
903
904 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
905 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
906
907 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
908 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
909 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
910 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
911
912 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
913 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
914 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
915
916 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
917 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
918
919 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
920 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
921
922
923 // C++ version of Python aware wxPanel
924 class wxPyPanel : public wxPanel
925 {
926 DECLARE_DYNAMIC_CLASS(wxPyPanel)
927 public:
928 wxPyPanel() : wxPanel() {}
929 wxPyPanel(wxWindow* parent, const wxWindowID id,
930 const wxPoint& pos = wxDefaultPosition,
931 const wxSize& size = wxDefaultSize,
932 long style = 0,
933 const wxString& name = wxPyPanelNameStr)
934 : wxPanel(parent, id, pos, size, style, name) {}
935
936
937 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
938 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
939 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
940 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
941
942 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
943 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
944 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
945
946 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
947 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
948
949 DEC_PYCALLBACK__(InitDialog);
950 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
951 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
952 DEC_PYCALLBACK_BOOL_(Validate);
953
954 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
955 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
956 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
957
958 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
959 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
960
961 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
962 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
963
964 PYPRIVATE;
965 };
966
967 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
968
969 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
970 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
971 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
972 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
973
974 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
975 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
976 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
977
978 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
979 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
980
981 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
982 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
983 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
984 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
985
986 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
987 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
988 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
989
990 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
991 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
992
993 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
994 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
995
996 // C++ version of Python aware wxScrolledWindow
997 class wxPyScrolledWindow : public wxScrolledWindow
998 {
999 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1000 public:
1001 wxPyScrolledWindow() : wxScrolledWindow() {}
1002 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1003 const wxPoint& pos = wxDefaultPosition,
1004 const wxSize& size = wxDefaultSize,
1005 long style = 0,
1006 const wxString& name = wxPyPanelNameStr)
1007 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1008
1009
1010 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1011 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1012 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1013 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1014
1015 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1016 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1017 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1018
1019 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1020 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1021
1022 DEC_PYCALLBACK__(InitDialog);
1023 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1024 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1025 DEC_PYCALLBACK_BOOL_(Validate);
1026
1027 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1028 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1029 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1030
1031 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1032 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1033
1034 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1035 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1036
1037 PYPRIVATE;
1038 };
1039
1040 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1041
1042 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1043 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1044 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1045 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1046
1047 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1048 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1049 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1050
1051 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1052 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1053
1054 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1055 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1056 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1057 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1058
1059 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1060 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1061 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1062
1063 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1064 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1065
1066 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1067 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1068
1069
1070 #include "wx/wxPython/printfw.h"
1071
1072
1073 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1074 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1075
1076
1077
1078 // Since this one would be tough and ugly to do with the Macros...
1079 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1080 bool hadErr = False;
1081 bool found;
1082
1083 bool blocked = wxPyBeginBlockThreads();
1084 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1085 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1086 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1087 PyObject* val;
1088
1089 val = PyTuple_GetItem(result, 0);
1090 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1091 else hadErr = True;
1092
1093 val = PyTuple_GetItem(result, 1);
1094 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1095 else hadErr = True;
1096
1097 val = PyTuple_GetItem(result, 2);
1098 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1099 else hadErr = True;
1100
1101 val = PyTuple_GetItem(result, 3);
1102 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1103 else hadErr = True;
1104 }
1105 else
1106 hadErr = True;
1107
1108 if (hadErr) {
1109 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1110 PyErr_Print();
1111 }
1112 Py_DECREF(result);
1113 }
1114 wxPyEndBlockThreads(blocked);
1115 if (! found)
1116 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1117 }
1118
1119 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1120 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1121 }
1122
1123
1124 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1125 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1126 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1127 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1128 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1129 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1130 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1131
1132
1133
1134
1135
1136 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1137 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1138 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1139
1140
1141 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1142 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1143 bool rval=False; \
1144 bool found; \
1145 bool blocked = wxPyBeginBlockThreads(); \
1146 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1147 PyObject* win = wxPyMake_wxObject(a); \
1148 PyObject* dc = wxPyMake_wxObject(&b); \
1149 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1150 Py_DECREF(win); \
1151 Py_DECREF(dc); \
1152 } \
1153 wxPyEndBlockThreads(blocked); \
1154 if (! found) \
1155 rval = PCLASS::CBNAME(a, b); \
1156 return rval; \
1157 } \
1158 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1159 return PCLASS::CBNAME(a, b); \
1160 }
1161
1162
1163
1164
1165 class wxPyPrintPreview : public wxPrintPreview
1166 {
1167 DECLARE_CLASS(wxPyPrintPreview)
1168 public:
1169 wxPyPrintPreview(wxPyPrintout* printout,
1170 wxPyPrintout* printoutForPrinting,
1171 wxPrintDialogData* data=NULL)
1172 : wxPrintPreview(printout, printoutForPrinting, data)
1173 {}
1174 wxPyPrintPreview(wxPyPrintout* printout,
1175 wxPyPrintout* printoutForPrinting,
1176 wxPrintData* data=NULL)
1177 : wxPrintPreview(printout, printoutForPrinting, data)
1178 {}
1179
1180 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1181 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1182 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1183 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1184 DEC_PYCALLBACK_VOID_INT(SetZoom);
1185 DEC_PYCALLBACK_BOOL_BOOL(Print);
1186 DEC_PYCALLBACK_VOID_(DetermineScaling);
1187
1188 PYPRIVATE;
1189 };
1190
1191 // Stupid renamed classes... Fix this in 2.5...
1192 #if defined(__WXMSW__)
1193 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1194 #elif defined(__WXMAC__)
1195 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1196 #else
1197 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1198 #endif
1199
1200 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1201 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1202 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1203 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1204 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1205 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1206 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1207
1208
1209 class wxPyPreviewFrame : public wxPreviewFrame
1210 {
1211 DECLARE_CLASS(wxPyPreviewFrame);
1212 public:
1213 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1214 const wxString& title,
1215 const wxPoint& pos = wxDefaultPosition,
1216 const wxSize& size = wxDefaultSize,
1217 long style = wxDEFAULT_FRAME_STYLE,
1218 const wxString& name = wxPyFrameNameStr)
1219 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1220 {}
1221
1222 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1223 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1224
1225 DEC_PYCALLBACK_VOID_(Initialize);
1226 DEC_PYCALLBACK_VOID_(CreateCanvas);
1227 DEC_PYCALLBACK_VOID_(CreateControlBar);
1228
1229 PYPRIVATE;
1230 };
1231
1232 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1233
1234 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1235 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1236 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1237
1238
1239 class wxPyPreviewControlBar : public wxPreviewControlBar
1240 {
1241 DECLARE_CLASS(wxPyPreviewControlBar);
1242 public:
1243 wxPyPreviewControlBar(wxPrintPreview *preview,
1244 long buttons,
1245 wxWindow *parent,
1246 const wxPoint& pos = wxDefaultPosition,
1247 const wxSize& size = wxDefaultSize,
1248 long style = 0,
1249 const wxString& name = wxPyPanelNameStr)
1250 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1251 {}
1252
1253 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1254
1255 DEC_PYCALLBACK_VOID_(CreateButtons);
1256 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1257
1258 PYPRIVATE;
1259 };
1260
1261 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1262 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1263 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1264
1265 #ifdef __cplusplus
1266 extern "C" {
1267 #endif
1268 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 wxWindow *arg1 = (wxWindow *) 0 ;
1271 int arg2 = (int) (int)-1 ;
1272 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1273 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1274 wxSize const &arg4_defvalue = wxDefaultSize ;
1275 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1276 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1277 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1278 wxString *arg6 = (wxString *) &arg6_defvalue ;
1279 wxPanel *result;
1280 wxPoint temp3 ;
1281 wxSize temp4 ;
1282 bool temp6 = False ;
1283 PyObject * obj0 = 0 ;
1284 PyObject * obj1 = 0 ;
1285 PyObject * obj2 = 0 ;
1286 PyObject * obj3 = 0 ;
1287 PyObject * obj4 = 0 ;
1288 PyObject * obj5 = 0 ;
1289 char *kwnames[] = {
1290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1291 };
1292
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1296 if (obj1) {
1297 arg2 = (int const) SWIG_AsInt(obj1);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 if (obj2) {
1301 {
1302 arg3 = &temp3;
1303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1304 }
1305 }
1306 if (obj3) {
1307 {
1308 arg4 = &temp4;
1309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1310 }
1311 }
1312 if (obj4) {
1313 arg5 = (long) SWIG_AsLong(obj4);
1314 if (PyErr_Occurred()) SWIG_fail;
1315 }
1316 if (obj5) {
1317 {
1318 arg6 = wxString_in_helper(obj5);
1319 if (arg6 == NULL) SWIG_fail;
1320 temp6 = True;
1321 }
1322 }
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1331 {
1332 if (temp6)
1333 delete arg6;
1334 }
1335 return resultobj;
1336 fail:
1337 {
1338 if (temp6)
1339 delete arg6;
1340 }
1341 return NULL;
1342 }
1343
1344
1345 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
1346 PyObject *resultobj;
1347 wxPanel *result;
1348 char *kwnames[] = {
1349 NULL
1350 };
1351
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 result = (wxPanel *)new wxPanel();
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
1360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1361 return resultobj;
1362 fail:
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxPanel *arg1 = (wxPanel *) 0 ;
1370 wxWindow *arg2 = (wxWindow *) 0 ;
1371 int arg3 ;
1372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1374 wxSize const &arg5_defvalue = wxDefaultSize ;
1375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1376 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1377 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1378 wxString *arg7 = (wxString *) &arg7_defvalue ;
1379 bool result;
1380 wxPoint temp4 ;
1381 wxSize temp5 ;
1382 bool temp7 = False ;
1383 PyObject * obj0 = 0 ;
1384 PyObject * obj1 = 0 ;
1385 PyObject * obj2 = 0 ;
1386 PyObject * obj3 = 0 ;
1387 PyObject * obj4 = 0 ;
1388 PyObject * obj5 = 0 ;
1389 PyObject * obj6 = 0 ;
1390 char *kwnames[] = {
1391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1392 };
1393
1394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1399 arg3 = (int const) SWIG_AsInt(obj2);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 if (obj3) {
1402 {
1403 arg4 = &temp4;
1404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1405 }
1406 }
1407 if (obj4) {
1408 {
1409 arg5 = &temp5;
1410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1411 }
1412 }
1413 if (obj5) {
1414 arg6 = (long) SWIG_AsLong(obj5);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 if (obj6) {
1418 {
1419 arg7 = wxString_in_helper(obj6);
1420 if (arg7 == NULL) SWIG_fail;
1421 temp7 = True;
1422 }
1423 }
1424 {
1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
1426 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1427
1428 wxPyEndAllowThreads(__tstate);
1429 if (PyErr_Occurred()) SWIG_fail;
1430 }
1431 {
1432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1433 }
1434 {
1435 if (temp7)
1436 delete arg7;
1437 }
1438 return resultobj;
1439 fail:
1440 {
1441 if (temp7)
1442 delete arg7;
1443 }
1444 return NULL;
1445 }
1446
1447
1448 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxPanel *arg1 = (wxPanel *) 0 ;
1451 PyObject * obj0 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "self", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 (arg1)->InitDialog();
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
1466 Py_INCREF(Py_None); resultobj = Py_None;
1467 return resultobj;
1468 fail:
1469 return NULL;
1470 }
1471
1472
1473 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
1474 PyObject *obj;
1475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1476 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1477 Py_INCREF(obj);
1478 return Py_BuildValue((char *)"");
1479 }
1480 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1481 PyObject *resultobj;
1482 wxWindow *arg1 = (wxWindow *) 0 ;
1483 int arg2 = (int) (int)-1 ;
1484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1486 wxSize const &arg4_defvalue = wxDefaultSize ;
1487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1488 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1489 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1490 wxString *arg6 = (wxString *) &arg6_defvalue ;
1491 wxScrolledWindow *result;
1492 wxPoint temp3 ;
1493 wxSize temp4 ;
1494 bool temp6 = False ;
1495 PyObject * obj0 = 0 ;
1496 PyObject * obj1 = 0 ;
1497 PyObject * obj2 = 0 ;
1498 PyObject * obj3 = 0 ;
1499 PyObject * obj4 = 0 ;
1500 PyObject * obj5 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1508 if (obj1) {
1509 arg2 = (int const) SWIG_AsInt(obj1);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 if (obj2) {
1513 {
1514 arg3 = &temp3;
1515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1516 }
1517 }
1518 if (obj3) {
1519 {
1520 arg4 = &temp4;
1521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1522 }
1523 }
1524 if (obj4) {
1525 arg5 = (long) SWIG_AsLong(obj4);
1526 if (PyErr_Occurred()) SWIG_fail;
1527 }
1528 if (obj5) {
1529 {
1530 arg6 = wxString_in_helper(obj5);
1531 if (arg6 == NULL) SWIG_fail;
1532 temp6 = True;
1533 }
1534 }
1535 {
1536 PyThreadState* __tstate = wxPyBeginAllowThreads();
1537 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1538
1539 wxPyEndAllowThreads(__tstate);
1540 if (PyErr_Occurred()) SWIG_fail;
1541 }
1542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1543 {
1544 if (temp6)
1545 delete arg6;
1546 }
1547 return resultobj;
1548 fail:
1549 {
1550 if (temp6)
1551 delete arg6;
1552 }
1553 return NULL;
1554 }
1555
1556
1557 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1558 PyObject *resultobj;
1559 wxScrolledWindow *result;
1560 char *kwnames[] = {
1561 NULL
1562 };
1563
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 result = (wxScrolledWindow *)new wxScrolledWindow();
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1573 return resultobj;
1574 fail:
1575 return NULL;
1576 }
1577
1578
1579 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1582 wxWindow *arg2 = (wxWindow *) 0 ;
1583 int arg3 = (int) (int)-1 ;
1584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1586 wxSize const &arg5_defvalue = wxDefaultSize ;
1587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1588 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1589 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1590 wxString *arg7 = (wxString *) &arg7_defvalue ;
1591 bool result;
1592 wxPoint temp4 ;
1593 wxSize temp5 ;
1594 bool temp7 = False ;
1595 PyObject * obj0 = 0 ;
1596 PyObject * obj1 = 0 ;
1597 PyObject * obj2 = 0 ;
1598 PyObject * obj3 = 0 ;
1599 PyObject * obj4 = 0 ;
1600 PyObject * obj5 = 0 ;
1601 PyObject * obj6 = 0 ;
1602 char *kwnames[] = {
1603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1604 };
1605
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1611 if (obj2) {
1612 arg3 = (int const) SWIG_AsInt(obj2);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 if (obj3) {
1616 {
1617 arg4 = &temp4;
1618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1619 }
1620 }
1621 if (obj4) {
1622 {
1623 arg5 = &temp5;
1624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1625 }
1626 }
1627 if (obj5) {
1628 arg6 = (long) SWIG_AsLong(obj5);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 if (obj6) {
1632 {
1633 arg7 = wxString_in_helper(obj6);
1634 if (arg7 == NULL) SWIG_fail;
1635 temp7 = True;
1636 }
1637 }
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 {
1646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1647 }
1648 {
1649 if (temp7)
1650 delete arg7;
1651 }
1652 return resultobj;
1653 fail:
1654 {
1655 if (temp7)
1656 delete arg7;
1657 }
1658 return NULL;
1659 }
1660
1661
1662 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1665 int arg2 ;
1666 int arg3 ;
1667 int arg4 ;
1668 int arg5 ;
1669 int arg6 = (int) 0 ;
1670 int arg7 = (int) 0 ;
1671 bool arg8 = (bool) False ;
1672 PyObject * obj0 = 0 ;
1673 PyObject * obj1 = 0 ;
1674 PyObject * obj2 = 0 ;
1675 PyObject * obj3 = 0 ;
1676 PyObject * obj4 = 0 ;
1677 PyObject * obj5 = 0 ;
1678 PyObject * obj6 = 0 ;
1679 PyObject * obj7 = 0 ;
1680 char *kwnames[] = {
1681 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1682 };
1683
1684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1687 arg2 = (int) SWIG_AsInt(obj1);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 arg3 = (int) SWIG_AsInt(obj2);
1690 if (PyErr_Occurred()) SWIG_fail;
1691 arg4 = (int) SWIG_AsInt(obj3);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 arg5 = (int) SWIG_AsInt(obj4);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 if (obj5) {
1696 arg6 = (int) SWIG_AsInt(obj5);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 if (obj6) {
1700 arg7 = (int) SWIG_AsInt(obj6);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 if (obj7) {
1704 arg8 = (bool) SWIG_AsBool(obj7);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 Py_INCREF(Py_None); resultobj = Py_None;
1715 return resultobj;
1716 fail:
1717 return NULL;
1718 }
1719
1720
1721 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1724 int arg2 ;
1725 int arg3 ;
1726 PyObject * obj0 = 0 ;
1727 PyObject * obj1 = 0 ;
1728 PyObject * obj2 = 0 ;
1729 char *kwnames[] = {
1730 (char *) "self",(char *) "x",(char *) "y", NULL
1731 };
1732
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1736 arg2 = (int) SWIG_AsInt(obj1);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 arg3 = (int) SWIG_AsInt(obj2);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 (arg1)->Scroll(arg2,arg3);
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 Py_INCREF(Py_None); resultobj = Py_None;
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1755 PyObject *resultobj;
1756 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1757 int arg2 ;
1758 int result;
1759 PyObject * obj0 = 0 ;
1760 PyObject * obj1 = 0 ;
1761 char *kwnames[] = {
1762 (char *) "self",(char *) "orient", NULL
1763 };
1764
1765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1768 arg2 = (int) SWIG_AsInt(obj1);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 {
1771 PyThreadState* __tstate = wxPyBeginAllowThreads();
1772 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1773
1774 wxPyEndAllowThreads(__tstate);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 }
1777 resultobj = SWIG_FromInt((int)result);
1778 return resultobj;
1779 fail:
1780 return NULL;
1781 }
1782
1783
1784 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
1785 PyObject *resultobj;
1786 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1787 int arg2 ;
1788 int arg3 ;
1789 PyObject * obj0 = 0 ;
1790 PyObject * obj1 = 0 ;
1791 PyObject * obj2 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1799 arg2 = (int) SWIG_AsInt(obj1);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 arg3 = (int) SWIG_AsInt(obj2);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 (arg1)->SetScrollPageSize(arg2,arg3);
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 Py_INCREF(Py_None); resultobj = Py_None;
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1820 int arg2 ;
1821 int arg3 ;
1822 PyObject * obj0 = 0 ;
1823 PyObject * obj1 = 0 ;
1824 PyObject * obj2 = 0 ;
1825 char *kwnames[] = {
1826 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1827 };
1828
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1832 arg2 = (int) SWIG_AsInt(obj1);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 arg3 = (int) SWIG_AsInt(obj2);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 {
1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
1838 (arg1)->SetScrollRate(arg2,arg3);
1839
1840 wxPyEndAllowThreads(__tstate);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 }
1843 Py_INCREF(Py_None); resultobj = Py_None;
1844 return resultobj;
1845 fail:
1846 return NULL;
1847 }
1848
1849
1850 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1853 int *arg2 = (int *) 0 ;
1854 int *arg3 = (int *) 0 ;
1855 int temp2 ;
1856 int temp3 ;
1857 PyObject * obj0 = 0 ;
1858 char *kwnames[] = {
1859 (char *) "self", NULL
1860 };
1861
1862 arg2 = &temp2;
1863 arg3 = &temp3;
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) SWIG_fail;
1873 }
1874 Py_INCREF(Py_None); resultobj = Py_None;
1875 {
1876 PyObject *o = PyInt_FromLong((long) (*arg2));
1877 resultobj = t_output_helper(resultobj,o);
1878 }
1879 {
1880 PyObject *o = PyInt_FromLong((long) (*arg3));
1881 resultobj = t_output_helper(resultobj,o);
1882 }
1883 return resultobj;
1884 fail:
1885 return NULL;
1886 }
1887
1888
1889 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
1890 PyObject *resultobj;
1891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1892 bool arg2 ;
1893 bool arg3 ;
1894 PyObject * obj0 = 0 ;
1895 PyObject * obj1 = 0 ;
1896 PyObject * obj2 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1904 arg2 = (bool) SWIG_AsBool(obj1);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 arg3 = (bool) SWIG_AsBool(obj2);
1907 if (PyErr_Occurred()) SWIG_fail;
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 (arg1)->EnableScrolling(arg2,arg3);
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 }
1915 Py_INCREF(Py_None); resultobj = Py_None;
1916 return resultobj;
1917 fail:
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1925 int *arg2 = (int *) 0 ;
1926 int *arg3 = (int *) 0 ;
1927 int temp2 ;
1928 int temp3 ;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 arg2 = &temp2;
1935 arg3 = &temp3;
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 Py_INCREF(Py_None); resultobj = Py_None;
1947 {
1948 PyObject *o = PyInt_FromLong((long) (*arg2));
1949 resultobj = t_output_helper(resultobj,o);
1950 }
1951 {
1952 PyObject *o = PyInt_FromLong((long) (*arg3));
1953 resultobj = t_output_helper(resultobj,o);
1954 }
1955 return resultobj;
1956 fail:
1957 return NULL;
1958 }
1959
1960
1961 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
1962 PyObject *resultobj;
1963 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1964 double arg2 ;
1965 double arg3 ;
1966 PyObject * obj0 = 0 ;
1967 PyObject * obj1 = 0 ;
1968 PyObject * obj2 = 0 ;
1969 char *kwnames[] = {
1970 (char *) "self",(char *) "xs",(char *) "ys", NULL
1971 };
1972
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1976 arg2 = (double) SWIG_AsDouble(obj1);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 arg3 = (double) SWIG_AsDouble(obj2);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 (arg1)->SetScale(arg2,arg3);
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 }
1987 Py_INCREF(Py_None); resultobj = Py_None;
1988 return resultobj;
1989 fail:
1990 return NULL;
1991 }
1992
1993
1994 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
1995 PyObject *resultobj;
1996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1997 double result;
1998 PyObject * obj0 = 0 ;
1999 char *kwnames[] = {
2000 (char *) "self", NULL
2001 };
2002
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 resultobj = SWIG_FromDouble((double)result);
2014 return resultobj;
2015 fail:
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2023 double result;
2024 PyObject * obj0 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "self", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 resultobj = SWIG_FromDouble((double)result);
2040 return resultobj;
2041 fail:
2042 return NULL;
2043 }
2044
2045
2046 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2047 PyObject *resultobj;
2048 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2049 wxPoint *arg2 = 0 ;
2050 wxPoint result;
2051 wxPoint temp2 ;
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
2054
2055 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2058 {
2059 arg2 = &temp2;
2060 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070 wxPoint * resultptr;
2071 resultptr = new wxPoint((wxPoint &) result);
2072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2073 }
2074 return resultobj;
2075 fail:
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2081 PyObject *resultobj;
2082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2083 int arg2 ;
2084 int arg3 ;
2085 int *arg4 = (int *) 0 ;
2086 int *arg5 = (int *) 0 ;
2087 int temp4 ;
2088 int temp5 ;
2089 PyObject * obj0 = 0 ;
2090 PyObject * obj1 = 0 ;
2091 PyObject * obj2 = 0 ;
2092
2093 arg4 = &temp4;
2094 arg5 = &temp5;
2095 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2098 arg2 = (int) SWIG_AsInt(obj1);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 arg3 = (int) SWIG_AsInt(obj2);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 {
2103 PyThreadState* __tstate = wxPyBeginAllowThreads();
2104 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2105
2106 wxPyEndAllowThreads(__tstate);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 }
2109 Py_INCREF(Py_None); resultobj = Py_None;
2110 {
2111 PyObject *o = PyInt_FromLong((long) (*arg4));
2112 resultobj = t_output_helper(resultobj,o);
2113 }
2114 {
2115 PyObject *o = PyInt_FromLong((long) (*arg5));
2116 resultobj = t_output_helper(resultobj,o);
2117 }
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2125 int argc;
2126 PyObject *argv[4];
2127 int ii;
2128
2129 argc = PyObject_Length(args);
2130 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2131 argv[ii] = PyTuple_GetItem(args,ii);
2132 }
2133 if (argc == 2) {
2134 int _v;
2135 {
2136 void *ptr;
2137 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2138 _v = 0;
2139 PyErr_Clear();
2140 } else {
2141 _v = 1;
2142 }
2143 }
2144 if (_v) {
2145 {
2146 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2147 }
2148 if (_v) {
2149 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2150 }
2151 }
2152 }
2153 if (argc == 3) {
2154 int _v;
2155 {
2156 void *ptr;
2157 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2158 _v = 0;
2159 PyErr_Clear();
2160 } else {
2161 _v = 1;
2162 }
2163 }
2164 if (_v) {
2165 _v = SWIG_CheckInt(argv[1]);
2166 if (_v) {
2167 _v = SWIG_CheckInt(argv[2]);
2168 if (_v) {
2169 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2170 }
2171 }
2172 }
2173 }
2174
2175 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2176 return NULL;
2177 }
2178
2179
2180 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
2181 PyObject *resultobj;
2182 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2183 wxPoint *arg2 = 0 ;
2184 wxPoint result;
2185 wxPoint temp2 ;
2186 PyObject * obj0 = 0 ;
2187 PyObject * obj1 = 0 ;
2188
2189 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2192 {
2193 arg2 = &temp2;
2194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2195 }
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 {
2204 wxPoint * resultptr;
2205 resultptr = new wxPoint((wxPoint &) result);
2206 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2207 }
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
2215 PyObject *resultobj;
2216 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2217 int arg2 ;
2218 int arg3 ;
2219 int *arg4 = (int *) 0 ;
2220 int *arg5 = (int *) 0 ;
2221 int temp4 ;
2222 int temp5 ;
2223 PyObject * obj0 = 0 ;
2224 PyObject * obj1 = 0 ;
2225 PyObject * obj2 = 0 ;
2226
2227 arg4 = &temp4;
2228 arg5 = &temp5;
2229 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2232 arg2 = (int) SWIG_AsInt(obj1);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 arg3 = (int) SWIG_AsInt(obj2);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 {
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 Py_INCREF(Py_None); resultobj = Py_None;
2244 {
2245 PyObject *o = PyInt_FromLong((long) (*arg4));
2246 resultobj = t_output_helper(resultobj,o);
2247 }
2248 {
2249 PyObject *o = PyInt_FromLong((long) (*arg5));
2250 resultobj = t_output_helper(resultobj,o);
2251 }
2252 return resultobj;
2253 fail:
2254 return NULL;
2255 }
2256
2257
2258 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2259 int argc;
2260 PyObject *argv[4];
2261 int ii;
2262
2263 argc = PyObject_Length(args);
2264 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2265 argv[ii] = PyTuple_GetItem(args,ii);
2266 }
2267 if (argc == 2) {
2268 int _v;
2269 {
2270 void *ptr;
2271 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2272 _v = 0;
2273 PyErr_Clear();
2274 } else {
2275 _v = 1;
2276 }
2277 }
2278 if (_v) {
2279 {
2280 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2281 }
2282 if (_v) {
2283 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2284 }
2285 }
2286 }
2287 if (argc == 3) {
2288 int _v;
2289 {
2290 void *ptr;
2291 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2292 _v = 0;
2293 PyErr_Clear();
2294 } else {
2295 _v = 1;
2296 }
2297 }
2298 if (_v) {
2299 _v = SWIG_CheckInt(argv[1]);
2300 if (_v) {
2301 _v = SWIG_CheckInt(argv[2]);
2302 if (_v) {
2303 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2304 }
2305 }
2306 }
2307 }
2308
2309 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2310 return NULL;
2311 }
2312
2313
2314 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
2315 PyObject *resultobj;
2316 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2317 PyObject * obj0 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 (arg1)->AdjustScrollbars();
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
2332 Py_INCREF(Py_None); resultobj = Py_None;
2333 return resultobj;
2334 fail:
2335 return NULL;
2336 }
2337
2338
2339 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2342 wxScrollWinEvent *arg2 = 0 ;
2343 int result;
2344 PyObject * obj0 = 0 ;
2345 PyObject * obj1 = 0 ;
2346 char *kwnames[] = {
2347 (char *) "self",(char *) "event", NULL
2348 };
2349
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1)
2355 SWIG_fail;
2356 if (arg2 == NULL) {
2357 PyErr_SetString(PyExc_TypeError,"null reference");
2358 SWIG_fail;
2359 }
2360 {
2361 PyThreadState* __tstate = wxPyBeginAllowThreads();
2362 result = (int)(arg1)->CalcScrollInc(*arg2);
2363
2364 wxPyEndAllowThreads(__tstate);
2365 if (PyErr_Occurred()) SWIG_fail;
2366 }
2367 resultobj = SWIG_FromInt((int)result);
2368 return resultobj;
2369 fail:
2370 return NULL;
2371 }
2372
2373
2374 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2377 wxWindow *arg2 = (wxWindow *) 0 ;
2378 PyObject * obj0 = 0 ;
2379 PyObject * obj1 = 0 ;
2380 char *kwnames[] = {
2381 (char *) "self",(char *) "target", NULL
2382 };
2383
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 (arg1)->SetTargetWindow(arg2);
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 Py_INCREF(Py_None); resultobj = Py_None;
2397 return resultobj;
2398 fail:
2399 return NULL;
2400 }
2401
2402
2403 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2404 PyObject *resultobj;
2405 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2406 wxWindow *result;
2407 PyObject * obj0 = 0 ;
2408 char *kwnames[] = {
2409 (char *) "self", NULL
2410 };
2411
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 {
2423 resultobj = wxPyMake_wxObject(result);
2424 }
2425 return resultobj;
2426 fail:
2427 return NULL;
2428 }
2429
2430
2431 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2432 PyObject *resultobj;
2433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2434 wxRect *arg2 = 0 ;
2435 wxRect temp2 ;
2436 PyObject * obj0 = 0 ;
2437 PyObject * obj1 = 0 ;
2438 char *kwnames[] = {
2439 (char *) "self",(char *) "rect", NULL
2440 };
2441
2442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2445 {
2446 arg2 = &temp2;
2447 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2448 }
2449 {
2450 PyThreadState* __tstate = wxPyBeginAllowThreads();
2451 (arg1)->SetTargetRect((wxRect const &)*arg2);
2452
2453 wxPyEndAllowThreads(__tstate);
2454 if (PyErr_Occurred()) SWIG_fail;
2455 }
2456 Py_INCREF(Py_None); resultobj = Py_None;
2457 return resultobj;
2458 fail:
2459 return NULL;
2460 }
2461
2462
2463 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2466 wxRect result;
2467 PyObject * obj0 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2475 {
2476 PyThreadState* __tstate = wxPyBeginAllowThreads();
2477 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2478
2479 wxPyEndAllowThreads(__tstate);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 {
2483 wxRect * resultptr;
2484 resultptr = new wxRect((wxRect &) result);
2485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2486 }
2487 return resultobj;
2488 fail:
2489 return NULL;
2490 }
2491
2492
2493 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
2494 PyObject *obj;
2495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2496 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2497 Py_INCREF(obj);
2498 return Py_BuildValue((char *)"");
2499 }
2500 static int _wrap_FrameNameStr_set(PyObject *) {
2501 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2502 return 1;
2503 }
2504
2505
2506 static PyObject *_wrap_FrameNameStr_get() {
2507 PyObject *pyobj;
2508
2509 {
2510 #if wxUSE_UNICODE
2511 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2512 #else
2513 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2514 #endif
2515 }
2516 return pyobj;
2517 }
2518
2519
2520 static int _wrap_DialogNameStr_set(PyObject *) {
2521 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2522 return 1;
2523 }
2524
2525
2526 static PyObject *_wrap_DialogNameStr_get() {
2527 PyObject *pyobj;
2528
2529 {
2530 #if wxUSE_UNICODE
2531 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2532 #else
2533 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2534 #endif
2535 }
2536 return pyobj;
2537 }
2538
2539
2540 static int _wrap_StatusLineNameStr_set(PyObject *) {
2541 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2542 return 1;
2543 }
2544
2545
2546 static PyObject *_wrap_StatusLineNameStr_get() {
2547 PyObject *pyobj;
2548
2549 {
2550 #if wxUSE_UNICODE
2551 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2552 #else
2553 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2554 #endif
2555 }
2556 return pyobj;
2557 }
2558
2559
2560 static int _wrap_ToolBarNameStr_set(PyObject *) {
2561 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2562 return 1;
2563 }
2564
2565
2566 static PyObject *_wrap_ToolBarNameStr_get() {
2567 PyObject *pyobj;
2568
2569 {
2570 #if wxUSE_UNICODE
2571 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2572 #else
2573 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2574 #endif
2575 }
2576 return pyobj;
2577 }
2578
2579
2580 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2583 bool arg2 = (bool) True ;
2584 PyObject * obj0 = 0 ;
2585 PyObject * obj1 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self",(char *) "maximize", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2593 if (obj1) {
2594 arg2 = (bool) SWIG_AsBool(obj1);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 (arg1)->Maximize(arg2);
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 Py_INCREF(Py_None); resultobj = Py_None;
2605 return resultobj;
2606 fail:
2607 return NULL;
2608 }
2609
2610
2611 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 (arg1)->Restore();
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 Py_INCREF(Py_None); resultobj = Py_None;
2630 return resultobj;
2631 fail:
2632 return NULL;
2633 }
2634
2635
2636 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2639 bool arg2 = (bool) True ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self",(char *) "iconize", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2649 if (obj1) {
2650 arg2 = (bool) SWIG_AsBool(obj1);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 (arg1)->Iconize(arg2);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 Py_INCREF(Py_None); resultobj = Py_None;
2661 return resultobj;
2662 fail:
2663 return NULL;
2664 }
2665
2666
2667 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2670 bool result;
2671 PyObject * obj0 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 {
2687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2688 }
2689 return resultobj;
2690 fail:
2691 return NULL;
2692 }
2693
2694
2695 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
2696 PyObject *resultobj;
2697 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2698 bool result;
2699 PyObject * obj0 = 0 ;
2700 char *kwnames[] = {
2701 (char *) "self", NULL
2702 };
2703
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 {
2715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2716 }
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2726 wxIcon result;
2727 PyObject * obj0 = 0 ;
2728 char *kwnames[] = {
2729 (char *) "self", NULL
2730 };
2731
2732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 {
2743 wxIcon * resultptr;
2744 resultptr = new wxIcon((wxIcon &) result);
2745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2746 }
2747 return resultobj;
2748 fail:
2749 return NULL;
2750 }
2751
2752
2753 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
2754 PyObject *resultobj;
2755 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2756 wxIcon *arg2 = 0 ;
2757 PyObject * obj0 = 0 ;
2758 PyObject * obj1 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self",(char *) "icon", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1)
2768 SWIG_fail;
2769 if (arg2 == NULL) {
2770 PyErr_SetString(PyExc_TypeError,"null reference");
2771 SWIG_fail;
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 (arg1)->SetIcon((wxIcon const &)*arg2);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 Py_INCREF(Py_None); resultobj = Py_None;
2781 return resultobj;
2782 fail:
2783 return NULL;
2784 }
2785
2786
2787 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
2788 PyObject *resultobj;
2789 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2790 wxIconBundle *arg2 = 0 ;
2791 PyObject * obj0 = 0 ;
2792 PyObject * obj1 = 0 ;
2793 char *kwnames[] = {
2794 (char *) "self",(char *) "icons", NULL
2795 };
2796
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2801 SWIG_POINTER_EXCEPTION | 0)) == -1)
2802 SWIG_fail;
2803 if (arg2 == NULL) {
2804 PyErr_SetString(PyExc_TypeError,"null reference");
2805 SWIG_fail;
2806 }
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 Py_INCREF(Py_None); resultobj = Py_None;
2815 return resultobj;
2816 fail:
2817 return NULL;
2818 }
2819
2820
2821 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2822 PyObject *resultobj;
2823 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2824 bool arg2 ;
2825 long arg3 = (long) wxFULLSCREEN_ALL ;
2826 bool result;
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
2829 PyObject * obj2 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self",(char *) "show",(char *) "style", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2837 arg2 = (bool) SWIG_AsBool(obj1);
2838 if (PyErr_Occurred()) SWIG_fail;
2839 if (obj2) {
2840 arg3 = (long) SWIG_AsLong(obj2);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2852 }
2853 return resultobj;
2854 fail:
2855 return NULL;
2856 }
2857
2858
2859 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2862 bool result;
2863 PyObject * obj0 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "self", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 {
2879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2880 }
2881 return resultobj;
2882 fail:
2883 return NULL;
2884 }
2885
2886
2887 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2888 PyObject *resultobj;
2889 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2890 wxString *arg2 = 0 ;
2891 bool temp2 = False ;
2892 PyObject * obj0 = 0 ;
2893 PyObject * obj1 = 0 ;
2894 char *kwnames[] = {
2895 (char *) "self",(char *) "title", NULL
2896 };
2897
2898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2901 {
2902 arg2 = wxString_in_helper(obj1);
2903 if (arg2 == NULL) SWIG_fail;
2904 temp2 = True;
2905 }
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->SetTitle((wxString const &)*arg2);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 {
2915 if (temp2)
2916 delete arg2;
2917 }
2918 return resultobj;
2919 fail:
2920 {
2921 if (temp2)
2922 delete arg2;
2923 }
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2931 wxString result;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 {
2948 #if wxUSE_UNICODE
2949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2950 #else
2951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2952 #endif
2953 }
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj;
2962 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2963 wxRegion *arg2 = 0 ;
2964 bool result;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "self",(char *) "region", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2975 SWIG_POINTER_EXCEPTION | 0)) == -1)
2976 SWIG_fail;
2977 if (arg2 == NULL) {
2978 PyErr_SetString(PyExc_TypeError,"null reference");
2979 SWIG_fail;
2980 }
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 {
2989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2990 }
2991 return resultobj;
2992 fail:
2993 return NULL;
2994 }
2995
2996
2997 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
2998 PyObject *obj;
2999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3000 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3001 Py_INCREF(obj);
3002 return Py_BuildValue((char *)"");
3003 }
3004 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
3005 PyObject *resultobj;
3006 wxWindow *arg1 = (wxWindow *) 0 ;
3007 int arg2 ;
3008 wxString *arg3 = 0 ;
3009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3011 wxSize const &arg5_defvalue = wxDefaultSize ;
3012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3013 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3014 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3015 wxString *arg7 = (wxString *) &arg7_defvalue ;
3016 wxFrame *result;
3017 bool temp3 = False ;
3018 wxPoint temp4 ;
3019 wxSize temp5 ;
3020 bool temp7 = False ;
3021 PyObject * obj0 = 0 ;
3022 PyObject * obj1 = 0 ;
3023 PyObject * obj2 = 0 ;
3024 PyObject * obj3 = 0 ;
3025 PyObject * obj4 = 0 ;
3026 PyObject * obj5 = 0 ;
3027 PyObject * obj6 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3035 arg2 = (int const) SWIG_AsInt(obj1);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 {
3038 arg3 = wxString_in_helper(obj2);
3039 if (arg3 == NULL) SWIG_fail;
3040 temp3 = True;
3041 }
3042 if (obj3) {
3043 {
3044 arg4 = &temp4;
3045 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3046 }
3047 }
3048 if (obj4) {
3049 {
3050 arg5 = &temp5;
3051 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3052 }
3053 }
3054 if (obj5) {
3055 arg6 = (long) SWIG_AsLong(obj5);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 if (obj6) {
3059 {
3060 arg7 = wxString_in_helper(obj6);
3061 if (arg7 == NULL) SWIG_fail;
3062 temp7 = True;
3063 }
3064 }
3065 {
3066 PyThreadState* __tstate = wxPyBeginAllowThreads();
3067 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3068
3069 wxPyEndAllowThreads(__tstate);
3070 if (PyErr_Occurred()) SWIG_fail;
3071 }
3072 {
3073 resultobj = wxPyMake_wxObject(result);
3074 }
3075 {
3076 if (temp3)
3077 delete arg3;
3078 }
3079 {
3080 if (temp7)
3081 delete arg7;
3082 }
3083 return resultobj;
3084 fail:
3085 {
3086 if (temp3)
3087 delete arg3;
3088 }
3089 {
3090 if (temp7)
3091 delete arg7;
3092 }
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxFrame *result;
3100 char *kwnames[] = {
3101 NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3105 {
3106 PyThreadState* __tstate = wxPyBeginAllowThreads();
3107 result = (wxFrame *)new wxFrame();
3108
3109 wxPyEndAllowThreads(__tstate);
3110 if (PyErr_Occurred()) SWIG_fail;
3111 }
3112 {
3113 resultobj = wxPyMake_wxObject(result);
3114 }
3115 return resultobj;
3116 fail:
3117 return NULL;
3118 }
3119
3120
3121 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3122 PyObject *resultobj;
3123 wxFrame *arg1 = (wxFrame *) 0 ;
3124 wxWindow *arg2 = (wxWindow *) 0 ;
3125 int arg3 ;
3126 wxString *arg4 = 0 ;
3127 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3128 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3129 wxSize const &arg6_defvalue = wxDefaultSize ;
3130 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3131 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3132 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3133 wxString *arg8 = (wxString *) &arg8_defvalue ;
3134 bool result;
3135 bool temp4 = False ;
3136 wxPoint temp5 ;
3137 wxSize temp6 ;
3138 bool temp8 = False ;
3139 PyObject * obj0 = 0 ;
3140 PyObject * obj1 = 0 ;
3141 PyObject * obj2 = 0 ;
3142 PyObject * obj3 = 0 ;
3143 PyObject * obj4 = 0 ;
3144 PyObject * obj5 = 0 ;
3145 PyObject * obj6 = 0 ;
3146 PyObject * obj7 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 arg3 = (int const) SWIG_AsInt(obj2);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 {
3159 arg4 = wxString_in_helper(obj3);
3160 if (arg4 == NULL) SWIG_fail;
3161 temp4 = True;
3162 }
3163 if (obj4) {
3164 {
3165 arg5 = &temp5;
3166 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3167 }
3168 }
3169 if (obj5) {
3170 {
3171 arg6 = &temp6;
3172 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3173 }
3174 }
3175 if (obj6) {
3176 arg7 = (long) SWIG_AsLong(obj6);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 if (obj7) {
3180 {
3181 arg8 = wxString_in_helper(obj7);
3182 if (arg8 == NULL) SWIG_fail;
3183 temp8 = True;
3184 }
3185 }
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 {
3194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3195 }
3196 {
3197 if (temp4)
3198 delete arg4;
3199 }
3200 {
3201 if (temp8)
3202 delete arg8;
3203 }
3204 return resultobj;
3205 fail:
3206 {
3207 if (temp4)
3208 delete arg4;
3209 }
3210 {
3211 if (temp8)
3212 delete arg8;
3213 }
3214 return NULL;
3215 }
3216
3217
3218 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxFrame *arg1 = (wxFrame *) 0 ;
3221 wxPoint result;
3222 PyObject * obj0 = 0 ;
3223 char *kwnames[] = {
3224 (char *) "self", NULL
3225 };
3226
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 {
3238 wxPoint * resultptr;
3239 resultptr = new wxPoint((wxPoint &) result);
3240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3241 }
3242 return resultobj;
3243 fail:
3244 return NULL;
3245 }
3246
3247
3248 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
3249 PyObject *resultobj;
3250 wxFrame *arg1 = (wxFrame *) 0 ;
3251 PyObject * obj0 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SendSizeEvent();
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3277 PyObject * obj0 = 0 ;
3278 PyObject * obj1 = 0 ;
3279 char *kwnames[] = {
3280 (char *) "self",(char *) "menubar", NULL
3281 };
3282
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 (arg1)->SetMenuBar(arg2);
3291
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 Py_INCREF(Py_None); resultobj = Py_None;
3296 return resultobj;
3297 fail:
3298 return NULL;
3299 }
3300
3301
3302 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 wxFrame *arg1 = (wxFrame *) 0 ;
3305 wxMenuBar *result;
3306 PyObject * obj0 = 0 ;
3307 char *kwnames[] = {
3308 (char *) "self", NULL
3309 };
3310
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
3316 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
3321 {
3322 resultobj = wxPyMake_wxObject(result);
3323 }
3324 return resultobj;
3325 fail:
3326 return NULL;
3327 }
3328
3329
3330 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxFrame *arg1 = (wxFrame *) 0 ;
3333 int arg2 ;
3334 bool result;
3335 PyObject * obj0 = 0 ;
3336 PyObject * obj1 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self",(char *) "winid", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3344 arg2 = (int) SWIG_AsInt(obj1);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 result = (bool)(arg1)->ProcessCommand(arg2);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3355 }
3356 return resultobj;
3357 fail:
3358 return NULL;
3359 }
3360
3361
3362 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3363 PyObject *resultobj;
3364 wxFrame *arg1 = (wxFrame *) 0 ;
3365 int arg2 = (int) 1 ;
3366 long arg3 = (long) wxST_SIZEGRIP ;
3367 int arg4 = (int) 0 ;
3368 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3369 wxString *arg5 = (wxString *) &arg5_defvalue ;
3370 wxStatusBar *result;
3371 bool temp5 = False ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 PyObject * obj2 = 0 ;
3375 PyObject * obj3 = 0 ;
3376 PyObject * obj4 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3384 if (obj1) {
3385 arg2 = (int) SWIG_AsInt(obj1);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 if (obj2) {
3389 arg3 = (long) SWIG_AsLong(obj2);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 if (obj3) {
3393 arg4 = (int) SWIG_AsInt(obj3);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 if (obj4) {
3397 {
3398 arg5 = wxString_in_helper(obj4);
3399 if (arg5 == NULL) SWIG_fail;
3400 temp5 = True;
3401 }
3402 }
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) SWIG_fail;
3409 }
3410 {
3411 resultobj = wxPyMake_wxObject(result);
3412 }
3413 {
3414 if (temp5)
3415 delete arg5;
3416 }
3417 return resultobj;
3418 fail:
3419 {
3420 if (temp5)
3421 delete arg5;
3422 }
3423 return NULL;
3424 }
3425
3426
3427 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3428 PyObject *resultobj;
3429 wxFrame *arg1 = (wxFrame *) 0 ;
3430 wxStatusBar *result;
3431 PyObject * obj0 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3442
3443 wxPyEndAllowThreads(__tstate);
3444 if (PyErr_Occurred()) SWIG_fail;
3445 }
3446 {
3447 resultobj = wxPyMake_wxObject(result);
3448 }
3449 return resultobj;
3450 fail:
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxFrame *arg1 = (wxFrame *) 0 ;
3458 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3459 PyObject * obj0 = 0 ;
3460 PyObject * obj1 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "statBar", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3470 {
3471 PyThreadState* __tstate = wxPyBeginAllowThreads();
3472 (arg1)->SetStatusBar(arg2);
3473
3474 wxPyEndAllowThreads(__tstate);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 Py_INCREF(Py_None); resultobj = Py_None;
3478 return resultobj;
3479 fail:
3480 return NULL;
3481 }
3482
3483
3484 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3485 PyObject *resultobj;
3486 wxFrame *arg1 = (wxFrame *) 0 ;
3487 wxString *arg2 = 0 ;
3488 int arg3 = (int) 0 ;
3489 bool temp2 = False ;
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj1 = 0 ;
3492 PyObject * obj2 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "text",(char *) "number", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3500 {
3501 arg2 = wxString_in_helper(obj1);
3502 if (arg2 == NULL) SWIG_fail;
3503 temp2 = True;
3504 }
3505 if (obj2) {
3506 arg3 = (int) SWIG_AsInt(obj2);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 Py_INCREF(Py_None); resultobj = Py_None;
3517 {
3518 if (temp2)
3519 delete arg2;
3520 }
3521 return resultobj;
3522 fail:
3523 {
3524 if (temp2)
3525 delete arg2;
3526 }
3527 return NULL;
3528 }
3529
3530
3531 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj;
3533 wxFrame *arg1 = (wxFrame *) 0 ;
3534 int arg2 ;
3535 int *arg3 = (int *) 0 ;
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "widths", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3545 {
3546 arg2 = PyList_Size(obj1);
3547 arg3 = int_LIST_helper(obj1);
3548 if (arg3 == NULL) SWIG_fail;
3549 }
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 Py_INCREF(Py_None); resultobj = Py_None;
3558 {
3559 if (arg3) delete [] arg3;
3560 }
3561 return resultobj;
3562 fail:
3563 {
3564 if (arg3) delete [] arg3;
3565 }
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxFrame *arg1 = (wxFrame *) 0 ;
3573 wxString *arg2 = 0 ;
3574 int arg3 = (int) 0 ;
3575 bool temp2 = False ;
3576 PyObject * obj0 = 0 ;
3577 PyObject * obj1 = 0 ;
3578 PyObject * obj2 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "text",(char *) "number", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3586 {
3587 arg2 = wxString_in_helper(obj1);
3588 if (arg2 == NULL) SWIG_fail;
3589 temp2 = True;
3590 }
3591 if (obj2) {
3592 arg3 = (int) SWIG_AsInt(obj2);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3598
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 Py_INCREF(Py_None); resultobj = Py_None;
3603 {
3604 if (temp2)
3605 delete arg2;
3606 }
3607 return resultobj;
3608 fail:
3609 {
3610 if (temp2)
3611 delete arg2;
3612 }
3613 return NULL;
3614 }
3615
3616
3617 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
3618 PyObject *resultobj;
3619 wxFrame *arg1 = (wxFrame *) 0 ;
3620 int arg2 = (int) 0 ;
3621 PyObject * obj0 = 0 ;
3622 PyObject * obj1 = 0 ;
3623 char *kwnames[] = {
3624 (char *) "self",(char *) "number", NULL
3625 };
3626
3627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3630 if (obj1) {
3631 arg2 = (int) SWIG_AsInt(obj1);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 (arg1)->PopStatusText(arg2);
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 Py_INCREF(Py_None); resultobj = Py_None;
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxFrame *arg1 = (wxFrame *) 0 ;
3651 int arg2 ;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "n", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 arg2 = (int) SWIG_AsInt(obj1);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->SetStatusBarPane(arg2);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 return resultobj;
3672 fail:
3673 return NULL;
3674 }
3675
3676
3677 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
3678 PyObject *resultobj;
3679 wxFrame *arg1 = (wxFrame *) 0 ;
3680 int result;
3681 PyObject * obj0 = 0 ;
3682 char *kwnames[] = {
3683 (char *) "self", NULL
3684 };
3685
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 resultobj = SWIG_FromInt((int)result);
3697 return resultobj;
3698 fail:
3699 return NULL;
3700 }
3701
3702
3703 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 wxFrame *arg1 = (wxFrame *) 0 ;
3706 long arg2 = (long) -1 ;
3707 int arg3 = (int) -1 ;
3708 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3709 wxString *arg4 = (wxString *) &arg4_defvalue ;
3710 wxToolBar *result;
3711 bool temp4 = False ;
3712 PyObject * obj0 = 0 ;
3713 PyObject * obj1 = 0 ;
3714 PyObject * obj2 = 0 ;
3715 PyObject * obj3 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3723 if (obj1) {
3724 arg2 = (long) SWIG_AsLong(obj1);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 if (obj2) {
3728 arg3 = (int) SWIG_AsInt(obj2);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 if (obj3) {
3732 {
3733 arg4 = wxString_in_helper(obj3);
3734 if (arg4 == NULL) SWIG_fail;
3735 temp4 = True;
3736 }
3737 }
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 {
3746 resultobj = wxPyMake_wxObject(result);
3747 }
3748 {
3749 if (temp4)
3750 delete arg4;
3751 }
3752 return resultobj;
3753 fail:
3754 {
3755 if (temp4)
3756 delete arg4;
3757 }
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxFrame *arg1 = (wxFrame *) 0 ;
3765 wxToolBar *result;
3766 PyObject * obj0 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
3782 resultobj = wxPyMake_wxObject(result);
3783 }
3784 return resultobj;
3785 fail:
3786 return NULL;
3787 }
3788
3789
3790 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
3791 PyObject *resultobj;
3792 wxFrame *arg1 = (wxFrame *) 0 ;
3793 wxToolBar *arg2 = (wxToolBar *) 0 ;
3794 PyObject * obj0 = 0 ;
3795 PyObject * obj1 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self",(char *) "toolbar", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 (arg1)->SetToolBar(arg2);
3808
3809 wxPyEndAllowThreads(__tstate);
3810 if (PyErr_Occurred()) SWIG_fail;
3811 }
3812 Py_INCREF(Py_None); resultobj = Py_None;
3813 return resultobj;
3814 fail:
3815 return NULL;
3816 }
3817
3818
3819 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxFrame *arg1 = (wxFrame *) 0 ;
3822 wxString *arg2 = 0 ;
3823 bool arg3 ;
3824 bool temp2 = False ;
3825 PyObject * obj0 = 0 ;
3826 PyObject * obj1 = 0 ;
3827 PyObject * obj2 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "text",(char *) "show", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3835 {
3836 arg2 = wxString_in_helper(obj1);
3837 if (arg2 == NULL) SWIG_fail;
3838 temp2 = True;
3839 }
3840 arg3 = (bool) SWIG_AsBool(obj2);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 Py_INCREF(Py_None); resultobj = Py_None;
3850 {
3851 if (temp2)
3852 delete arg2;
3853 }
3854 return resultobj;
3855 fail:
3856 {
3857 if (temp2)
3858 delete arg2;
3859 }
3860 return NULL;
3861 }
3862
3863
3864 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
3865 PyObject *resultobj;
3866 wxFrame *arg1 = (wxFrame *) 0 ;
3867 wxMenu *arg2 = (wxMenu *) NULL ;
3868 PyObject * obj0 = 0 ;
3869 PyObject * obj1 = 0 ;
3870 char *kwnames[] = {
3871 (char *) "self",(char *) "menu", NULL
3872 };
3873
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3877 if (obj1) {
3878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3880 }
3881 {
3882 PyThreadState* __tstate = wxPyBeginAllowThreads();
3883 (arg1)->DoMenuUpdates(arg2);
3884
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 Py_INCREF(Py_None); resultobj = Py_None;
3889 return resultobj;
3890 fail:
3891 return NULL;
3892 }
3893
3894
3895 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
3896 PyObject *obj;
3897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3898 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3899 Py_INCREF(obj);
3900 return Py_BuildValue((char *)"");
3901 }
3902 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxWindow *arg1 = (wxWindow *) 0 ;
3905 int arg2 ;
3906 wxString *arg3 = 0 ;
3907 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3908 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3909 wxSize const &arg5_defvalue = wxDefaultSize ;
3910 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3911 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3912 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3913 wxString *arg7 = (wxString *) &arg7_defvalue ;
3914 wxDialog *result;
3915 bool temp3 = False ;
3916 wxPoint temp4 ;
3917 wxSize temp5 ;
3918 bool temp7 = False ;
3919 PyObject * obj0 = 0 ;
3920 PyObject * obj1 = 0 ;
3921 PyObject * obj2 = 0 ;
3922 PyObject * obj3 = 0 ;
3923 PyObject * obj4 = 0 ;
3924 PyObject * obj5 = 0 ;
3925 PyObject * obj6 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3933 arg2 = (int const) SWIG_AsInt(obj1);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 {
3936 arg3 = wxString_in_helper(obj2);
3937 if (arg3 == NULL) SWIG_fail;
3938 temp3 = True;
3939 }
3940 if (obj3) {
3941 {
3942 arg4 = &temp4;
3943 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3944 }
3945 }
3946 if (obj4) {
3947 {
3948 arg5 = &temp5;
3949 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3950 }
3951 }
3952 if (obj5) {
3953 arg6 = (long) SWIG_AsLong(obj5);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 if (obj6) {
3957 {
3958 arg7 = wxString_in_helper(obj6);
3959 if (arg7 == NULL) SWIG_fail;
3960 temp7 = True;
3961 }
3962 }
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3971 {
3972 if (temp3)
3973 delete arg3;
3974 }
3975 {
3976 if (temp7)
3977 delete arg7;
3978 }
3979 return resultobj;
3980 fail:
3981 {
3982 if (temp3)
3983 delete arg3;
3984 }
3985 {
3986 if (temp7)
3987 delete arg7;
3988 }
3989 return NULL;
3990 }
3991
3992
3993 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxDialog *result;
3996 char *kwnames[] = {
3997 NULL
3998 };
3999
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 result = (wxDialog *)new wxDialog();
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
4008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4009 return resultobj;
4010 fail:
4011 return NULL;
4012 }
4013
4014
4015 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj;
4017 wxDialog *arg1 = (wxDialog *) 0 ;
4018 wxWindow *arg2 = (wxWindow *) 0 ;
4019 int arg3 ;
4020 wxString *arg4 = 0 ;
4021 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4022 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4023 wxSize const &arg6_defvalue = wxDefaultSize ;
4024 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4025 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4026 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4027 wxString *arg8 = (wxString *) &arg8_defvalue ;
4028 bool result;
4029 bool temp4 = False ;
4030 wxPoint temp5 ;
4031 wxSize temp6 ;
4032 bool temp8 = False ;
4033 PyObject * obj0 = 0 ;
4034 PyObject * obj1 = 0 ;
4035 PyObject * obj2 = 0 ;
4036 PyObject * obj3 = 0 ;
4037 PyObject * obj4 = 0 ;
4038 PyObject * obj5 = 0 ;
4039 PyObject * obj6 = 0 ;
4040 PyObject * obj7 = 0 ;
4041 char *kwnames[] = {
4042 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4050 arg3 = (int const) SWIG_AsInt(obj2);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 {
4053 arg4 = wxString_in_helper(obj3);
4054 if (arg4 == NULL) SWIG_fail;
4055 temp4 = True;
4056 }
4057 if (obj4) {
4058 {
4059 arg5 = &temp5;
4060 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4061 }
4062 }
4063 if (obj5) {
4064 {
4065 arg6 = &temp6;
4066 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4067 }
4068 }
4069 if (obj6) {
4070 arg7 = (long) SWIG_AsLong(obj6);
4071 if (PyErr_Occurred()) SWIG_fail;
4072 }
4073 if (obj7) {
4074 {
4075 arg8 = wxString_in_helper(obj7);
4076 if (arg8 == NULL) SWIG_fail;
4077 temp8 = True;
4078 }
4079 }
4080 {
4081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4082 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4083
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 {
4088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4089 }
4090 {
4091 if (temp4)
4092 delete arg4;
4093 }
4094 {
4095 if (temp8)
4096 delete arg8;
4097 }
4098 return resultobj;
4099 fail:
4100 {
4101 if (temp4)
4102 delete arg4;
4103 }
4104 {
4105 if (temp8)
4106 delete arg8;
4107 }
4108 return NULL;
4109 }
4110
4111
4112 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxDialog *arg1 = (wxDialog *) 0 ;
4115 int arg2 ;
4116 PyObject * obj0 = 0 ;
4117 PyObject * obj1 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "self",(char *) "returnCode", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4125 arg2 = (int) SWIG_AsInt(obj1);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 (arg1)->SetReturnCode(arg2);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 Py_INCREF(Py_None); resultobj = Py_None;
4135 return resultobj;
4136 fail:
4137 return NULL;
4138 }
4139
4140
4141 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
4142 PyObject *resultobj;
4143 wxDialog *arg1 = (wxDialog *) 0 ;
4144 int result;
4145 PyObject * obj0 = 0 ;
4146 char *kwnames[] = {
4147 (char *) "self", NULL
4148 };
4149
4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 resultobj = SWIG_FromInt((int)result);
4161 return resultobj;
4162 fail:
4163 return NULL;
4164 }
4165
4166
4167 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxDialog *arg1 = (wxDialog *) 0 ;
4170 wxString *arg2 = 0 ;
4171 wxSizer *result;
4172 bool temp2 = False ;
4173 PyObject * obj0 = 0 ;
4174 PyObject * obj1 = 0 ;
4175 char *kwnames[] = {
4176 (char *) "self",(char *) "message", NULL
4177 };
4178
4179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4182 {
4183 arg2 = wxString_in_helper(obj1);
4184 if (arg2 == NULL) SWIG_fail;
4185 temp2 = True;
4186 }
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 {
4195 resultobj = wxPyMake_wxSizer(result);
4196 }
4197 {
4198 if (temp2)
4199 delete arg2;
4200 }
4201 return resultobj;
4202 fail:
4203 {
4204 if (temp2)
4205 delete arg2;
4206 }
4207 return NULL;
4208 }
4209
4210
4211 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxDialog *arg1 = (wxDialog *) 0 ;
4214 long arg2 ;
4215 wxSizer *result;
4216 PyObject * obj0 = 0 ;
4217 PyObject * obj1 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "flags", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4225 arg2 = (long) SWIG_AsLong(obj1);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 {
4235 resultobj = wxPyMake_wxSizer(result);
4236 }
4237 return resultobj;
4238 fail:
4239 return NULL;
4240 }
4241
4242
4243 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj;
4245 wxDialog *arg1 = (wxDialog *) 0 ;
4246 bool result;
4247 PyObject * obj0 = 0 ;
4248 char *kwnames[] = {
4249 (char *) "self", NULL
4250 };
4251
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 result = (bool)((wxDialog const *)arg1)->IsModal();
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 {
4263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4264 }
4265 return resultobj;
4266 fail:
4267 return NULL;
4268 }
4269
4270
4271 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj;
4273 wxDialog *arg1 = (wxDialog *) 0 ;
4274 int result;
4275 PyObject * obj0 = 0 ;
4276 char *kwnames[] = {
4277 (char *) "self", NULL
4278 };
4279
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 result = (int)(arg1)->ShowModal();
4286
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 resultobj = SWIG_FromInt((int)result);
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxDialog *arg1 = (wxDialog *) 0 ;
4300 int arg2 ;
4301 PyObject * obj0 = 0 ;
4302 PyObject * obj1 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self",(char *) "retCode", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4310 arg2 = (int) SWIG_AsInt(obj1);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 (arg1)->EndModal(arg2);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 Py_INCREF(Py_None); resultobj = Py_None;
4320 return resultobj;
4321 fail:
4322 return NULL;
4323 }
4324
4325
4326 static PyObject *_wrap_Dialog_IsModalShowing(PyObject *, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 wxDialog *arg1 = (wxDialog *) 0 ;
4329 bool result;
4330 PyObject * obj0 = 0 ;
4331 char *kwnames[] = {
4332 (char *) "self", NULL
4333 };
4334
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 result = (bool)wxDialog_IsModalShowing(arg1);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 {
4346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4347 }
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
4355 PyObject *obj;
4356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4357 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4358 Py_INCREF(obj);
4359 return Py_BuildValue((char *)"");
4360 }
4361 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxWindow *arg1 = (wxWindow *) 0 ;
4364 int arg2 ;
4365 wxString *arg3 = 0 ;
4366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4368 wxSize const &arg5_defvalue = wxDefaultSize ;
4369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4370 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4371 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4372 wxString *arg7 = (wxString *) &arg7_defvalue ;
4373 wxMiniFrame *result;
4374 bool temp3 = False ;
4375 wxPoint temp4 ;
4376 wxSize temp5 ;
4377 bool temp7 = False ;
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 PyObject * obj2 = 0 ;
4381 PyObject * obj3 = 0 ;
4382 PyObject * obj4 = 0 ;
4383 PyObject * obj5 = 0 ;
4384 PyObject * obj6 = 0 ;
4385 char *kwnames[] = {
4386 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4387 };
4388
4389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4392 arg2 = (int const) SWIG_AsInt(obj1);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 {
4395 arg3 = wxString_in_helper(obj2);
4396 if (arg3 == NULL) SWIG_fail;
4397 temp3 = True;
4398 }
4399 if (obj3) {
4400 {
4401 arg4 = &temp4;
4402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4403 }
4404 }
4405 if (obj4) {
4406 {
4407 arg5 = &temp5;
4408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4409 }
4410 }
4411 if (obj5) {
4412 arg6 = (long) SWIG_AsLong(obj5);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 if (obj6) {
4416 {
4417 arg7 = wxString_in_helper(obj6);
4418 if (arg7 == NULL) SWIG_fail;
4419 temp7 = True;
4420 }
4421 }
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4430 {
4431 if (temp3)
4432 delete arg3;
4433 }
4434 {
4435 if (temp7)
4436 delete arg7;
4437 }
4438 return resultobj;
4439 fail:
4440 {
4441 if (temp3)
4442 delete arg3;
4443 }
4444 {
4445 if (temp7)
4446 delete arg7;
4447 }
4448 return NULL;
4449 }
4450
4451
4452 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxMiniFrame *result;
4455 char *kwnames[] = {
4456 NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = (wxMiniFrame *)new wxMiniFrame();
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4468 return resultobj;
4469 fail:
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4477 wxWindow *arg2 = (wxWindow *) 0 ;
4478 int arg3 ;
4479 wxString *arg4 = 0 ;
4480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4482 wxSize const &arg6_defvalue = wxDefaultSize ;
4483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4484 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4485 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4486 wxString *arg8 = (wxString *) &arg8_defvalue ;
4487 bool result;
4488 bool temp4 = False ;
4489 wxPoint temp5 ;
4490 wxSize temp6 ;
4491 bool temp8 = False ;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4494 PyObject * obj2 = 0 ;
4495 PyObject * obj3 = 0 ;
4496 PyObject * obj4 = 0 ;
4497 PyObject * obj5 = 0 ;
4498 PyObject * obj6 = 0 ;
4499 PyObject * obj7 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4509 arg3 = (int const) SWIG_AsInt(obj2);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 {
4512 arg4 = wxString_in_helper(obj3);
4513 if (arg4 == NULL) SWIG_fail;
4514 temp4 = True;
4515 }
4516 if (obj4) {
4517 {
4518 arg5 = &temp5;
4519 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4520 }
4521 }
4522 if (obj5) {
4523 {
4524 arg6 = &temp6;
4525 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4526 }
4527 }
4528 if (obj6) {
4529 arg7 = (long) SWIG_AsLong(obj6);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 if (obj7) {
4533 {
4534 arg8 = wxString_in_helper(obj7);
4535 if (arg8 == NULL) SWIG_fail;
4536 temp8 = True;
4537 }
4538 }
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 {
4547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4548 }
4549 {
4550 if (temp4)
4551 delete arg4;
4552 }
4553 {
4554 if (temp8)
4555 delete arg8;
4556 }
4557 return resultobj;
4558 fail:
4559 {
4560 if (temp4)
4561 delete arg4;
4562 }
4563 {
4564 if (temp8)
4565 delete arg8;
4566 }
4567 return NULL;
4568 }
4569
4570
4571 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
4572 PyObject *obj;
4573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4574 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4575 Py_INCREF(obj);
4576 return Py_BuildValue((char *)"");
4577 }
4578 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4579 PyObject *resultobj;
4580 wxBitmap *arg1 = 0 ;
4581 wxWindow *arg2 = (wxWindow *) 0 ;
4582 int arg3 ;
4583 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4584 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4585 wxSize const &arg5_defvalue = wxDefaultSize ;
4586 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4587 long arg6 = (long) wxNO_BORDER ;
4588 wxSplashScreenWindow *result;
4589 wxPoint temp4 ;
4590 wxSize temp5 ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 PyObject * obj2 = 0 ;
4594 PyObject * obj3 = 0 ;
4595 PyObject * obj4 = 0 ;
4596 PyObject * obj5 = 0 ;
4597 char *kwnames[] = {
4598 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4599 };
4600
4601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4603 SWIG_POINTER_EXCEPTION | 0)) == -1)
4604 SWIG_fail;
4605 if (arg1 == NULL) {
4606 PyErr_SetString(PyExc_TypeError,"null reference");
4607 SWIG_fail;
4608 }
4609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4611 arg3 = (int) SWIG_AsInt(obj2);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 if (obj3) {
4614 {
4615 arg4 = &temp4;
4616 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4617 }
4618 }
4619 if (obj4) {
4620 {
4621 arg5 = &temp5;
4622 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4623 }
4624 }
4625 if (obj5) {
4626 arg6 = (long) SWIG_AsLong(obj5);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 {
4630 PyThreadState* __tstate = wxPyBeginAllowThreads();
4631 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4632
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4637 return resultobj;
4638 fail:
4639 return NULL;
4640 }
4641
4642
4643 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4646 wxBitmap *arg2 = 0 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "self",(char *) "bitmap", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4657 SWIG_POINTER_EXCEPTION | 0)) == -1)
4658 SWIG_fail;
4659 if (arg2 == NULL) {
4660 PyErr_SetString(PyExc_TypeError,"null reference");
4661 SWIG_fail;
4662 }
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 }
4670 Py_INCREF(Py_None); resultobj = Py_None;
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4680 wxBitmap *result;
4681 PyObject * obj0 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 {
4692 wxBitmap &_result_ref = (arg1)->GetBitmap();
4693 result = (wxBitmap *) &_result_ref;
4694 }
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 {
4700 wxBitmap* resultptr = new wxBitmap(*result);
4701 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4702 }
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
4710 PyObject *obj;
4711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4712 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4713 Py_INCREF(obj);
4714 return Py_BuildValue((char *)"");
4715 }
4716 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj;
4718 wxBitmap *arg1 = 0 ;
4719 long arg2 ;
4720 int arg3 ;
4721 wxWindow *arg4 = (wxWindow *) 0 ;
4722 int arg5 ;
4723 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4724 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4725 wxSize const &arg7_defvalue = wxDefaultSize ;
4726 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4727 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4728 wxSplashScreen *result;
4729 wxPoint temp6 ;
4730 wxSize temp7 ;
4731 PyObject * obj0 = 0 ;
4732 PyObject * obj1 = 0 ;
4733 PyObject * obj2 = 0 ;
4734 PyObject * obj3 = 0 ;
4735 PyObject * obj4 = 0 ;
4736 PyObject * obj5 = 0 ;
4737 PyObject * obj6 = 0 ;
4738 PyObject * obj7 = 0 ;
4739 char *kwnames[] = {
4740 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4741 };
4742
4743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4745 SWIG_POINTER_EXCEPTION | 0)) == -1)
4746 SWIG_fail;
4747 if (arg1 == NULL) {
4748 PyErr_SetString(PyExc_TypeError,"null reference");
4749 SWIG_fail;
4750 }
4751 arg2 = (long) SWIG_AsLong(obj1);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 arg3 = (int) SWIG_AsInt(obj2);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4757 arg5 = (int) SWIG_AsInt(obj4);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 if (obj5) {
4760 {
4761 arg6 = &temp6;
4762 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4763 }
4764 }
4765 if (obj6) {
4766 {
4767 arg7 = &temp7;
4768 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4769 }
4770 }
4771 if (obj7) {
4772 arg8 = (long) SWIG_AsLong(obj7);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4783 return resultobj;
4784 fail:
4785 return NULL;
4786 }
4787
4788
4789 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4792 long result;
4793 PyObject * obj0 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4803 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4804
4805 wxPyEndAllowThreads(__tstate);
4806 if (PyErr_Occurred()) SWIG_fail;
4807 }
4808 resultobj = SWIG_FromLong((long)result);
4809 return resultobj;
4810 fail:
4811 return NULL;
4812 }
4813
4814
4815 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj;
4817 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4818 wxSplashScreenWindow *result;
4819 PyObject * obj0 = 0 ;
4820 char *kwnames[] = {
4821 (char *) "self", NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4844 int result;
4845 PyObject * obj0 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_FromInt((int)result);
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
4868 PyObject *obj;
4869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4870 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4871 Py_INCREF(obj);
4872 return Py_BuildValue((char *)"");
4873 }
4874 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxWindow *arg1 = (wxWindow *) 0 ;
4877 int arg2 = (int) -1 ;
4878 long arg3 = (long) wxST_SIZEGRIP ;
4879 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4880 wxString *arg4 = (wxString *) &arg4_defvalue ;
4881 wxStatusBar *result;
4882 bool temp4 = False ;
4883 PyObject * obj0 = 0 ;
4884 PyObject * obj1 = 0 ;
4885 PyObject * obj2 = 0 ;
4886 PyObject * obj3 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4889 };
4890
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4894 if (obj1) {
4895 arg2 = (int) SWIG_AsInt(obj1);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 if (obj2) {
4899 arg3 = (long) SWIG_AsLong(obj2);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 if (obj3) {
4903 {
4904 arg4 = wxString_in_helper(obj3);
4905 if (arg4 == NULL) SWIG_fail;
4906 temp4 = True;
4907 }
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 {
4917 resultobj = wxPyMake_wxObject(result);
4918 }
4919 {
4920 if (temp4)
4921 delete arg4;
4922 }
4923 return resultobj;
4924 fail:
4925 {
4926 if (temp4)
4927 delete arg4;
4928 }
4929 return NULL;
4930 }
4931
4932
4933 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4934 PyObject *resultobj;
4935 wxStatusBar *result;
4936 char *kwnames[] = {
4937 NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 result = (wxStatusBar *)new wxStatusBar();
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 {
4949 resultobj = wxPyMake_wxObject(result);
4950 }
4951 return resultobj;
4952 fail:
4953 return NULL;
4954 }
4955
4956
4957 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4960 wxWindow *arg2 = (wxWindow *) 0 ;
4961 int arg3 ;
4962 long arg4 = (long) wxST_SIZEGRIP ;
4963 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4964 wxString *arg5 = (wxString *) &arg5_defvalue ;
4965 bool result;
4966 bool temp5 = False ;
4967 PyObject * obj0 = 0 ;
4968 PyObject * obj1 = 0 ;
4969 PyObject * obj2 = 0 ;
4970 PyObject * obj3 = 0 ;
4971 PyObject * obj4 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4981 arg3 = (int) SWIG_AsInt(obj2);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 if (obj3) {
4984 arg4 = (long) SWIG_AsLong(obj3);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 if (obj4) {
4988 {
4989 arg5 = wxString_in_helper(obj4);
4990 if (arg5 == NULL) SWIG_fail;
4991 temp5 = True;
4992 }
4993 }
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5003 }
5004 {
5005 if (temp5)
5006 delete arg5;
5007 }
5008 return resultobj;
5009 fail:
5010 {
5011 if (temp5)
5012 delete arg5;
5013 }
5014 return NULL;
5015 }
5016
5017
5018 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5021 int arg2 = (int) 1 ;
5022 PyObject * obj0 = 0 ;
5023 PyObject * obj1 = 0 ;
5024 char *kwnames[] = {
5025 (char *) "self",(char *) "number", NULL
5026 };
5027
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5031 if (obj1) {
5032 arg2 = (int) SWIG_AsInt(obj1);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 (arg1)->SetFieldsCount(arg2);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 Py_INCREF(Py_None); resultobj = Py_None;
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5052 int result;
5053 PyObject * obj0 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 resultobj = SWIG_FromInt((int)result);
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5078 wxString *arg2 = 0 ;
5079 int arg3 = (int) 0 ;
5080 bool temp2 = False ;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 PyObject * obj2 = 0 ;
5084 char *kwnames[] = {
5085 (char *) "self",(char *) "text",(char *) "number", NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5091 {
5092 arg2 = wxString_in_helper(obj1);
5093 if (arg2 == NULL) SWIG_fail;
5094 temp2 = True;
5095 }
5096 if (obj2) {
5097 arg3 = (int) SWIG_AsInt(obj2);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5125 int arg2 = (int) 0 ;
5126 wxString result;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self",(char *) "number", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5136 if (obj1) {
5137 arg2 = (int) SWIG_AsInt(obj1);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 {
5148 #if wxUSE_UNICODE
5149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5150 #else
5151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5152 #endif
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5163 wxString *arg2 = 0 ;
5164 int arg3 = (int) 0 ;
5165 bool temp2 = False ;
5166 PyObject * obj0 = 0 ;
5167 PyObject * obj1 = 0 ;
5168 PyObject * obj2 = 0 ;
5169 char *kwnames[] = {
5170 (char *) "self",(char *) "text",(char *) "number", NULL
5171 };
5172
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5176 {
5177 arg2 = wxString_in_helper(obj1);
5178 if (arg2 == NULL) SWIG_fail;
5179 temp2 = True;
5180 }
5181 if (obj2) {
5182 arg3 = (int) SWIG_AsInt(obj2);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 Py_INCREF(Py_None); resultobj = Py_None;
5193 {
5194 if (temp2)
5195 delete arg2;
5196 }
5197 return resultobj;
5198 fail:
5199 {
5200 if (temp2)
5201 delete arg2;
5202 }
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5210 int arg2 = (int) 0 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self",(char *) "number", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5220 if (obj1) {
5221 arg2 = (int) SWIG_AsInt(obj1);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 (arg1)->PopStatusText(arg2);
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 Py_INCREF(Py_None); resultobj = Py_None;
5232 return resultobj;
5233 fail:
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5241 int arg2 ;
5242 int *arg3 = (int *) 0 ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 char *kwnames[] = {
5246 (char *) "self",(char *) "widths", NULL
5247 };
5248
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5252 {
5253 arg2 = PyList_Size(obj1);
5254 arg3 = int_LIST_helper(obj1);
5255 if (arg3 == NULL) SWIG_fail;
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 Py_INCREF(Py_None); resultobj = Py_None;
5265 {
5266 if (arg3) delete [] arg3;
5267 }
5268 return resultobj;
5269 fail:
5270 {
5271 if (arg3) delete [] arg3;
5272 }
5273 return NULL;
5274 }
5275
5276
5277 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5280 int arg2 ;
5281 wxRect result;
5282 PyObject * obj0 = 0 ;
5283 PyObject * obj1 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self",(char *) "i", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5291 arg2 = (int) SWIG_AsInt(obj1);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = wxStatusBar_GetFieldRect(arg1,arg2);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 {
5301 wxRect * resultptr;
5302 resultptr = new wxRect((wxRect &) result);
5303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5304 }
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5314 int arg2 ;
5315 PyObject * obj0 = 0 ;
5316 PyObject * obj1 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "height", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5324 arg2 = (int) SWIG_AsInt(obj1);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 (arg1)->SetMinHeight(arg2);
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 Py_INCREF(Py_None); resultobj = Py_None;
5334 return resultobj;
5335 fail:
5336 return NULL;
5337 }
5338
5339
5340 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
5341 PyObject *resultobj;
5342 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5343 int result;
5344 PyObject * obj0 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 resultobj = SWIG_FromInt((int)result);
5360 return resultobj;
5361 fail:
5362 return NULL;
5363 }
5364
5365
5366 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5369 int result;
5370 PyObject * obj0 = 0 ;
5371 char *kwnames[] = {
5372 (char *) "self", NULL
5373 };
5374
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 resultobj = SWIG_FromInt((int)result);
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
5393 PyObject *obj;
5394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5395 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5396 Py_INCREF(obj);
5397 return Py_BuildValue((char *)"");
5398 }
5399 static int _wrap_SplitterNameStr_set(PyObject *) {
5400 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5401 return 1;
5402 }
5403
5404
5405 static PyObject *_wrap_SplitterNameStr_get() {
5406 PyObject *pyobj;
5407
5408 {
5409 #if wxUSE_UNICODE
5410 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5411 #else
5412 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5413 #endif
5414 }
5415 return pyobj;
5416 }
5417
5418
5419 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxWindow *arg1 = (wxWindow *) 0 ;
5422 int arg2 ;
5423 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5424 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5425 wxSize const &arg4_defvalue = wxDefaultSize ;
5426 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5427 long arg5 = (long) wxSP_3D ;
5428 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5429 wxString *arg6 = (wxString *) &arg6_defvalue ;
5430 wxSplitterWindow *result;
5431 wxPoint temp3 ;
5432 wxSize temp4 ;
5433 bool temp6 = False ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 PyObject * obj2 = 0 ;
5437 PyObject * obj3 = 0 ;
5438 PyObject * obj4 = 0 ;
5439 PyObject * obj5 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5447 arg2 = (int) SWIG_AsInt(obj1);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 if (obj2) {
5450 {
5451 arg3 = &temp3;
5452 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5453 }
5454 }
5455 if (obj3) {
5456 {
5457 arg4 = &temp4;
5458 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5459 }
5460 }
5461 if (obj4) {
5462 arg5 = (long) SWIG_AsLong(obj4);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 if (obj5) {
5466 {
5467 arg6 = wxString_in_helper(obj5);
5468 if (arg6 == NULL) SWIG_fail;
5469 temp6 = True;
5470 }
5471 }
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5480 {
5481 if (temp6)
5482 delete arg6;
5483 }
5484 return resultobj;
5485 fail:
5486 {
5487 if (temp6)
5488 delete arg6;
5489 }
5490 return NULL;
5491 }
5492
5493
5494 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj;
5496 wxSplitterWindow *result;
5497 char *kwnames[] = {
5498 NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 result = (wxSplitterWindow *)new wxSplitterWindow();
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5510 return resultobj;
5511 fail:
5512 return NULL;
5513 }
5514
5515
5516 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5519 wxWindow *arg2 = (wxWindow *) 0 ;
5520 int arg3 ;
5521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5523 wxSize const &arg5_defvalue = wxDefaultSize ;
5524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5525 long arg6 = (long) wxSP_3D ;
5526 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5527 wxString *arg7 = (wxString *) &arg7_defvalue ;
5528 bool result;
5529 wxPoint temp4 ;
5530 wxSize temp5 ;
5531 bool temp7 = False ;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 PyObject * obj2 = 0 ;
5535 PyObject * obj3 = 0 ;
5536 PyObject * obj4 = 0 ;
5537 PyObject * obj5 = 0 ;
5538 PyObject * obj6 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5548 arg3 = (int) SWIG_AsInt(obj2);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 if (obj3) {
5551 {
5552 arg4 = &temp4;
5553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5554 }
5555 }
5556 if (obj4) {
5557 {
5558 arg5 = &temp5;
5559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5560 }
5561 }
5562 if (obj5) {
5563 arg6 = (long) SWIG_AsLong(obj5);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 if (obj6) {
5567 {
5568 arg7 = wxString_in_helper(obj6);
5569 if (arg7 == NULL) SWIG_fail;
5570 temp7 = True;
5571 }
5572 }
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 {
5581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5582 }
5583 {
5584 if (temp7)
5585 delete arg7;
5586 }
5587 return resultobj;
5588 fail:
5589 {
5590 if (temp7)
5591 delete arg7;
5592 }
5593 return NULL;
5594 }
5595
5596
5597 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5600 wxWindow *result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 {
5617 resultobj = wxPyMake_wxObject(result);
5618 }
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj;
5627 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5628 wxWindow *result;
5629 PyObject * obj0 = 0 ;
5630 char *kwnames[] = {
5631 (char *) "self", NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 {
5645 resultobj = wxPyMake_wxObject(result);
5646 }
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5656 int arg2 ;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "mode", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5666 arg2 = (int) SWIG_AsInt(obj1);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 (arg1)->SetSplitMode(arg2);
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 Py_INCREF(Py_None); resultobj = Py_None;
5676 return resultobj;
5677 fail:
5678 return NULL;
5679 }
5680
5681
5682 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj;
5684 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5685 int result;
5686 PyObject * obj0 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 resultobj = SWIG_FromInt((int)result);
5702 return resultobj;
5703 fail:
5704 return NULL;
5705 }
5706
5707
5708 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
5709 PyObject *resultobj;
5710 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5711 wxWindow *arg2 = (wxWindow *) 0 ;
5712 PyObject * obj0 = 0 ;
5713 PyObject * obj1 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self",(char *) "window", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 (arg1)->Initialize(arg2);
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 Py_INCREF(Py_None); resultobj = Py_None;
5731 return resultobj;
5732 fail:
5733 return NULL;
5734 }
5735
5736
5737 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5740 wxWindow *arg2 = (wxWindow *) 0 ;
5741 wxWindow *arg3 = (wxWindow *) 0 ;
5742 int arg4 = (int) 0 ;
5743 bool result;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 PyObject * obj2 = 0 ;
5747 PyObject * obj3 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5757 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5759 if (obj3) {
5760 arg4 = (int) SWIG_AsInt(obj3);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 {
5771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5772 }
5773 return resultobj;
5774 fail:
5775 return NULL;
5776 }
5777
5778
5779 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5782 wxWindow *arg2 = (wxWindow *) 0 ;
5783 wxWindow *arg3 = (wxWindow *) 0 ;
5784 int arg4 = (int) 0 ;
5785 bool result;
5786 PyObject * obj0 = 0 ;
5787 PyObject * obj1 = 0 ;
5788 PyObject * obj2 = 0 ;
5789 PyObject * obj3 = 0 ;
5790 char *kwnames[] = {
5791 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5799 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5801 if (obj3) {
5802 arg4 = (int) SWIG_AsInt(obj3);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 {
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 {
5813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5814 }
5815 return resultobj;
5816 fail:
5817 return NULL;
5818 }
5819
5820
5821 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
5822 PyObject *resultobj;
5823 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5824 wxWindow *arg2 = (wxWindow *) NULL ;
5825 bool result;
5826 PyObject * obj0 = 0 ;
5827 PyObject * obj1 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self",(char *) "toRemove", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5835 if (obj1) {
5836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5838 }
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (bool)(arg1)->Unsplit(arg2);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 {
5847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5848 }
5849 return resultobj;
5850 fail:
5851 return NULL;
5852 }
5853
5854
5855 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5858 wxWindow *arg2 = (wxWindow *) 0 ;
5859 wxWindow *arg3 = (wxWindow *) 0 ;
5860 bool result;
5861 PyObject * obj0 = 0 ;
5862 PyObject * obj1 = 0 ;
5863 PyObject * obj2 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5873 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 {
5883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5884 }
5885 return resultobj;
5886 fail:
5887 return NULL;
5888 }
5889
5890
5891 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
5892 PyObject *resultobj;
5893 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5894 PyObject * obj0 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 (arg1)->UpdateSize();
5905
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 Py_INCREF(Py_None); resultobj = Py_None;
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5919 bool result;
5920 PyObject * obj0 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 {
5936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5937 }
5938 return resultobj;
5939 fail:
5940 return NULL;
5941 }
5942
5943
5944 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5947 int arg2 ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self",(char *) "width", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5957 arg2 = (int) SWIG_AsInt(obj1);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 (arg1)->SetSashSize(arg2);
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 Py_INCREF(Py_None); resultobj = Py_None;
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5976 int arg2 ;
5977 PyObject * obj0 = 0 ;
5978 PyObject * obj1 = 0 ;
5979 char *kwnames[] = {
5980 (char *) "self",(char *) "width", NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5986 arg2 = (int) SWIG_AsInt(obj1);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 (arg1)->SetBorderSize(arg2);
5991
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 Py_INCREF(Py_None); resultobj = Py_None;
5996 return resultobj;
5997 fail:
5998 return NULL;
5999 }
6000
6001
6002 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
6003 PyObject *resultobj;
6004 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6005 int result;
6006 PyObject * obj0 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_FromInt((int)result);
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6031 int result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "self", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 resultobj = SWIG_FromInt((int)result);
6048 return resultobj;
6049 fail:
6050 return NULL;
6051 }
6052
6053
6054 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj;
6056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6057 int arg2 ;
6058 bool arg3 = (bool) True ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 PyObject * obj2 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self",(char *) "position",(char *) "redraw", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6069 arg2 = (int) SWIG_AsInt(obj1);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 if (obj2) {
6072 arg3 = (bool) SWIG_AsBool(obj2);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 (arg1)->SetSashPosition(arg2,arg3);
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 Py_INCREF(Py_None); resultobj = Py_None;
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj;
6091 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6092 int result;
6093 PyObject * obj0 = 0 ;
6094 char *kwnames[] = {
6095 (char *) "self", NULL
6096 };
6097
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 resultobj = SWIG_FromInt((int)result);
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6118 int arg2 ;
6119 PyObject * obj0 = 0 ;
6120 PyObject * obj1 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "min", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6128 arg2 = (int) SWIG_AsInt(obj1);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 (arg1)->SetMinimumPaneSize(arg2);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 Py_INCREF(Py_None); resultobj = Py_None;
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6147 int result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "self", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 resultobj = SWIG_FromInt((int)result);
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj;
6172 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6173 int arg2 ;
6174 int arg3 ;
6175 int arg4 = (int) 5 ;
6176 bool result;
6177 PyObject * obj0 = 0 ;
6178 PyObject * obj1 = 0 ;
6179 PyObject * obj2 = 0 ;
6180 PyObject * obj3 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6188 arg2 = (int) SWIG_AsInt(obj1);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 arg3 = (int) SWIG_AsInt(obj2);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 if (obj3) {
6193 arg4 = (int) SWIG_AsInt(obj3);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 {
6204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6205 }
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6215 PyObject * obj0 = 0 ;
6216 char *kwnames[] = {
6217 (char *) "self", NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 (arg1)->SizeWindows();
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 Py_INCREF(Py_None); resultobj = Py_None;
6231 return resultobj;
6232 fail:
6233 return NULL;
6234 }
6235
6236
6237 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6238 PyObject *resultobj;
6239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6240 bool arg2 ;
6241 PyObject * obj0 = 0 ;
6242 PyObject * obj1 = 0 ;
6243 char *kwnames[] = {
6244 (char *) "self",(char *) "needUpdating", NULL
6245 };
6246
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6250 arg2 = (bool) SWIG_AsBool(obj1);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 (arg1)->SetNeedUpdating(arg2);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 Py_INCREF(Py_None); resultobj = Py_None;
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6269 bool result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 {
6286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6287 }
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
6295 PyObject *obj;
6296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6297 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6298 Py_INCREF(obj);
6299 return Py_BuildValue((char *)"");
6300 }
6301 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6304 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6305 wxSplitterEvent *result;
6306 PyObject * obj0 = 0 ;
6307 PyObject * obj1 = 0 ;
6308 char *kwnames[] = {
6309 (char *) "type",(char *) "splitter", NULL
6310 };
6311
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6313 if (obj0) {
6314 arg1 = (wxEventType) SWIG_AsInt(obj0);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 if (obj1) {
6318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6320 }
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6329 return resultobj;
6330 fail:
6331 return NULL;
6332 }
6333
6334
6335 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6338 int arg2 ;
6339 PyObject * obj0 = 0 ;
6340 PyObject * obj1 = 0 ;
6341 char *kwnames[] = {
6342 (char *) "self",(char *) "pos", NULL
6343 };
6344
6345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6348 arg2 = (int) SWIG_AsInt(obj1);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 (arg1)->SetSashPosition(arg2);
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 Py_INCREF(Py_None); resultobj = Py_None;
6358 return resultobj;
6359 fail:
6360 return NULL;
6361 }
6362
6363
6364 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6367 int result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 resultobj = SWIG_FromInt((int)result);
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6393 wxWindow *result;
6394 PyObject * obj0 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 {
6410 resultobj = wxPyMake_wxObject(result);
6411 }
6412 return resultobj;
6413 fail:
6414 return NULL;
6415 }
6416
6417
6418 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj;
6420 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6421 int result;
6422 PyObject * obj0 = 0 ;
6423 char *kwnames[] = {
6424 (char *) "self", NULL
6425 };
6426
6427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6433
6434 wxPyEndAllowThreads(__tstate);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 }
6437 resultobj = SWIG_FromInt((int)result);
6438 return resultobj;
6439 fail:
6440 return NULL;
6441 }
6442
6443
6444 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6445 PyObject *resultobj;
6446 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6447 int result;
6448 PyObject * obj0 = 0 ;
6449 char *kwnames[] = {
6450 (char *) "self", NULL
6451 };
6452
6453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 resultobj = SWIG_FromInt((int)result);
6464 return resultobj;
6465 fail:
6466 return NULL;
6467 }
6468
6469
6470 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
6471 PyObject *obj;
6472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6473 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6474 Py_INCREF(obj);
6475 return Py_BuildValue((char *)"");
6476 }
6477 static int _wrap_SashNameStr_set(PyObject *) {
6478 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6479 return 1;
6480 }
6481
6482
6483 static PyObject *_wrap_SashNameStr_get() {
6484 PyObject *pyobj;
6485
6486 {
6487 #if wxUSE_UNICODE
6488 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6489 #else
6490 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6491 #endif
6492 }
6493 return pyobj;
6494 }
6495
6496
6497 static int _wrap_SashLayoutNameStr_set(PyObject *) {
6498 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6499 return 1;
6500 }
6501
6502
6503 static PyObject *_wrap_SashLayoutNameStr_get() {
6504 PyObject *pyobj;
6505
6506 {
6507 #if wxUSE_UNICODE
6508 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6509 #else
6510 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6511 #endif
6512 }
6513 return pyobj;
6514 }
6515
6516
6517 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxWindow *arg1 = (wxWindow *) 0 ;
6520 int arg2 ;
6521 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6522 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6523 wxSize const &arg4_defvalue = wxDefaultSize ;
6524 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6525 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6526 wxString const &arg6_defvalue = wxPySashNameStr ;
6527 wxString *arg6 = (wxString *) &arg6_defvalue ;
6528 wxSashWindow *result;
6529 wxPoint temp3 ;
6530 wxSize temp4 ;
6531 bool temp6 = False ;
6532 PyObject * obj0 = 0 ;
6533 PyObject * obj1 = 0 ;
6534 PyObject * obj2 = 0 ;
6535 PyObject * obj3 = 0 ;
6536 PyObject * obj4 = 0 ;
6537 PyObject * obj5 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6545 arg2 = (int) SWIG_AsInt(obj1);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 if (obj2) {
6548 {
6549 arg3 = &temp3;
6550 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6551 }
6552 }
6553 if (obj3) {
6554 {
6555 arg4 = &temp4;
6556 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6557 }
6558 }
6559 if (obj4) {
6560 arg5 = (long) SWIG_AsLong(obj4);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 if (obj5) {
6564 {
6565 arg6 = wxString_in_helper(obj5);
6566 if (arg6 == NULL) SWIG_fail;
6567 temp6 = True;
6568 }
6569 }
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6578 {
6579 if (temp6)
6580 delete arg6;
6581 }
6582 return resultobj;
6583 fail:
6584 {
6585 if (temp6)
6586 delete arg6;
6587 }
6588 return NULL;
6589 }
6590
6591
6592 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj;
6594 wxSashWindow *result;
6595 char *kwnames[] = {
6596 NULL
6597 };
6598
6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (wxSashWindow *)new wxSashWindow();
6603
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) SWIG_fail;
6606 }
6607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6608 return resultobj;
6609 fail:
6610 return NULL;
6611 }
6612
6613
6614 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6615 PyObject *resultobj;
6616 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6617 wxWindow *arg2 = (wxWindow *) 0 ;
6618 int arg3 ;
6619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6621 wxSize const &arg5_defvalue = wxDefaultSize ;
6622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6623 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6624 wxString const &arg7_defvalue = wxPySashNameStr ;
6625 wxString *arg7 = (wxString *) &arg7_defvalue ;
6626 bool result;
6627 wxPoint temp4 ;
6628 wxSize temp5 ;
6629 bool temp7 = False ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 PyObject * obj2 = 0 ;
6633 PyObject * obj3 = 0 ;
6634 PyObject * obj4 = 0 ;
6635 PyObject * obj5 = 0 ;
6636 PyObject * obj6 = 0 ;
6637 char *kwnames[] = {
6638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6646 arg3 = (int) SWIG_AsInt(obj2);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 if (obj3) {
6649 {
6650 arg4 = &temp4;
6651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6652 }
6653 }
6654 if (obj4) {
6655 {
6656 arg5 = &temp5;
6657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6658 }
6659 }
6660 if (obj5) {
6661 arg6 = (long) SWIG_AsLong(obj5);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 if (obj6) {
6665 {
6666 arg7 = wxString_in_helper(obj6);
6667 if (arg7 == NULL) SWIG_fail;
6668 temp7 = True;
6669 }
6670 }
6671 {
6672 PyThreadState* __tstate = wxPyBeginAllowThreads();
6673 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6674
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 {
6679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6680 }
6681 {
6682 if (temp7)
6683 delete arg7;
6684 }
6685 return resultobj;
6686 fail:
6687 {
6688 if (temp7)
6689 delete arg7;
6690 }
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6698 int arg2 ;
6699 bool arg3 ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 PyObject * obj2 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self",(char *) "edge",(char *) "sash", NULL
6705 };
6706
6707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6710 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 arg3 = (bool) SWIG_AsBool(obj2);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 Py_INCREF(Py_None); resultobj = Py_None;
6722 return resultobj;
6723 fail:
6724 return NULL;
6725 }
6726
6727
6728 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6731 int arg2 ;
6732 bool result;
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "edge", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6742 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6747
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 {
6752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6753 }
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6761 PyObject *resultobj;
6762 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6763 int arg2 ;
6764 bool arg3 ;
6765 PyObject * obj0 = 0 ;
6766 PyObject * obj1 = 0 ;
6767 PyObject * obj2 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "edge",(char *) "border", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6775 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 arg3 = (bool) SWIG_AsBool(obj2);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 {
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
6781 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6782
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 Py_INCREF(Py_None); resultobj = Py_None;
6787 return resultobj;
6788 fail:
6789 return NULL;
6790 }
6791
6792
6793 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6796 int arg2 ;
6797 bool result;
6798 PyObject * obj0 = 0 ;
6799 PyObject * obj1 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self",(char *) "edge", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6807 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 {
6817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6828 int arg2 ;
6829 int result;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "edge", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_FromInt((int)result);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6858 int arg2 ;
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861 char *kwnames[] = {
6862 (char *) "self",(char *) "width", NULL
6863 };
6864
6865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6868 arg2 = (int) SWIG_AsInt(obj1);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 (arg1)->SetDefaultBorderSize(arg2);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 Py_INCREF(Py_None); resultobj = Py_None;
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6887 int result;
6888 PyObject * obj0 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6899
6900 wxPyEndAllowThreads(__tstate);
6901 if (PyErr_Occurred()) SWIG_fail;
6902 }
6903 resultobj = SWIG_FromInt((int)result);
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6913 int arg2 ;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "width", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6923 arg2 = (int) SWIG_AsInt(obj1);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 (arg1)->SetExtraBorderSize(arg2);
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 Py_INCREF(Py_None); resultobj = Py_None;
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6942 int result;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 resultobj = SWIG_FromInt((int)result);
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6968 int arg2 ;
6969 PyObject * obj0 = 0 ;
6970 PyObject * obj1 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self",(char *) "min", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6978 arg2 = (int) SWIG_AsInt(obj1);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 (arg1)->SetMinimumSizeX(arg2);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6997 int arg2 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "min", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7007 arg2 = (int) SWIG_AsInt(obj1);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->SetMinimumSizeY(arg2);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 return resultobj;
7018 fail:
7019 return NULL;
7020 }
7021
7022
7023 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7024 PyObject *resultobj;
7025 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7026 int result;
7027 PyObject * obj0 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self", NULL
7030 };
7031
7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = SWIG_FromInt((int)result);
7043 return resultobj;
7044 fail:
7045 return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj;
7051 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7052 int result;
7053 PyObject * obj0 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 resultobj = SWIG_FromInt((int)result);
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj;
7077 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7078 int arg2 ;
7079 PyObject * obj0 = 0 ;
7080 PyObject * obj1 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self",(char *) "max", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7088 arg2 = (int) SWIG_AsInt(obj1);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->SetMaximumSizeX(arg2);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7107 int arg2 ;
7108 PyObject * obj0 = 0 ;
7109 PyObject * obj1 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self",(char *) "max", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7117 arg2 = (int) SWIG_AsInt(obj1);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetMaximumSizeY(arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130 }
7131
7132
7133 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7136 int result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 resultobj = SWIG_FromInt((int)result);
7153 return resultobj;
7154 fail:
7155 return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7162 int result;
7163 PyObject * obj0 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 resultobj = SWIG_FromInt((int)result);
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7188 int arg2 ;
7189 int arg3 ;
7190 int arg4 = (int) 2 ;
7191 int result;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 PyObject * obj2 = 0 ;
7195 PyObject * obj3 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7198 };
7199
7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7203 arg2 = (int) SWIG_AsInt(obj1);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 arg3 = (int) SWIG_AsInt(obj2);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 if (obj3) {
7208 arg4 = (int) SWIG_AsInt(obj3);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 resultobj = SWIG_FromInt((int)result);
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7228 PyObject * obj0 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 (arg1)->SizeWindows();
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 Py_INCREF(Py_None); resultobj = Py_None;
7244 return resultobj;
7245 fail:
7246 return NULL;
7247 }
7248
7249
7250 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
7251 PyObject *obj;
7252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7253 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7254 Py_INCREF(obj);
7255 return Py_BuildValue((char *)"");
7256 }
7257 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 int arg1 = (int) 0 ;
7260 int arg2 = (int) wxSASH_NONE ;
7261 wxSashEvent *result;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "id",(char *) "edge", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7269 if (obj0) {
7270 arg1 = (int) SWIG_AsInt(obj0);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 if (obj1) {
7274 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7280
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj;
7293 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7294 int arg2 ;
7295 PyObject * obj0 = 0 ;
7296 PyObject * obj1 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "edge", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 Py_INCREF(Py_None); resultobj = Py_None;
7314 return resultobj;
7315 fail:
7316 return NULL;
7317 }
7318
7319
7320 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
7321 PyObject *resultobj;
7322 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7323 int result;
7324 PyObject * obj0 = 0 ;
7325 char *kwnames[] = {
7326 (char *) "self", NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 resultobj = SWIG_FromInt((int)result);
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7349 wxRect *arg2 = 0 ;
7350 wxRect temp2 ;
7351 PyObject * obj0 = 0 ;
7352 PyObject * obj1 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "rect", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7360 {
7361 arg2 = &temp2;
7362 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7363 }
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 (arg1)->SetDragRect((wxRect const &)*arg2);
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 Py_INCREF(Py_None); resultobj = Py_None;
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7381 wxRect result;
7382 PyObject * obj0 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 result = ((wxSashEvent const *)arg1)->GetDragRect();
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 {
7398 wxRect * resultptr;
7399 resultptr = new wxRect((wxRect &) result);
7400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7401 }
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7411 int arg2 ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self",(char *) "status", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7421 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 Py_INCREF(Py_None); resultobj = Py_None;
7431 return resultobj;
7432 fail:
7433 return NULL;
7434 }
7435
7436
7437 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7440 int result;
7441 PyObject * obj0 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7449 {
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 resultobj = SWIG_FromInt((int)result);
7457 return resultobj;
7458 fail:
7459 return NULL;
7460 }
7461
7462
7463 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
7464 PyObject *obj;
7465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7466 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7467 Py_INCREF(obj);
7468 return Py_BuildValue((char *)"");
7469 }
7470 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 int arg1 = (int) 0 ;
7473 wxQueryLayoutInfoEvent *result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "id", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7480 if (obj0) {
7481 arg1 = (int) SWIG_AsInt(obj0);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7501 int arg2 ;
7502 PyObject * obj0 = 0 ;
7503 PyObject * obj1 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self",(char *) "length", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7511 arg2 = (int) SWIG_AsInt(obj1);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 (arg1)->SetRequestedLength(arg2);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 Py_INCREF(Py_None); resultobj = Py_None;
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7530 int result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 resultobj = SWIG_FromInt((int)result);
7547 return resultobj;
7548 fail:
7549 return NULL;
7550 }
7551
7552
7553 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7556 int arg2 ;
7557 PyObject * obj0 = 0 ;
7558 PyObject * obj1 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self",(char *) "flags", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7566 arg2 = (int) SWIG_AsInt(obj1);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 (arg1)->SetFlags(arg2);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 Py_INCREF(Py_None); resultobj = Py_None;
7576 return resultobj;
7577 fail:
7578 return NULL;
7579 }
7580
7581
7582 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7585 int result;
7586 PyObject * obj0 = 0 ;
7587 char *kwnames[] = {
7588 (char *) "self", NULL
7589 };
7590
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 resultobj = SWIG_FromInt((int)result);
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7611 wxSize *arg2 = 0 ;
7612 wxSize temp2 ;
7613 PyObject * obj0 = 0 ;
7614 PyObject * obj1 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self",(char *) "size", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7622 {
7623 arg2 = &temp2;
7624 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7625 }
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 (arg1)->SetSize((wxSize const &)*arg2);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 Py_INCREF(Py_None); resultobj = Py_None;
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7643 wxSize result;
7644 PyObject * obj0 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "self", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 {
7660 wxSize * resultptr;
7661 resultptr = new wxSize((wxSize &) result);
7662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7663 }
7664 return resultobj;
7665 fail:
7666 return NULL;
7667 }
7668
7669
7670 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7671 PyObject *resultobj;
7672 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7673 int arg2 ;
7674 PyObject * obj0 = 0 ;
7675 PyObject * obj1 = 0 ;
7676 char *kwnames[] = {
7677 (char *) "self",(char *) "orient", NULL
7678 };
7679
7680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7683 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 Py_INCREF(Py_None); resultobj = Py_None;
7693 return resultobj;
7694 fail:
7695 return NULL;
7696 }
7697
7698
7699 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7702 int result;
7703 PyObject * obj0 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 resultobj = SWIG_FromInt((int)result);
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7728 int arg2 ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self",(char *) "align", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7738 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
7747 Py_INCREF(Py_None); resultobj = Py_None;
7748 return resultobj;
7749 fail:
7750 return NULL;
7751 }
7752
7753
7754 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
7755 PyObject *resultobj;
7756 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7757 int result;
7758 PyObject * obj0 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 resultobj = SWIG_FromInt((int)result);
7774 return resultobj;
7775 fail:
7776 return NULL;
7777 }
7778
7779
7780 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
7781 PyObject *obj;
7782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7783 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7784 Py_INCREF(obj);
7785 return Py_BuildValue((char *)"");
7786 }
7787 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj;
7789 int arg1 = (int) 0 ;
7790 wxCalculateLayoutEvent *result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "id", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7797 if (obj0) {
7798 arg1 = (int) SWIG_AsInt(obj0);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7809 return resultobj;
7810 fail:
7811 return NULL;
7812 }
7813
7814
7815 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7818 int arg2 ;
7819 PyObject * obj0 = 0 ;
7820 PyObject * obj1 = 0 ;
7821 char *kwnames[] = {
7822 (char *) "self",(char *) "flags", NULL
7823 };
7824
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7828 arg2 = (int) SWIG_AsInt(obj1);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 (arg1)->SetFlags(arg2);
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 Py_INCREF(Py_None); resultobj = Py_None;
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7847 int result;
7848 PyObject * obj0 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 resultobj = SWIG_FromInt((int)result);
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7873 wxRect *arg2 = 0 ;
7874 wxRect temp2 ;
7875 PyObject * obj0 = 0 ;
7876 PyObject * obj1 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "rect", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7884 {
7885 arg2 = &temp2;
7886 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7887 }
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 (arg1)->SetRect((wxRect const &)*arg2);
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 Py_INCREF(Py_None); resultobj = Py_None;
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7905 wxRect result;
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "self", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 {
7922 wxRect * resultptr;
7923 resultptr = new wxRect((wxRect &) result);
7924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7925 }
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
7933 PyObject *obj;
7934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7936 Py_INCREF(obj);
7937 return Py_BuildValue((char *)"");
7938 }
7939 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxWindow *arg1 = (wxWindow *) 0 ;
7942 int arg2 ;
7943 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7944 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7945 wxSize const &arg4_defvalue = wxDefaultSize ;
7946 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7947 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7948 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7949 wxString *arg6 = (wxString *) &arg6_defvalue ;
7950 wxSashLayoutWindow *result;
7951 wxPoint temp3 ;
7952 wxSize temp4 ;
7953 bool temp6 = False ;
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 PyObject * obj2 = 0 ;
7957 PyObject * obj3 = 0 ;
7958 PyObject * obj4 = 0 ;
7959 PyObject * obj5 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7967 arg2 = (int) SWIG_AsInt(obj1);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 if (obj2) {
7970 {
7971 arg3 = &temp3;
7972 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7973 }
7974 }
7975 if (obj3) {
7976 {
7977 arg4 = &temp4;
7978 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7979 }
7980 }
7981 if (obj4) {
7982 arg5 = (long) SWIG_AsLong(obj4);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 if (obj5) {
7986 {
7987 arg6 = wxString_in_helper(obj5);
7988 if (arg6 == NULL) SWIG_fail;
7989 temp6 = True;
7990 }
7991 }
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7995
7996 wxPyEndAllowThreads(__tstate);
7997 if (PyErr_Occurred()) SWIG_fail;
7998 }
7999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8000 {
8001 if (temp6)
8002 delete arg6;
8003 }
8004 return resultobj;
8005 fail:
8006 {
8007 if (temp6)
8008 delete arg6;
8009 }
8010 return NULL;
8011 }
8012
8013
8014 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj;
8016 wxSashLayoutWindow *result;
8017 char *kwnames[] = {
8018 NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8039 wxWindow *arg2 = (wxWindow *) 0 ;
8040 int arg3 ;
8041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8043 wxSize const &arg5_defvalue = wxDefaultSize ;
8044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8045 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8046 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8047 wxString *arg7 = (wxString *) &arg7_defvalue ;
8048 bool result;
8049 wxPoint temp4 ;
8050 wxSize temp5 ;
8051 bool temp7 = False ;
8052 PyObject * obj0 = 0 ;
8053 PyObject * obj1 = 0 ;
8054 PyObject * obj2 = 0 ;
8055 PyObject * obj3 = 0 ;
8056 PyObject * obj4 = 0 ;
8057 PyObject * obj5 = 0 ;
8058 PyObject * obj6 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8068 arg3 = (int) SWIG_AsInt(obj2);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 if (obj3) {
8071 {
8072 arg4 = &temp4;
8073 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8074 }
8075 }
8076 if (obj4) {
8077 {
8078 arg5 = &temp5;
8079 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8080 }
8081 }
8082 if (obj5) {
8083 arg6 = (long) SWIG_AsLong(obj5);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 if (obj6) {
8087 {
8088 arg7 = wxString_in_helper(obj6);
8089 if (arg7 == NULL) SWIG_fail;
8090 temp7 = True;
8091 }
8092 }
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 {
8101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8102 }
8103 {
8104 if (temp7)
8105 delete arg7;
8106 }
8107 return resultobj;
8108 fail:
8109 {
8110 if (temp7)
8111 delete arg7;
8112 }
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8120 int result;
8121 PyObject * obj0 = 0 ;
8122 char *kwnames[] = {
8123 (char *) "self", NULL
8124 };
8125
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 result = (int)(arg1)->GetAlignment();
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 resultobj = SWIG_FromInt((int)result);
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8146 int result;
8147 PyObject * obj0 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "self", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 result = (int)(arg1)->GetOrientation();
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_FromInt((int)result);
8163 return resultobj;
8164 fail:
8165 return NULL;
8166 }
8167
8168
8169 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8172 int arg2 ;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self",(char *) "alignment", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8182 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 Py_INCREF(Py_None); resultobj = Py_None;
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj;
8200 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8201 wxSize *arg2 = 0 ;
8202 wxSize temp2 ;
8203 PyObject * obj0 = 0 ;
8204 PyObject * obj1 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self",(char *) "size", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8212 {
8213 arg2 = &temp2;
8214 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8215 }
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
8223 Py_INCREF(Py_None); resultobj = Py_None;
8224 return resultobj;
8225 fail:
8226 return NULL;
8227 }
8228
8229
8230 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj;
8232 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8233 int arg2 ;
8234 PyObject * obj0 = 0 ;
8235 PyObject * obj1 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self",(char *) "orientation", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8243 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 {
8246 PyThreadState* __tstate = wxPyBeginAllowThreads();
8247 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8248
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 Py_INCREF(Py_None); resultobj = Py_None;
8253 return resultobj;
8254 fail:
8255 return NULL;
8256 }
8257
8258
8259 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
8260 PyObject *obj;
8261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8262 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8263 Py_INCREF(obj);
8264 return Py_BuildValue((char *)"");
8265 }
8266 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxLayoutAlgorithm *result;
8269 char *kwnames[] = {
8270 NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8282 return resultobj;
8283 fail:
8284 return NULL;
8285 }
8286
8287
8288 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
8289 PyObject *resultobj;
8290 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 delete arg1;
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 Py_INCREF(Py_None); resultobj = Py_None;
8307 return resultobj;
8308 fail:
8309 return NULL;
8310 }
8311
8312
8313 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8314 PyObject *resultobj;
8315 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8316 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8317 wxRect *arg3 = (wxRect *) NULL ;
8318 bool result;
8319 PyObject * obj0 = 0 ;
8320 PyObject * obj1 = 0 ;
8321 PyObject * obj2 = 0 ;
8322 char *kwnames[] = {
8323 (char *) "self",(char *) "frame",(char *) "rect", NULL
8324 };
8325
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8329 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8331 if (obj2) {
8332 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 {
8343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8344 }
8345 return resultobj;
8346 fail:
8347 return NULL;
8348 }
8349
8350
8351 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8354 wxFrame *arg2 = (wxFrame *) 0 ;
8355 wxWindow *arg3 = (wxWindow *) NULL ;
8356 bool result;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8367 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8369 if (obj2) {
8370 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8372 }
8373 {
8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
8375 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8376
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
8380 {
8381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8382 }
8383 return resultobj;
8384 fail:
8385 return NULL;
8386 }
8387
8388
8389 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8390 PyObject *resultobj;
8391 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8392 wxWindow *arg2 = (wxWindow *) 0 ;
8393 wxWindow *arg3 = (wxWindow *) NULL ;
8394 bool result;
8395 PyObject * obj0 = 0 ;
8396 PyObject * obj1 = 0 ;
8397 PyObject * obj2 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 if (obj2) {
8408 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8410 }
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 {
8419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8420 }
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
8428 PyObject *obj;
8429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8430 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8431 Py_INCREF(obj);
8432 return Py_BuildValue((char *)"");
8433 }
8434 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxWindow *arg1 = (wxWindow *) 0 ;
8437 int arg2 = (int) wxBORDER_NONE ;
8438 wxPopupWindow *result;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "parent",(char *) "flags", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8448 if (obj1) {
8449 arg2 = (int) SWIG_AsInt(obj1);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8455
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxPopupWindow *result;
8469 char *kwnames[] = {
8470 NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxPopupWindow *)new wxPopupWindow();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
8489 PyObject *obj;
8490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8491 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8492 Py_INCREF(obj);
8493 return Py_BuildValue((char *)"");
8494 }
8495 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj;
8497 wxWindow *arg1 = (wxWindow *) 0 ;
8498 int arg2 = (int) wxBORDER_NONE ;
8499 wxPyPopupTransientWindow *result;
8500 PyObject * obj0 = 0 ;
8501 PyObject * obj1 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "parent",(char *) "style", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8509 if (obj1) {
8510 arg2 = (int) SWIG_AsInt(obj1);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8521 return resultobj;
8522 fail:
8523 return NULL;
8524 }
8525
8526
8527 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8528 PyObject *resultobj;
8529 wxPyPopupTransientWindow *result;
8530 char *kwnames[] = {
8531 NULL
8532 };
8533
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8543 return resultobj;
8544 fail:
8545 return NULL;
8546 }
8547
8548
8549 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
8550 PyObject *obj;
8551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8552 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8553 Py_INCREF(obj);
8554 return Py_BuildValue((char *)"");
8555 }
8556 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxWindow *arg1 = (wxWindow *) 0 ;
8559 wxString *arg2 = 0 ;
8560 int arg3 = (int) 100 ;
8561 wxRect *arg4 = (wxRect *) NULL ;
8562 wxTipWindow *result;
8563 bool temp2 = False ;
8564 PyObject * obj0 = 0 ;
8565 PyObject * obj1 = 0 ;
8566 PyObject * obj2 = 0 ;
8567 PyObject * obj3 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8575 {
8576 arg2 = wxString_in_helper(obj1);
8577 if (arg2 == NULL) SWIG_fail;
8578 temp2 = True;
8579 }
8580 if (obj2) {
8581 arg3 = (int) SWIG_AsInt(obj2);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 if (obj3) {
8585 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8587 }
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8596 {
8597 if (temp2)
8598 delete arg2;
8599 }
8600 return resultobj;
8601 fail:
8602 {
8603 if (temp2)
8604 delete arg2;
8605 }
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8613 wxRect *arg2 = 0 ;
8614 wxRect temp2 ;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self",(char *) "rectBound", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8624 {
8625 arg2 = &temp2;
8626 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 Py_INCREF(Py_None); resultobj = Py_None;
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj;
8644 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8645 PyObject * obj0 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "self", NULL
8648 };
8649
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 (arg1)->Close();
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 Py_INCREF(Py_None); resultobj = Py_None;
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
8668 PyObject *obj;
8669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8670 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8671 Py_INCREF(obj);
8672 return Py_BuildValue((char *)"");
8673 }
8674 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxWindow *arg1 = (wxWindow *) 0 ;
8677 int arg2 = (int) wxID_ANY ;
8678 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8679 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8680 wxSize const &arg4_defvalue = wxDefaultSize ;
8681 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8682 long arg5 = (long) 0 ;
8683 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8684 wxString *arg6 = (wxString *) &arg6_defvalue ;
8685 wxPyVScrolledWindow *result;
8686 wxPoint temp3 ;
8687 wxSize temp4 ;
8688 bool temp6 = False ;
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 PyObject * obj2 = 0 ;
8692 PyObject * obj3 = 0 ;
8693 PyObject * obj4 = 0 ;
8694 PyObject * obj5 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8702 if (obj1) {
8703 arg2 = (int) SWIG_AsInt(obj1);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 if (obj2) {
8707 {
8708 arg3 = &temp3;
8709 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8710 }
8711 }
8712 if (obj3) {
8713 {
8714 arg4 = &temp4;
8715 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8716 }
8717 }
8718 if (obj4) {
8719 arg5 = (long) SWIG_AsLong(obj4);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 if (obj5) {
8723 {
8724 arg6 = wxString_in_helper(obj5);
8725 if (arg6 == NULL) SWIG_fail;
8726 temp6 = True;
8727 }
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8737 {
8738 if (temp6)
8739 delete arg6;
8740 }
8741 return resultobj;
8742 fail:
8743 {
8744 if (temp6)
8745 delete arg6;
8746 }
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxPyVScrolledWindow *result;
8754 char *kwnames[] = {
8755 NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8767 return resultobj;
8768 fail:
8769 return NULL;
8770 }
8771
8772
8773 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8774 PyObject *resultobj;
8775 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8776 PyObject *arg2 = (PyObject *) 0 ;
8777 PyObject *arg3 = (PyObject *) 0 ;
8778 PyObject * obj0 = 0 ;
8779 PyObject * obj1 = 0 ;
8780 PyObject * obj2 = 0 ;
8781 char *kwnames[] = {
8782 (char *) "self",(char *) "self",(char *) "_class", NULL
8783 };
8784
8785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8788 arg2 = obj1;
8789 arg3 = obj2;
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 (arg1)->_setCallbackInfo(arg2,arg3);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 Py_INCREF(Py_None); resultobj = Py_None;
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8807 wxWindow *arg2 = (wxWindow *) 0 ;
8808 int arg3 = (int) wxID_ANY ;
8809 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8810 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8811 wxSize const &arg5_defvalue = wxDefaultSize ;
8812 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8813 long arg6 = (long) 0 ;
8814 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8815 wxString *arg7 = (wxString *) &arg7_defvalue ;
8816 bool result;
8817 wxPoint temp4 ;
8818 wxSize temp5 ;
8819 bool temp7 = False ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 PyObject * obj2 = 0 ;
8823 PyObject * obj3 = 0 ;
8824 PyObject * obj4 = 0 ;
8825 PyObject * obj5 = 0 ;
8826 PyObject * obj6 = 0 ;
8827 char *kwnames[] = {
8828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8829 };
8830
8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8836 if (obj2) {
8837 arg3 = (int) SWIG_AsInt(obj2);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 if (obj3) {
8841 {
8842 arg4 = &temp4;
8843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8844 }
8845 }
8846 if (obj4) {
8847 {
8848 arg5 = &temp5;
8849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8850 }
8851 }
8852 if (obj5) {
8853 arg6 = (long) SWIG_AsLong(obj5);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 if (obj6) {
8857 {
8858 arg7 = wxString_in_helper(obj6);
8859 if (arg7 == NULL) SWIG_fail;
8860 temp7 = True;
8861 }
8862 }
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 {
8871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8872 }
8873 {
8874 if (temp7)
8875 delete arg7;
8876 }
8877 return resultobj;
8878 fail:
8879 {
8880 if (temp7)
8881 delete arg7;
8882 }
8883 return NULL;
8884 }
8885
8886
8887 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8890 size_t arg2 ;
8891 PyObject * obj0 = 0 ;
8892 PyObject * obj1 = 0 ;
8893 char *kwnames[] = {
8894 (char *) "self",(char *) "count", NULL
8895 };
8896
8897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8900 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 (arg1)->SetLineCount(arg2);
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 Py_INCREF(Py_None); resultobj = Py_None;
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8919 size_t arg2 ;
8920 bool result;
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "line", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8930 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (bool)(arg1)->ScrollToLine(arg2);
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 {
8940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8941 }
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8951 int arg2 ;
8952 bool result;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "lines", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 arg2 = (int) SWIG_AsInt(obj1);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = (bool)(arg1)->ScrollLines(arg2);
8967
8968 wxPyEndAllowThreads(__tstate);
8969 if (PyErr_Occurred()) SWIG_fail;
8970 }
8971 {
8972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8973 }
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8983 int arg2 ;
8984 bool result;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self",(char *) "pages", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8994 arg2 = (int) SWIG_AsInt(obj1);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 result = (bool)(arg1)->ScrollPages(arg2);
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 {
9004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9005 }
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9015 size_t arg2 ;
9016 PyObject * obj0 = 0 ;
9017 PyObject * obj1 = 0 ;
9018 char *kwnames[] = {
9019 (char *) "self",(char *) "line", NULL
9020 };
9021
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9025 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->RefreshLine(arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038 }
9039
9040
9041 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9044 size_t arg2 ;
9045 size_t arg3 ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 PyObject * obj2 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "from",(char *) "to", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9056 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 (arg1)->RefreshLines(arg2,arg3);
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 Py_INCREF(Py_None); resultobj = Py_None;
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9077 int arg2 ;
9078 int arg3 ;
9079 int result;
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj2 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "x",(char *) "y", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9090 arg2 = (int) SWIG_AsInt(obj1);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 arg3 = (int) SWIG_AsInt(obj2);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9097
9098 wxPyEndAllowThreads(__tstate);
9099 if (PyErr_Occurred()) SWIG_fail;
9100 }
9101 resultobj = SWIG_FromInt((int)result);
9102 return resultobj;
9103 fail:
9104 return NULL;
9105 }
9106
9107
9108 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9109 PyObject *resultobj;
9110 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9111 wxPoint *arg2 = 0 ;
9112 int result;
9113 wxPoint temp2 ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self",(char *) "pt", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9123 {
9124 arg2 = &temp2;
9125 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_FromInt((int)result);
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9144 PyObject * obj0 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9152 {
9153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9154 (arg1)->RefreshAll();
9155
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 Py_INCREF(Py_None); resultobj = Py_None;
9160 return resultobj;
9161 fail:
9162 return NULL;
9163 }
9164
9165
9166 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
9167 PyObject *resultobj;
9168 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9169 size_t result;
9170 PyObject * obj0 = 0 ;
9171 char *kwnames[] = {
9172 (char *) "self", NULL
9173 };
9174
9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9186 return resultobj;
9187 fail:
9188 return NULL;
9189 }
9190
9191
9192 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9193 PyObject *resultobj;
9194 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9195 size_t result;
9196 PyObject * obj0 = 0 ;
9197 char *kwnames[] = {
9198 (char *) "self", NULL
9199 };
9200
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9212 return resultobj;
9213 fail:
9214 return NULL;
9215 }
9216
9217
9218 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj;
9220 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9221 size_t result;
9222 PyObject * obj0 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9238 return resultobj;
9239 fail:
9240 return NULL;
9241 }
9242
9243
9244 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
9245 PyObject *resultobj;
9246 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9247 size_t arg2 ;
9248 bool result;
9249 PyObject * obj0 = 0 ;
9250 PyObject * obj1 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self",(char *) "line", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9258 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 {
9261 PyThreadState* __tstate = wxPyBeginAllowThreads();
9262 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9263
9264 wxPyEndAllowThreads(__tstate);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 {
9268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9269 }
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
9277 PyObject *obj;
9278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9279 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9280 Py_INCREF(obj);
9281 return Py_BuildValue((char *)"");
9282 }
9283 static int _wrap_VListBoxNameStr_set(PyObject *) {
9284 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9285 return 1;
9286 }
9287
9288
9289 static PyObject *_wrap_VListBoxNameStr_get() {
9290 PyObject *pyobj;
9291
9292 {
9293 #if wxUSE_UNICODE
9294 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9295 #else
9296 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9297 #endif
9298 }
9299 return pyobj;
9300 }
9301
9302
9303 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxWindow *arg1 = (wxWindow *) 0 ;
9306 int arg2 = (int) wxID_ANY ;
9307 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9308 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9309 wxSize const &arg4_defvalue = wxDefaultSize ;
9310 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9311 long arg5 = (long) 0 ;
9312 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9313 wxString *arg6 = (wxString *) &arg6_defvalue ;
9314 wxPyVListBox *result;
9315 wxPoint temp3 ;
9316 wxSize temp4 ;
9317 bool temp6 = False ;
9318 PyObject * obj0 = 0 ;
9319 PyObject * obj1 = 0 ;
9320 PyObject * obj2 = 0 ;
9321 PyObject * obj3 = 0 ;
9322 PyObject * obj4 = 0 ;
9323 PyObject * obj5 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9331 if (obj1) {
9332 arg2 = (int) SWIG_AsInt(obj1);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 if (obj2) {
9336 {
9337 arg3 = &temp3;
9338 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9339 }
9340 }
9341 if (obj3) {
9342 {
9343 arg4 = &temp4;
9344 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9345 }
9346 }
9347 if (obj4) {
9348 arg5 = (long) SWIG_AsLong(obj4);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 if (obj5) {
9352 {
9353 arg6 = wxString_in_helper(obj5);
9354 if (arg6 == NULL) SWIG_fail;
9355 temp6 = True;
9356 }
9357 }
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9366 {
9367 if (temp6)
9368 delete arg6;
9369 }
9370 return resultobj;
9371 fail:
9372 {
9373 if (temp6)
9374 delete arg6;
9375 }
9376 return NULL;
9377 }
9378
9379
9380 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj;
9382 wxPyVListBox *result;
9383 char *kwnames[] = {
9384 NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9388 {
9389 PyThreadState* __tstate = wxPyBeginAllowThreads();
9390 result = (wxPyVListBox *)new wxPyVListBox();
9391
9392 wxPyEndAllowThreads(__tstate);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 }
9395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9396 return resultobj;
9397 fail:
9398 return NULL;
9399 }
9400
9401
9402 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj;
9404 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9405 PyObject *arg2 = (PyObject *) 0 ;
9406 PyObject *arg3 = (PyObject *) 0 ;
9407 PyObject * obj0 = 0 ;
9408 PyObject * obj1 = 0 ;
9409 PyObject * obj2 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self",(char *) "self",(char *) "_class", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9417 arg2 = obj1;
9418 arg3 = obj2;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 (arg1)->_setCallbackInfo(arg2,arg3);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9436 wxWindow *arg2 = (wxWindow *) 0 ;
9437 int arg3 = (int) wxID_ANY ;
9438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9440 wxSize const &arg5_defvalue = wxDefaultSize ;
9441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9442 long arg6 = (long) 0 ;
9443 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9444 wxString *arg7 = (wxString *) &arg7_defvalue ;
9445 bool result;
9446 wxPoint temp4 ;
9447 wxSize temp5 ;
9448 bool temp7 = False ;
9449 PyObject * obj0 = 0 ;
9450 PyObject * obj1 = 0 ;
9451 PyObject * obj2 = 0 ;
9452 PyObject * obj3 = 0 ;
9453 PyObject * obj4 = 0 ;
9454 PyObject * obj5 = 0 ;
9455 PyObject * obj6 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9465 if (obj2) {
9466 arg3 = (int) SWIG_AsInt(obj2);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 if (obj3) {
9470 {
9471 arg4 = &temp4;
9472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9473 }
9474 }
9475 if (obj4) {
9476 {
9477 arg5 = &temp5;
9478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9479 }
9480 }
9481 if (obj5) {
9482 arg6 = (long) SWIG_AsLong(obj5);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 if (obj6) {
9486 {
9487 arg7 = wxString_in_helper(obj6);
9488 if (arg7 == NULL) SWIG_fail;
9489 temp7 = True;
9490 }
9491 }
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 {
9500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9501 }
9502 {
9503 if (temp7)
9504 delete arg7;
9505 }
9506 return resultobj;
9507 fail:
9508 {
9509 if (temp7)
9510 delete arg7;
9511 }
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9519 size_t result;
9520 PyObject * obj0 = 0 ;
9521 char *kwnames[] = {
9522 (char *) "self", NULL
9523 };
9524
9525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9545 bool result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 {
9562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9563 }
9564 return resultobj;
9565 fail:
9566 return NULL;
9567 }
9568
9569
9570 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9573 int result;
9574 PyObject * obj0 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 resultobj = SWIG_FromInt((int)result);
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9599 size_t arg2 ;
9600 bool result;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self",(char *) "item", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9610 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 {
9620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9621 }
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9629 PyObject *resultobj;
9630 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9631 size_t arg2 ;
9632 bool result;
9633 PyObject * obj0 = 0 ;
9634 PyObject * obj1 = 0 ;
9635 char *kwnames[] = {
9636 (char *) "self",(char *) "item", NULL
9637 };
9638
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9642 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 {
9652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9653 }
9654 return resultobj;
9655 fail:
9656 return NULL;
9657 }
9658
9659
9660 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
9661 PyObject *resultobj;
9662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9663 size_t result;
9664 PyObject * obj0 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9689 unsigned long *arg2 = 0 ;
9690 int result;
9691 PyObject * obj0 = 0 ;
9692 PyObject * obj1 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "cookie", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1)
9702 SWIG_fail;
9703 if (arg2 == NULL) {
9704 PyErr_SetString(PyExc_TypeError,"null reference");
9705 SWIG_fail;
9706 }
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 resultobj = SWIG_FromInt((int)result);
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9724 unsigned long *arg2 = 0 ;
9725 int result;
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "cookie", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9735 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1)
9737 SWIG_fail;
9738 if (arg2 == NULL) {
9739 PyErr_SetString(PyExc_TypeError,"null reference");
9740 SWIG_fail;
9741 }
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 resultobj = SWIG_FromInt((int)result);
9750 return resultobj;
9751 fail:
9752 return NULL;
9753 }
9754
9755
9756 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj;
9758 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9759 wxPoint result;
9760 PyObject * obj0 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = ((wxPyVListBox const *)arg1)->GetMargins();
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 {
9776 wxPoint * resultptr;
9777 resultptr = new wxPoint((wxPoint &) result);
9778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9779 }
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9789 wxColour *result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 {
9801 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9802 result = (wxColour *) &_result_ref;
9803 }
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9809 return resultobj;
9810 fail:
9811 return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
9816 PyObject *resultobj;
9817 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9818 size_t arg2 ;
9819 PyObject * obj0 = 0 ;
9820 PyObject * obj1 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self",(char *) "count", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9828 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 (arg1)->SetItemCount(arg2);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 Py_INCREF(Py_None); resultobj = Py_None;
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj;
9846 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 (arg1)->Clear();
9858
9859 wxPyEndAllowThreads(__tstate);
9860 if (PyErr_Occurred()) SWIG_fail;
9861 }
9862 Py_INCREF(Py_None); resultobj = Py_None;
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj;
9871 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9872 int arg2 ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self",(char *) "selection", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9882 arg2 = (int) SWIG_AsInt(obj1);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 {
9885 PyThreadState* __tstate = wxPyBeginAllowThreads();
9886 (arg1)->SetSelection(arg2);
9887
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 Py_INCREF(Py_None); resultobj = Py_None;
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9901 size_t arg2 ;
9902 bool arg3 = (bool) True ;
9903 bool result;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 PyObject * obj2 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self",(char *) "item",(char *) "select", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 if (obj2) {
9917 arg3 = (bool) SWIG_AsBool(obj2);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (bool)(arg1)->Select(arg2,arg3);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 {
9928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9929 }
9930 return resultobj;
9931 fail:
9932 return NULL;
9933 }
9934
9935
9936 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9939 size_t arg2 ;
9940 size_t arg3 ;
9941 bool result;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 PyObject * obj2 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self",(char *) "from",(char *) "to", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9952 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (bool)(arg1)->SelectRange(arg2,arg3);
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 {
9964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9965 }
9966 return resultobj;
9967 fail:
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9975 size_t arg2 ;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj1 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "item", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9985 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 (arg1)->Toggle(arg2);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 Py_INCREF(Py_None); resultobj = Py_None;
9995 return resultobj;
9996 fail:
9997 return NULL;
9998 }
9999
10000
10001 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10004 bool result;
10005 PyObject * obj0 = 0 ;
10006 char *kwnames[] = {
10007 (char *) "self", NULL
10008 };
10009
10010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10013 {
10014 PyThreadState* __tstate = wxPyBeginAllowThreads();
10015 result = (bool)(arg1)->SelectAll();
10016
10017 wxPyEndAllowThreads(__tstate);
10018 if (PyErr_Occurred()) SWIG_fail;
10019 }
10020 {
10021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10022 }
10023 return resultobj;
10024 fail:
10025 return NULL;
10026 }
10027
10028
10029 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10032 bool result;
10033 PyObject * obj0 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 result = (bool)(arg1)->DeselectAll();
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 {
10049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10050 }
10051 return resultobj;
10052 fail:
10053 return NULL;
10054 }
10055
10056
10057 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10060 wxPoint *arg2 = 0 ;
10061 wxPoint temp2 ;
10062 PyObject * obj0 = 0 ;
10063 PyObject * obj1 = 0 ;
10064 char *kwnames[] = {
10065 (char *) "self",(char *) "pt", NULL
10066 };
10067
10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10071 {
10072 arg2 = &temp2;
10073 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10074 }
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 (arg1)->SetMargins((wxPoint const &)*arg2);
10078
10079 wxPyEndAllowThreads(__tstate);
10080 if (PyErr_Occurred()) SWIG_fail;
10081 }
10082 Py_INCREF(Py_None); resultobj = Py_None;
10083 return resultobj;
10084 fail:
10085 return NULL;
10086 }
10087
10088
10089 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
10090 PyObject *resultobj;
10091 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10092 int arg2 ;
10093 int arg3 ;
10094 PyObject * obj0 = 0 ;
10095 PyObject * obj1 = 0 ;
10096 PyObject * obj2 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self",(char *) "x",(char *) "y", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10104 arg2 = (int) SWIG_AsInt(obj1);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 arg3 = (int) SWIG_AsInt(obj2);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetMargins(arg2,arg3);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 Py_INCREF(Py_None); resultobj = Py_None;
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10125 wxColour *arg2 = 0 ;
10126 wxColour temp2 ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj1 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self",(char *) "col", NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10136 {
10137 arg2 = &temp2;
10138 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 Py_INCREF(Py_None); resultobj = Py_None;
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
10155 PyObject *obj;
10156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10157 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10158 Py_INCREF(obj);
10159 return Py_BuildValue((char *)"");
10160 }
10161 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj;
10163 wxWindow *arg1 = (wxWindow *) 0 ;
10164 int arg2 = (int) wxID_ANY ;
10165 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10166 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10167 wxSize const &arg4_defvalue = wxDefaultSize ;
10168 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10169 long arg5 = (long) 0 ;
10170 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10171 wxString *arg6 = (wxString *) &arg6_defvalue ;
10172 wxPyHtmlListBox *result;
10173 wxPoint temp3 ;
10174 wxSize temp4 ;
10175 bool temp6 = False ;
10176 PyObject * obj0 = 0 ;
10177 PyObject * obj1 = 0 ;
10178 PyObject * obj2 = 0 ;
10179 PyObject * obj3 = 0 ;
10180 PyObject * obj4 = 0 ;
10181 PyObject * obj5 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10189 if (obj1) {
10190 arg2 = (int) SWIG_AsInt(obj1);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 if (obj2) {
10194 {
10195 arg3 = &temp3;
10196 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10197 }
10198 }
10199 if (obj3) {
10200 {
10201 arg4 = &temp4;
10202 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10203 }
10204 }
10205 if (obj4) {
10206 arg5 = (long) SWIG_AsLong(obj4);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 if (obj5) {
10210 {
10211 arg6 = wxString_in_helper(obj5);
10212 if (arg6 == NULL) SWIG_fail;
10213 temp6 = True;
10214 }
10215 }
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10224 {
10225 if (temp6)
10226 delete arg6;
10227 }
10228 return resultobj;
10229 fail:
10230 {
10231 if (temp6)
10232 delete arg6;
10233 }
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxPyHtmlListBox *result;
10241 char *kwnames[] = {
10242 NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10254 return resultobj;
10255 fail:
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10263 PyObject *arg2 = (PyObject *) 0 ;
10264 PyObject *arg3 = (PyObject *) 0 ;
10265 PyObject * obj0 = 0 ;
10266 PyObject * obj1 = 0 ;
10267 PyObject * obj2 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self",(char *) "self",(char *) "_class", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10275 arg2 = obj1;
10276 arg3 = obj2;
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
10279 (arg1)->_setCallbackInfo(arg2,arg3);
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
10284 Py_INCREF(Py_None); resultobj = Py_None;
10285 return resultobj;
10286 fail:
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10294 wxWindow *arg2 = (wxWindow *) 0 ;
10295 int arg3 = (int) wxID_ANY ;
10296 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10297 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10298 wxSize const &arg5_defvalue = wxDefaultSize ;
10299 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10300 long arg6 = (long) 0 ;
10301 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10302 wxString *arg7 = (wxString *) &arg7_defvalue ;
10303 bool result;
10304 wxPoint temp4 ;
10305 wxSize temp5 ;
10306 bool temp7 = False ;
10307 PyObject * obj0 = 0 ;
10308 PyObject * obj1 = 0 ;
10309 PyObject * obj2 = 0 ;
10310 PyObject * obj3 = 0 ;
10311 PyObject * obj4 = 0 ;
10312 PyObject * obj5 = 0 ;
10313 PyObject * obj6 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10323 if (obj2) {
10324 arg3 = (int) SWIG_AsInt(obj2);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 if (obj3) {
10328 {
10329 arg4 = &temp4;
10330 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10331 }
10332 }
10333 if (obj4) {
10334 {
10335 arg5 = &temp5;
10336 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10337 }
10338 }
10339 if (obj5) {
10340 arg6 = (long) SWIG_AsLong(obj5);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 if (obj6) {
10344 {
10345 arg7 = wxString_in_helper(obj6);
10346 if (arg7 == NULL) SWIG_fail;
10347 temp7 = True;
10348 }
10349 }
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 {
10358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10359 }
10360 {
10361 if (temp7)
10362 delete arg7;
10363 }
10364 return resultobj;
10365 fail:
10366 {
10367 if (temp7)
10368 delete arg7;
10369 }
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->RefreshAll();
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10402 size_t arg2 ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "count", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10412 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
10416 (arg1)->SetItemCount(arg2);
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 Py_INCREF(Py_None); resultobj = Py_None;
10422 return resultobj;
10423 fail:
10424 return NULL;
10425 }
10426
10427
10428 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
10429 PyObject *obj;
10430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10431 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10432 Py_INCREF(obj);
10433 return Py_BuildValue((char *)"");
10434 }
10435 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj;
10437 wxTaskBarIcon *result;
10438 char *kwnames[] = {
10439 NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 delete arg1;
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
10483 PyObject *obj;
10484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10485 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10486 Py_INCREF(obj);
10487 return Py_BuildValue((char *)"");
10488 }
10489 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxEventType arg1 ;
10492 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10493 wxTaskBarIconEvent *result;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 char *kwnames[] = {
10497 (char *) "evtType",(char *) "tbIcon", NULL
10498 };
10499
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10501 arg1 = (wxEventType) SWIG_AsInt(obj0);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10513 return resultobj;
10514 fail:
10515 return NULL;
10516 }
10517
10518
10519 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
10520 PyObject *obj;
10521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10522 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10523 Py_INCREF(obj);
10524 return Py_BuildValue((char *)"");
10525 }
10526 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10527 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10528 return 1;
10529 }
10530
10531
10532 static PyObject *_wrap_FileSelectorPromptStr_get() {
10533 PyObject *pyobj;
10534
10535 {
10536 #if wxUSE_UNICODE
10537 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10538 #else
10539 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10540 #endif
10541 }
10542 return pyobj;
10543 }
10544
10545
10546 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10547 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10548 return 1;
10549 }
10550
10551
10552 static PyObject *_wrap_DirSelectorPromptStr_get() {
10553 PyObject *pyobj;
10554
10555 {
10556 #if wxUSE_UNICODE
10557 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10558 #else
10559 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10560 #endif
10561 }
10562 return pyobj;
10563 }
10564
10565
10566 static int _wrap_DirDialogNameStr_set(PyObject *) {
10567 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10568 return 1;
10569 }
10570
10571
10572 static PyObject *_wrap_DirDialogNameStr_get() {
10573 PyObject *pyobj;
10574
10575 {
10576 #if wxUSE_UNICODE
10577 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10578 #else
10579 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10580 #endif
10581 }
10582 return pyobj;
10583 }
10584
10585
10586 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10587 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10588 return 1;
10589 }
10590
10591
10592 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10593 PyObject *pyobj;
10594
10595 {
10596 #if wxUSE_UNICODE
10597 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10598 #else
10599 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10600 #endif
10601 }
10602 return pyobj;
10603 }
10604
10605
10606 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10607 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10608 return 1;
10609 }
10610
10611
10612 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10613 PyObject *pyobj;
10614
10615 {
10616 #if wxUSE_UNICODE
10617 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10618 #else
10619 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10620 #endif
10621 }
10622 return pyobj;
10623 }
10624
10625
10626 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10627 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10628 return 1;
10629 }
10630
10631
10632 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10633 PyObject *pyobj;
10634
10635 {
10636 #if wxUSE_UNICODE
10637 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10638 #else
10639 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10640 #endif
10641 }
10642 return pyobj;
10643 }
10644
10645
10646 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxColourData *result;
10649 char *kwnames[] = {
10650 NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (wxColourData *)new wxColourData();
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj;
10670 wxColourData *arg1 = (wxColourData *) 0 ;
10671 PyObject * obj0 = 0 ;
10672 char *kwnames[] = {
10673 (char *) "self", NULL
10674 };
10675
10676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 delete arg1;
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 Py_INCREF(Py_None); resultobj = Py_None;
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxColourData *arg1 = (wxColourData *) 0 ;
10696 bool result;
10697 PyObject * obj0 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (bool)(arg1)->GetChooseFull();
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 {
10713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10714 }
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxColourData *arg1 = (wxColourData *) 0 ;
10724 wxColour result;
10725 PyObject * obj0 = 0 ;
10726 char *kwnames[] = {
10727 (char *) "self", NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10733 {
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (arg1)->GetColour();
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 {
10741 wxColour * resultptr;
10742 resultptr = new wxColour((wxColour &) result);
10743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10744 }
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxColourData *arg1 = (wxColourData *) 0 ;
10754 int arg2 ;
10755 wxColour result;
10756 PyObject * obj0 = 0 ;
10757 PyObject * obj1 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self",(char *) "i", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10765 arg2 = (int) SWIG_AsInt(obj1);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 result = (arg1)->GetCustomColour(arg2);
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 {
10775 wxColour * resultptr;
10776 resultptr = new wxColour((wxColour &) result);
10777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10778 }
10779 return resultobj;
10780 fail:
10781 return NULL;
10782 }
10783
10784
10785 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
10786 PyObject *resultobj;
10787 wxColourData *arg1 = (wxColourData *) 0 ;
10788 int arg2 ;
10789 PyObject * obj0 = 0 ;
10790 PyObject * obj1 = 0 ;
10791 char *kwnames[] = {
10792 (char *) "self",(char *) "flag", NULL
10793 };
10794
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10798 arg2 = (int) SWIG_AsInt(obj1);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 (arg1)->SetChooseFull(arg2);
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 Py_INCREF(Py_None); resultobj = Py_None;
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj;
10816 wxColourData *arg1 = (wxColourData *) 0 ;
10817 wxColour *arg2 = 0 ;
10818 wxColour temp2 ;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self",(char *) "colour", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10828 {
10829 arg2 = &temp2;
10830 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10831 }
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->SetColour((wxColour const &)*arg2);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843 }
10844
10845
10846 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxColourData *arg1 = (wxColourData *) 0 ;
10849 int arg2 ;
10850 wxColour *arg3 = 0 ;
10851 wxColour temp3 ;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "i",(char *) "colour", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10862 arg2 = (int) SWIG_AsInt(obj1);
10863 if (PyErr_Occurred()) SWIG_fail;
10864 {
10865 arg3 = &temp3;
10866 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10867 }
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 Py_INCREF(Py_None); resultobj = Py_None;
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
10883 PyObject *obj;
10884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10885 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10886 Py_INCREF(obj);
10887 return Py_BuildValue((char *)"");
10888 }
10889 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj;
10891 wxWindow *arg1 = (wxWindow *) 0 ;
10892 wxColourData *arg2 = (wxColourData *) NULL ;
10893 wxColourDialog *result;
10894 PyObject * obj0 = 0 ;
10895 PyObject * obj1 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "parent",(char *) "data", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10903 if (obj1) {
10904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
10905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10906 }
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10924 wxColourData *result;
10925 PyObject * obj0 = 0 ;
10926 char *kwnames[] = {
10927 (char *) "self", NULL
10928 };
10929
10930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
10932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 {
10936 wxColourData &_result_ref = (arg1)->GetColourData();
10937 result = (wxColourData *) &_result_ref;
10938 }
10939
10940 wxPyEndAllowThreads(__tstate);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 }
10943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
10944 return resultobj;
10945 fail:
10946 return NULL;
10947 }
10948
10949
10950 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
10951 PyObject *obj;
10952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10953 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10954 Py_INCREF(obj);
10955 return Py_BuildValue((char *)"");
10956 }
10957 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxWindow *arg1 = (wxWindow *) 0 ;
10960 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10961 wxString *arg2 = (wxString *) &arg2_defvalue ;
10962 wxString const &arg3_defvalue = wxPyEmptyString ;
10963 wxString *arg3 = (wxString *) &arg3_defvalue ;
10964 long arg4 = (long) 0 ;
10965 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10966 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10967 wxSize const &arg6_defvalue = wxDefaultSize ;
10968 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10969 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10970 wxString *arg7 = (wxString *) &arg7_defvalue ;
10971 wxDirDialog *result;
10972 bool temp2 = False ;
10973 bool temp3 = False ;
10974 wxPoint temp5 ;
10975 wxSize temp6 ;
10976 bool temp7 = False ;
10977 PyObject * obj0 = 0 ;
10978 PyObject * obj1 = 0 ;
10979 PyObject * obj2 = 0 ;
10980 PyObject * obj3 = 0 ;
10981 PyObject * obj4 = 0 ;
10982 PyObject * obj5 = 0 ;
10983 PyObject * obj6 = 0 ;
10984 char *kwnames[] = {
10985 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10986 };
10987
10988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10991 if (obj1) {
10992 {
10993 arg2 = wxString_in_helper(obj1);
10994 if (arg2 == NULL) SWIG_fail;
10995 temp2 = True;
10996 }
10997 }
10998 if (obj2) {
10999 {
11000 arg3 = wxString_in_helper(obj2);
11001 if (arg3 == NULL) SWIG_fail;
11002 temp3 = True;
11003 }
11004 }
11005 if (obj3) {
11006 arg4 = (long) SWIG_AsLong(obj3);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 if (obj4) {
11010 {
11011 arg5 = &temp5;
11012 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11013 }
11014 }
11015 if (obj5) {
11016 {
11017 arg6 = &temp6;
11018 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11019 }
11020 }
11021 if (obj6) {
11022 {
11023 arg7 = wxString_in_helper(obj6);
11024 if (arg7 == NULL) SWIG_fail;
11025 temp7 = True;
11026 }
11027 }
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11036 {
11037 if (temp2)
11038 delete arg2;
11039 }
11040 {
11041 if (temp3)
11042 delete arg3;
11043 }
11044 {
11045 if (temp7)
11046 delete arg7;
11047 }
11048 return resultobj;
11049 fail:
11050 {
11051 if (temp2)
11052 delete arg2;
11053 }
11054 {
11055 if (temp3)
11056 delete arg3;
11057 }
11058 {
11059 if (temp7)
11060 delete arg7;
11061 }
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11069 wxString result;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (arg1)->GetPath();
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 {
11086 #if wxUSE_UNICODE
11087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11088 #else
11089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11090 #endif
11091 }
11092 return resultobj;
11093 fail:
11094 return NULL;
11095 }
11096
11097
11098 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11099 PyObject *resultobj;
11100 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11101 wxString result;
11102 PyObject * obj0 = 0 ;
11103 char *kwnames[] = {
11104 (char *) "self", NULL
11105 };
11106
11107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (arg1)->GetMessage();
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 {
11118 #if wxUSE_UNICODE
11119 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11120 #else
11121 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11122 #endif
11123 }
11124 return resultobj;
11125 fail:
11126 return NULL;
11127 }
11128
11129
11130 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11131 PyObject *resultobj;
11132 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11133 long result;
11134 PyObject * obj0 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 result = (long)(arg1)->GetStyle();
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 resultobj = SWIG_FromLong((long)result);
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11159 wxString *arg2 = 0 ;
11160 bool temp2 = False ;
11161 PyObject * obj0 = 0 ;
11162 PyObject * obj1 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "message", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11170 {
11171 arg2 = wxString_in_helper(obj1);
11172 if (arg2 == NULL) SWIG_fail;
11173 temp2 = True;
11174 }
11175 {
11176 PyThreadState* __tstate = wxPyBeginAllowThreads();
11177 (arg1)->SetMessage((wxString const &)*arg2);
11178
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 Py_INCREF(Py_None); resultobj = Py_None;
11183 {
11184 if (temp2)
11185 delete arg2;
11186 }
11187 return resultobj;
11188 fail:
11189 {
11190 if (temp2)
11191 delete arg2;
11192 }
11193 return NULL;
11194 }
11195
11196
11197 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11200 wxString *arg2 = 0 ;
11201 bool temp2 = False ;
11202 PyObject * obj0 = 0 ;
11203 PyObject * obj1 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self",(char *) "path", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11211 {
11212 arg2 = wxString_in_helper(obj1);
11213 if (arg2 == NULL) SWIG_fail;
11214 temp2 = True;
11215 }
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 (arg1)->SetPath((wxString const &)*arg2);
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 Py_INCREF(Py_None); resultobj = Py_None;
11224 {
11225 if (temp2)
11226 delete arg2;
11227 }
11228 return resultobj;
11229 fail:
11230 {
11231 if (temp2)
11232 delete arg2;
11233 }
11234 return NULL;
11235 }
11236
11237
11238 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
11239 PyObject *obj;
11240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11241 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11242 Py_INCREF(obj);
11243 return Py_BuildValue((char *)"");
11244 }
11245 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxWindow *arg1 = (wxWindow *) 0 ;
11248 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11249 wxString *arg2 = (wxString *) &arg2_defvalue ;
11250 wxString const &arg3_defvalue = wxPyEmptyString ;
11251 wxString *arg3 = (wxString *) &arg3_defvalue ;
11252 wxString const &arg4_defvalue = wxPyEmptyString ;
11253 wxString *arg4 = (wxString *) &arg4_defvalue ;
11254 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11255 wxString *arg5 = (wxString *) &arg5_defvalue ;
11256 long arg6 = (long) 0 ;
11257 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11258 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11259 wxFileDialog *result;
11260 bool temp2 = False ;
11261 bool temp3 = False ;
11262 bool temp4 = False ;
11263 bool temp5 = False ;
11264 wxPoint temp7 ;
11265 PyObject * obj0 = 0 ;
11266 PyObject * obj1 = 0 ;
11267 PyObject * obj2 = 0 ;
11268 PyObject * obj3 = 0 ;
11269 PyObject * obj4 = 0 ;
11270 PyObject * obj5 = 0 ;
11271 PyObject * obj6 = 0 ;
11272 char *kwnames[] = {
11273 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11279 if (obj1) {
11280 {
11281 arg2 = wxString_in_helper(obj1);
11282 if (arg2 == NULL) SWIG_fail;
11283 temp2 = True;
11284 }
11285 }
11286 if (obj2) {
11287 {
11288 arg3 = wxString_in_helper(obj2);
11289 if (arg3 == NULL) SWIG_fail;
11290 temp3 = True;
11291 }
11292 }
11293 if (obj3) {
11294 {
11295 arg4 = wxString_in_helper(obj3);
11296 if (arg4 == NULL) SWIG_fail;
11297 temp4 = True;
11298 }
11299 }
11300 if (obj4) {
11301 {
11302 arg5 = wxString_in_helper(obj4);
11303 if (arg5 == NULL) SWIG_fail;
11304 temp5 = True;
11305 }
11306 }
11307 if (obj5) {
11308 arg6 = (long) SWIG_AsLong(obj5);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 if (obj6) {
11312 {
11313 arg7 = &temp7;
11314 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11315 }
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11325 {
11326 if (temp2)
11327 delete arg2;
11328 }
11329 {
11330 if (temp3)
11331 delete arg3;
11332 }
11333 {
11334 if (temp4)
11335 delete arg4;
11336 }
11337 {
11338 if (temp5)
11339 delete arg5;
11340 }
11341 return resultobj;
11342 fail:
11343 {
11344 if (temp2)
11345 delete arg2;
11346 }
11347 {
11348 if (temp3)
11349 delete arg3;
11350 }
11351 {
11352 if (temp4)
11353 delete arg4;
11354 }
11355 {
11356 if (temp5)
11357 delete arg5;
11358 }
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11366 wxString *arg2 = 0 ;
11367 bool temp2 = False ;
11368 PyObject * obj0 = 0 ;
11369 PyObject * obj1 = 0 ;
11370 char *kwnames[] = {
11371 (char *) "self",(char *) "message", NULL
11372 };
11373
11374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11377 {
11378 arg2 = wxString_in_helper(obj1);
11379 if (arg2 == NULL) SWIG_fail;
11380 temp2 = True;
11381 }
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 (arg1)->SetMessage((wxString const &)*arg2);
11385
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 Py_INCREF(Py_None); resultobj = Py_None;
11390 {
11391 if (temp2)
11392 delete arg2;
11393 }
11394 return resultobj;
11395 fail:
11396 {
11397 if (temp2)
11398 delete arg2;
11399 }
11400 return NULL;
11401 }
11402
11403
11404 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11405 PyObject *resultobj;
11406 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11407 wxString *arg2 = 0 ;
11408 bool temp2 = False ;
11409 PyObject * obj0 = 0 ;
11410 PyObject * obj1 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self",(char *) "path", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11418 {
11419 arg2 = wxString_in_helper(obj1);
11420 if (arg2 == NULL) SWIG_fail;
11421 temp2 = True;
11422 }
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 (arg1)->SetPath((wxString const &)*arg2);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 Py_INCREF(Py_None); resultobj = Py_None;
11431 {
11432 if (temp2)
11433 delete arg2;
11434 }
11435 return resultobj;
11436 fail:
11437 {
11438 if (temp2)
11439 delete arg2;
11440 }
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11448 wxString *arg2 = 0 ;
11449 bool temp2 = False ;
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self",(char *) "dir", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11459 {
11460 arg2 = wxString_in_helper(obj1);
11461 if (arg2 == NULL) SWIG_fail;
11462 temp2 = True;
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 (arg1)->SetDirectory((wxString const &)*arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 Py_INCREF(Py_None); resultobj = Py_None;
11472 {
11473 if (temp2)
11474 delete arg2;
11475 }
11476 return resultobj;
11477 fail:
11478 {
11479 if (temp2)
11480 delete arg2;
11481 }
11482 return NULL;
11483 }
11484
11485
11486 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj;
11488 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11489 wxString *arg2 = 0 ;
11490 bool temp2 = False ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self",(char *) "name", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11500 {
11501 arg2 = wxString_in_helper(obj1);
11502 if (arg2 == NULL) SWIG_fail;
11503 temp2 = True;
11504 }
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 (arg1)->SetFilename((wxString const &)*arg2);
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 Py_INCREF(Py_None); resultobj = Py_None;
11513 {
11514 if (temp2)
11515 delete arg2;
11516 }
11517 return resultobj;
11518 fail:
11519 {
11520 if (temp2)
11521 delete arg2;
11522 }
11523 return NULL;
11524 }
11525
11526
11527 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11528 PyObject *resultobj;
11529 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11530 wxString *arg2 = 0 ;
11531 bool temp2 = False ;
11532 PyObject * obj0 = 0 ;
11533 PyObject * obj1 = 0 ;
11534 char *kwnames[] = {
11535 (char *) "self",(char *) "wildCard", NULL
11536 };
11537
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11541 {
11542 arg2 = wxString_in_helper(obj1);
11543 if (arg2 == NULL) SWIG_fail;
11544 temp2 = True;
11545 }
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 (arg1)->SetWildcard((wxString const &)*arg2);
11549
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 Py_INCREF(Py_None); resultobj = Py_None;
11554 {
11555 if (temp2)
11556 delete arg2;
11557 }
11558 return resultobj;
11559 fail:
11560 {
11561 if (temp2)
11562 delete arg2;
11563 }
11564 return NULL;
11565 }
11566
11567
11568 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11569 PyObject *resultobj;
11570 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11571 long arg2 ;
11572 PyObject * obj0 = 0 ;
11573 PyObject * obj1 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self",(char *) "style", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11581 arg2 = (long) SWIG_AsLong(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 (arg1)->SetStyle(arg2);
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 Py_INCREF(Py_None); resultobj = Py_None;
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11600 int arg2 ;
11601 PyObject * obj0 = 0 ;
11602 PyObject * obj1 = 0 ;
11603 char *kwnames[] = {
11604 (char *) "self",(char *) "filterIndex", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11610 arg2 = (int) SWIG_AsInt(obj1);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 (arg1)->SetFilterIndex(arg2);
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 Py_INCREF(Py_None); resultobj = Py_None;
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11629 wxString result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11638 {
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = ((wxFileDialog const *)arg1)->GetMessage();
11641
11642 wxPyEndAllowThreads(__tstate);
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 {
11646 #if wxUSE_UNICODE
11647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11648 #else
11649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11650 #endif
11651 }
11652 return resultobj;
11653 fail:
11654 return NULL;
11655 }
11656
11657
11658 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
11659 PyObject *resultobj;
11660 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11661 wxString result;
11662 PyObject * obj0 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = ((wxFileDialog const *)arg1)->GetPath();
11673
11674 wxPyEndAllowThreads(__tstate);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 {
11678 #if wxUSE_UNICODE
11679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11680 #else
11681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11682 #endif
11683 }
11684 return resultobj;
11685 fail:
11686 return NULL;
11687 }
11688
11689
11690 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj;
11692 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11693 wxString result;
11694 PyObject * obj0 = 0 ;
11695 char *kwnames[] = {
11696 (char *) "self", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 result = ((wxFileDialog const *)arg1)->GetDirectory();
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 {
11710 #if wxUSE_UNICODE
11711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11712 #else
11713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11714 #endif
11715 }
11716 return resultobj;
11717 fail:
11718 return NULL;
11719 }
11720
11721
11722 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11725 wxString result;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = ((wxFileDialog const *)arg1)->GetFilename();
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 {
11742 #if wxUSE_UNICODE
11743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11744 #else
11745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11746 #endif
11747 }
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11757 wxString result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = ((wxFileDialog const *)arg1)->GetWildcard();
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 {
11774 #if wxUSE_UNICODE
11775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11776 #else
11777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11778 #endif
11779 }
11780 return resultobj;
11781 fail:
11782 return NULL;
11783 }
11784
11785
11786 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11789 long result;
11790 PyObject * obj0 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_FromLong((long)result);
11806 return resultobj;
11807 fail:
11808 return NULL;
11809 }
11810
11811
11812 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj;
11814 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11815 int result;
11816 PyObject * obj0 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 resultobj = SWIG_FromInt((int)result);
11832 return resultobj;
11833 fail:
11834 return NULL;
11835 }
11836
11837
11838 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
11839 PyObject *resultobj;
11840 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11841 PyObject *result;
11842 PyObject * obj0 = 0 ;
11843 char *kwnames[] = {
11844 (char *) "self", NULL
11845 };
11846
11847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = result;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11867 PyObject *result;
11868 PyObject * obj0 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = result;
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
11891 PyObject *obj;
11892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11894 Py_INCREF(obj);
11895 return Py_BuildValue((char *)"");
11896 }
11897 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj;
11899 wxWindow *arg1 = (wxWindow *) 0 ;
11900 wxString *arg2 = 0 ;
11901 wxString *arg3 = 0 ;
11902 int arg4 = (int) 0 ;
11903 wxString *arg5 = (wxString *) 0 ;
11904 long arg6 = (long) wxCHOICEDLG_STYLE ;
11905 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11906 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11907 wxMultiChoiceDialog *result;
11908 bool temp2 = False ;
11909 bool temp3 = False ;
11910 wxPoint temp6 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 PyObject * obj2 = 0 ;
11914 PyObject * obj3 = 0 ;
11915 PyObject * obj4 = 0 ;
11916 PyObject * obj5 = 0 ;
11917 char *kwnames[] = {
11918 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11919 };
11920
11921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11924 {
11925 arg2 = wxString_in_helper(obj1);
11926 if (arg2 == NULL) SWIG_fail;
11927 temp2 = True;
11928 }
11929 {
11930 arg3 = wxString_in_helper(obj2);
11931 if (arg3 == NULL) SWIG_fail;
11932 temp3 = True;
11933 }
11934 if (obj3) {
11935 {
11936 arg4 = PyList_Size(obj3);
11937 arg5 = wxString_LIST_helper(obj3);
11938 if (arg5 == NULL) SWIG_fail;
11939 }
11940 }
11941 if (obj4) {
11942 arg6 = (long) SWIG_AsLong(obj4);
11943 if (PyErr_Occurred()) SWIG_fail;
11944 }
11945 if (obj5) {
11946 {
11947 arg7 = &temp6;
11948 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11949 }
11950 }
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
11959 {
11960 if (temp2)
11961 delete arg2;
11962 }
11963 {
11964 if (temp3)
11965 delete arg3;
11966 }
11967 {
11968 if (arg5) delete [] arg5;
11969 }
11970 return resultobj;
11971 fail:
11972 {
11973 if (temp2)
11974 delete arg2;
11975 }
11976 {
11977 if (temp3)
11978 delete arg3;
11979 }
11980 {
11981 if (arg5) delete [] arg5;
11982 }
11983 return NULL;
11984 }
11985
11986
11987 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj;
11989 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11990 wxArrayInt *arg2 = 0 ;
11991 bool temp2 = False ;
11992 PyObject * obj0 = 0 ;
11993 PyObject * obj1 = 0 ;
11994 char *kwnames[] = {
11995 (char *) "self",(char *) "selections", NULL
11996 };
11997
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12001 {
12002 if (! PySequence_Check(obj1)) {
12003 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12004 SWIG_fail;
12005 }
12006 arg2 = new wxArrayInt;
12007 temp2 = True;
12008 int i, len=PySequence_Length(obj1);
12009 for (i=0; i<len; i++) {
12010 PyObject* item = PySequence_GetItem(obj1, i);
12011 PyObject* number = PyNumber_Int(item);
12012 arg2->Add(PyInt_AS_LONG(number));
12013 Py_DECREF(item);
12014 Py_DECREF(number);
12015 }
12016 }
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 Py_INCREF(Py_None); resultobj = Py_None;
12025 {
12026 if (temp2) delete arg2;
12027 }
12028 return resultobj;
12029 fail:
12030 {
12031 if (temp2) delete arg2;
12032 }
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12040 PyObject *result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = result;
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
12064 PyObject *obj;
12065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12067 Py_INCREF(obj);
12068 return Py_BuildValue((char *)"");
12069 }
12070 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj;
12072 wxWindow *arg1 = (wxWindow *) 0 ;
12073 wxString *arg2 = 0 ;
12074 wxString *arg3 = 0 ;
12075 int arg4 ;
12076 wxString *arg5 = (wxString *) 0 ;
12077 long arg6 = (long) wxCHOICEDLG_STYLE ;
12078 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12079 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12080 wxSingleChoiceDialog *result;
12081 bool temp2 = False ;
12082 bool temp3 = False ;
12083 wxPoint temp6 ;
12084 PyObject * obj0 = 0 ;
12085 PyObject * obj1 = 0 ;
12086 PyObject * obj2 = 0 ;
12087 PyObject * obj3 = 0 ;
12088 PyObject * obj4 = 0 ;
12089 PyObject * obj5 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12097 {
12098 arg2 = wxString_in_helper(obj1);
12099 if (arg2 == NULL) SWIG_fail;
12100 temp2 = True;
12101 }
12102 {
12103 arg3 = wxString_in_helper(obj2);
12104 if (arg3 == NULL) SWIG_fail;
12105 temp3 = True;
12106 }
12107 {
12108 arg4 = PyList_Size(obj3);
12109 arg5 = wxString_LIST_helper(obj3);
12110 if (arg5 == NULL) SWIG_fail;
12111 }
12112 if (obj4) {
12113 arg6 = (long) SWIG_AsLong(obj4);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 if (obj5) {
12117 {
12118 arg7 = &temp6;
12119 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12120 }
12121 }
12122 {
12123 PyThreadState* __tstate = wxPyBeginAllowThreads();
12124 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12125
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12130 {
12131 if (temp2)
12132 delete arg2;
12133 }
12134 {
12135 if (temp3)
12136 delete arg3;
12137 }
12138 {
12139 if (arg5) delete [] arg5;
12140 }
12141 return resultobj;
12142 fail:
12143 {
12144 if (temp2)
12145 delete arg2;
12146 }
12147 {
12148 if (temp3)
12149 delete arg3;
12150 }
12151 {
12152 if (arg5) delete [] arg5;
12153 }
12154 return NULL;
12155 }
12156
12157
12158 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12161 int result;
12162 PyObject * obj0 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 result = (int)(arg1)->GetSelection();
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 resultobj = SWIG_FromInt((int)result);
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12187 wxString result;
12188 PyObject * obj0 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 result = (arg1)->GetStringSelection();
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 {
12204 #if wxUSE_UNICODE
12205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12206 #else
12207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12208 #endif
12209 }
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12219 int arg2 ;
12220 PyObject * obj0 = 0 ;
12221 PyObject * obj1 = 0 ;
12222 char *kwnames[] = {
12223 (char *) "self",(char *) "sel", NULL
12224 };
12225
12226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12229 arg2 = (int) SWIG_AsInt(obj1);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 (arg1)->SetSelection(arg2);
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 Py_INCREF(Py_None); resultobj = Py_None;
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
12246 PyObject *obj;
12247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12248 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12249 Py_INCREF(obj);
12250 return Py_BuildValue((char *)"");
12251 }
12252 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxWindow *arg1 = (wxWindow *) 0 ;
12255 wxString *arg2 = 0 ;
12256 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12257 wxString *arg3 = (wxString *) &arg3_defvalue ;
12258 wxString const &arg4_defvalue = wxPyEmptyString ;
12259 wxString *arg4 = (wxString *) &arg4_defvalue ;
12260 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12261 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12262 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12263 wxTextEntryDialog *result;
12264 bool temp2 = False ;
12265 bool temp3 = False ;
12266 bool temp4 = False ;
12267 wxPoint temp6 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 PyObject * obj2 = 0 ;
12271 PyObject * obj3 = 0 ;
12272 PyObject * obj4 = 0 ;
12273 PyObject * obj5 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12281 {
12282 arg2 = wxString_in_helper(obj1);
12283 if (arg2 == NULL) SWIG_fail;
12284 temp2 = True;
12285 }
12286 if (obj2) {
12287 {
12288 arg3 = wxString_in_helper(obj2);
12289 if (arg3 == NULL) SWIG_fail;
12290 temp3 = True;
12291 }
12292 }
12293 if (obj3) {
12294 {
12295 arg4 = wxString_in_helper(obj3);
12296 if (arg4 == NULL) SWIG_fail;
12297 temp4 = True;
12298 }
12299 }
12300 if (obj4) {
12301 arg5 = (long) SWIG_AsLong(obj4);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 if (obj5) {
12305 {
12306 arg6 = &temp6;
12307 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12308 }
12309 }
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12318 {
12319 if (temp2)
12320 delete arg2;
12321 }
12322 {
12323 if (temp3)
12324 delete arg3;
12325 }
12326 {
12327 if (temp4)
12328 delete arg4;
12329 }
12330 return resultobj;
12331 fail:
12332 {
12333 if (temp2)
12334 delete arg2;
12335 }
12336 {
12337 if (temp3)
12338 delete arg3;
12339 }
12340 {
12341 if (temp4)
12342 delete arg4;
12343 }
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12351 wxString result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (arg1)->GetValue();
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 {
12368 #if wxUSE_UNICODE
12369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12370 #else
12371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12372 #endif
12373 }
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12383 wxString *arg2 = 0 ;
12384 bool temp2 = False ;
12385 PyObject * obj0 = 0 ;
12386 PyObject * obj1 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self",(char *) "value", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12394 {
12395 arg2 = wxString_in_helper(obj1);
12396 if (arg2 == NULL) SWIG_fail;
12397 temp2 = True;
12398 }
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 (arg1)->SetValue((wxString const &)*arg2);
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 Py_INCREF(Py_None); resultobj = Py_None;
12407 {
12408 if (temp2)
12409 delete arg2;
12410 }
12411 return resultobj;
12412 fail:
12413 {
12414 if (temp2)
12415 delete arg2;
12416 }
12417 return NULL;
12418 }
12419
12420
12421 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
12422 PyObject *obj;
12423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12424 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12425 Py_INCREF(obj);
12426 return Py_BuildValue((char *)"");
12427 }
12428 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12429 PyObject *resultobj;
12430 wxFontData *result;
12431 char *kwnames[] = {
12432 NULL
12433 };
12434
12435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 result = (wxFontData *)new wxFontData();
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12444 return resultobj;
12445 fail:
12446 return NULL;
12447 }
12448
12449
12450 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
12451 PyObject *resultobj;
12452 wxFontData *arg1 = (wxFontData *) 0 ;
12453 PyObject * obj0 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 delete arg1;
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxFontData *arg1 = (wxFontData *) 0 ;
12478 bool arg2 ;
12479 PyObject * obj0 = 0 ;
12480 PyObject * obj1 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self",(char *) "enable", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12488 arg2 = (bool) SWIG_AsBool(obj1);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 (arg1)->EnableEffects(arg2);
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 Py_INCREF(Py_None); resultobj = Py_None;
12498 return resultobj;
12499 fail:
12500 return NULL;
12501 }
12502
12503
12504 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj;
12506 wxFontData *arg1 = (wxFontData *) 0 ;
12507 bool result;
12508 PyObject * obj0 = 0 ;
12509 char *kwnames[] = {
12510 (char *) "self", NULL
12511 };
12512
12513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 result = (bool)(arg1)->GetAllowSymbols();
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
12523 {
12524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12525 }
12526 return resultobj;
12527 fail:
12528 return NULL;
12529 }
12530
12531
12532 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxFontData *arg1 = (wxFontData *) 0 ;
12535 wxColour result;
12536 PyObject * obj0 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 result = (arg1)->GetColour();
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 {
12552 wxColour * resultptr;
12553 resultptr = new wxColour((wxColour &) result);
12554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12555 }
12556 return resultobj;
12557 fail:
12558 return NULL;
12559 }
12560
12561
12562 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxFontData *arg1 = (wxFontData *) 0 ;
12565 wxFont result;
12566 PyObject * obj0 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12574 {
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (arg1)->GetChosenFont();
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 {
12582 wxFont * resultptr;
12583 resultptr = new wxFont((wxFont &) result);
12584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12585 }
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
12593 PyObject *resultobj;
12594 wxFontData *arg1 = (wxFontData *) 0 ;
12595 bool result;
12596 PyObject * obj0 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (bool)(arg1)->GetEnableEffects();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 {
12612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12613 }
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxFontData *arg1 = (wxFontData *) 0 ;
12623 wxFont result;
12624 PyObject * obj0 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (arg1)->GetInitialFont();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 {
12640 wxFont * resultptr;
12641 resultptr = new wxFont((wxFont &) result);
12642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12643 }
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxFontData *arg1 = (wxFontData *) 0 ;
12653 bool result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = (bool)(arg1)->GetShowHelp();
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 {
12670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12671 }
12672 return resultobj;
12673 fail:
12674 return NULL;
12675 }
12676
12677
12678 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxFontData *arg1 = (wxFontData *) 0 ;
12681 bool arg2 ;
12682 PyObject * obj0 = 0 ;
12683 PyObject * obj1 = 0 ;
12684 char *kwnames[] = {
12685 (char *) "self",(char *) "allowSymbols", NULL
12686 };
12687
12688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12691 arg2 = (bool) SWIG_AsBool(obj1);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 (arg1)->SetAllowSymbols(arg2);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 Py_INCREF(Py_None); resultobj = Py_None;
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
12708 PyObject *resultobj;
12709 wxFontData *arg1 = (wxFontData *) 0 ;
12710 wxFont *arg2 = 0 ;
12711 PyObject * obj0 = 0 ;
12712 PyObject * obj1 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self",(char *) "font", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12721 SWIG_POINTER_EXCEPTION | 0)) == -1)
12722 SWIG_fail;
12723 if (arg2 == NULL) {
12724 PyErr_SetString(PyExc_TypeError,"null reference");
12725 SWIG_fail;
12726 }
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->SetChosenFont((wxFont const &)*arg2);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 Py_INCREF(Py_None); resultobj = Py_None;
12735 return resultobj;
12736 fail:
12737 return NULL;
12738 }
12739
12740
12741 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj;
12743 wxFontData *arg1 = (wxFontData *) 0 ;
12744 wxColour *arg2 = 0 ;
12745 wxColour temp2 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self",(char *) "colour", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 {
12756 arg2 = &temp2;
12757 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12758 }
12759 {
12760 PyThreadState* __tstate = wxPyBeginAllowThreads();
12761 (arg1)->SetColour((wxColour const &)*arg2);
12762
12763 wxPyEndAllowThreads(__tstate);
12764 if (PyErr_Occurred()) SWIG_fail;
12765 }
12766 Py_INCREF(Py_None); resultobj = Py_None;
12767 return resultobj;
12768 fail:
12769 return NULL;
12770 }
12771
12772
12773 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
12774 PyObject *resultobj;
12775 wxFontData *arg1 = (wxFontData *) 0 ;
12776 wxFont *arg2 = 0 ;
12777 PyObject * obj0 = 0 ;
12778 PyObject * obj1 = 0 ;
12779 char *kwnames[] = {
12780 (char *) "self",(char *) "font", NULL
12781 };
12782
12783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12786 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
12787 SWIG_POINTER_EXCEPTION | 0)) == -1)
12788 SWIG_fail;
12789 if (arg2 == NULL) {
12790 PyErr_SetString(PyExc_TypeError,"null reference");
12791 SWIG_fail;
12792 }
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 (arg1)->SetInitialFont((wxFont const &)*arg2);
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 Py_INCREF(Py_None); resultobj = Py_None;
12801 return resultobj;
12802 fail:
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxFontData *arg1 = (wxFontData *) 0 ;
12810 int arg2 ;
12811 int arg3 ;
12812 PyObject * obj0 = 0 ;
12813 PyObject * obj1 = 0 ;
12814 PyObject * obj2 = 0 ;
12815 char *kwnames[] = {
12816 (char *) "self",(char *) "min",(char *) "max", NULL
12817 };
12818
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12822 arg2 = (int) SWIG_AsInt(obj1);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 arg3 = (int) SWIG_AsInt(obj2);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 (arg1)->SetRange(arg2,arg3);
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 Py_INCREF(Py_None); resultobj = Py_None;
12834 return resultobj;
12835 fail:
12836 return NULL;
12837 }
12838
12839
12840 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxFontData *arg1 = (wxFontData *) 0 ;
12843 bool arg2 ;
12844 PyObject * obj0 = 0 ;
12845 PyObject * obj1 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self",(char *) "showHelp", NULL
12848 };
12849
12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12853 arg2 = (bool) SWIG_AsBool(obj1);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 (arg1)->SetShowHelp(arg2);
12858
12859 wxPyEndAllowThreads(__tstate);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 Py_INCREF(Py_None); resultobj = Py_None;
12863 return resultobj;
12864 fail:
12865 return NULL;
12866 }
12867
12868
12869 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
12870 PyObject *obj;
12871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12872 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12873 Py_INCREF(obj);
12874 return Py_BuildValue((char *)"");
12875 }
12876 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxWindow *arg1 = (wxWindow *) 0 ;
12879 wxFontData *arg2 = 0 ;
12880 wxFontDialog *result;
12881 PyObject * obj0 = 0 ;
12882 PyObject * obj1 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "parent",(char *) "data", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
12891 SWIG_POINTER_EXCEPTION | 0)) == -1)
12892 SWIG_fail;
12893 if (arg2 == NULL) {
12894 PyErr_SetString(PyExc_TypeError,"null reference");
12895 SWIG_fail;
12896 }
12897 {
12898 PyThreadState* __tstate = wxPyBeginAllowThreads();
12899 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12900
12901 wxPyEndAllowThreads(__tstate);
12902 if (PyErr_Occurred()) SWIG_fail;
12903 }
12904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
12905 return resultobj;
12906 fail:
12907 return NULL;
12908 }
12909
12910
12911 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
12912 PyObject *resultobj;
12913 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12914 wxFontData *result;
12915 PyObject * obj0 = 0 ;
12916 char *kwnames[] = {
12917 (char *) "self", NULL
12918 };
12919
12920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
12922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12923 {
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 {
12926 wxFontData &_result_ref = (arg1)->GetFontData();
12927 result = (wxFontData *) &_result_ref;
12928 }
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
12941 PyObject *obj;
12942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12943 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12944 Py_INCREF(obj);
12945 return Py_BuildValue((char *)"");
12946 }
12947 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
12948 PyObject *resultobj;
12949 wxWindow *arg1 = (wxWindow *) 0 ;
12950 wxString *arg2 = 0 ;
12951 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12952 wxString *arg3 = (wxString *) &arg3_defvalue ;
12953 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12954 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12955 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12956 wxMessageDialog *result;
12957 bool temp2 = False ;
12958 bool temp3 = False ;
12959 wxPoint temp5 ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 PyObject * obj2 = 0 ;
12963 PyObject * obj3 = 0 ;
12964 PyObject * obj4 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12972 {
12973 arg2 = wxString_in_helper(obj1);
12974 if (arg2 == NULL) SWIG_fail;
12975 temp2 = True;
12976 }
12977 if (obj2) {
12978 {
12979 arg3 = wxString_in_helper(obj2);
12980 if (arg3 == NULL) SWIG_fail;
12981 temp3 = True;
12982 }
12983 }
12984 if (obj3) {
12985 arg4 = (long) SWIG_AsLong(obj3);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 if (obj4) {
12989 {
12990 arg5 = &temp5;
12991 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12992 }
12993 }
12994 {
12995 PyThreadState* __tstate = wxPyBeginAllowThreads();
12996 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12997
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
13001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13002 {
13003 if (temp2)
13004 delete arg2;
13005 }
13006 {
13007 if (temp3)
13008 delete arg3;
13009 }
13010 return resultobj;
13011 fail:
13012 {
13013 if (temp2)
13014 delete arg2;
13015 }
13016 {
13017 if (temp3)
13018 delete arg3;
13019 }
13020 return NULL;
13021 }
13022
13023
13024 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
13025 PyObject *obj;
13026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13027 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13028 Py_INCREF(obj);
13029 return Py_BuildValue((char *)"");
13030 }
13031 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13032 PyObject *resultobj;
13033 wxString *arg1 = 0 ;
13034 wxString *arg2 = 0 ;
13035 int arg3 = (int) 100 ;
13036 wxWindow *arg4 = (wxWindow *) NULL ;
13037 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13038 wxProgressDialog *result;
13039 bool temp1 = False ;
13040 bool temp2 = False ;
13041 PyObject * obj0 = 0 ;
13042 PyObject * obj1 = 0 ;
13043 PyObject * obj2 = 0 ;
13044 PyObject * obj3 = 0 ;
13045 PyObject * obj4 = 0 ;
13046 char *kwnames[] = {
13047 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13048 };
13049
13050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13051 {
13052 arg1 = wxString_in_helper(obj0);
13053 if (arg1 == NULL) SWIG_fail;
13054 temp1 = True;
13055 }
13056 {
13057 arg2 = wxString_in_helper(obj1);
13058 if (arg2 == NULL) SWIG_fail;
13059 temp2 = True;
13060 }
13061 if (obj2) {
13062 arg3 = (int) SWIG_AsInt(obj2);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 if (obj3) {
13066 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13068 }
13069 if (obj4) {
13070 arg5 = (int) SWIG_AsInt(obj4);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13081 {
13082 if (temp1)
13083 delete arg1;
13084 }
13085 {
13086 if (temp2)
13087 delete arg2;
13088 }
13089 return resultobj;
13090 fail:
13091 {
13092 if (temp1)
13093 delete arg1;
13094 }
13095 {
13096 if (temp2)
13097 delete arg2;
13098 }
13099 return NULL;
13100 }
13101
13102
13103 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13106 int arg2 ;
13107 wxString const &arg3_defvalue = wxPyEmptyString ;
13108 wxString *arg3 = (wxString *) &arg3_defvalue ;
13109 bool result;
13110 bool temp3 = False ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 PyObject * obj2 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13121 arg2 = (int) SWIG_AsInt(obj1);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 if (obj2) {
13124 {
13125 arg3 = wxString_in_helper(obj2);
13126 if (arg3 == NULL) SWIG_fail;
13127 temp3 = True;
13128 }
13129 }
13130 {
13131 PyThreadState* __tstate = wxPyBeginAllowThreads();
13132 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13133
13134 wxPyEndAllowThreads(__tstate);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 }
13137 {
13138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13139 }
13140 {
13141 if (temp3)
13142 delete arg3;
13143 }
13144 return resultobj;
13145 fail:
13146 {
13147 if (temp3)
13148 delete arg3;
13149 }
13150 return NULL;
13151 }
13152
13153
13154 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
13155 PyObject *resultobj;
13156 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13157 PyObject * obj0 = 0 ;
13158 char *kwnames[] = {
13159 (char *) "self", NULL
13160 };
13161
13162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 (arg1)->Resume();
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 Py_INCREF(Py_None); resultobj = Py_None;
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
13180 PyObject *obj;
13181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13182 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13183 Py_INCREF(obj);
13184 return Py_BuildValue((char *)"");
13185 }
13186 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13189 int arg2 = (int) 0 ;
13190 wxFindDialogEvent *result;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "commandType",(char *) "id", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13198 if (obj0) {
13199 arg1 = (wxEventType) SWIG_AsInt(obj0);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 if (obj1) {
13203 arg2 = (int) SWIG_AsInt(obj1);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13214 return resultobj;
13215 fail:
13216 return NULL;
13217 }
13218
13219
13220 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13223 int result;
13224 PyObject * obj0 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (int)(arg1)->GetFlags();
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 resultobj = SWIG_FromInt((int)result);
13240 return resultobj;
13241 fail:
13242 return NULL;
13243 }
13244
13245
13246 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13247 PyObject *resultobj;
13248 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13249 wxString *result;
13250 PyObject * obj0 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "self", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 {
13261 wxString const &_result_ref = (arg1)->GetFindString();
13262 result = (wxString *) &_result_ref;
13263 }
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 {
13269 #if wxUSE_UNICODE
13270 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13271 #else
13272 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13273 #endif
13274 }
13275 return resultobj;
13276 fail:
13277 return NULL;
13278 }
13279
13280
13281 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13284 wxString *result;
13285 PyObject * obj0 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 {
13296 wxString const &_result_ref = (arg1)->GetReplaceString();
13297 result = (wxString *) &_result_ref;
13298 }
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 {
13304 #if wxUSE_UNICODE
13305 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13306 #else
13307 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13308 #endif
13309 }
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj;
13318 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13319 wxFindReplaceDialog *result;
13320 PyObject * obj0 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13345 int arg2 ;
13346 PyObject * obj0 = 0 ;
13347 PyObject * obj1 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self",(char *) "flags", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13355 arg2 = (int) SWIG_AsInt(obj1);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 (arg1)->SetFlags(arg2);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 Py_INCREF(Py_None); resultobj = Py_None;
13365 return resultobj;
13366 fail:
13367 return NULL;
13368 }
13369
13370
13371 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13372 PyObject *resultobj;
13373 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13374 wxString *arg2 = 0 ;
13375 bool temp2 = False ;
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self",(char *) "str", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13385 {
13386 arg2 = wxString_in_helper(obj1);
13387 if (arg2 == NULL) SWIG_fail;
13388 temp2 = True;
13389 }
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 (arg1)->SetFindString((wxString const &)*arg2);
13393
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 Py_INCREF(Py_None); resultobj = Py_None;
13398 {
13399 if (temp2)
13400 delete arg2;
13401 }
13402 return resultobj;
13403 fail:
13404 {
13405 if (temp2)
13406 delete arg2;
13407 }
13408 return NULL;
13409 }
13410
13411
13412 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13415 wxString *arg2 = 0 ;
13416 bool temp2 = False ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "str", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13426 {
13427 arg2 = wxString_in_helper(obj1);
13428 if (arg2 == NULL) SWIG_fail;
13429 temp2 = True;
13430 }
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->SetReplaceString((wxString const &)*arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 Py_INCREF(Py_None); resultobj = Py_None;
13439 {
13440 if (temp2)
13441 delete arg2;
13442 }
13443 return resultobj;
13444 fail:
13445 {
13446 if (temp2)
13447 delete arg2;
13448 }
13449 return NULL;
13450 }
13451
13452
13453 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
13454 PyObject *obj;
13455 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13456 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13457 Py_INCREF(obj);
13458 return Py_BuildValue((char *)"");
13459 }
13460 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 int arg1 = (int) 0 ;
13463 wxFindReplaceData *result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "flags", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13470 if (obj0) {
13471 arg1 = (int) SWIG_AsInt(obj0);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 }
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13482 return resultobj;
13483 fail:
13484 return NULL;
13485 }
13486
13487
13488 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13491 PyObject * obj0 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 delete arg1;
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 Py_INCREF(Py_None); resultobj = Py_None;
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13516 wxString *result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 {
13528 wxString const &_result_ref = (arg1)->GetFindString();
13529 result = (wxString *) &_result_ref;
13530 }
13531
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 #if wxUSE_UNICODE
13537 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13538 #else
13539 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13540 #endif
13541 }
13542 return resultobj;
13543 fail:
13544 return NULL;
13545 }
13546
13547
13548 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj;
13550 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13551 wxString *result;
13552 PyObject * obj0 = 0 ;
13553 char *kwnames[] = {
13554 (char *) "self", NULL
13555 };
13556
13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 {
13563 wxString const &_result_ref = (arg1)->GetReplaceString();
13564 result = (wxString *) &_result_ref;
13565 }
13566
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 {
13571 #if wxUSE_UNICODE
13572 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13573 #else
13574 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13575 #endif
13576 }
13577 return resultobj;
13578 fail:
13579 return NULL;
13580 }
13581
13582
13583 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13584 PyObject *resultobj;
13585 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13586 int result;
13587 PyObject * obj0 = 0 ;
13588 char *kwnames[] = {
13589 (char *) "self", NULL
13590 };
13591
13592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13595 {
13596 PyThreadState* __tstate = wxPyBeginAllowThreads();
13597 result = (int)(arg1)->GetFlags();
13598
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 resultobj = SWIG_FromInt((int)result);
13603 return resultobj;
13604 fail:
13605 return NULL;
13606 }
13607
13608
13609 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
13610 PyObject *resultobj;
13611 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13612 int arg2 ;
13613 PyObject * obj0 = 0 ;
13614 PyObject * obj1 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "self",(char *) "flags", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13622 arg2 = (int) SWIG_AsInt(obj1);
13623 if (PyErr_Occurred()) SWIG_fail;
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 (arg1)->SetFlags(arg2);
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 Py_INCREF(Py_None); resultobj = Py_None;
13632 return resultobj;
13633 fail:
13634 return NULL;
13635 }
13636
13637
13638 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
13639 PyObject *resultobj;
13640 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13641 wxString *arg2 = 0 ;
13642 bool temp2 = False ;
13643 PyObject * obj0 = 0 ;
13644 PyObject * obj1 = 0 ;
13645 char *kwnames[] = {
13646 (char *) "self",(char *) "str", NULL
13647 };
13648
13649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13652 {
13653 arg2 = wxString_in_helper(obj1);
13654 if (arg2 == NULL) SWIG_fail;
13655 temp2 = True;
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 (arg1)->SetFindString((wxString const &)*arg2);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 Py_INCREF(Py_None); resultobj = Py_None;
13665 {
13666 if (temp2)
13667 delete arg2;
13668 }
13669 return resultobj;
13670 fail:
13671 {
13672 if (temp2)
13673 delete arg2;
13674 }
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13682 wxString *arg2 = 0 ;
13683 bool temp2 = False ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "str", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13693 {
13694 arg2 = wxString_in_helper(obj1);
13695 if (arg2 == NULL) SWIG_fail;
13696 temp2 = True;
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetReplaceString((wxString const &)*arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 {
13707 if (temp2)
13708 delete arg2;
13709 }
13710 return resultobj;
13711 fail:
13712 {
13713 if (temp2)
13714 delete arg2;
13715 }
13716 return NULL;
13717 }
13718
13719
13720 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
13721 PyObject *obj;
13722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13723 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13724 Py_INCREF(obj);
13725 return Py_BuildValue((char *)"");
13726 }
13727 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxWindow *arg1 = (wxWindow *) 0 ;
13730 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13731 wxString *arg3 = 0 ;
13732 int arg4 = (int) 0 ;
13733 wxFindReplaceDialog *result;
13734 bool temp3 = False ;
13735 PyObject * obj0 = 0 ;
13736 PyObject * obj1 = 0 ;
13737 PyObject * obj2 = 0 ;
13738 PyObject * obj3 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13748 {
13749 arg3 = wxString_in_helper(obj2);
13750 if (arg3 == NULL) SWIG_fail;
13751 temp3 = True;
13752 }
13753 if (obj3) {
13754 arg4 = (int) SWIG_AsInt(obj3);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13765 {
13766 if (temp3)
13767 delete arg3;
13768 }
13769 return resultobj;
13770 fail:
13771 {
13772 if (temp3)
13773 delete arg3;
13774 }
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxFindReplaceDialog *result;
13782 char *kwnames[] = {
13783 NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13804 wxWindow *arg2 = (wxWindow *) 0 ;
13805 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13806 wxString *arg4 = 0 ;
13807 int arg5 = (int) 0 ;
13808 bool result;
13809 bool temp4 = False ;
13810 PyObject * obj0 = 0 ;
13811 PyObject * obj1 = 0 ;
13812 PyObject * obj2 = 0 ;
13813 PyObject * obj3 = 0 ;
13814 PyObject * obj4 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13824 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
13825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13826 {
13827 arg4 = wxString_in_helper(obj3);
13828 if (arg4 == NULL) SWIG_fail;
13829 temp4 = True;
13830 }
13831 if (obj4) {
13832 arg5 = (int) SWIG_AsInt(obj4);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13838
13839 wxPyEndAllowThreads(__tstate);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 }
13842 {
13843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13844 }
13845 {
13846 if (temp4)
13847 delete arg4;
13848 }
13849 return resultobj;
13850 fail:
13851 {
13852 if (temp4)
13853 delete arg4;
13854 }
13855 return NULL;
13856 }
13857
13858
13859 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13862 wxFindReplaceData *result;
13863 PyObject * obj0 = 0 ;
13864 char *kwnames[] = {
13865 (char *) "self", NULL
13866 };
13867
13868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 result = (wxFindReplaceData *)(arg1)->GetData();
13874
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13888 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13889 PyObject * obj0 = 0 ;
13890 PyObject * obj1 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self",(char *) "data", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
13899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 (arg1)->SetData(arg2);
13903
13904 wxPyEndAllowThreads(__tstate);
13905 if (PyErr_Occurred()) SWIG_fail;
13906 }
13907 Py_INCREF(Py_None); resultobj = Py_None;
13908 return resultobj;
13909 fail:
13910 return NULL;
13911 }
13912
13913
13914 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
13915 PyObject *obj;
13916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13917 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13918 Py_INCREF(obj);
13919 return Py_BuildValue((char *)"");
13920 }
13921 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj;
13923 wxWindow *arg1 = (wxWindow *) 0 ;
13924 int arg2 ;
13925 wxString *arg3 = 0 ;
13926 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13927 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13928 wxSize const &arg5_defvalue = wxDefaultSize ;
13929 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13930 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13931 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13932 wxString *arg7 = (wxString *) &arg7_defvalue ;
13933 wxMDIParentFrame *result;
13934 bool temp3 = False ;
13935 wxPoint temp4 ;
13936 wxSize temp5 ;
13937 bool temp7 = False ;
13938 PyObject * obj0 = 0 ;
13939 PyObject * obj1 = 0 ;
13940 PyObject * obj2 = 0 ;
13941 PyObject * obj3 = 0 ;
13942 PyObject * obj4 = 0 ;
13943 PyObject * obj5 = 0 ;
13944 PyObject * obj6 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13947 };
13948
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13952 arg2 = (int const) SWIG_AsInt(obj1);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 {
13955 arg3 = wxString_in_helper(obj2);
13956 if (arg3 == NULL) SWIG_fail;
13957 temp3 = True;
13958 }
13959 if (obj3) {
13960 {
13961 arg4 = &temp4;
13962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13963 }
13964 }
13965 if (obj4) {
13966 {
13967 arg5 = &temp5;
13968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13969 }
13970 }
13971 if (obj5) {
13972 arg6 = (long) SWIG_AsLong(obj5);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 if (obj6) {
13976 {
13977 arg7 = wxString_in_helper(obj6);
13978 if (arg7 == NULL) SWIG_fail;
13979 temp7 = True;
13980 }
13981 }
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
13990 {
13991 if (temp3)
13992 delete arg3;
13993 }
13994 {
13995 if (temp7)
13996 delete arg7;
13997 }
13998 return resultobj;
13999 fail:
14000 {
14001 if (temp3)
14002 delete arg3;
14003 }
14004 {
14005 if (temp7)
14006 delete arg7;
14007 }
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxMDIParentFrame *result;
14015 char *kwnames[] = {
14016 NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14028 return resultobj;
14029 fail:
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14037 wxWindow *arg2 = (wxWindow *) 0 ;
14038 int arg3 ;
14039 wxString *arg4 = 0 ;
14040 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14041 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14042 wxSize const &arg6_defvalue = wxDefaultSize ;
14043 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14044 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14045 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14046 wxString *arg8 = (wxString *) &arg8_defvalue ;
14047 bool result;
14048 bool temp4 = False ;
14049 wxPoint temp5 ;
14050 wxSize temp6 ;
14051 bool temp8 = False ;
14052 PyObject * obj0 = 0 ;
14053 PyObject * obj1 = 0 ;
14054 PyObject * obj2 = 0 ;
14055 PyObject * obj3 = 0 ;
14056 PyObject * obj4 = 0 ;
14057 PyObject * obj5 = 0 ;
14058 PyObject * obj6 = 0 ;
14059 PyObject * obj7 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14067 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14069 arg3 = (int const) SWIG_AsInt(obj2);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 {
14072 arg4 = wxString_in_helper(obj3);
14073 if (arg4 == NULL) SWIG_fail;
14074 temp4 = True;
14075 }
14076 if (obj4) {
14077 {
14078 arg5 = &temp5;
14079 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14080 }
14081 }
14082 if (obj5) {
14083 {
14084 arg6 = &temp6;
14085 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14086 }
14087 }
14088 if (obj6) {
14089 arg7 = (long) SWIG_AsLong(obj6);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 if (obj7) {
14093 {
14094 arg8 = wxString_in_helper(obj7);
14095 if (arg8 == NULL) SWIG_fail;
14096 temp8 = True;
14097 }
14098 }
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 {
14107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14108 }
14109 {
14110 if (temp4)
14111 delete arg4;
14112 }
14113 {
14114 if (temp8)
14115 delete arg8;
14116 }
14117 return resultobj;
14118 fail:
14119 {
14120 if (temp4)
14121 delete arg4;
14122 }
14123 {
14124 if (temp8)
14125 delete arg8;
14126 }
14127 return NULL;
14128 }
14129
14130
14131 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
14132 PyObject *resultobj;
14133 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14134 PyObject * obj0 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "self", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->ActivateNext();
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 return resultobj;
14151 fail:
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 (arg1)->ActivatePrevious();
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 Py_INCREF(Py_None); resultobj = Py_None;
14175 return resultobj;
14176 fail:
14177 return NULL;
14178 }
14179
14180
14181 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
14182 PyObject *resultobj;
14183 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 (arg1)->ArrangeIcons();
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 Py_INCREF(Py_None); resultobj = Py_None;
14200 return resultobj;
14201 fail:
14202 return NULL;
14203 }
14204
14205
14206 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj;
14208 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14209 PyObject * obj0 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 (arg1)->Cascade();
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 Py_INCREF(Py_None); resultobj = Py_None;
14225 return resultobj;
14226 fail:
14227 return NULL;
14228 }
14229
14230
14231 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
14232 PyObject *resultobj;
14233 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14234 wxMDIChildFrame *result;
14235 PyObject * obj0 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self", NULL
14238 };
14239
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 {
14251 resultobj = wxPyMake_wxObject(result);
14252 }
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14262 wxMDIClientWindow *result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 {
14279 resultobj = wxPyMake_wxObject(result);
14280 }
14281 return resultobj;
14282 fail:
14283 return NULL;
14284 }
14285
14286
14287 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj;
14289 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14290 wxWindow *result;
14291 PyObject * obj0 = 0 ;
14292 char *kwnames[] = {
14293 (char *) "self", NULL
14294 };
14295
14296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 result = (wxWindow *)(arg1)->GetToolBar();
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 {
14307 resultobj = wxPyMake_wxObject(result);
14308 }
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 (arg1)->Tile();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 Py_INCREF(Py_None); resultobj = Py_None;
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
14341 PyObject *obj;
14342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14343 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14344 Py_INCREF(obj);
14345 return Py_BuildValue((char *)"");
14346 }
14347 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14350 int arg2 ;
14351 wxString *arg3 = 0 ;
14352 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14353 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14354 wxSize const &arg5_defvalue = wxDefaultSize ;
14355 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14356 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14357 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14358 wxString *arg7 = (wxString *) &arg7_defvalue ;
14359 wxMDIChildFrame *result;
14360 bool temp3 = False ;
14361 wxPoint temp4 ;
14362 wxSize temp5 ;
14363 bool temp7 = False ;
14364 PyObject * obj0 = 0 ;
14365 PyObject * obj1 = 0 ;
14366 PyObject * obj2 = 0 ;
14367 PyObject * obj3 = 0 ;
14368 PyObject * obj4 = 0 ;
14369 PyObject * obj5 = 0 ;
14370 PyObject * obj6 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14378 arg2 = (int const) SWIG_AsInt(obj1);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 {
14381 arg3 = wxString_in_helper(obj2);
14382 if (arg3 == NULL) SWIG_fail;
14383 temp3 = True;
14384 }
14385 if (obj3) {
14386 {
14387 arg4 = &temp4;
14388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14389 }
14390 }
14391 if (obj4) {
14392 {
14393 arg5 = &temp5;
14394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14395 }
14396 }
14397 if (obj5) {
14398 arg6 = (long) SWIG_AsLong(obj5);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 if (obj6) {
14402 {
14403 arg7 = wxString_in_helper(obj6);
14404 if (arg7 == NULL) SWIG_fail;
14405 temp7 = True;
14406 }
14407 }
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 {
14416 resultobj = wxPyMake_wxObject(result);
14417 }
14418 {
14419 if (temp3)
14420 delete arg3;
14421 }
14422 {
14423 if (temp7)
14424 delete arg7;
14425 }
14426 return resultobj;
14427 fail:
14428 {
14429 if (temp3)
14430 delete arg3;
14431 }
14432 {
14433 if (temp7)
14434 delete arg7;
14435 }
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxMDIChildFrame *result;
14443 char *kwnames[] = {
14444 NULL
14445 };
14446
14447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14448 {
14449 PyThreadState* __tstate = wxPyBeginAllowThreads();
14450 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14451
14452 wxPyEndAllowThreads(__tstate);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 {
14456 resultobj = wxPyMake_wxObject(result);
14457 }
14458 return resultobj;
14459 fail:
14460 return NULL;
14461 }
14462
14463
14464 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14467 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14468 int arg3 ;
14469 wxString *arg4 = 0 ;
14470 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14471 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14472 wxSize const &arg6_defvalue = wxDefaultSize ;
14473 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14474 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14475 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14476 wxString *arg8 = (wxString *) &arg8_defvalue ;
14477 bool result;
14478 bool temp4 = False ;
14479 wxPoint temp5 ;
14480 wxSize temp6 ;
14481 bool temp8 = False ;
14482 PyObject * obj0 = 0 ;
14483 PyObject * obj1 = 0 ;
14484 PyObject * obj2 = 0 ;
14485 PyObject * obj3 = 0 ;
14486 PyObject * obj4 = 0 ;
14487 PyObject * obj5 = 0 ;
14488 PyObject * obj6 = 0 ;
14489 PyObject * obj7 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14499 arg3 = (int const) SWIG_AsInt(obj2);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 {
14502 arg4 = wxString_in_helper(obj3);
14503 if (arg4 == NULL) SWIG_fail;
14504 temp4 = True;
14505 }
14506 if (obj4) {
14507 {
14508 arg5 = &temp5;
14509 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14510 }
14511 }
14512 if (obj5) {
14513 {
14514 arg6 = &temp6;
14515 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14516 }
14517 }
14518 if (obj6) {
14519 arg7 = (long) SWIG_AsLong(obj6);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 if (obj7) {
14523 {
14524 arg8 = wxString_in_helper(obj7);
14525 if (arg8 == NULL) SWIG_fail;
14526 temp8 = True;
14527 }
14528 }
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 {
14537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14538 }
14539 {
14540 if (temp4)
14541 delete arg4;
14542 }
14543 {
14544 if (temp8)
14545 delete arg8;
14546 }
14547 return resultobj;
14548 fail:
14549 {
14550 if (temp4)
14551 delete arg4;
14552 }
14553 {
14554 if (temp8)
14555 delete arg8;
14556 }
14557 return NULL;
14558 }
14559
14560
14561 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14564 PyObject * obj0 = 0 ;
14565 char *kwnames[] = {
14566 (char *) "self", NULL
14567 };
14568
14569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 (arg1)->Activate();
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 Py_INCREF(Py_None); resultobj = Py_None;
14580 return resultobj;
14581 fail:
14582 return NULL;
14583 }
14584
14585
14586 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
14587 PyObject *resultobj;
14588 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14589 bool arg2 ;
14590 PyObject * obj0 = 0 ;
14591 PyObject * obj1 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self",(char *) "maximize", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14599 arg2 = (bool) SWIG_AsBool(obj1);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 {
14602 PyThreadState* __tstate = wxPyBeginAllowThreads();
14603 (arg1)->Maximize(arg2);
14604
14605 wxPyEndAllowThreads(__tstate);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 }
14608 Py_INCREF(Py_None); resultobj = Py_None;
14609 return resultobj;
14610 fail:
14611 return NULL;
14612 }
14613
14614
14615 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
14616 PyObject *resultobj;
14617 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14618 PyObject * obj0 = 0 ;
14619 char *kwnames[] = {
14620 (char *) "self", NULL
14621 };
14622
14623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 (arg1)->Restore();
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 Py_INCREF(Py_None); resultobj = Py_None;
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
14641 PyObject *obj;
14642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14643 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14644 Py_INCREF(obj);
14645 return Py_BuildValue((char *)"");
14646 }
14647 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14650 long arg2 = (long) 0 ;
14651 wxMDIClientWindow *result;
14652 PyObject * obj0 = 0 ;
14653 PyObject * obj1 = 0 ;
14654 char *kwnames[] = {
14655 (char *) "parent",(char *) "style", NULL
14656 };
14657
14658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14661 if (obj1) {
14662 arg2 = (long) SWIG_AsLong(obj1);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 {
14673 resultobj = wxPyMake_wxObject(result);
14674 }
14675 return resultobj;
14676 fail:
14677 return NULL;
14678 }
14679
14680
14681 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14682 PyObject *resultobj;
14683 wxMDIClientWindow *result;
14684 char *kwnames[] = {
14685 NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14689 {
14690 PyThreadState* __tstate = wxPyBeginAllowThreads();
14691 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14692
14693 wxPyEndAllowThreads(__tstate);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 {
14697 resultobj = wxPyMake_wxObject(result);
14698 }
14699 return resultobj;
14700 fail:
14701 return NULL;
14702 }
14703
14704
14705 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14708 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14709 long arg3 = (long) 0 ;
14710 bool result;
14711 PyObject * obj0 = 0 ;
14712 PyObject * obj1 = 0 ;
14713 PyObject * obj2 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "self",(char *) "parent",(char *) "style", NULL
14716 };
14717
14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
14720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14723 if (obj2) {
14724 arg3 = (long) SWIG_AsLong(obj2);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (bool)(arg1)->Create(arg2,arg3);
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 {
14735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14736 }
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
14744 PyObject *obj;
14745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14746 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14747 Py_INCREF(obj);
14748 return Py_BuildValue((char *)"");
14749 }
14750 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxWindow *arg1 = (wxWindow *) 0 ;
14753 int arg2 ;
14754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14756 wxSize const &arg4_defvalue = wxDefaultSize ;
14757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14758 long arg5 = (long) 0 ;
14759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14760 wxString *arg6 = (wxString *) &arg6_defvalue ;
14761 wxPyWindow *result;
14762 wxPoint temp3 ;
14763 wxSize temp4 ;
14764 bool temp6 = False ;
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
14767 PyObject * obj2 = 0 ;
14768 PyObject * obj3 = 0 ;
14769 PyObject * obj4 = 0 ;
14770 PyObject * obj5 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14778 arg2 = (int const) SWIG_AsInt(obj1);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 if (obj2) {
14781 {
14782 arg3 = &temp3;
14783 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14784 }
14785 }
14786 if (obj3) {
14787 {
14788 arg4 = &temp4;
14789 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14790 }
14791 }
14792 if (obj4) {
14793 arg5 = (long) SWIG_AsLong(obj4);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 if (obj5) {
14797 {
14798 arg6 = wxString_in_helper(obj5);
14799 if (arg6 == NULL) SWIG_fail;
14800 temp6 = True;
14801 }
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14811 {
14812 if (temp6)
14813 delete arg6;
14814 }
14815 return resultobj;
14816 fail:
14817 {
14818 if (temp6)
14819 delete arg6;
14820 }
14821 return NULL;
14822 }
14823
14824
14825 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14826 PyObject *resultobj;
14827 wxPyWindow *result;
14828 char *kwnames[] = {
14829 NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = (wxPyWindow *)new wxPyWindow();
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14850 PyObject *arg2 = (PyObject *) 0 ;
14851 PyObject *arg3 = (PyObject *) 0 ;
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj1 = 0 ;
14854 PyObject * obj2 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "self",(char *) "_class", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14862 arg2 = obj1;
14863 arg3 = obj2;
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 (arg1)->_setCallbackInfo(arg2,arg3);
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 Py_INCREF(Py_None); resultobj = Py_None;
14872 return resultobj;
14873 fail:
14874 return NULL;
14875 }
14876
14877
14878 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14881 int arg2 ;
14882 int arg3 ;
14883 int arg4 ;
14884 int arg5 ;
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
14887 PyObject * obj2 = 0 ;
14888 PyObject * obj3 = 0 ;
14889 PyObject * obj4 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14897 arg2 = (int) SWIG_AsInt(obj1);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 arg3 = (int) SWIG_AsInt(obj2);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 arg4 = (int) SWIG_AsInt(obj3);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 arg5 = (int) SWIG_AsInt(obj4);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 {
14906 PyThreadState* __tstate = wxPyBeginAllowThreads();
14907 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14908
14909 wxPyEndAllowThreads(__tstate);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 Py_INCREF(Py_None); resultobj = Py_None;
14913 return resultobj;
14914 fail:
14915 return NULL;
14916 }
14917
14918
14919 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
14920 PyObject *resultobj;
14921 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14922 int arg2 ;
14923 int arg3 ;
14924 int arg4 ;
14925 int arg5 ;
14926 int arg6 = (int) wxSIZE_AUTO ;
14927 PyObject * obj0 = 0 ;
14928 PyObject * obj1 = 0 ;
14929 PyObject * obj2 = 0 ;
14930 PyObject * obj3 = 0 ;
14931 PyObject * obj4 = 0 ;
14932 PyObject * obj5 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14940 arg2 = (int) SWIG_AsInt(obj1);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 arg3 = (int) SWIG_AsInt(obj2);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 arg4 = (int) SWIG_AsInt(obj3);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 arg5 = (int) SWIG_AsInt(obj4);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 if (obj5) {
14949 arg6 = (int) SWIG_AsInt(obj5);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 {
14953 PyThreadState* __tstate = wxPyBeginAllowThreads();
14954 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14955
14956 wxPyEndAllowThreads(__tstate);
14957 if (PyErr_Occurred()) SWIG_fail;
14958 }
14959 Py_INCREF(Py_None); resultobj = Py_None;
14960 return resultobj;
14961 fail:
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14969 int arg2 ;
14970 int arg3 ;
14971 PyObject * obj0 = 0 ;
14972 PyObject * obj1 = 0 ;
14973 PyObject * obj2 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "self",(char *) "width",(char *) "height", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
14980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14981 arg2 = (int) SWIG_AsInt(obj1);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 arg3 = (int) SWIG_AsInt(obj2);
14984 if (PyErr_Occurred()) SWIG_fail;
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 (arg1)->base_DoSetClientSize(arg2,arg3);
14988
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 Py_INCREF(Py_None); resultobj = Py_None;
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15000 PyObject *resultobj;
15001 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15002 int arg2 ;
15003 int arg3 ;
15004 PyObject * obj0 = 0 ;
15005 PyObject * obj1 = 0 ;
15006 PyObject * obj2 = 0 ;
15007 char *kwnames[] = {
15008 (char *) "self",(char *) "x",(char *) "y", NULL
15009 };
15010
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15014 arg2 = (int) SWIG_AsInt(obj1);
15015 if (PyErr_Occurred()) SWIG_fail;
15016 arg3 = (int) SWIG_AsInt(obj2);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15021
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 Py_INCREF(Py_None); resultobj = Py_None;
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15035 int *arg2 = (int *) 0 ;
15036 int *arg3 = (int *) 0 ;
15037 int temp2 ;
15038 int temp3 ;
15039 PyObject * obj0 = 0 ;
15040 char *kwnames[] = {
15041 (char *) "self", NULL
15042 };
15043
15044 arg2 = &temp2;
15045 arg3 = &temp3;
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 {
15050 PyThreadState* __tstate = wxPyBeginAllowThreads();
15051 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15052
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 Py_INCREF(Py_None); resultobj = Py_None;
15057 {
15058 PyObject *o = PyInt_FromLong((long) (*arg2));
15059 resultobj = t_output_helper(resultobj,o);
15060 }
15061 {
15062 PyObject *o = PyInt_FromLong((long) (*arg3));
15063 resultobj = t_output_helper(resultobj,o);
15064 }
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj;
15073 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15074 int *arg2 = (int *) 0 ;
15075 int *arg3 = (int *) 0 ;
15076 int temp2 ;
15077 int temp3 ;
15078 PyObject * obj0 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self", NULL
15081 };
15082
15083 arg2 = &temp2;
15084 arg3 = &temp3;
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 Py_INCREF(Py_None); resultobj = Py_None;
15096 {
15097 PyObject *o = PyInt_FromLong((long) (*arg2));
15098 resultobj = t_output_helper(resultobj,o);
15099 }
15100 {
15101 PyObject *o = PyInt_FromLong((long) (*arg3));
15102 resultobj = t_output_helper(resultobj,o);
15103 }
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj;
15112 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15113 int *arg2 = (int *) 0 ;
15114 int *arg3 = (int *) 0 ;
15115 int temp2 ;
15116 int temp3 ;
15117 PyObject * obj0 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self", NULL
15120 };
15121
15122 arg2 = &temp2;
15123 arg3 = &temp3;
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 Py_INCREF(Py_None); resultobj = Py_None;
15135 {
15136 PyObject *o = PyInt_FromLong((long) (*arg2));
15137 resultobj = t_output_helper(resultobj,o);
15138 }
15139 {
15140 PyObject *o = PyInt_FromLong((long) (*arg3));
15141 resultobj = t_output_helper(resultobj,o);
15142 }
15143 return resultobj;
15144 fail:
15145 return NULL;
15146 }
15147
15148
15149 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj;
15151 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15152 wxSize result;
15153 PyObject * obj0 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15168 {
15169 wxSize * resultptr;
15170 resultptr = new wxSize((wxSize &) result);
15171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15172 }
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj;
15181 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15182 wxSize result;
15183 PyObject * obj0 = 0 ;
15184 char *kwnames[] = {
15185 (char *) "self", NULL
15186 };
15187
15188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15191 {
15192 PyThreadState* __tstate = wxPyBeginAllowThreads();
15193 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15194
15195 wxPyEndAllowThreads(__tstate);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 {
15199 wxSize * resultptr;
15200 resultptr = new wxSize((wxSize &) result);
15201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15202 }
15203 return resultobj;
15204 fail:
15205 return NULL;
15206 }
15207
15208
15209 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15210 PyObject *resultobj;
15211 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15212 PyObject * obj0 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 (arg1)->base_InitDialog();
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 Py_INCREF(Py_None); resultobj = Py_None;
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj;
15236 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15237 bool result;
15238 PyObject * obj0 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 result = (bool)(arg1)->base_TransferDataToWindow();
15249
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 {
15254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15255 }
15256 return resultobj;
15257 fail:
15258 return NULL;
15259 }
15260
15261
15262 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj;
15264 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15265 bool result;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (bool)(arg1)->base_TransferDataFromWindow();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 {
15282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15283 }
15284 return resultobj;
15285 fail:
15286 return NULL;
15287 }
15288
15289
15290 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
15291 PyObject *resultobj;
15292 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15293 bool result;
15294 PyObject * obj0 = 0 ;
15295 char *kwnames[] = {
15296 (char *) "self", NULL
15297 };
15298
15299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (bool)(arg1)->base_Validate();
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15309 {
15310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15311 }
15312 return resultobj;
15313 fail:
15314 return NULL;
15315 }
15316
15317
15318 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15321 bool result;
15322 PyObject * obj0 = 0 ;
15323 char *kwnames[] = {
15324 (char *) "self", NULL
15325 };
15326
15327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 {
15338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15339 }
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15349 bool result;
15350 PyObject * obj0 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 {
15366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15367 }
15368 return resultobj;
15369 fail:
15370 return NULL;
15371 }
15372
15373
15374 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15377 wxSize result;
15378 PyObject * obj0 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 {
15394 wxSize * resultptr;
15395 resultptr = new wxSize((wxSize &) result);
15396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15397 }
15398 return resultobj;
15399 fail:
15400 return NULL;
15401 }
15402
15403
15404 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15407 wxWindow *arg2 = (wxWindow *) 0 ;
15408 PyObject * obj0 = 0 ;
15409 PyObject * obj1 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self",(char *) "child", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 (arg1)->base_AddChild(arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 Py_INCREF(Py_None); resultobj = Py_None;
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15436 wxWindow *arg2 = (wxWindow *) 0 ;
15437 PyObject * obj0 = 0 ;
15438 PyObject * obj1 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self",(char *) "child", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15446 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15448 {
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 (arg1)->base_RemoveChild(arg2);
15451
15452 wxPyEndAllowThreads(__tstate);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 Py_INCREF(Py_None); resultobj = Py_None;
15456 return resultobj;
15457 fail:
15458 return NULL;
15459 }
15460
15461
15462 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
15463 PyObject *resultobj;
15464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15465 bool result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (bool)(arg1)->base_ShouldInheritColours();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 {
15482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15483 }
15484 return resultobj;
15485 fail:
15486 return NULL;
15487 }
15488
15489
15490 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15493 wxColour *arg2 = 0 ;
15494 wxColour temp2 ;
15495 PyObject * obj0 = 0 ;
15496 PyObject * obj1 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "c", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15504 {
15505 arg2 = &temp2;
15506 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15507 }
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
15523 PyObject *obj;
15524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15525 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15526 Py_INCREF(obj);
15527 return Py_BuildValue((char *)"");
15528 }
15529 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxWindow *arg1 = (wxWindow *) 0 ;
15532 int arg2 ;
15533 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15534 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15535 wxSize const &arg4_defvalue = wxDefaultSize ;
15536 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15537 long arg5 = (long) 0 ;
15538 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15539 wxString *arg6 = (wxString *) &arg6_defvalue ;
15540 wxPyPanel *result;
15541 wxPoint temp3 ;
15542 wxSize temp4 ;
15543 bool temp6 = False ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 PyObject * obj2 = 0 ;
15547 PyObject * obj3 = 0 ;
15548 PyObject * obj4 = 0 ;
15549 PyObject * obj5 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15557 arg2 = (int const) SWIG_AsInt(obj1);
15558 if (PyErr_Occurred()) SWIG_fail;
15559 if (obj2) {
15560 {
15561 arg3 = &temp3;
15562 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15563 }
15564 }
15565 if (obj3) {
15566 {
15567 arg4 = &temp4;
15568 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15569 }
15570 }
15571 if (obj4) {
15572 arg5 = (long) SWIG_AsLong(obj4);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 if (obj5) {
15576 {
15577 arg6 = wxString_in_helper(obj5);
15578 if (arg6 == NULL) SWIG_fail;
15579 temp6 = True;
15580 }
15581 }
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15590 {
15591 if (temp6)
15592 delete arg6;
15593 }
15594 return resultobj;
15595 fail:
15596 {
15597 if (temp6)
15598 delete arg6;
15599 }
15600 return NULL;
15601 }
15602
15603
15604 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
15605 PyObject *resultobj;
15606 wxPyPanel *result;
15607 char *kwnames[] = {
15608 NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (wxPyPanel *)new wxPyPanel();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15629 PyObject *arg2 = (PyObject *) 0 ;
15630 PyObject *arg3 = (PyObject *) 0 ;
15631 PyObject * obj0 = 0 ;
15632 PyObject * obj1 = 0 ;
15633 PyObject * obj2 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self",(char *) "self",(char *) "_class", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15641 arg2 = obj1;
15642 arg3 = obj2;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 (arg1)->_setCallbackInfo(arg2,arg3);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 Py_INCREF(Py_None); resultobj = Py_None;
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15660 int arg2 ;
15661 int arg3 ;
15662 int arg4 ;
15663 int arg5 ;
15664 PyObject * obj0 = 0 ;
15665 PyObject * obj1 = 0 ;
15666 PyObject * obj2 = 0 ;
15667 PyObject * obj3 = 0 ;
15668 PyObject * obj4 = 0 ;
15669 char *kwnames[] = {
15670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15671 };
15672
15673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15676 arg2 = (int) SWIG_AsInt(obj1);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 arg3 = (int) SWIG_AsInt(obj2);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 arg4 = (int) SWIG_AsInt(obj3);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 arg5 = (int) SWIG_AsInt(obj4);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15687
15688 wxPyEndAllowThreads(__tstate);
15689 if (PyErr_Occurred()) SWIG_fail;
15690 }
15691 Py_INCREF(Py_None); resultobj = Py_None;
15692 return resultobj;
15693 fail:
15694 return NULL;
15695 }
15696
15697
15698 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj;
15700 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15701 int arg2 ;
15702 int arg3 ;
15703 int arg4 ;
15704 int arg5 ;
15705 int arg6 = (int) wxSIZE_AUTO ;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 PyObject * obj2 = 0 ;
15709 PyObject * obj3 = 0 ;
15710 PyObject * obj4 = 0 ;
15711 PyObject * obj5 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15719 arg2 = (int) SWIG_AsInt(obj1);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 arg3 = (int) SWIG_AsInt(obj2);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 arg4 = (int) SWIG_AsInt(obj3);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 arg5 = (int) SWIG_AsInt(obj4);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 if (obj5) {
15728 arg6 = (int) SWIG_AsInt(obj5);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 Py_INCREF(Py_None); resultobj = Py_None;
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15748 int arg2 ;
15749 int arg3 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 PyObject * obj2 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self",(char *) "width",(char *) "height", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15760 arg2 = (int) SWIG_AsInt(obj1);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 arg3 = (int) SWIG_AsInt(obj2);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 (arg1)->base_DoSetClientSize(arg2,arg3);
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 Py_INCREF(Py_None); resultobj = Py_None;
15772 return resultobj;
15773 fail:
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15781 int arg2 ;
15782 int arg3 ;
15783 PyObject * obj0 = 0 ;
15784 PyObject * obj1 = 0 ;
15785 PyObject * obj2 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self",(char *) "x",(char *) "y", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15793 arg2 = (int) SWIG_AsInt(obj1);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 arg3 = (int) SWIG_AsInt(obj2);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 {
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 Py_INCREF(Py_None); resultobj = Py_None;
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj;
15813 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15814 int *arg2 = (int *) 0 ;
15815 int *arg3 = (int *) 0 ;
15816 int temp2 ;
15817 int temp3 ;
15818 PyObject * obj0 = 0 ;
15819 char *kwnames[] = {
15820 (char *) "self", NULL
15821 };
15822
15823 arg2 = &temp2;
15824 arg3 = &temp3;
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 Py_INCREF(Py_None); resultobj = Py_None;
15836 {
15837 PyObject *o = PyInt_FromLong((long) (*arg2));
15838 resultobj = t_output_helper(resultobj,o);
15839 }
15840 {
15841 PyObject *o = PyInt_FromLong((long) (*arg3));
15842 resultobj = t_output_helper(resultobj,o);
15843 }
15844 return resultobj;
15845 fail:
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15853 int *arg2 = (int *) 0 ;
15854 int *arg3 = (int *) 0 ;
15855 int temp2 ;
15856 int temp3 ;
15857 PyObject * obj0 = 0 ;
15858 char *kwnames[] = {
15859 (char *) "self", NULL
15860 };
15861
15862 arg2 = &temp2;
15863 arg3 = &temp3;
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15867 {
15868 PyThreadState* __tstate = wxPyBeginAllowThreads();
15869 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15870
15871 wxPyEndAllowThreads(__tstate);
15872 if (PyErr_Occurred()) SWIG_fail;
15873 }
15874 Py_INCREF(Py_None); resultobj = Py_None;
15875 {
15876 PyObject *o = PyInt_FromLong((long) (*arg2));
15877 resultobj = t_output_helper(resultobj,o);
15878 }
15879 {
15880 PyObject *o = PyInt_FromLong((long) (*arg3));
15881 resultobj = t_output_helper(resultobj,o);
15882 }
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15892 int *arg2 = (int *) 0 ;
15893 int *arg3 = (int *) 0 ;
15894 int temp2 ;
15895 int temp3 ;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self", NULL
15899 };
15900
15901 arg2 = &temp2;
15902 arg3 = &temp3;
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 Py_INCREF(Py_None); resultobj = Py_None;
15914 {
15915 PyObject *o = PyInt_FromLong((long) (*arg2));
15916 resultobj = t_output_helper(resultobj,o);
15917 }
15918 {
15919 PyObject *o = PyInt_FromLong((long) (*arg3));
15920 resultobj = t_output_helper(resultobj,o);
15921 }
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15931 wxSize result;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 {
15948 wxSize * resultptr;
15949 resultptr = new wxSize((wxSize &) result);
15950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15951 }
15952 return resultobj;
15953 fail:
15954 return NULL;
15955 }
15956
15957
15958 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15961 wxSize result;
15962 PyObject * obj0 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "self", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 {
15978 wxSize * resultptr;
15979 resultptr = new wxSize((wxSize &) result);
15980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15981 }
15982 return resultobj;
15983 fail:
15984 return NULL;
15985 }
15986
15987
15988 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15991 PyObject * obj0 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 (arg1)->base_InitDialog();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 Py_INCREF(Py_None); resultobj = Py_None;
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16016 bool result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16025 {
16026 PyThreadState* __tstate = wxPyBeginAllowThreads();
16027 result = (bool)(arg1)->base_TransferDataToWindow();
16028
16029 wxPyEndAllowThreads(__tstate);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 }
16032 {
16033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16034 }
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj;
16043 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16044 bool result;
16045 PyObject * obj0 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16053 {
16054 PyThreadState* __tstate = wxPyBeginAllowThreads();
16055 result = (bool)(arg1)->base_TransferDataFromWindow();
16056
16057 wxPyEndAllowThreads(__tstate);
16058 if (PyErr_Occurred()) SWIG_fail;
16059 }
16060 {
16061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16062 }
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj;
16071 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16072 bool result;
16073 PyObject * obj0 = 0 ;
16074 char *kwnames[] = {
16075 (char *) "self", NULL
16076 };
16077
16078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 result = (bool)(arg1)->base_Validate();
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 {
16089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16090 }
16091 return resultobj;
16092 fail:
16093 return NULL;
16094 }
16095
16096
16097 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16098 PyObject *resultobj;
16099 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16100 bool result;
16101 PyObject * obj0 = 0 ;
16102 char *kwnames[] = {
16103 (char *) "self", NULL
16104 };
16105
16106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16109 {
16110 PyThreadState* __tstate = wxPyBeginAllowThreads();
16111 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16112
16113 wxPyEndAllowThreads(__tstate);
16114 if (PyErr_Occurred()) SWIG_fail;
16115 }
16116 {
16117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16118 }
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16128 bool result;
16129 PyObject * obj0 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 {
16145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16146 }
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16156 wxSize result;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16165 {
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16168
16169 wxPyEndAllowThreads(__tstate);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 }
16172 {
16173 wxSize * resultptr;
16174 resultptr = new wxSize((wxSize &) result);
16175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16176 }
16177 return resultobj;
16178 fail:
16179 return NULL;
16180 }
16181
16182
16183 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16184 PyObject *resultobj;
16185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16186 wxWindow *arg2 = (wxWindow *) 0 ;
16187 PyObject * obj0 = 0 ;
16188 PyObject * obj1 = 0 ;
16189 char *kwnames[] = {
16190 (char *) "self",(char *) "child", NULL
16191 };
16192
16193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 (arg1)->base_AddChild(arg2);
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 Py_INCREF(Py_None); resultobj = Py_None;
16206 return resultobj;
16207 fail:
16208 return NULL;
16209 }
16210
16211
16212 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16213 PyObject *resultobj;
16214 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16215 wxWindow *arg2 = (wxWindow *) 0 ;
16216 PyObject * obj0 = 0 ;
16217 PyObject * obj1 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self",(char *) "child", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 (arg1)->base_RemoveChild(arg2);
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 Py_INCREF(Py_None); resultobj = Py_None;
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16244 bool result;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 result = (bool)(arg1)->base_ShouldInheritColours();
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 {
16261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16262 }
16263 return resultobj;
16264 fail:
16265 return NULL;
16266 }
16267
16268
16269 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16272 wxColour *arg2 = 0 ;
16273 wxColour temp2 ;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self",(char *) "c", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16283 {
16284 arg2 = &temp2;
16285 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16286 }
16287 {
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16290
16291 wxPyEndAllowThreads(__tstate);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
16294 Py_INCREF(Py_None); resultobj = Py_None;
16295 return resultobj;
16296 fail:
16297 return NULL;
16298 }
16299
16300
16301 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
16302 PyObject *obj;
16303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16304 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16305 Py_INCREF(obj);
16306 return Py_BuildValue((char *)"");
16307 }
16308 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxWindow *arg1 = (wxWindow *) 0 ;
16311 int arg2 ;
16312 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16313 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16314 wxSize const &arg4_defvalue = wxDefaultSize ;
16315 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16316 long arg5 = (long) 0 ;
16317 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16318 wxString *arg6 = (wxString *) &arg6_defvalue ;
16319 wxPyScrolledWindow *result;
16320 wxPoint temp3 ;
16321 wxSize temp4 ;
16322 bool temp6 = False ;
16323 PyObject * obj0 = 0 ;
16324 PyObject * obj1 = 0 ;
16325 PyObject * obj2 = 0 ;
16326 PyObject * obj3 = 0 ;
16327 PyObject * obj4 = 0 ;
16328 PyObject * obj5 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16336 arg2 = (int const) SWIG_AsInt(obj1);
16337 if (PyErr_Occurred()) SWIG_fail;
16338 if (obj2) {
16339 {
16340 arg3 = &temp3;
16341 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16342 }
16343 }
16344 if (obj3) {
16345 {
16346 arg4 = &temp4;
16347 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16348 }
16349 }
16350 if (obj4) {
16351 arg5 = (long) SWIG_AsLong(obj4);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 if (obj5) {
16355 {
16356 arg6 = wxString_in_helper(obj5);
16357 if (arg6 == NULL) SWIG_fail;
16358 temp6 = True;
16359 }
16360 }
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16369 {
16370 if (temp6)
16371 delete arg6;
16372 }
16373 return resultobj;
16374 fail:
16375 {
16376 if (temp6)
16377 delete arg6;
16378 }
16379 return NULL;
16380 }
16381
16382
16383 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16384 PyObject *resultobj;
16385 wxPyScrolledWindow *result;
16386 char *kwnames[] = {
16387 NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16399 return resultobj;
16400 fail:
16401 return NULL;
16402 }
16403
16404
16405 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16408 PyObject *arg2 = (PyObject *) 0 ;
16409 PyObject *arg3 = (PyObject *) 0 ;
16410 PyObject * obj0 = 0 ;
16411 PyObject * obj1 = 0 ;
16412 PyObject * obj2 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self",(char *) "self",(char *) "_class", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16420 arg2 = obj1;
16421 arg3 = obj2;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->_setCallbackInfo(arg2,arg3);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 Py_INCREF(Py_None); resultobj = Py_None;
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16439 int arg2 ;
16440 int arg3 ;
16441 int arg4 ;
16442 int arg5 ;
16443 PyObject * obj0 = 0 ;
16444 PyObject * obj1 = 0 ;
16445 PyObject * obj2 = 0 ;
16446 PyObject * obj3 = 0 ;
16447 PyObject * obj4 = 0 ;
16448 char *kwnames[] = {
16449 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16450 };
16451
16452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16455 arg2 = (int) SWIG_AsInt(obj1);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 arg3 = (int) SWIG_AsInt(obj2);
16458 if (PyErr_Occurred()) SWIG_fail;
16459 arg4 = (int) SWIG_AsInt(obj3);
16460 if (PyErr_Occurred()) SWIG_fail;
16461 arg5 = (int) SWIG_AsInt(obj4);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 Py_INCREF(Py_None); resultobj = Py_None;
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj;
16479 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16480 int arg2 ;
16481 int arg3 ;
16482 int arg4 ;
16483 int arg5 ;
16484 int arg6 = (int) wxSIZE_AUTO ;
16485 PyObject * obj0 = 0 ;
16486 PyObject * obj1 = 0 ;
16487 PyObject * obj2 = 0 ;
16488 PyObject * obj3 = 0 ;
16489 PyObject * obj4 = 0 ;
16490 PyObject * obj5 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16498 arg2 = (int) SWIG_AsInt(obj1);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 arg3 = (int) SWIG_AsInt(obj2);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 arg4 = (int) SWIG_AsInt(obj3);
16503 if (PyErr_Occurred()) SWIG_fail;
16504 arg5 = (int) SWIG_AsInt(obj4);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 if (obj5) {
16507 arg6 = (int) SWIG_AsInt(obj5);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 }
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 Py_INCREF(Py_None); resultobj = Py_None;
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16527 int arg2 ;
16528 int arg3 ;
16529 PyObject * obj0 = 0 ;
16530 PyObject * obj1 = 0 ;
16531 PyObject * obj2 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self",(char *) "width",(char *) "height", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16539 arg2 = (int) SWIG_AsInt(obj1);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 arg3 = (int) SWIG_AsInt(obj2);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 (arg1)->base_DoSetClientSize(arg2,arg3);
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 Py_INCREF(Py_None); resultobj = Py_None;
16551 return resultobj;
16552 fail:
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16560 int arg2 ;
16561 int arg3 ;
16562 PyObject * obj0 = 0 ;
16563 PyObject * obj1 = 0 ;
16564 PyObject * obj2 = 0 ;
16565 char *kwnames[] = {
16566 (char *) "self",(char *) "x",(char *) "y", NULL
16567 };
16568
16569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16572 arg2 = (int) SWIG_AsInt(obj1);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 arg3 = (int) SWIG_AsInt(obj2);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 Py_INCREF(Py_None); resultobj = Py_None;
16584 return resultobj;
16585 fail:
16586 return NULL;
16587 }
16588
16589
16590 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16591 PyObject *resultobj;
16592 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16593 int *arg2 = (int *) 0 ;
16594 int *arg3 = (int *) 0 ;
16595 int temp2 ;
16596 int temp3 ;
16597 PyObject * obj0 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self", NULL
16600 };
16601
16602 arg2 = &temp2;
16603 arg3 = &temp3;
16604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 Py_INCREF(Py_None); resultobj = Py_None;
16615 {
16616 PyObject *o = PyInt_FromLong((long) (*arg2));
16617 resultobj = t_output_helper(resultobj,o);
16618 }
16619 {
16620 PyObject *o = PyInt_FromLong((long) (*arg3));
16621 resultobj = t_output_helper(resultobj,o);
16622 }
16623 return resultobj;
16624 fail:
16625 return NULL;
16626 }
16627
16628
16629 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
16630 PyObject *resultobj;
16631 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16632 int *arg2 = (int *) 0 ;
16633 int *arg3 = (int *) 0 ;
16634 int temp2 ;
16635 int temp3 ;
16636 PyObject * obj0 = 0 ;
16637 char *kwnames[] = {
16638 (char *) "self", NULL
16639 };
16640
16641 arg2 = &temp2;
16642 arg3 = &temp3;
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 Py_INCREF(Py_None); resultobj = Py_None;
16654 {
16655 PyObject *o = PyInt_FromLong((long) (*arg2));
16656 resultobj = t_output_helper(resultobj,o);
16657 }
16658 {
16659 PyObject *o = PyInt_FromLong((long) (*arg3));
16660 resultobj = t_output_helper(resultobj,o);
16661 }
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16671 int *arg2 = (int *) 0 ;
16672 int *arg3 = (int *) 0 ;
16673 int temp2 ;
16674 int temp3 ;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self", NULL
16678 };
16679
16680 arg2 = &temp2;
16681 arg3 = &temp3;
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 Py_INCREF(Py_None); resultobj = Py_None;
16693 {
16694 PyObject *o = PyInt_FromLong((long) (*arg2));
16695 resultobj = t_output_helper(resultobj,o);
16696 }
16697 {
16698 PyObject *o = PyInt_FromLong((long) (*arg3));
16699 resultobj = t_output_helper(resultobj,o);
16700 }
16701 return resultobj;
16702 fail:
16703 return NULL;
16704 }
16705
16706
16707 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16710 wxSize result;
16711 PyObject * obj0 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 {
16727 wxSize * resultptr;
16728 resultptr = new wxSize((wxSize &) result);
16729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16730 }
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16740 wxSize result;
16741 PyObject * obj0 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 {
16757 wxSize * resultptr;
16758 resultptr = new wxSize((wxSize &) result);
16759 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16760 }
16761 return resultobj;
16762 fail:
16763 return NULL;
16764 }
16765
16766
16767 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16768 PyObject *resultobj;
16769 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16770 PyObject * obj0 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 (arg1)->base_InitDialog();
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 Py_INCREF(Py_None); resultobj = Py_None;
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16795 bool result;
16796 PyObject * obj0 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (bool)(arg1)->base_TransferDataToWindow();
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 {
16812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16813 }
16814 return resultobj;
16815 fail:
16816 return NULL;
16817 }
16818
16819
16820 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16823 bool result;
16824 PyObject * obj0 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "self", NULL
16827 };
16828
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (bool)(arg1)->base_TransferDataFromWindow();
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 {
16840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16841 }
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj;
16850 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16851 bool result;
16852 PyObject * obj0 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (bool)(arg1)->base_Validate();
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 {
16868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16879 bool result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 {
16896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16897 }
16898 return resultobj;
16899 fail:
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16907 bool result;
16908 PyObject * obj0 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16919
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 {
16924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16925 }
16926 return resultobj;
16927 fail:
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16935 wxSize result;
16936 PyObject * obj0 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
16947
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 {
16952 wxSize * resultptr;
16953 resultptr = new wxSize((wxSize &) result);
16954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16955 }
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj;
16964 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16965 wxWindow *arg2 = (wxWindow *) 0 ;
16966 PyObject * obj0 = 0 ;
16967 PyObject * obj1 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "self",(char *) "child", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16977 {
16978 PyThreadState* __tstate = wxPyBeginAllowThreads();
16979 (arg1)->base_AddChild(arg2);
16980
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 Py_INCREF(Py_None); resultobj = Py_None;
16985 return resultobj;
16986 fail:
16987 return NULL;
16988 }
16989
16990
16991 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16992 PyObject *resultobj;
16993 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16994 wxWindow *arg2 = (wxWindow *) 0 ;
16995 PyObject * obj0 = 0 ;
16996 PyObject * obj1 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self",(char *) "child", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17004 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17006 {
17007 PyThreadState* __tstate = wxPyBeginAllowThreads();
17008 (arg1)->base_RemoveChild(arg2);
17009
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 Py_INCREF(Py_None); resultobj = Py_None;
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17023 bool result;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 result = (bool)(arg1)->base_ShouldInheritColours();
17035
17036 wxPyEndAllowThreads(__tstate);
17037 if (PyErr_Occurred()) SWIG_fail;
17038 }
17039 {
17040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17041 }
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17051 wxColour *arg2 = 0 ;
17052 wxColour temp2 ;
17053 PyObject * obj0 = 0 ;
17054 PyObject * obj1 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self",(char *) "c", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17062 {
17063 arg2 = &temp2;
17064 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17065 }
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 Py_INCREF(Py_None); resultobj = Py_None;
17074 return resultobj;
17075 fail:
17076 return NULL;
17077 }
17078
17079
17080 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
17081 PyObject *obj;
17082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17083 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17084 Py_INCREF(obj);
17085 return Py_BuildValue((char *)"");
17086 }
17087 static int _wrap_PrintoutTitleStr_set(PyObject *) {
17088 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17089 return 1;
17090 }
17091
17092
17093 static PyObject *_wrap_PrintoutTitleStr_get() {
17094 PyObject *pyobj;
17095
17096 {
17097 #if wxUSE_UNICODE
17098 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17099 #else
17100 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17101 #endif
17102 }
17103 return pyobj;
17104 }
17105
17106
17107 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
17108 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17109 return 1;
17110 }
17111
17112
17113 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17114 PyObject *pyobj;
17115
17116 {
17117 #if wxUSE_UNICODE
17118 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17119 #else
17120 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17121 #endif
17122 }
17123 return pyobj;
17124 }
17125
17126
17127 static PyObject *_wrap_new_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxPrintData *result;
17130 char *kwnames[] = {
17131 NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17135 {
17136 PyThreadState* __tstate = wxPyBeginAllowThreads();
17137 result = (wxPrintData *)new wxPrintData();
17138
17139 wxPyEndAllowThreads(__tstate);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17143 return resultobj;
17144 fail:
17145 return NULL;
17146 }
17147
17148
17149 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
17150 PyObject *resultobj;
17151 wxPrintData *arg1 = (wxPrintData *) 0 ;
17152 PyObject * obj0 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 delete arg1;
17163
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 Py_INCREF(Py_None); resultobj = Py_None;
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxPrintData *arg1 = (wxPrintData *) 0 ;
17177 int result;
17178 PyObject * obj0 = 0 ;
17179 char *kwnames[] = {
17180 (char *) "self", NULL
17181 };
17182
17183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (int)(arg1)->GetNoCopies();
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 resultobj = SWIG_FromInt((int)result);
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxPrintData *arg1 = (wxPrintData *) 0 ;
17203 bool result;
17204 PyObject * obj0 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (bool)(arg1)->GetCollate();
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 {
17220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17221 }
17222 return resultobj;
17223 fail:
17224 return NULL;
17225 }
17226
17227
17228 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj;
17230 wxPrintData *arg1 = (wxPrintData *) 0 ;
17231 int result;
17232 PyObject * obj0 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17240 {
17241 PyThreadState* __tstate = wxPyBeginAllowThreads();
17242 result = (int)(arg1)->GetOrientation();
17243
17244 wxPyEndAllowThreads(__tstate);
17245 if (PyErr_Occurred()) SWIG_fail;
17246 }
17247 resultobj = SWIG_FromInt((int)result);
17248 return resultobj;
17249 fail:
17250 return NULL;
17251 }
17252
17253
17254 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxPrintData *arg1 = (wxPrintData *) 0 ;
17257 bool result;
17258 PyObject * obj0 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "self", NULL
17261 };
17262
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (bool)(arg1)->Ok();
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 {
17274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17275 }
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxPrintData *arg1 = (wxPrintData *) 0 ;
17285 wxString *result;
17286 PyObject * obj0 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self", NULL
17289 };
17290
17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 {
17297 wxString const &_result_ref = (arg1)->GetPrinterName();
17298 result = (wxString *) &_result_ref;
17299 }
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 {
17305 #if wxUSE_UNICODE
17306 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17307 #else
17308 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17309 #endif
17310 }
17311 return resultobj;
17312 fail:
17313 return NULL;
17314 }
17315
17316
17317 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
17318 PyObject *resultobj;
17319 wxPrintData *arg1 = (wxPrintData *) 0 ;
17320 bool result;
17321 PyObject * obj0 = 0 ;
17322 char *kwnames[] = {
17323 (char *) "self", NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (bool)(arg1)->GetColour();
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17338 }
17339 return resultobj;
17340 fail:
17341 return NULL;
17342 }
17343
17344
17345 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxPrintData *arg1 = (wxPrintData *) 0 ;
17348 int result;
17349 PyObject * obj0 = 0 ;
17350 char *kwnames[] = {
17351 (char *) "self", NULL
17352 };
17353
17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 result = (int)(arg1)->GetDuplex();
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 resultobj = SWIG_FromInt((int)result);
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxPrintData *arg1 = (wxPrintData *) 0 ;
17374 int result;
17375 PyObject * obj0 = 0 ;
17376 char *kwnames[] = {
17377 (char *) "self", NULL
17378 };
17379
17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (int)(arg1)->GetPaperId();
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 resultobj = SWIG_FromInt((int)result);
17391 return resultobj;
17392 fail:
17393 return NULL;
17394 }
17395
17396
17397 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxPrintData *arg1 = (wxPrintData *) 0 ;
17400 wxSize *result;
17401 PyObject * obj0 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 {
17412 wxSize const &_result_ref = (arg1)->GetPaperSize();
17413 result = (wxSize *) &_result_ref;
17414 }
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17420 return resultobj;
17421 fail:
17422 return NULL;
17423 }
17424
17425
17426 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
17427 PyObject *resultobj;
17428 wxPrintData *arg1 = (wxPrintData *) 0 ;
17429 int result;
17430 PyObject * obj0 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 result = (int)(arg1)->GetQuality();
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 resultobj = SWIG_FromInt((int)result);
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPrintData *arg1 = (wxPrintData *) 0 ;
17455 int arg2 ;
17456 PyObject * obj0 = 0 ;
17457 PyObject * obj1 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self",(char *) "v", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17465 arg2 = (int) SWIG_AsInt(obj1);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->SetNoCopies(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPrintData *arg1 = (wxPrintData *) 0 ;
17484 bool arg2 ;
17485 PyObject * obj0 = 0 ;
17486 PyObject * obj1 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "flag", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17494 arg2 = (bool) SWIG_AsBool(obj1);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 (arg1)->SetCollate(arg2);
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 Py_INCREF(Py_None); resultobj = Py_None;
17504 return resultobj;
17505 fail:
17506 return NULL;
17507 }
17508
17509
17510 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxPrintData *arg1 = (wxPrintData *) 0 ;
17513 int arg2 ;
17514 PyObject * obj0 = 0 ;
17515 PyObject * obj1 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "orient", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17523 arg2 = (int) SWIG_AsInt(obj1);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 (arg1)->SetOrientation(arg2);
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 Py_INCREF(Py_None); resultobj = Py_None;
17533 return resultobj;
17534 fail:
17535 return NULL;
17536 }
17537
17538
17539 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxPrintData *arg1 = (wxPrintData *) 0 ;
17542 wxString *arg2 = 0 ;
17543 bool temp2 = False ;
17544 PyObject * obj0 = 0 ;
17545 PyObject * obj1 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self",(char *) "name", NULL
17548 };
17549
17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17553 {
17554 arg2 = wxString_in_helper(obj1);
17555 if (arg2 == NULL) SWIG_fail;
17556 temp2 = True;
17557 }
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 (arg1)->SetPrinterName((wxString const &)*arg2);
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 Py_INCREF(Py_None); resultobj = Py_None;
17566 {
17567 if (temp2)
17568 delete arg2;
17569 }
17570 return resultobj;
17571 fail:
17572 {
17573 if (temp2)
17574 delete arg2;
17575 }
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxPrintData *arg1 = (wxPrintData *) 0 ;
17583 bool arg2 ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "colour", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17593 arg2 = (bool) SWIG_AsBool(obj1);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 (arg1)->SetColour(arg2);
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 Py_INCREF(Py_None); resultobj = Py_None;
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxPrintData *arg1 = (wxPrintData *) 0 ;
17612 int arg2 ;
17613 PyObject * obj0 = 0 ;
17614 PyObject * obj1 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self",(char *) "duplex", NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17622 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 (arg1)->SetDuplex((wxDuplexMode )arg2);
17627
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 Py_INCREF(Py_None); resultobj = Py_None;
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxPrintData *arg1 = (wxPrintData *) 0 ;
17641 int arg2 ;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 char *kwnames[] = {
17645 (char *) "self",(char *) "sizeId", NULL
17646 };
17647
17648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17651 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SetPaperId((wxPaperSize )arg2);
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 Py_INCREF(Py_None); resultobj = Py_None;
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxPrintData *arg1 = (wxPrintData *) 0 ;
17670 wxSize *arg2 = 0 ;
17671 wxSize temp2 ;
17672 PyObject * obj0 = 0 ;
17673 PyObject * obj1 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self",(char *) "sz", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17681 {
17682 arg2 = &temp2;
17683 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17684 }
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 (arg1)->SetPaperSize((wxSize const &)*arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 Py_INCREF(Py_None); resultobj = Py_None;
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxPrintData *arg1 = (wxPrintData *) 0 ;
17702 int arg2 ;
17703 PyObject * obj0 = 0 ;
17704 PyObject * obj1 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self",(char *) "quality", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17712 arg2 = (int) SWIG_AsInt(obj1);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 (arg1)->SetQuality(arg2);
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 Py_INCREF(Py_None); resultobj = Py_None;
17722 return resultobj;
17723 fail:
17724 return NULL;
17725 }
17726
17727
17728 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxPrintData *arg1 = (wxPrintData *) 0 ;
17731 wxString *result;
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 {
17743 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17744 result = (wxString *) &_result_ref;
17745 }
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 {
17751 #if wxUSE_UNICODE
17752 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17753 #else
17754 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17755 #endif
17756 }
17757 return resultobj;
17758 fail:
17759 return NULL;
17760 }
17761
17762
17763 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxPrintData *arg1 = (wxPrintData *) 0 ;
17766 wxString *result;
17767 PyObject * obj0 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 {
17778 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17779 result = (wxString *) &_result_ref;
17780 }
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 {
17786 #if wxUSE_UNICODE
17787 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17788 #else
17789 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17790 #endif
17791 }
17792 return resultobj;
17793 fail:
17794 return NULL;
17795 }
17796
17797
17798 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
17799 PyObject *resultobj;
17800 wxPrintData *arg1 = (wxPrintData *) 0 ;
17801 wxString *result;
17802 PyObject * obj0 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17810 {
17811 PyThreadState* __tstate = wxPyBeginAllowThreads();
17812 {
17813 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17814 result = (wxString *) &_result_ref;
17815 }
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 {
17821 #if wxUSE_UNICODE
17822 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17823 #else
17824 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17825 #endif
17826 }
17827 return resultobj;
17828 fail:
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxPrintData *arg1 = (wxPrintData *) 0 ;
17836 wxString *result;
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17845 {
17846 PyThreadState* __tstate = wxPyBeginAllowThreads();
17847 {
17848 wxString const &_result_ref = (arg1)->GetFilename();
17849 result = (wxString *) &_result_ref;
17850 }
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 {
17856 #if wxUSE_UNICODE
17857 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17858 #else
17859 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17860 #endif
17861 }
17862 return resultobj;
17863 fail:
17864 return NULL;
17865 }
17866
17867
17868 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPrintData *arg1 = (wxPrintData *) 0 ;
17871 wxString *result;
17872 PyObject * obj0 = 0 ;
17873 char *kwnames[] = {
17874 (char *) "self", NULL
17875 };
17876
17877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 {
17883 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17884 result = (wxString *) &_result_ref;
17885 }
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 {
17891 #if wxUSE_UNICODE
17892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17893 #else
17894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17895 #endif
17896 }
17897 return resultobj;
17898 fail:
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPrintData *arg1 = (wxPrintData *) 0 ;
17906 double result;
17907 PyObject * obj0 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 result = (double)(arg1)->GetPrinterScaleX();
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 resultobj = SWIG_FromDouble((double)result);
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxPrintData *arg1 = (wxPrintData *) 0 ;
17932 double result;
17933 PyObject * obj0 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = (double)(arg1)->GetPrinterScaleY();
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 resultobj = SWIG_FromDouble((double)result);
17949 return resultobj;
17950 fail:
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPrintData *arg1 = (wxPrintData *) 0 ;
17958 long result;
17959 PyObject * obj0 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "self", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (long)(arg1)->GetPrinterTranslateX();
17970
17971 wxPyEndAllowThreads(__tstate);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 resultobj = SWIG_FromLong((long)result);
17975 return resultobj;
17976 fail:
17977 return NULL;
17978 }
17979
17980
17981 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
17982 PyObject *resultobj;
17983 wxPrintData *arg1 = (wxPrintData *) 0 ;
17984 long result;
17985 PyObject * obj0 = 0 ;
17986 char *kwnames[] = {
17987 (char *) "self", NULL
17988 };
17989
17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 result = (long)(arg1)->GetPrinterTranslateY();
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 resultobj = SWIG_FromLong((long)result);
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPrintData *arg1 = (wxPrintData *) 0 ;
18010 int result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 result = (int)(arg1)->GetPrintMode();
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = SWIG_FromInt((int)result);
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxPrintData *arg1 = (wxPrintData *) 0 ;
18036 wxString *arg2 = 0 ;
18037 bool temp2 = False ;
18038 PyObject * obj0 = 0 ;
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "command", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18047 {
18048 arg2 = wxString_in_helper(obj1);
18049 if (arg2 == NULL) SWIG_fail;
18050 temp2 = True;
18051 }
18052 {
18053 PyThreadState* __tstate = wxPyBeginAllowThreads();
18054 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 Py_INCREF(Py_None); resultobj = Py_None;
18060 {
18061 if (temp2)
18062 delete arg2;
18063 }
18064 return resultobj;
18065 fail:
18066 {
18067 if (temp2)
18068 delete arg2;
18069 }
18070 return NULL;
18071 }
18072
18073
18074 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
18075 PyObject *resultobj;
18076 wxPrintData *arg1 = (wxPrintData *) 0 ;
18077 wxString *arg2 = 0 ;
18078 bool temp2 = False ;
18079 PyObject * obj0 = 0 ;
18080 PyObject * obj1 = 0 ;
18081 char *kwnames[] = {
18082 (char *) "self",(char *) "options", NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18088 {
18089 arg2 = wxString_in_helper(obj1);
18090 if (arg2 == NULL) SWIG_fail;
18091 temp2 = True;
18092 }
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 Py_INCREF(Py_None); resultobj = Py_None;
18101 {
18102 if (temp2)
18103 delete arg2;
18104 }
18105 return resultobj;
18106 fail:
18107 {
18108 if (temp2)
18109 delete arg2;
18110 }
18111 return NULL;
18112 }
18113
18114
18115 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
18116 PyObject *resultobj;
18117 wxPrintData *arg1 = (wxPrintData *) 0 ;
18118 wxString *arg2 = 0 ;
18119 bool temp2 = False ;
18120 PyObject * obj0 = 0 ;
18121 PyObject * obj1 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self",(char *) "command", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18129 {
18130 arg2 = wxString_in_helper(obj1);
18131 if (arg2 == NULL) SWIG_fail;
18132 temp2 = True;
18133 }
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 Py_INCREF(Py_None); resultobj = Py_None;
18142 {
18143 if (temp2)
18144 delete arg2;
18145 }
18146 return resultobj;
18147 fail:
18148 {
18149 if (temp2)
18150 delete arg2;
18151 }
18152 return NULL;
18153 }
18154
18155
18156 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
18157 PyObject *resultobj;
18158 wxPrintData *arg1 = (wxPrintData *) 0 ;
18159 wxString *arg2 = 0 ;
18160 bool temp2 = False ;
18161 PyObject * obj0 = 0 ;
18162 PyObject * obj1 = 0 ;
18163 char *kwnames[] = {
18164 (char *) "self",(char *) "filename", NULL
18165 };
18166
18167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18170 {
18171 arg2 = wxString_in_helper(obj1);
18172 if (arg2 == NULL) SWIG_fail;
18173 temp2 = True;
18174 }
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 (arg1)->SetFilename((wxString const &)*arg2);
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 Py_INCREF(Py_None); resultobj = Py_None;
18183 {
18184 if (temp2)
18185 delete arg2;
18186 }
18187 return resultobj;
18188 fail:
18189 {
18190 if (temp2)
18191 delete arg2;
18192 }
18193 return NULL;
18194 }
18195
18196
18197 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 wxPrintData *arg1 = (wxPrintData *) 0 ;
18200 wxString *arg2 = 0 ;
18201 bool temp2 = False ;
18202 PyObject * obj0 = 0 ;
18203 PyObject * obj1 = 0 ;
18204 char *kwnames[] = {
18205 (char *) "self",(char *) "path", NULL
18206 };
18207
18208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18211 {
18212 arg2 = wxString_in_helper(obj1);
18213 if (arg2 == NULL) SWIG_fail;
18214 temp2 = True;
18215 }
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 Py_INCREF(Py_None); resultobj = Py_None;
18224 {
18225 if (temp2)
18226 delete arg2;
18227 }
18228 return resultobj;
18229 fail:
18230 {
18231 if (temp2)
18232 delete arg2;
18233 }
18234 return NULL;
18235 }
18236
18237
18238 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
18239 PyObject *resultobj;
18240 wxPrintData *arg1 = (wxPrintData *) 0 ;
18241 double arg2 ;
18242 PyObject * obj0 = 0 ;
18243 PyObject * obj1 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self",(char *) "x", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 arg2 = (double) SWIG_AsDouble(obj1);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 (arg1)->SetPrinterScaleX(arg2);
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 Py_INCREF(Py_None); resultobj = Py_None;
18261 return resultobj;
18262 fail:
18263 return NULL;
18264 }
18265
18266
18267 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxPrintData *arg1 = (wxPrintData *) 0 ;
18270 double arg2 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "self",(char *) "y", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18280 arg2 = (double) SWIG_AsDouble(obj1);
18281 if (PyErr_Occurred()) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->SetPrinterScaleY(arg2);
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 Py_INCREF(Py_None); resultobj = Py_None;
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPrintData *arg1 = (wxPrintData *) 0 ;
18299 double arg2 ;
18300 double arg3 ;
18301 PyObject * obj0 = 0 ;
18302 PyObject * obj1 = 0 ;
18303 PyObject * obj2 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self",(char *) "x",(char *) "y", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18311 arg2 = (double) SWIG_AsDouble(obj1);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 arg3 = (double) SWIG_AsDouble(obj2);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 (arg1)->SetPrinterScaling(arg2,arg3);
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
18322 Py_INCREF(Py_None); resultobj = Py_None;
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPrintData *arg1 = (wxPrintData *) 0 ;
18332 long arg2 ;
18333 PyObject * obj0 = 0 ;
18334 PyObject * obj1 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self",(char *) "x", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18342 arg2 = (long) SWIG_AsLong(obj1);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->SetPrinterTranslateX(arg2);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPrintData *arg1 = (wxPrintData *) 0 ;
18361 long arg2 ;
18362 PyObject * obj0 = 0 ;
18363 PyObject * obj1 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self",(char *) "y", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18371 arg2 = (long) SWIG_AsLong(obj1);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetPrinterTranslateY(arg2);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPrintData *arg1 = (wxPrintData *) 0 ;
18390 long arg2 ;
18391 long arg3 ;
18392 PyObject * obj0 = 0 ;
18393 PyObject * obj1 = 0 ;
18394 PyObject * obj2 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "x",(char *) "y", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18402 arg2 = (long) SWIG_AsLong(obj1);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 arg3 = (long) SWIG_AsLong(obj2);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 (arg1)->SetPrinterTranslation(arg2,arg3);
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 Py_INCREF(Py_None); resultobj = Py_None;
18414 return resultobj;
18415 fail:
18416 return NULL;
18417 }
18418
18419
18420 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxPrintData *arg1 = (wxPrintData *) 0 ;
18423 int arg2 ;
18424 PyObject * obj0 = 0 ;
18425 PyObject * obj1 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self",(char *) "printMode", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18433 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 {
18436 PyThreadState* __tstate = wxPyBeginAllowThreads();
18437 (arg1)->SetPrintMode((wxPrintMode )arg2);
18438
18439 wxPyEndAllowThreads(__tstate);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 Py_INCREF(Py_None); resultobj = Py_None;
18443 return resultobj;
18444 fail:
18445 return NULL;
18446 }
18447
18448
18449 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
18450 PyObject *resultobj;
18451 wxPrintData *arg1 = (wxPrintData *) 0 ;
18452 wxOutputStream *result;
18453 PyObject * obj0 = 0 ;
18454 char *kwnames[] = {
18455 (char *) "self", NULL
18456 };
18457
18458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = (wxOutputStream *)(arg1)->GetOutputStream();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18469 return resultobj;
18470 fail:
18471 return NULL;
18472 }
18473
18474
18475 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxPrintData *arg1 = (wxPrintData *) 0 ;
18478 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18479 PyObject * obj0 = 0 ;
18480 PyObject * obj1 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self",(char *) "outputstream", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 (arg1)->SetOutputStream(arg2);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 Py_INCREF(Py_None); resultobj = Py_None;
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
18505 PyObject *obj;
18506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18507 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18508 Py_INCREF(obj);
18509 return Py_BuildValue((char *)"");
18510 }
18511 static PyObject *_wrap_new_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPageSetupDialogData *result;
18514 char *kwnames[] = {
18515 NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18527 return resultobj;
18528 fail:
18529 return NULL;
18530 }
18531
18532
18533 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18536 PyObject * obj0 = 0 ;
18537 char *kwnames[] = {
18538 (char *) "self", NULL
18539 };
18540
18541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 delete arg1;
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 Py_INCREF(Py_None); resultobj = Py_None;
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18561 bool arg2 ;
18562 PyObject * obj0 = 0 ;
18563 PyObject * obj1 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self",(char *) "flag", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18571 arg2 = (bool) SWIG_AsBool(obj1);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 {
18574 PyThreadState* __tstate = wxPyBeginAllowThreads();
18575 (arg1)->EnableHelp(arg2);
18576
18577 wxPyEndAllowThreads(__tstate);
18578 if (PyErr_Occurred()) SWIG_fail;
18579 }
18580 Py_INCREF(Py_None); resultobj = Py_None;
18581 return resultobj;
18582 fail:
18583 return NULL;
18584 }
18585
18586
18587 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18588 PyObject *resultobj;
18589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18590 bool arg2 ;
18591 PyObject * obj0 = 0 ;
18592 PyObject * obj1 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self",(char *) "flag", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18600 arg2 = (bool) SWIG_AsBool(obj1);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 (arg1)->EnableMargins(arg2);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18619 bool arg2 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "flag", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18629 arg2 = (bool) SWIG_AsBool(obj1);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->EnableOrientation(arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18648 bool arg2 ;
18649 PyObject * obj0 = 0 ;
18650 PyObject * obj1 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "flag", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18658 arg2 = (bool) SWIG_AsBool(obj1);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->EnablePaper(arg2);
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18677 bool arg2 ;
18678 PyObject * obj0 = 0 ;
18679 PyObject * obj1 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "flag", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18687 arg2 = (bool) SWIG_AsBool(obj1);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 {
18690 PyThreadState* __tstate = wxPyBeginAllowThreads();
18691 (arg1)->EnablePrinter(arg2);
18692
18693 wxPyEndAllowThreads(__tstate);
18694 if (PyErr_Occurred()) SWIG_fail;
18695 }
18696 Py_INCREF(Py_None); resultobj = Py_None;
18697 return resultobj;
18698 fail:
18699 return NULL;
18700 }
18701
18702
18703 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18706 bool result;
18707 PyObject * obj0 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 result = (bool)(arg1)->GetDefaultMinMargins();
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 {
18723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18724 }
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18734 bool result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (bool)(arg1)->GetEnableMargins();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 {
18751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18752 }
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18762 bool result;
18763 PyObject * obj0 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (bool)(arg1)->GetEnableOrientation();
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 {
18779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18780 }
18781 return resultobj;
18782 fail:
18783 return NULL;
18784 }
18785
18786
18787 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
18788 PyObject *resultobj;
18789 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18790 bool result;
18791 PyObject * obj0 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 result = (bool)(arg1)->GetEnablePaper();
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 {
18807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18808 }
18809 return resultobj;
18810 fail:
18811 return NULL;
18812 }
18813
18814
18815 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18818 bool result;
18819 PyObject * obj0 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 result = (bool)(arg1)->GetEnablePrinter();
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 {
18835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18836 }
18837 return resultobj;
18838 fail:
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18846 bool result;
18847 PyObject * obj0 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (bool)(arg1)->GetEnableHelp();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 {
18863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18864 }
18865 return resultobj;
18866 fail:
18867 return NULL;
18868 }
18869
18870
18871 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18872 PyObject *resultobj;
18873 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18874 bool result;
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (bool)(arg1)->GetDefaultInfo();
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18892 }
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18902 wxPoint result;
18903 PyObject * obj0 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (arg1)->GetMarginTopLeft();
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 {
18919 wxPoint * resultptr;
18920 resultptr = new wxPoint((wxPoint &) result);
18921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18922 }
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18932 wxPoint result;
18933 PyObject * obj0 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (arg1)->GetMarginBottomRight();
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
18949 wxPoint * resultptr;
18950 resultptr = new wxPoint((wxPoint &) result);
18951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18952 }
18953 return resultobj;
18954 fail:
18955 return NULL;
18956 }
18957
18958
18959 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
18960 PyObject *resultobj;
18961 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18962 wxPoint result;
18963 PyObject * obj0 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 result = (arg1)->GetMinMarginTopLeft();
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 {
18979 wxPoint * resultptr;
18980 resultptr = new wxPoint((wxPoint &) result);
18981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
18982 }
18983 return resultobj;
18984 fail:
18985 return NULL;
18986 }
18987
18988
18989 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj;
18991 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18992 wxPoint result;
18993 PyObject * obj0 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 result = (arg1)->GetMinMarginBottomRight();
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 {
19009 wxPoint * resultptr;
19010 resultptr = new wxPoint((wxPoint &) result);
19011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19012 }
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19022 int result;
19023 PyObject * obj0 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 result = (int)(arg1)->GetPaperId();
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 resultobj = SWIG_FromInt((int)result);
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19048 wxSize result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (arg1)->GetPaperSize();
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 {
19065 wxSize * resultptr;
19066 resultptr = new wxSize((wxSize &) result);
19067 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19068 }
19069 return resultobj;
19070 fail:
19071 return NULL;
19072 }
19073
19074
19075 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj;
19077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19078 wxPrintData *result;
19079 PyObject * obj0 = 0 ;
19080 char *kwnames[] = {
19081 (char *) "self", NULL
19082 };
19083
19084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 {
19090 wxPrintData &_result_ref = (arg1)->GetPrintData();
19091 result = (wxPrintData *) &_result_ref;
19092 }
19093
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19098 return resultobj;
19099 fail:
19100 return NULL;
19101 }
19102
19103
19104 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj;
19106 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19107 bool result;
19108 PyObject * obj0 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 result = (bool)(arg1)->Ok();
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 {
19124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19125 }
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19133 PyObject *resultobj;
19134 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19135 bool arg2 ;
19136 PyObject * obj0 = 0 ;
19137 PyObject * obj1 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self",(char *) "flag", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19145 arg2 = (bool) SWIG_AsBool(obj1);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 {
19148 PyThreadState* __tstate = wxPyBeginAllowThreads();
19149 (arg1)->SetDefaultInfo(arg2);
19150
19151 wxPyEndAllowThreads(__tstate);
19152 if (PyErr_Occurred()) SWIG_fail;
19153 }
19154 Py_INCREF(Py_None); resultobj = Py_None;
19155 return resultobj;
19156 fail:
19157 return NULL;
19158 }
19159
19160
19161 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
19162 PyObject *resultobj;
19163 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19164 bool arg2 ;
19165 PyObject * obj0 = 0 ;
19166 PyObject * obj1 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self",(char *) "flag", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19174 arg2 = (bool) SWIG_AsBool(obj1);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->SetDefaultMinMargins(arg2);
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19193 wxPoint *arg2 = 0 ;
19194 wxPoint temp2 ;
19195 PyObject * obj0 = 0 ;
19196 PyObject * obj1 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self",(char *) "pt", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19204 {
19205 arg2 = &temp2;
19206 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19207 }
19208 {
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19211
19212 wxPyEndAllowThreads(__tstate);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 Py_INCREF(Py_None); resultobj = Py_None;
19216 return resultobj;
19217 fail:
19218 return NULL;
19219 }
19220
19221
19222 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj;
19224 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19225 wxPoint *arg2 = 0 ;
19226 wxPoint temp2 ;
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "pt", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19236 {
19237 arg2 = &temp2;
19238 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19239 }
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19257 wxPoint *arg2 = 0 ;
19258 wxPoint temp2 ;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "pt", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19268 {
19269 arg2 = &temp2;
19270 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19271 }
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 Py_INCREF(Py_None); resultobj = Py_None;
19280 return resultobj;
19281 fail:
19282 return NULL;
19283 }
19284
19285
19286 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
19287 PyObject *resultobj;
19288 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19289 wxPoint *arg2 = 0 ;
19290 wxPoint temp2 ;
19291 PyObject * obj0 = 0 ;
19292 PyObject * obj1 = 0 ;
19293 char *kwnames[] = {
19294 (char *) "self",(char *) "pt", NULL
19295 };
19296
19297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19300 {
19301 arg2 = &temp2;
19302 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19303 }
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 Py_INCREF(Py_None); resultobj = Py_None;
19312 return resultobj;
19313 fail:
19314 return NULL;
19315 }
19316
19317
19318 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
19319 PyObject *resultobj;
19320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19321 int arg2 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self",(char *) "id", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19331 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 (arg1)->SetPaperId((wxPaperSize )arg2);
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 Py_INCREF(Py_None); resultobj = Py_None;
19341 return resultobj;
19342 fail:
19343 return NULL;
19344 }
19345
19346
19347 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
19348 PyObject *resultobj;
19349 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19350 wxSize *arg2 = 0 ;
19351 wxSize temp2 ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj1 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "size", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19361 {
19362 arg2 = &temp2;
19363 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19364 }
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->SetPaperSize((wxSize const &)*arg2);
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 Py_INCREF(Py_None); resultobj = Py_None;
19373 return resultobj;
19374 fail:
19375 return NULL;
19376 }
19377
19378
19379 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj;
19381 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19382 wxPrintData *arg2 = 0 ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 char *kwnames[] = {
19386 (char *) "self",(char *) "printData", NULL
19387 };
19388
19389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1)
19394 SWIG_fail;
19395 if (arg2 == NULL) {
19396 PyErr_SetString(PyExc_TypeError,"null reference");
19397 SWIG_fail;
19398 }
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 Py_INCREF(Py_None); resultobj = Py_None;
19407 return resultobj;
19408 fail:
19409 return NULL;
19410 }
19411
19412
19413 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
19414 PyObject *obj;
19415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19416 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19417 Py_INCREF(obj);
19418 return Py_BuildValue((char *)"");
19419 }
19420 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxWindow *arg1 = (wxWindow *) 0 ;
19423 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19424 wxPageSetupDialog *result;
19425 PyObject * obj0 = 0 ;
19426 PyObject * obj1 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "parent",(char *) "data", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19434 if (obj1) {
19435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19437 }
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19441
19442 wxPyEndAllowThreads(__tstate);
19443 if (PyErr_Occurred()) SWIG_fail;
19444 }
19445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19455 wxPageSetupDialogData *result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 {
19467 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19468 result = (wxPageSetupDialogData *) &_result_ref;
19469 }
19470
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
19482 PyObject *resultobj;
19483 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19484 int result;
19485 PyObject * obj0 = 0 ;
19486 char *kwnames[] = {
19487 (char *) "self", NULL
19488 };
19489
19490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 result = (int)(arg1)->ShowModal();
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 resultobj = SWIG_FromInt((int)result);
19501 return resultobj;
19502 fail:
19503 return NULL;
19504 }
19505
19506
19507 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
19508 PyObject *obj;
19509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19510 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19511 Py_INCREF(obj);
19512 return Py_BuildValue((char *)"");
19513 }
19514 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
19515 PyObject *resultobj;
19516 wxPrintDialogData *result;
19517
19518 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 result = (wxPrintDialogData *)new wxPrintDialogData();
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19527 return resultobj;
19528 fail:
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
19534 PyObject *resultobj;
19535 wxPrintData *arg1 = 0 ;
19536 wxPrintDialogData *result;
19537 PyObject * obj0 = 0 ;
19538
19539 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19541 SWIG_POINTER_EXCEPTION | 0)) == -1)
19542 SWIG_fail;
19543 if (arg1 == NULL) {
19544 PyErr_SetString(PyExc_TypeError,"null reference");
19545 SWIG_fail;
19546 }
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19550
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19555 return resultobj;
19556 fail:
19557 return NULL;
19558 }
19559
19560
19561 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19562 int argc;
19563 PyObject *argv[2];
19564 int ii;
19565
19566 argc = PyObject_Length(args);
19567 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19568 argv[ii] = PyTuple_GetItem(args,ii);
19569 }
19570 if (argc == 0) {
19571 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19572 }
19573 if (argc == 1) {
19574 int _v;
19575 {
19576 void *ptr;
19577 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19578 _v = 0;
19579 PyErr_Clear();
19580 } else {
19581 _v = 1;
19582 }
19583 }
19584 if (_v) {
19585 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19586 }
19587 }
19588
19589 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19597 PyObject * obj0 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 delete arg1;
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 Py_INCREF(Py_None); resultobj = Py_None;
19613 return resultobj;
19614 fail:
19615 return NULL;
19616 }
19617
19618
19619 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj;
19621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19622 int result;
19623 PyObject * obj0 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19631 {
19632 PyThreadState* __tstate = wxPyBeginAllowThreads();
19633 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19634
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 resultobj = SWIG_FromInt((int)result);
19639 return resultobj;
19640 fail:
19641 return NULL;
19642 }
19643
19644
19645 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj;
19647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19648 int result;
19649 PyObject * obj0 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19660
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 resultobj = SWIG_FromInt((int)result);
19665 return resultobj;
19666 fail:
19667 return NULL;
19668 }
19669
19670
19671 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19674 int result;
19675 PyObject * obj0 = 0 ;
19676 char *kwnames[] = {
19677 (char *) "self", NULL
19678 };
19679
19680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 resultobj = SWIG_FromInt((int)result);
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj;
19699 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19700 int result;
19701 PyObject * obj0 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 resultobj = SWIG_FromInt((int)result);
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19726 int result;
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
19732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
19733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = SWIG_FromInt((int)result);
19743 return resultobj;
19744 fail:
19745 return NULL;
19746 }
19747
19748
19749 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19752 bool result;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 {
19769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19770 }
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19780 bool result;
19781 PyObject * obj0 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 {
19797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19798 }
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19808 bool result;
19809 PyObject * obj0 = 0 ;
19810 char *kwnames[] = {
19811 (char *) "self", NULL
19812 };
19813
19814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19820
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 {
19825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19826 }
19827 return resultobj;
19828 fail:
19829 return NULL;
19830 }
19831
19832
19833 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19836 bool result;
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
19841
19842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19848
19849 wxPyEndAllowThreads(__tstate);
19850 if (PyErr_Occurred()) SWIG_fail;
19851 }
19852 {
19853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19864 bool result;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 {
19881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19882 }
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19892 int arg2 ;
19893 PyObject * obj0 = 0 ;
19894 PyObject * obj1 = 0 ;
19895 char *kwnames[] = {
19896 (char *) "self",(char *) "v", NULL
19897 };
19898
19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
19900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19902 arg2 = (int) SWIG_AsInt(obj1);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 (arg1)->SetFromPage(arg2);
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 Py_INCREF(Py_None); resultobj = Py_None;
19912 return resultobj;
19913 fail:
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19921 int arg2 ;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 char *kwnames[] = {
19925 (char *) "self",(char *) "v", NULL
19926 };
19927
19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
19929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19931 arg2 = (int) SWIG_AsInt(obj1);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 (arg1)->SetToPage(arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 Py_INCREF(Py_None); resultobj = Py_None;
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19950 int arg2 ;
19951 PyObject * obj0 = 0 ;
19952 PyObject * obj1 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self",(char *) "v", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19960 arg2 = (int) SWIG_AsInt(obj1);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 (arg1)->SetMinPage(arg2);
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 Py_INCREF(Py_None); resultobj = Py_None;
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19979 int arg2 ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "v", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 arg2 = (int) SWIG_AsInt(obj1);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 (arg1)->SetMaxPage(arg2);
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 Py_INCREF(Py_None); resultobj = Py_None;
19999 return resultobj;
20000 fail:
20001 return NULL;
20002 }
20003
20004
20005 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20008 int arg2 ;
20009 PyObject * obj0 = 0 ;
20010 PyObject * obj1 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self",(char *) "v", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20018 arg2 = (int) SWIG_AsInt(obj1);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->SetNoCopies(arg2);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031 }
20032
20033
20034 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20037 bool arg2 ;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "flag", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20047 arg2 = (bool) SWIG_AsBool(obj1);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 (arg1)->SetAllPages(arg2);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 Py_INCREF(Py_None); resultobj = Py_None;
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20066 bool arg2 ;
20067 PyObject * obj0 = 0 ;
20068 PyObject * obj1 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "flag", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 arg2 = (bool) SWIG_AsBool(obj1);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetSelection(arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20095 bool arg2 ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "flag", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20105 arg2 = (bool) SWIG_AsBool(obj1);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 (arg1)->SetCollate(arg2);
20110
20111 wxPyEndAllowThreads(__tstate);
20112 if (PyErr_Occurred()) SWIG_fail;
20113 }
20114 Py_INCREF(Py_None); resultobj = Py_None;
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20124 bool arg2 ;
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self",(char *) "flag", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 arg2 = (bool) SWIG_AsBool(obj1);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 {
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 (arg1)->SetPrintToFile(arg2);
20139
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 Py_INCREF(Py_None); resultobj = Py_None;
20144 return resultobj;
20145 fail:
20146 return NULL;
20147 }
20148
20149
20150 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20153 bool arg2 ;
20154 PyObject * obj0 = 0 ;
20155 PyObject * obj1 = 0 ;
20156 char *kwnames[] = {
20157 (char *) "self",(char *) "flag", NULL
20158 };
20159
20160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20163 arg2 = (bool) SWIG_AsBool(obj1);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 (arg1)->SetSetupDialog(arg2);
20168
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 Py_INCREF(Py_None); resultobj = Py_None;
20173 return resultobj;
20174 fail:
20175 return NULL;
20176 }
20177
20178
20179 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20182 bool arg2 ;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "flag", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20192 arg2 = (bool) SWIG_AsBool(obj1);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 (arg1)->EnablePrintToFile(arg2);
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 Py_INCREF(Py_None); resultobj = Py_None;
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20211 bool arg2 ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self",(char *) "flag", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20221 arg2 = (bool) SWIG_AsBool(obj1);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->EnableSelection(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 Py_INCREF(Py_None); resultobj = Py_None;
20231 return resultobj;
20232 fail:
20233 return NULL;
20234 }
20235
20236
20237 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20240 bool arg2 ;
20241 PyObject * obj0 = 0 ;
20242 PyObject * obj1 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self",(char *) "flag", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20250 arg2 = (bool) SWIG_AsBool(obj1);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->EnablePageNumbers(arg2);
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 Py_INCREF(Py_None); resultobj = Py_None;
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20269 bool arg2 ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 char *kwnames[] = {
20273 (char *) "self",(char *) "flag", NULL
20274 };
20275
20276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20279 arg2 = (bool) SWIG_AsBool(obj1);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 (arg1)->EnableHelp(arg2);
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 Py_INCREF(Py_None); resultobj = Py_None;
20289 return resultobj;
20290 fail:
20291 return NULL;
20292 }
20293
20294
20295 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20298 bool result;
20299 PyObject * obj0 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "self", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 {
20315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20316 }
20317 return resultobj;
20318 fail:
20319 return NULL;
20320 }
20321
20322
20323 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj;
20325 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20326 bool result;
20327 PyObject * obj0 = 0 ;
20328 char *kwnames[] = {
20329 (char *) "self", NULL
20330 };
20331
20332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 {
20343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20344 }
20345 return resultobj;
20346 fail:
20347 return NULL;
20348 }
20349
20350
20351 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
20352 PyObject *resultobj;
20353 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20354 bool result;
20355 PyObject * obj0 = 0 ;
20356 char *kwnames[] = {
20357 (char *) "self", NULL
20358 };
20359
20360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 {
20371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20372 }
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20382 bool result;
20383 PyObject * obj0 = 0 ;
20384 char *kwnames[] = {
20385 (char *) "self", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 {
20399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20400 }
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20410 bool result;
20411 PyObject * obj0 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 {
20427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20428 }
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20438 wxPrintData *result;
20439 PyObject * obj0 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 {
20450 wxPrintData &_result_ref = (arg1)->GetPrintData();
20451 result = (wxPrintData *) &_result_ref;
20452 }
20453
20454 wxPyEndAllowThreads(__tstate);
20455 if (PyErr_Occurred()) SWIG_fail;
20456 }
20457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20467 wxPrintData *arg2 = 0 ;
20468 PyObject * obj0 = 0 ;
20469 PyObject * obj1 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self",(char *) "printData", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20478 SWIG_POINTER_EXCEPTION | 0)) == -1)
20479 SWIG_fail;
20480 if (arg2 == NULL) {
20481 PyErr_SetString(PyExc_TypeError,"null reference");
20482 SWIG_fail;
20483 }
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 Py_INCREF(Py_None); resultobj = Py_None;
20492 return resultobj;
20493 fail:
20494 return NULL;
20495 }
20496
20497
20498 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
20499 PyObject *obj;
20500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20501 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20502 Py_INCREF(obj);
20503 return Py_BuildValue((char *)"");
20504 }
20505 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20506 PyObject *resultobj;
20507 wxWindow *arg1 = (wxWindow *) 0 ;
20508 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20509 wxPrintDialog *result;
20510 PyObject * obj0 = 0 ;
20511 PyObject * obj1 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "parent",(char *) "data", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20519 if (obj1) {
20520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20522 }
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20531 return resultobj;
20532 fail:
20533 return NULL;
20534 }
20535
20536
20537 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20538 PyObject *resultobj;
20539 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20540 wxPrintDialogData *result;
20541 PyObject * obj0 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 {
20552 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20553 result = (wxPrintDialogData *) &_result_ref;
20554 }
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20569 wxDC *result;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (wxDC *)(arg1)->GetPrintDC();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 resultobj = wxPyMake_wxObject(result);
20587 }
20588 return resultobj;
20589 fail:
20590 return NULL;
20591 }
20592
20593
20594 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj;
20596 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20597 int result;
20598 PyObject * obj0 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "self", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = (int)(arg1)->ShowModal();
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 resultobj = SWIG_FromInt((int)result);
20614 return resultobj;
20615 fail:
20616 return NULL;
20617 }
20618
20619
20620 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
20621 PyObject *obj;
20622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20623 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20624 Py_INCREF(obj);
20625 return Py_BuildValue((char *)"");
20626 }
20627 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
20628 PyObject *resultobj;
20629 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20630 wxPrinter *result;
20631 PyObject * obj0 = 0 ;
20632 char *kwnames[] = {
20633 (char *) "data", NULL
20634 };
20635
20636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20637 if (obj0) {
20638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20640 }
20641 {
20642 PyThreadState* __tstate = wxPyBeginAllowThreads();
20643 result = (wxPrinter *)new wxPrinter(arg1);
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20649 return resultobj;
20650 fail:
20651 return NULL;
20652 }
20653
20654
20655 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxPrinter *arg1 = (wxPrinter *) 0 ;
20658 PyObject * obj0 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20666 {
20667 PyThreadState* __tstate = wxPyBeginAllowThreads();
20668 delete arg1;
20669
20670 wxPyEndAllowThreads(__tstate);
20671 if (PyErr_Occurred()) SWIG_fail;
20672 }
20673 Py_INCREF(Py_None); resultobj = Py_None;
20674 return resultobj;
20675 fail:
20676 return NULL;
20677 }
20678
20679
20680 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20681 PyObject *resultobj;
20682 wxPrinter *arg1 = (wxPrinter *) 0 ;
20683 wxWindow *arg2 = (wxWindow *) 0 ;
20684 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
20687 PyObject * obj2 = 0 ;
20688 char *kwnames[] = {
20689 (char *) "self",(char *) "parent",(char *) "printout", NULL
20690 };
20691
20692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
20693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20697 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20699 {
20700 PyThreadState* __tstate = wxPyBeginAllowThreads();
20701 (arg1)->CreateAbortWindow(arg2,arg3);
20702
20703 wxPyEndAllowThreads(__tstate);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 }
20706 Py_INCREF(Py_None); resultobj = Py_None;
20707 return resultobj;
20708 fail:
20709 return NULL;
20710 }
20711
20712
20713 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxPrinter *arg1 = (wxPrinter *) 0 ;
20716 wxPrintDialogData *result;
20717 PyObject * obj0 = 0 ;
20718 char *kwnames[] = {
20719 (char *) "self", NULL
20720 };
20721
20722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
20723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 {
20728 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20729 result = (wxPrintDialogData *) &_result_ref;
20730 }
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
20743 PyObject *resultobj;
20744 wxPrinter *arg1 = (wxPrinter *) 0 ;
20745 wxWindow *arg2 = (wxWindow *) 0 ;
20746 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20747 int arg4 = (int) True ;
20748 bool result;
20749 PyObject * obj0 = 0 ;
20750 PyObject * obj1 = 0 ;
20751 PyObject * obj2 = 0 ;
20752 PyObject * obj3 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20762 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20764 if (obj3) {
20765 arg4 = (int) SWIG_AsInt(obj3);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = (bool)(arg1)->Print(arg2,arg3,arg4);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 {
20776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20777 }
20778 return resultobj;
20779 fail:
20780 return NULL;
20781 }
20782
20783
20784 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxPrinter *arg1 = (wxPrinter *) 0 ;
20787 wxWindow *arg2 = (wxWindow *) 0 ;
20788 wxDC *result;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self",(char *) "parent", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 result = (wxDC *)(arg1)->PrintDialog(arg2);
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 {
20808 resultobj = wxPyMake_wxObject(result);
20809 }
20810 return resultobj;
20811 fail:
20812 return NULL;
20813 }
20814
20815
20816 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
20817 PyObject *resultobj;
20818 wxPrinter *arg1 = (wxPrinter *) 0 ;
20819 wxWindow *arg2 = (wxWindow *) 0 ;
20820 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20821 wxString *arg4 = 0 ;
20822 bool temp4 = False ;
20823 PyObject * obj0 = 0 ;
20824 PyObject * obj1 = 0 ;
20825 PyObject * obj2 = 0 ;
20826 PyObject * obj3 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20836 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
20837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20838 {
20839 arg4 = wxString_in_helper(obj3);
20840 if (arg4 == NULL) SWIG_fail;
20841 temp4 = True;
20842 }
20843 {
20844 PyThreadState* __tstate = wxPyBeginAllowThreads();
20845 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20846
20847 wxPyEndAllowThreads(__tstate);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 Py_INCREF(Py_None); resultobj = Py_None;
20851 {
20852 if (temp4)
20853 delete arg4;
20854 }
20855 return resultobj;
20856 fail:
20857 {
20858 if (temp4)
20859 delete arg4;
20860 }
20861 return NULL;
20862 }
20863
20864
20865 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj;
20867 wxPrinter *arg1 = (wxPrinter *) 0 ;
20868 wxWindow *arg2 = (wxWindow *) 0 ;
20869 bool result;
20870 PyObject * obj0 = 0 ;
20871 PyObject * obj1 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "parent", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 result = (bool)(arg1)->Setup(arg2);
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 {
20889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20890 }
20891 return resultobj;
20892 fail:
20893 return NULL;
20894 }
20895
20896
20897 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
20898 PyObject *resultobj;
20899 wxPrinter *arg1 = (wxPrinter *) 0 ;
20900 bool result;
20901 PyObject * obj0 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20909 {
20910 PyThreadState* __tstate = wxPyBeginAllowThreads();
20911 result = (bool)(arg1)->GetAbort();
20912
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 {
20917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20918 }
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 int result;
20928 char *kwnames[] = {
20929 NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = (int)wxPrinter::GetLastError();
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 resultobj = SWIG_FromInt((int)result);
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
20948 PyObject *obj;
20949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20950 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
20951 Py_INCREF(obj);
20952 return Py_BuildValue((char *)"");
20953 }
20954 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
20957 wxString *arg1 = (wxString *) &arg1_defvalue ;
20958 wxPyPrintout *result;
20959 bool temp1 = False ;
20960 PyObject * obj0 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "title", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
20966 if (obj0) {
20967 {
20968 arg1 = wxString_in_helper(obj0);
20969 if (arg1 == NULL) SWIG_fail;
20970 temp1 = True;
20971 }
20972 }
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
20976
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 {
20981 resultobj = wxPyMake_wxObject(result);
20982 }
20983 {
20984 if (temp1)
20985 delete arg1;
20986 }
20987 return resultobj;
20988 fail:
20989 {
20990 if (temp1)
20991 delete arg1;
20992 }
20993 return NULL;
20994 }
20995
20996
20997 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21000 PyObject *arg2 = (PyObject *) 0 ;
21001 PyObject *arg3 = (PyObject *) 0 ;
21002 PyObject * obj0 = 0 ;
21003 PyObject * obj1 = 0 ;
21004 PyObject * obj2 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self",(char *) "self",(char *) "_class", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21012 arg2 = obj1;
21013 arg3 = obj2;
21014 {
21015 PyThreadState* __tstate = wxPyBeginAllowThreads();
21016 (arg1)->_setCallbackInfo(arg2,arg3);
21017
21018 wxPyEndAllowThreads(__tstate);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 Py_INCREF(Py_None); resultobj = Py_None;
21022 return resultobj;
21023 fail:
21024 return NULL;
21025 }
21026
21027
21028 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
21029 PyObject *resultobj;
21030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21031 wxString result;
21032 PyObject * obj0 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = ((wxPyPrintout const *)arg1)->GetTitle();
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 {
21048 #if wxUSE_UNICODE
21049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21050 #else
21051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21052 #endif
21053 }
21054 return resultobj;
21055 fail:
21056 return NULL;
21057 }
21058
21059
21060 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21061 PyObject *resultobj;
21062 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21063 wxDC *result;
21064 PyObject * obj0 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (wxDC *)(arg1)->GetDC();
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 {
21080 resultobj = wxPyMake_wxObject(result);
21081 }
21082 return resultobj;
21083 fail:
21084 return NULL;
21085 }
21086
21087
21088 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21091 wxDC *arg2 = (wxDC *) 0 ;
21092 PyObject * obj0 = 0 ;
21093 PyObject * obj1 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self",(char *) "dc", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21103 {
21104 PyThreadState* __tstate = wxPyBeginAllowThreads();
21105 (arg1)->SetDC(arg2);
21106
21107 wxPyEndAllowThreads(__tstate);
21108 if (PyErr_Occurred()) SWIG_fail;
21109 }
21110 Py_INCREF(Py_None); resultobj = Py_None;
21111 return resultobj;
21112 fail:
21113 return NULL;
21114 }
21115
21116
21117 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21120 int arg2 ;
21121 int arg3 ;
21122 PyObject * obj0 = 0 ;
21123 PyObject * obj1 = 0 ;
21124 PyObject * obj2 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "w",(char *) "h", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 arg2 = (int) SWIG_AsInt(obj1);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 arg3 = (int) SWIG_AsInt(obj2);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 (arg1)->SetPageSizePixels(arg2,arg3);
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 Py_INCREF(Py_None); resultobj = Py_None;
21144 return resultobj;
21145 fail:
21146 return NULL;
21147 }
21148
21149
21150 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
21151 PyObject *resultobj;
21152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21153 int *arg2 = (int *) 0 ;
21154 int *arg3 = (int *) 0 ;
21155 int temp2 ;
21156 int temp3 ;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
21162 arg2 = &temp2;
21163 arg3 = &temp3;
21164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 (arg1)->GetPageSizePixels(arg2,arg3);
21170
21171 wxPyEndAllowThreads(__tstate);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 Py_INCREF(Py_None); resultobj = Py_None;
21175 {
21176 PyObject *o = PyInt_FromLong((long) (*arg2));
21177 resultobj = t_output_helper(resultobj,o);
21178 }
21179 {
21180 PyObject *o = PyInt_FromLong((long) (*arg3));
21181 resultobj = t_output_helper(resultobj,o);
21182 }
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21192 int arg2 ;
21193 int arg3 ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 PyObject * obj2 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self",(char *) "w",(char *) "h", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21204 arg2 = (int) SWIG_AsInt(obj1);
21205 if (PyErr_Occurred()) SWIG_fail;
21206 arg3 = (int) SWIG_AsInt(obj2);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 (arg1)->SetPageSizeMM(arg2,arg3);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 Py_INCREF(Py_None); resultobj = Py_None;
21216 return resultobj;
21217 fail:
21218 return NULL;
21219 }
21220
21221
21222 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj;
21224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21225 int *arg2 = (int *) 0 ;
21226 int *arg3 = (int *) 0 ;
21227 int temp2 ;
21228 int temp3 ;
21229 PyObject * obj0 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self", NULL
21232 };
21233
21234 arg2 = &temp2;
21235 arg3 = &temp3;
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 (arg1)->GetPageSizeMM(arg2,arg3);
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 Py_INCREF(Py_None); resultobj = Py_None;
21247 {
21248 PyObject *o = PyInt_FromLong((long) (*arg2));
21249 resultobj = t_output_helper(resultobj,o);
21250 }
21251 {
21252 PyObject *o = PyInt_FromLong((long) (*arg3));
21253 resultobj = t_output_helper(resultobj,o);
21254 }
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21264 int arg2 ;
21265 int arg3 ;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 PyObject * obj2 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "x",(char *) "y", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21276 arg2 = (int) SWIG_AsInt(obj1);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 arg3 = (int) SWIG_AsInt(obj2);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 (arg1)->SetPPIScreen(arg2,arg3);
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 Py_INCREF(Py_None); resultobj = Py_None;
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21297 int *arg2 = (int *) 0 ;
21298 int *arg3 = (int *) 0 ;
21299 int temp2 ;
21300 int temp3 ;
21301 PyObject * obj0 = 0 ;
21302 char *kwnames[] = {
21303 (char *) "self", NULL
21304 };
21305
21306 arg2 = &temp2;
21307 arg3 = &temp3;
21308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 (arg1)->GetPPIScreen(arg2,arg3);
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 Py_INCREF(Py_None); resultobj = Py_None;
21319 {
21320 PyObject *o = PyInt_FromLong((long) (*arg2));
21321 resultobj = t_output_helper(resultobj,o);
21322 }
21323 {
21324 PyObject *o = PyInt_FromLong((long) (*arg3));
21325 resultobj = t_output_helper(resultobj,o);
21326 }
21327 return resultobj;
21328 fail:
21329 return NULL;
21330 }
21331
21332
21333 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21334 PyObject *resultobj;
21335 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21336 int arg2 ;
21337 int arg3 ;
21338 PyObject * obj0 = 0 ;
21339 PyObject * obj1 = 0 ;
21340 PyObject * obj2 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self",(char *) "x",(char *) "y", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21348 arg2 = (int) SWIG_AsInt(obj1);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 arg3 = (int) SWIG_AsInt(obj2);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 {
21353 PyThreadState* __tstate = wxPyBeginAllowThreads();
21354 (arg1)->SetPPIPrinter(arg2,arg3);
21355
21356 wxPyEndAllowThreads(__tstate);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 Py_INCREF(Py_None); resultobj = Py_None;
21360 return resultobj;
21361 fail:
21362 return NULL;
21363 }
21364
21365
21366 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21367 PyObject *resultobj;
21368 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21369 int *arg2 = (int *) 0 ;
21370 int *arg3 = (int *) 0 ;
21371 int temp2 ;
21372 int temp3 ;
21373 PyObject * obj0 = 0 ;
21374 char *kwnames[] = {
21375 (char *) "self", NULL
21376 };
21377
21378 arg2 = &temp2;
21379 arg3 = &temp3;
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 (arg1)->GetPPIPrinter(arg2,arg3);
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 Py_INCREF(Py_None); resultobj = Py_None;
21391 {
21392 PyObject *o = PyInt_FromLong((long) (*arg2));
21393 resultobj = t_output_helper(resultobj,o);
21394 }
21395 {
21396 PyObject *o = PyInt_FromLong((long) (*arg3));
21397 resultobj = t_output_helper(resultobj,o);
21398 }
21399 return resultobj;
21400 fail:
21401 return NULL;
21402 }
21403
21404
21405 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21408 bool result;
21409 PyObject * obj0 = 0 ;
21410 char *kwnames[] = {
21411 (char *) "self", NULL
21412 };
21413
21414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21417 {
21418 PyThreadState* __tstate = wxPyBeginAllowThreads();
21419 result = (bool)(arg1)->IsPreview();
21420
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 {
21425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21426 }
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21436 bool arg2 ;
21437 PyObject * obj0 = 0 ;
21438 PyObject * obj1 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self",(char *) "p", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21446 arg2 = (bool) SWIG_AsBool(obj1);
21447 if (PyErr_Occurred()) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 (arg1)->SetIsPreview(arg2);
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 Py_INCREF(Py_None); resultobj = Py_None;
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21465 int arg2 ;
21466 int arg3 ;
21467 bool result;
21468 PyObject * obj0 = 0 ;
21469 PyObject * obj1 = 0 ;
21470 PyObject * obj2 = 0 ;
21471 char *kwnames[] = {
21472 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21473 };
21474
21475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21478 arg2 = (int) SWIG_AsInt(obj1);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 arg3 = (int) SWIG_AsInt(obj2);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 {
21490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21491 }
21492 return resultobj;
21493 fail:
21494 return NULL;
21495 }
21496
21497
21498 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21501 PyObject * obj0 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 (arg1)->base_OnEndDocument();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 Py_INCREF(Py_None); resultobj = Py_None;
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21526 PyObject * obj0 = 0 ;
21527 char *kwnames[] = {
21528 (char *) "self", NULL
21529 };
21530
21531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 (arg1)->base_OnBeginPrinting();
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 Py_INCREF(Py_None); resultobj = Py_None;
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21551 PyObject * obj0 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "self", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 (arg1)->base_OnEndPrinting();
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 Py_INCREF(Py_None); resultobj = Py_None;
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21576 PyObject * obj0 = 0 ;
21577 char *kwnames[] = {
21578 (char *) "self", NULL
21579 };
21580
21581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
21586 (arg1)->base_OnPreparePrinting();
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 Py_INCREF(Py_None); resultobj = Py_None;
21592 return resultobj;
21593 fail:
21594 return NULL;
21595 }
21596
21597
21598 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21601 int arg2 ;
21602 bool result;
21603 PyObject * obj0 = 0 ;
21604 PyObject * obj1 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "page", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21612 arg2 = (int) SWIG_AsInt(obj1);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 result = (bool)(arg1)->base_HasPage(arg2);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 {
21622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21623 }
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21633 int *arg2 = (int *) 0 ;
21634 int *arg3 = (int *) 0 ;
21635 int *arg4 = (int *) 0 ;
21636 int *arg5 = (int *) 0 ;
21637 int temp2 ;
21638 int temp3 ;
21639 int temp4 ;
21640 int temp5 ;
21641 PyObject * obj0 = 0 ;
21642 char *kwnames[] = {
21643 (char *) "self", NULL
21644 };
21645
21646 arg2 = &temp2;
21647 arg3 = &temp3;
21648 arg4 = &temp4;
21649 arg5 = &temp5;
21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21656
21657 wxPyEndAllowThreads(__tstate);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 Py_INCREF(Py_None); resultobj = Py_None;
21661 {
21662 PyObject *o = PyInt_FromLong((long) (*arg2));
21663 resultobj = t_output_helper(resultobj,o);
21664 }
21665 {
21666 PyObject *o = PyInt_FromLong((long) (*arg3));
21667 resultobj = t_output_helper(resultobj,o);
21668 }
21669 {
21670 PyObject *o = PyInt_FromLong((long) (*arg4));
21671 resultobj = t_output_helper(resultobj,o);
21672 }
21673 {
21674 PyObject *o = PyInt_FromLong((long) (*arg5));
21675 resultobj = t_output_helper(resultobj,o);
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
21684 PyObject *obj;
21685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21686 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21687 Py_INCREF(obj);
21688 return Py_BuildValue((char *)"");
21689 }
21690 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21691 PyObject *resultobj;
21692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21693 wxWindow *arg2 = (wxWindow *) 0 ;
21694 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21695 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21696 wxSize const &arg4_defvalue = wxDefaultSize ;
21697 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21698 long arg5 = (long) 0 ;
21699 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
21700 wxString *arg6 = (wxString *) &arg6_defvalue ;
21701 wxPreviewCanvas *result;
21702 wxPoint temp3 ;
21703 wxSize temp4 ;
21704 bool temp6 = False ;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 PyObject * obj2 = 0 ;
21708 PyObject * obj3 = 0 ;
21709 PyObject * obj4 = 0 ;
21710 PyObject * obj5 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21720 if (obj2) {
21721 {
21722 arg3 = &temp3;
21723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21724 }
21725 }
21726 if (obj3) {
21727 {
21728 arg4 = &temp4;
21729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21730 }
21731 }
21732 if (obj4) {
21733 arg5 = (long) SWIG_AsLong(obj4);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 if (obj5) {
21737 {
21738 arg6 = wxString_in_helper(obj5);
21739 if (arg6 == NULL) SWIG_fail;
21740 temp6 = True;
21741 }
21742 }
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
21751 {
21752 if (temp6)
21753 delete arg6;
21754 }
21755 return resultobj;
21756 fail:
21757 {
21758 if (temp6)
21759 delete arg6;
21760 }
21761 return NULL;
21762 }
21763
21764
21765 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
21766 PyObject *obj;
21767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21768 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
21769 Py_INCREF(obj);
21770 return Py_BuildValue((char *)"");
21771 }
21772 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21775 wxFrame *arg2 = (wxFrame *) 0 ;
21776 wxString *arg3 = 0 ;
21777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21779 wxSize const &arg5_defvalue = wxDefaultSize ;
21780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21781 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21782 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21783 wxString *arg7 = (wxString *) &arg7_defvalue ;
21784 wxPreviewFrame *result;
21785 bool temp3 = False ;
21786 wxPoint temp4 ;
21787 wxSize temp5 ;
21788 bool temp7 = False ;
21789 PyObject * obj0 = 0 ;
21790 PyObject * obj1 = 0 ;
21791 PyObject * obj2 = 0 ;
21792 PyObject * obj3 = 0 ;
21793 PyObject * obj4 = 0 ;
21794 PyObject * obj5 = 0 ;
21795 PyObject * obj6 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
21802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
21804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21805 {
21806 arg3 = wxString_in_helper(obj2);
21807 if (arg3 == NULL) SWIG_fail;
21808 temp3 = True;
21809 }
21810 if (obj3) {
21811 {
21812 arg4 = &temp4;
21813 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21814 }
21815 }
21816 if (obj4) {
21817 {
21818 arg5 = &temp5;
21819 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21820 }
21821 }
21822 if (obj5) {
21823 arg6 = (long) SWIG_AsLong(obj5);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 if (obj6) {
21827 {
21828 arg7 = wxString_in_helper(obj6);
21829 if (arg7 == NULL) SWIG_fail;
21830 temp7 = True;
21831 }
21832 }
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
21841 {
21842 if (temp3)
21843 delete arg3;
21844 }
21845 {
21846 if (temp7)
21847 delete arg7;
21848 }
21849 return resultobj;
21850 fail:
21851 {
21852 if (temp3)
21853 delete arg3;
21854 }
21855 {
21856 if (temp7)
21857 delete arg7;
21858 }
21859 return NULL;
21860 }
21861
21862
21863 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj;
21865 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21866 PyObject * obj0 = 0 ;
21867 char *kwnames[] = {
21868 (char *) "self", NULL
21869 };
21870
21871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->Initialize();
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21891 PyObject * obj0 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 (arg1)->CreateControlBar();
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 Py_INCREF(Py_None); resultobj = Py_None;
21907 return resultobj;
21908 fail:
21909 return NULL;
21910 }
21911
21912
21913 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21916 PyObject * obj0 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 (arg1)->CreateCanvas();
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 Py_INCREF(Py_None); resultobj = Py_None;
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21939 PyObject *resultobj;
21940 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21941 wxPreviewControlBar *result;
21942 PyObject * obj0 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
21948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
21949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
21965 PyObject *obj;
21966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21967 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
21968 Py_INCREF(obj);
21969 return Py_BuildValue((char *)"");
21970 }
21971 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj;
21973 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21974 long arg2 ;
21975 wxWindow *arg3 = (wxWindow *) 0 ;
21976 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21977 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21978 wxSize const &arg5_defvalue = wxDefaultSize ;
21979 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21980 long arg6 = (long) wxTAB_TRAVERSAL ;
21981 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21982 wxString *arg7 = (wxString *) &arg7_defvalue ;
21983 wxPreviewControlBar *result;
21984 wxPoint temp4 ;
21985 wxSize temp5 ;
21986 bool temp7 = False ;
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 PyObject * obj2 = 0 ;
21990 PyObject * obj3 = 0 ;
21991 PyObject * obj4 = 0 ;
21992 PyObject * obj5 = 0 ;
21993 PyObject * obj6 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22001 arg2 = (long) SWIG_AsLong(obj1);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 if (obj3) {
22006 {
22007 arg4 = &temp4;
22008 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22009 }
22010 }
22011 if (obj4) {
22012 {
22013 arg5 = &temp5;
22014 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22015 }
22016 }
22017 if (obj5) {
22018 arg6 = (long) SWIG_AsLong(obj5);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 if (obj6) {
22022 {
22023 arg7 = wxString_in_helper(obj6);
22024 if (arg7 == NULL) SWIG_fail;
22025 temp7 = True;
22026 }
22027 }
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22036 {
22037 if (temp7)
22038 delete arg7;
22039 }
22040 return resultobj;
22041 fail:
22042 {
22043 if (temp7)
22044 delete arg7;
22045 }
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22053 int result;
22054 PyObject * obj0 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 result = (int)(arg1)->GetZoomControl();
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 resultobj = SWIG_FromInt((int)result);
22070 return resultobj;
22071 fail:
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22079 int arg2 ;
22080 PyObject * obj0 = 0 ;
22081 PyObject * obj1 = 0 ;
22082 char *kwnames[] = {
22083 (char *) "self",(char *) "zoom", NULL
22084 };
22085
22086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22089 arg2 = (int) SWIG_AsInt(obj1);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 (arg1)->SetZoomControl(arg2);
22094
22095 wxPyEndAllowThreads(__tstate);
22096 if (PyErr_Occurred()) SWIG_fail;
22097 }
22098 Py_INCREF(Py_None); resultobj = Py_None;
22099 return resultobj;
22100 fail:
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22108 wxPrintPreview *result;
22109 PyObject * obj0 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22125 return resultobj;
22126 fail:
22127 return NULL;
22128 }
22129
22130
22131 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
22132 PyObject *resultobj;
22133 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22134 PyObject * obj0 = 0 ;
22135 char *kwnames[] = {
22136 (char *) "self", NULL
22137 };
22138
22139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 (arg1)->OnNext();
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 Py_INCREF(Py_None); resultobj = Py_None;
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22159 PyObject * obj0 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 (arg1)->OnPrevious();
22170
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 Py_INCREF(Py_None); resultobj = Py_None;
22175 return resultobj;
22176 fail:
22177 return NULL;
22178 }
22179
22180
22181 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
22182 PyObject *resultobj;
22183 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22184 PyObject * obj0 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 (arg1)->OnFirst();
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 Py_INCREF(Py_None); resultobj = Py_None;
22200 return resultobj;
22201 fail:
22202 return NULL;
22203 }
22204
22205
22206 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 (arg1)->OnLast();
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 Py_INCREF(Py_None); resultobj = Py_None;
22225 return resultobj;
22226 fail:
22227 return NULL;
22228 }
22229
22230
22231 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj;
22233 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22234 PyObject * obj0 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 (arg1)->OnGoto();
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 Py_INCREF(Py_None); resultobj = Py_None;
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
22257 PyObject *obj;
22258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22259 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22260 Py_INCREF(obj);
22261 return Py_BuildValue((char *)"");
22262 }
22263 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
22264 PyObject *resultobj;
22265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22266 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22267 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22268 wxPrintPreview *result;
22269 PyObject * obj0 = 0 ;
22270 PyObject * obj1 = 0 ;
22271 PyObject * obj2 = 0 ;
22272
22273 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22278 if (obj2) {
22279 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22281 }
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
22297 PyObject *resultobj;
22298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22299 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22300 wxPrintData *arg3 = (wxPrintData *) 0 ;
22301 wxPrintPreview *result;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 PyObject * obj2 = 0 ;
22305
22306 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22311 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22321 return resultobj;
22322 fail:
22323 return NULL;
22324 }
22325
22326
22327 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22328 int argc;
22329 PyObject *argv[4];
22330 int ii;
22331
22332 argc = PyObject_Length(args);
22333 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22334 argv[ii] = PyTuple_GetItem(args,ii);
22335 }
22336 if ((argc >= 2) && (argc <= 3)) {
22337 int _v;
22338 {
22339 void *ptr;
22340 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22341 _v = 0;
22342 PyErr_Clear();
22343 } else {
22344 _v = 1;
22345 }
22346 }
22347 if (_v) {
22348 {
22349 void *ptr;
22350 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22351 _v = 0;
22352 PyErr_Clear();
22353 } else {
22354 _v = 1;
22355 }
22356 }
22357 if (_v) {
22358 if (argc <= 2) {
22359 return _wrap_new_PrintPreview__SWIG_0(self,args);
22360 }
22361 {
22362 void *ptr;
22363 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22364 _v = 0;
22365 PyErr_Clear();
22366 } else {
22367 _v = 1;
22368 }
22369 }
22370 if (_v) {
22371 return _wrap_new_PrintPreview__SWIG_0(self,args);
22372 }
22373 }
22374 }
22375 }
22376 if (argc == 3) {
22377 int _v;
22378 {
22379 void *ptr;
22380 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22381 _v = 0;
22382 PyErr_Clear();
22383 } else {
22384 _v = 1;
22385 }
22386 }
22387 if (_v) {
22388 {
22389 void *ptr;
22390 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22391 _v = 0;
22392 PyErr_Clear();
22393 } else {
22394 _v = 1;
22395 }
22396 }
22397 if (_v) {
22398 {
22399 void *ptr;
22400 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22401 _v = 0;
22402 PyErr_Clear();
22403 } else {
22404 _v = 1;
22405 }
22406 }
22407 if (_v) {
22408 return _wrap_new_PrintPreview__SWIG_1(self,args);
22409 }
22410 }
22411 }
22412 }
22413
22414 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22415 return NULL;
22416 }
22417
22418
22419 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj;
22421 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22422 int arg2 ;
22423 bool result;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "pageNum", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22433 arg2 = (int) SWIG_AsInt(obj1);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 result = (bool)(arg1)->SetCurrentPage(arg2);
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 {
22443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22444 }
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22454 int result;
22455 PyObject * obj0 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 result = (int)(arg1)->GetCurrentPage();
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 resultobj = SWIG_FromInt((int)result);
22471 return resultobj;
22472 fail:
22473 return NULL;
22474 }
22475
22476
22477 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22480 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22481 PyObject * obj0 = 0 ;
22482 PyObject * obj1 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self",(char *) "printout", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 (arg1)->SetPrintout(arg2);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 Py_INCREF(Py_None); resultobj = Py_None;
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22509 wxPyPrintout *result;
22510 PyObject * obj0 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (wxPyPrintout *)(arg1)->GetPrintout();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 resultobj = wxPyMake_wxObject(result);
22527 }
22528 return resultobj;
22529 fail:
22530 return NULL;
22531 }
22532
22533
22534 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22537 wxPyPrintout *result;
22538 PyObject * obj0 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 resultobj = wxPyMake_wxObject(result);
22555 }
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22565 wxFrame *arg2 = (wxFrame *) 0 ;
22566 PyObject * obj0 = 0 ;
22567 PyObject * obj1 = 0 ;
22568 char *kwnames[] = {
22569 (char *) "self",(char *) "frame", NULL
22570 };
22571
22572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 (arg1)->SetFrame(arg2);
22580
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 Py_INCREF(Py_None); resultobj = Py_None;
22585 return resultobj;
22586 fail:
22587 return NULL;
22588 }
22589
22590
22591 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22592 PyObject *resultobj;
22593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22594 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22595 PyObject * obj0 = 0 ;
22596 PyObject * obj1 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "self",(char *) "canvas", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 (arg1)->SetCanvas(arg2);
22609
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 Py_INCREF(Py_None); resultobj = Py_None;
22614 return resultobj;
22615 fail:
22616 return NULL;
22617 }
22618
22619
22620 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
22621 PyObject *resultobj;
22622 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22623 wxFrame *result;
22624 PyObject * obj0 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = (wxFrame *)(arg1)->GetFrame();
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 {
22640 resultobj = wxPyMake_wxObject(result);
22641 }
22642 return resultobj;
22643 fail:
22644 return NULL;
22645 }
22646
22647
22648 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
22649 PyObject *resultobj;
22650 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22651 wxPreviewCanvas *result;
22652 PyObject * obj0 = 0 ;
22653 char *kwnames[] = {
22654 (char *) "self", NULL
22655 };
22656
22657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22663
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
22675 PyObject *resultobj;
22676 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22677 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22678 wxDC *arg3 = 0 ;
22679 bool result;
22680 PyObject * obj0 = 0 ;
22681 PyObject * obj1 = 0 ;
22682 PyObject * obj2 = 0 ;
22683 char *kwnames[] = {
22684 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22685 };
22686
22687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22692 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22693 SWIG_POINTER_EXCEPTION | 0)) == -1)
22694 SWIG_fail;
22695 if (arg3 == NULL) {
22696 PyErr_SetString(PyExc_TypeError,"null reference");
22697 SWIG_fail;
22698 }
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 result = (bool)(arg1)->PaintPage(arg2,*arg3);
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 {
22707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22708 }
22709 return resultobj;
22710 fail:
22711 return NULL;
22712 }
22713
22714
22715 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
22716 PyObject *resultobj;
22717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22718 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22719 wxDC *arg3 = 0 ;
22720 bool result;
22721 PyObject * obj0 = 0 ;
22722 PyObject * obj1 = 0 ;
22723 PyObject * obj2 = 0 ;
22724 char *kwnames[] = {
22725 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22726 };
22727
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22733 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
22734 SWIG_POINTER_EXCEPTION | 0)) == -1)
22735 SWIG_fail;
22736 if (arg3 == NULL) {
22737 PyErr_SetString(PyExc_TypeError,"null reference");
22738 SWIG_fail;
22739 }
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 {
22748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22749 }
22750 return resultobj;
22751 fail:
22752 return NULL;
22753 }
22754
22755
22756 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
22757 PyObject *resultobj;
22758 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22759 int arg2 ;
22760 bool result;
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self",(char *) "pageNum", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
22768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22770 arg2 = (int) SWIG_AsInt(obj1);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = (bool)(arg1)->RenderPage(arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 {
22780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22781 }
22782 return resultobj;
22783 fail:
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22791 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self",(char *) "canvas", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 (arg1)->AdjustScrollbars(arg2);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 Py_INCREF(Py_None); resultobj = Py_None;
22811 return resultobj;
22812 fail:
22813 return NULL;
22814 }
22815
22816
22817 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj;
22819 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22820 wxPrintDialogData *result;
22821 PyObject * obj0 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "self", NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
22827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 {
22832 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
22833 result = (wxPrintDialogData *) &_result_ref;
22834 }
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22849 int arg2 ;
22850 PyObject * obj0 = 0 ;
22851 PyObject * obj1 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self",(char *) "percent", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22859 arg2 = (int) SWIG_AsInt(obj1);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 (arg1)->SetZoom(arg2);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872 }
22873
22874
22875 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22878 int result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 result = (int)(arg1)->GetZoom();
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 resultobj = SWIG_FromInt((int)result);
22895 return resultobj;
22896 fail:
22897 return NULL;
22898 }
22899
22900
22901 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
22902 PyObject *resultobj;
22903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22904 int result;
22905 PyObject * obj0 = 0 ;
22906 char *kwnames[] = {
22907 (char *) "self", NULL
22908 };
22909
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
22911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22913 {
22914 PyThreadState* __tstate = wxPyBeginAllowThreads();
22915 result = (int)(arg1)->GetMaxPage();
22916
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 resultobj = SWIG_FromInt((int)result);
22921 return resultobj;
22922 fail:
22923 return NULL;
22924 }
22925
22926
22927 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
22928 PyObject *resultobj;
22929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22930 int result;
22931 PyObject * obj0 = 0 ;
22932 char *kwnames[] = {
22933 (char *) "self", NULL
22934 };
22935
22936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
22937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22939 {
22940 PyThreadState* __tstate = wxPyBeginAllowThreads();
22941 result = (int)(arg1)->GetMinPage();
22942
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 resultobj = SWIG_FromInt((int)result);
22947 return resultobj;
22948 fail:
22949 return NULL;
22950 }
22951
22952
22953 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22956 bool result;
22957 PyObject * obj0 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (bool)(arg1)->Ok();
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 {
22973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22974 }
22975 return resultobj;
22976 fail:
22977 return NULL;
22978 }
22979
22980
22981 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
22982 PyObject *resultobj;
22983 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22984 bool arg2 ;
22985 PyObject * obj0 = 0 ;
22986 PyObject * obj1 = 0 ;
22987 char *kwnames[] = {
22988 (char *) "self",(char *) "ok", NULL
22989 };
22990
22991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
22992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22994 arg2 = (bool) SWIG_AsBool(obj1);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 (arg1)->SetOk(arg2);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 Py_INCREF(Py_None); resultobj = Py_None;
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23013 bool arg2 ;
23014 bool result;
23015 PyObject * obj0 = 0 ;
23016 PyObject * obj1 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self",(char *) "interactive", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23024 arg2 = (bool) SWIG_AsBool(obj1);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 result = (bool)(arg1)->Print(arg2);
23029
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 {
23034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23035 }
23036 return resultobj;
23037 fail:
23038 return NULL;
23039 }
23040
23041
23042 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23043 PyObject *resultobj;
23044 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23045 PyObject * obj0 = 0 ;
23046 char *kwnames[] = {
23047 (char *) "self", NULL
23048 };
23049
23050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 (arg1)->DetermineScaling();
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 Py_INCREF(Py_None); resultobj = Py_None;
23061 return resultobj;
23062 fail:
23063 return NULL;
23064 }
23065
23066
23067 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
23068 PyObject *obj;
23069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23070 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23071 Py_INCREF(obj);
23072 return Py_BuildValue((char *)"");
23073 }
23074 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
23075 PyObject *resultobj;
23076 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23077 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23078 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23079 wxPyPrintPreview *result;
23080 PyObject * obj0 = 0 ;
23081 PyObject * obj1 = 0 ;
23082 PyObject * obj2 = 0 ;
23083
23084 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23087 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23089 if (obj2) {
23090 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 }
23093 {
23094 PyThreadState* __tstate = wxPyBeginAllowThreads();
23095 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23096
23097 wxPyEndAllowThreads(__tstate);
23098 if (PyErr_Occurred()) SWIG_fail;
23099 }
23100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23101 return resultobj;
23102 fail:
23103 return NULL;
23104 }
23105
23106
23107 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
23108 PyObject *resultobj;
23109 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23110 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23111 wxPrintData *arg3 = (wxPrintData *) 0 ;
23112 wxPyPrintPreview *result;
23113 PyObject * obj0 = 0 ;
23114 PyObject * obj1 = 0 ;
23115 PyObject * obj2 = 0 ;
23116
23117 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23122 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23132 return resultobj;
23133 fail:
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23139 int argc;
23140 PyObject *argv[4];
23141 int ii;
23142
23143 argc = PyObject_Length(args);
23144 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23145 argv[ii] = PyTuple_GetItem(args,ii);
23146 }
23147 if ((argc >= 2) && (argc <= 3)) {
23148 int _v;
23149 {
23150 void *ptr;
23151 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23152 _v = 0;
23153 PyErr_Clear();
23154 } else {
23155 _v = 1;
23156 }
23157 }
23158 if (_v) {
23159 {
23160 void *ptr;
23161 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23162 _v = 0;
23163 PyErr_Clear();
23164 } else {
23165 _v = 1;
23166 }
23167 }
23168 if (_v) {
23169 if (argc <= 2) {
23170 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23171 }
23172 {
23173 void *ptr;
23174 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23175 _v = 0;
23176 PyErr_Clear();
23177 } else {
23178 _v = 1;
23179 }
23180 }
23181 if (_v) {
23182 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23183 }
23184 }
23185 }
23186 }
23187 if (argc == 3) {
23188 int _v;
23189 {
23190 void *ptr;
23191 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23192 _v = 0;
23193 PyErr_Clear();
23194 } else {
23195 _v = 1;
23196 }
23197 }
23198 if (_v) {
23199 {
23200 void *ptr;
23201 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23202 _v = 0;
23203 PyErr_Clear();
23204 } else {
23205 _v = 1;
23206 }
23207 }
23208 if (_v) {
23209 {
23210 void *ptr;
23211 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23212 _v = 0;
23213 PyErr_Clear();
23214 } else {
23215 _v = 1;
23216 }
23217 }
23218 if (_v) {
23219 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23220 }
23221 }
23222 }
23223 }
23224
23225 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23226 return NULL;
23227 }
23228
23229
23230 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23233 PyObject *arg2 = (PyObject *) 0 ;
23234 PyObject *arg3 = (PyObject *) 0 ;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237 PyObject * obj2 = 0 ;
23238 char *kwnames[] = {
23239 (char *) "self",(char *) "self",(char *) "_class", NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23245 arg2 = obj1;
23246 arg3 = obj2;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 (arg1)->_setCallbackInfo(arg2,arg3);
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 Py_INCREF(Py_None); resultobj = Py_None;
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23264 int arg2 ;
23265 bool result;
23266 PyObject * obj0 = 0 ;
23267 PyObject * obj1 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self",(char *) "pageNum", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 arg2 = (int) SWIG_AsInt(obj1);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23280
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 {
23285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23286 }
23287 return resultobj;
23288 fail:
23289 return NULL;
23290 }
23291
23292
23293 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
23294 PyObject *resultobj;
23295 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23296 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23297 wxDC *arg3 = 0 ;
23298 bool result;
23299 PyObject * obj0 = 0 ;
23300 PyObject * obj1 = 0 ;
23301 PyObject * obj2 = 0 ;
23302 char *kwnames[] = {
23303 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23304 };
23305
23306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23311 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1)
23313 SWIG_fail;
23314 if (arg3 == NULL) {
23315 PyErr_SetString(PyExc_TypeError,"null reference");
23316 SWIG_fail;
23317 }
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 {
23326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23327 }
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23337 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23338 wxDC *arg3 = 0 ;
23339 bool result;
23340 PyObject * obj0 = 0 ;
23341 PyObject * obj1 = 0 ;
23342 PyObject * obj2 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23352 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23353 SWIG_POINTER_EXCEPTION | 0)) == -1)
23354 SWIG_fail;
23355 if (arg3 == NULL) {
23356 PyErr_SetString(PyExc_TypeError,"null reference");
23357 SWIG_fail;
23358 }
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23362
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
23366 {
23367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23368 }
23369 return resultobj;
23370 fail:
23371 return NULL;
23372 }
23373
23374
23375 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
23376 PyObject *resultobj;
23377 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23378 int arg2 ;
23379 bool result;
23380 PyObject * obj0 = 0 ;
23381 PyObject * obj1 = 0 ;
23382 char *kwnames[] = {
23383 (char *) "self",(char *) "pageNum", NULL
23384 };
23385
23386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23389 arg2 = (int) SWIG_AsInt(obj1);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 result = (bool)(arg1)->base_RenderPage(arg2);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 {
23399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23400 }
23401 return resultobj;
23402 fail:
23403 return NULL;
23404 }
23405
23406
23407 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23410 int arg2 ;
23411 PyObject * obj0 = 0 ;
23412 PyObject * obj1 = 0 ;
23413 char *kwnames[] = {
23414 (char *) "self",(char *) "percent", NULL
23415 };
23416
23417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23420 arg2 = (int) SWIG_AsInt(obj1);
23421 if (PyErr_Occurred()) SWIG_fail;
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 (arg1)->base_SetZoom(arg2);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 Py_INCREF(Py_None); resultobj = Py_None;
23430 return resultobj;
23431 fail:
23432 return NULL;
23433 }
23434
23435
23436 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
23437 PyObject *resultobj;
23438 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23439 bool arg2 ;
23440 bool result;
23441 PyObject * obj0 = 0 ;
23442 PyObject * obj1 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self",(char *) "interactive", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23450 arg2 = (bool) SWIG_AsBool(obj1);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 {
23453 PyThreadState* __tstate = wxPyBeginAllowThreads();
23454 result = (bool)(arg1)->base_Print(arg2);
23455
23456 wxPyEndAllowThreads(__tstate);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23461 }
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23471 PyObject * obj0 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 (arg1)->base_DetermineScaling();
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 Py_INCREF(Py_None); resultobj = Py_None;
23487 return resultobj;
23488 fail:
23489 return NULL;
23490 }
23491
23492
23493 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
23494 PyObject *obj;
23495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23496 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23497 Py_INCREF(obj);
23498 return Py_BuildValue((char *)"");
23499 }
23500 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23503 wxFrame *arg2 = (wxFrame *) 0 ;
23504 wxString *arg3 = 0 ;
23505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23507 wxSize const &arg5_defvalue = wxDefaultSize ;
23508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23509 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23510 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23511 wxString *arg7 = (wxString *) &arg7_defvalue ;
23512 wxPyPreviewFrame *result;
23513 bool temp3 = False ;
23514 wxPoint temp4 ;
23515 wxSize temp5 ;
23516 bool temp7 = False ;
23517 PyObject * obj0 = 0 ;
23518 PyObject * obj1 = 0 ;
23519 PyObject * obj2 = 0 ;
23520 PyObject * obj3 = 0 ;
23521 PyObject * obj4 = 0 ;
23522 PyObject * obj5 = 0 ;
23523 PyObject * obj6 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23533 {
23534 arg3 = wxString_in_helper(obj2);
23535 if (arg3 == NULL) SWIG_fail;
23536 temp3 = True;
23537 }
23538 if (obj3) {
23539 {
23540 arg4 = &temp4;
23541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23542 }
23543 }
23544 if (obj4) {
23545 {
23546 arg5 = &temp5;
23547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23548 }
23549 }
23550 if (obj5) {
23551 arg6 = (long) SWIG_AsLong(obj5);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 if (obj6) {
23555 {
23556 arg7 = wxString_in_helper(obj6);
23557 if (arg7 == NULL) SWIG_fail;
23558 temp7 = True;
23559 }
23560 }
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23564
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23569 {
23570 if (temp3)
23571 delete arg3;
23572 }
23573 {
23574 if (temp7)
23575 delete arg7;
23576 }
23577 return resultobj;
23578 fail:
23579 {
23580 if (temp3)
23581 delete arg3;
23582 }
23583 {
23584 if (temp7)
23585 delete arg7;
23586 }
23587 return NULL;
23588 }
23589
23590
23591 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj;
23593 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23594 PyObject *arg2 = (PyObject *) 0 ;
23595 PyObject *arg3 = (PyObject *) 0 ;
23596 PyObject * obj0 = 0 ;
23597 PyObject * obj1 = 0 ;
23598 PyObject * obj2 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self",(char *) "self",(char *) "_class", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23606 arg2 = obj1;
23607 arg3 = obj2;
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->_setCallbackInfo(arg2,arg3);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23625 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "canvas", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->SetPreviewCanvas(arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 Py_INCREF(Py_None); resultobj = Py_None;
23645 return resultobj;
23646 fail:
23647 return NULL;
23648 }
23649
23650
23651 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23654 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "bar", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->SetControlBar(arg2);
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 Py_INCREF(Py_None); resultobj = Py_None;
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23683 PyObject * obj0 = 0 ;
23684 char *kwnames[] = {
23685 (char *) "self", NULL
23686 };
23687
23688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23691 {
23692 PyThreadState* __tstate = wxPyBeginAllowThreads();
23693 (arg1)->base_Initialize();
23694
23695 wxPyEndAllowThreads(__tstate);
23696 if (PyErr_Occurred()) SWIG_fail;
23697 }
23698 Py_INCREF(Py_None); resultobj = Py_None;
23699 return resultobj;
23700 fail:
23701 return NULL;
23702 }
23703
23704
23705 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23708 PyObject * obj0 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
23714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 (arg1)->base_CreateCanvas();
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 Py_INCREF(Py_None); resultobj = Py_None;
23724 return resultobj;
23725 fail:
23726 return NULL;
23727 }
23728
23729
23730 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23733 PyObject * obj0 = 0 ;
23734 char *kwnames[] = {
23735 (char *) "self", NULL
23736 };
23737
23738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
23739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23741 {
23742 PyThreadState* __tstate = wxPyBeginAllowThreads();
23743 (arg1)->base_CreateControlBar();
23744
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 Py_INCREF(Py_None); resultobj = Py_None;
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
23756 PyObject *obj;
23757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23758 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
23759 Py_INCREF(obj);
23760 return Py_BuildValue((char *)"");
23761 }
23762 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
23763 PyObject *resultobj;
23764 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23765 long arg2 ;
23766 wxWindow *arg3 = (wxWindow *) 0 ;
23767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23769 wxSize const &arg5_defvalue = wxDefaultSize ;
23770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23771 long arg6 = (long) 0 ;
23772 wxString const &arg7_defvalue = wxPyPanelNameStr ;
23773 wxString *arg7 = (wxString *) &arg7_defvalue ;
23774 wxPyPreviewControlBar *result;
23775 wxPoint temp4 ;
23776 wxSize temp5 ;
23777 bool temp7 = False ;
23778 PyObject * obj0 = 0 ;
23779 PyObject * obj1 = 0 ;
23780 PyObject * obj2 = 0 ;
23781 PyObject * obj3 = 0 ;
23782 PyObject * obj4 = 0 ;
23783 PyObject * obj5 = 0 ;
23784 PyObject * obj6 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23792 arg2 = (long) SWIG_AsLong(obj1);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23796 if (obj3) {
23797 {
23798 arg4 = &temp4;
23799 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23800 }
23801 }
23802 if (obj4) {
23803 {
23804 arg5 = &temp5;
23805 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23806 }
23807 }
23808 if (obj5) {
23809 arg6 = (long) SWIG_AsLong(obj5);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
23812 if (obj6) {
23813 {
23814 arg7 = wxString_in_helper(obj6);
23815 if (arg7 == NULL) SWIG_fail;
23816 temp7 = True;
23817 }
23818 }
23819 {
23820 PyThreadState* __tstate = wxPyBeginAllowThreads();
23821 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23822
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
23827 {
23828 if (temp7)
23829 delete arg7;
23830 }
23831 return resultobj;
23832 fail:
23833 {
23834 if (temp7)
23835 delete arg7;
23836 }
23837 return NULL;
23838 }
23839
23840
23841 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
23842 PyObject *resultobj;
23843 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23844 PyObject *arg2 = (PyObject *) 0 ;
23845 PyObject *arg3 = (PyObject *) 0 ;
23846 PyObject * obj0 = 0 ;
23847 PyObject * obj1 = 0 ;
23848 PyObject * obj2 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "self",(char *) "_class", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23856 arg2 = obj1;
23857 arg3 = obj2;
23858 {
23859 PyThreadState* __tstate = wxPyBeginAllowThreads();
23860 (arg1)->_setCallbackInfo(arg2,arg3);
23861
23862 wxPyEndAllowThreads(__tstate);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 Py_INCREF(Py_None); resultobj = Py_None;
23866 return resultobj;
23867 fail:
23868 return NULL;
23869 }
23870
23871
23872 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23875 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 char *kwnames[] = {
23879 (char *) "self",(char *) "preview", NULL
23880 };
23881
23882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
23883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
23886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 (arg1)->SetPrintPreview(arg2);
23890
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 Py_INCREF(Py_None); resultobj = Py_None;
23895 return resultobj;
23896 fail:
23897 return NULL;
23898 }
23899
23900
23901 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23904 PyObject * obj0 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
23910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 (arg1)->base_CreateButtons();
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 Py_INCREF(Py_None); resultobj = Py_None;
23920 return resultobj;
23921 fail:
23922 return NULL;
23923 }
23924
23925
23926 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
23927 PyObject *resultobj;
23928 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
23929 int arg2 ;
23930 PyObject * obj0 = 0 ;
23931 PyObject * obj1 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self",(char *) "zoom", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23939 arg2 = (int) SWIG_AsInt(obj1);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 (arg1)->base_SetZoomControl(arg2);
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 Py_INCREF(Py_None); resultobj = Py_None;
23949 return resultobj;
23950 fail:
23951 return NULL;
23952 }
23953
23954
23955 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
23956 PyObject *obj;
23957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23958 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
23959 Py_INCREF(obj);
23960 return Py_BuildValue((char *)"");
23961 }
23962 static PyMethodDef SwigMethods[] = {
23963 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL },
23964 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL },
23965 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23966 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
23967 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL },
23968 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23969 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23970 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
23971 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
23972 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL },
23973 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
23974 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL },
23975 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL },
23976 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL },
23977 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL },
23978 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL },
23979 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL },
23980 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
23981 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
23982 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL },
23983 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL },
23984 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
23985 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL },
23986 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23987 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
23988 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
23989 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL },
23990 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL },
23991 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
23992 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
23993 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL },
23994 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL },
23995 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL },
23996 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
23997 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
23998 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL },
23999 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24000 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24001 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24002 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24003 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL },
24004 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL },
24005 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL },
24006 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24007 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24008 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
24009 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24010 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24011 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
24012 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24013 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24014 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24015 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24016 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24017 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24018 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24019 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24020 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24021 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL },
24022 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24023 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24024 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24025 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24026 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL },
24027 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL },
24028 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL },
24029 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24030 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24031 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24032 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL },
24033 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24034 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL },
24035 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL },
24036 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24037 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL },
24038 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS, NULL },
24039 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL },
24040 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24041 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24042 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24043 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL },
24044 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24045 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24046 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
24047 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL },
24048 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24049 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24050 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24051 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL },
24052 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL },
24053 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24054 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL },
24055 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24056 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24057 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL },
24058 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24059 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24060 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24061 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL },
24062 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL },
24063 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL },
24064 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
24065 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL },
24066 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL },
24067 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL },
24068 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24069 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24070 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24071 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL },
24072 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL },
24073 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
24074 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL },
24075 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24076 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL },
24077 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL },
24078 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL },
24079 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24080 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL },
24081 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL },
24082 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
24083 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24084 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL },
24085 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24086 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24087 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24088 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
24089 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL },
24090 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24091 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
24092 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
24093 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL },
24094 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL },
24095 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24096 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24097 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24098 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL },
24099 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
24100 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
24101 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL },
24102 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24103 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24104 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24105 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24106 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24107 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL },
24108 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL },
24109 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL },
24110 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24111 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24112 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24113 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL },
24114 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24115 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24116 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24117 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24118 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24119 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24120 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL },
24121 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL },
24122 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24123 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL },
24124 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL },
24125 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24126 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
24127 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
24128 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
24129 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL },
24130 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
24131 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL },
24132 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL },
24133 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24134 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
24135 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL },
24136 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24137 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24138 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24139 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24140 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24141 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24142 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24143 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24144 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL },
24145 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24146 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24147 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24148 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24149 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
24150 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL },
24151 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24152 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24153 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24154 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24155 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24156 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL },
24157 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL },
24158 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24159 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL },
24160 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
24161 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL },
24162 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24163 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24164 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24165 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL },
24166 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24167 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24168 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL },
24169 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24170 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24171 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL },
24172 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24173 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL },
24174 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL },
24175 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL },
24176 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24177 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24178 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24179 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24180 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
24181 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL },
24182 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
24183 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
24184 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL },
24185 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL },
24186 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS, NULL },
24187 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
24188 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
24189 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL },
24190 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
24191 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL },
24192 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
24193 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL },
24194 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24195 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24196 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24197 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24198 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24199 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24200 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24201 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
24202 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24203 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL },
24204 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24205 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL },
24206 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24207 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24208 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24209 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
24210 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24211 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL },
24212 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL },
24213 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
24214 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL },
24215 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL },
24216 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24217 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL },
24218 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24219 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL },
24220 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24221 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL },
24222 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24223 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24224 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL },
24225 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
24226 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL },
24227 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24228 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL },
24229 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL },
24230 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24231 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL },
24232 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24233 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24234 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
24235 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24236 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
24237 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL },
24238 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24239 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL },
24240 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL },
24241 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24242 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL },
24243 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL },
24244 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24245 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24246 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24247 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24248 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24249 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24250 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL },
24251 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24252 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24253 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24254 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
24255 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24256 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
24257 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24258 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
24259 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL },
24260 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
24261 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL },
24262 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24263 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
24264 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
24265 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL },
24266 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
24267 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL },
24268 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL },
24269 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24270 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
24271 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL },
24272 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL },
24273 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24274 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24275 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24276 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24277 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL },
24278 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24279 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
24280 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
24281 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL },
24282 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
24283 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL },
24284 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
24285 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
24286 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24287 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
24288 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL },
24289 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
24290 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24291 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL },
24292 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL },
24293 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24294 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL },
24295 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL },
24296 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24297 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL },
24298 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24299 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL },
24300 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL },
24301 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24302 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL },
24303 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24304 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL },
24305 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
24306 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL },
24307 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
24308 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24309 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24310 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24311 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24312 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24313 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24314 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24315 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL },
24316 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
24317 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL },
24318 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24319 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24320 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24321 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
24322 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL },
24323 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL },
24324 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL },
24325 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24326 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24327 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24328 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
24329 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
24330 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL },
24331 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24332 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24333 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24334 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL },
24335 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL },
24336 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL },
24337 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL },
24338 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24339 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24340 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL },
24341 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL },
24342 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL },
24343 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24344 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24345 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24346 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL },
24347 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL },
24348 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL },
24349 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL },
24350 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24351 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24352 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL },
24353 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL },
24354 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24355 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24356 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24357 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24358 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24359 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24360 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24361 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24362 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24363 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24364 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24365 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24366 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24367 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24368 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24369 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24370 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24371 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24372 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24373 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24374 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24375 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24376 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24377 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL },
24378 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
24379 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL },
24380 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24381 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24382 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24383 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24384 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24385 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24386 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24387 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24388 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24389 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24390 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24391 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24392 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24393 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24394 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24395 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24396 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24397 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24398 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24399 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24400 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24401 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL },
24402 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24403 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24404 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24405 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24406 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24407 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24408 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24409 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL },
24410 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
24411 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
24412 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
24413 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
24414 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24415 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24416 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24417 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
24418 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
24419 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
24420 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
24421 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
24422 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
24423 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
24424 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL },
24425 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL },
24426 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24427 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24428 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24429 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24430 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24431 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24432 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
24433 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24434 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
24435 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24436 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24437 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
24438 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24439 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24440 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24441 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL },
24442 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL },
24443 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL },
24444 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24445 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24446 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL },
24447 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24448 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
24449 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24450 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24451 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
24452 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24453 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24454 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
24455 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
24456 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
24457 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24458 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL },
24459 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL },
24460 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL },
24461 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL },
24462 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL },
24463 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL },
24464 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24465 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL },
24466 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL },
24467 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL },
24468 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
24469 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
24470 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
24471 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL },
24472 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24473 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24474 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24475 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24476 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24477 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
24478 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24479 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24480 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24481 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
24482 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL },
24483 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24484 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24485 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24486 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24487 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24488 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24489 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24490 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24491 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24492 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24493 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24494 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24495 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL },
24496 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24497 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24498 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
24499 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
24500 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL },
24501 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL },
24502 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24503 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL },
24504 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24505 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL },
24506 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24507 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL },
24508 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL },
24509 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24510 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
24511 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
24512 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24513 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24514 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24515 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
24516 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24517 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24518 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24519 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24520 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL },
24521 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL },
24522 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24523 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24524 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL },
24525 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL },
24526 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24527 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL },
24528 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24529 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24530 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24531 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24532 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
24533 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24534 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL },
24535 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL },
24536 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL },
24537 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL },
24538 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24539 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24540 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL },
24541 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL },
24542 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24543 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24544 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL },
24545 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL },
24546 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL },
24547 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
24548 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL },
24549 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL },
24550 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24551 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24552 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL },
24553 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL },
24554 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL },
24555 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL },
24556 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL },
24557 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL },
24558 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL },
24559 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24560 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
24561 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
24562 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL },
24563 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
24564 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL },
24565 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
24566 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
24567 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24568 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL },
24569 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24570 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL },
24571 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24572 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24573 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL },
24574 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL },
24575 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24576 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24577 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24578 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL },
24579 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24580 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL },
24581 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24582 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL },
24583 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24584 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24585 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24586 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24587 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24588 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL },
24589 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24590 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24591 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24592 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24593 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL },
24594 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL },
24595 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL },
24596 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL },
24597 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL },
24598 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL },
24599 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL },
24600 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24601 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24602 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
24603 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL },
24604 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL },
24605 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24606 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24607 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24608 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24609 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
24610 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
24611 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
24612 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL },
24613 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL },
24614 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24615 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24616 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL },
24617 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL },
24618 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
24619 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL },
24620 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24621 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24622 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL },
24623 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL },
24624 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24625 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL },
24626 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL },
24627 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL },
24628 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL },
24629 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL },
24630 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL },
24631 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL },
24632 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL },
24633 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL },
24634 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24635 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24636 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24637 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
24638 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL },
24639 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24640 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL },
24641 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL },
24642 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
24643 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL },
24644 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL },
24645 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL },
24646 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL },
24647 { NULL, NULL, 0, NULL }
24648 };
24649
24650
24651 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24652
24653 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24654 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24655 }
24656 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24657 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24658 }
24659 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24660 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24661 }
24662 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24663 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24664 }
24665 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24666 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24667 }
24668 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24669 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24670 }
24671 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24672 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24673 }
24674 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24675 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24676 }
24677 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24678 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24679 }
24680 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
24681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
24682 }
24683 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
24684 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
24685 }
24686 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
24687 return (void *)((wxEvent *) ((wxPyEvent *) x));
24688 }
24689 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
24690 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
24691 }
24692 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
24693 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
24694 }
24695 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
24696 return (void *)((wxEvent *) ((wxIdleEvent *) x));
24697 }
24698 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
24699 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
24700 }
24701 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
24702 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
24703 }
24704 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
24705 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
24706 }
24707 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
24708 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
24709 }
24710 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
24711 return (void *)((wxEvent *) ((wxActivateEvent *) x));
24712 }
24713 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
24714 return (void *)((wxEvent *) ((wxSizeEvent *) x));
24715 }
24716 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
24717 return (void *)((wxEvent *) ((wxMoveEvent *) x));
24718 }
24719 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
24720 return (void *)((wxEvent *) ((wxPaintEvent *) x));
24721 }
24722 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
24723 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
24724 }
24725 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
24726 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
24727 }
24728 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
24729 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
24730 }
24731 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
24732 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
24733 }
24734 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
24735 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
24736 }
24737 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
24738 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
24739 }
24740 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
24741 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
24742 }
24743 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
24744 return (void *)((wxEvent *) ((wxFocusEvent *) x));
24745 }
24746 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
24747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
24748 }
24749 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
24750 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
24751 }
24752 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
24753 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24754 }
24755 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
24756 return (void *)((wxEvent *) ((wxShowEvent *) x));
24757 }
24758 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
24759 return (void *)((wxEvent *) ((wxCommandEvent *) x));
24760 }
24761 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
24762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
24763 }
24764 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
24765 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24766 }
24767 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
24768 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
24769 }
24770 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
24771 return (void *)((wxEvent *) ((wxKeyEvent *) x));
24772 }
24773 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
24774 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
24775 }
24776 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
24777 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
24778 }
24779 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
24780 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
24781 }
24782 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
24783 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24784 }
24785 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
24786 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24787 }
24788 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
24789 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
24790 }
24791 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
24792 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
24793 }
24794 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
24795 return (void *)((wxEvtHandler *) ((wxValidator *) x));
24796 }
24797 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
24798 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
24799 }
24800 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
24801 return (void *)((wxEvtHandler *) ((wxMenu *) x));
24802 }
24803 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
24804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24805 }
24806 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
24807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24808 }
24809 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
24810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24811 }
24812 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
24813 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24814 }
24815 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
24816 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24817 }
24818 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
24819 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24820 }
24821 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
24822 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24823 }
24824 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
24825 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
24826 }
24827 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
24828 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
24829 }
24830 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
24831 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24832 }
24833 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
24834 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
24835 }
24836 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
24837 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24838 }
24839 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
24840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
24841 }
24842 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
24843 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24844 }
24845 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
24846 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
24847 }
24848 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
24849 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
24850 }
24851 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
24852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
24853 }
24854 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
24855 return (void *)((wxEvtHandler *) ((wxWindow *) x));
24856 }
24857 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
24858 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24859 }
24860 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
24861 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
24862 }
24863 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
24864 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
24865 }
24866 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
24867 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
24868 }
24869 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
24870 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
24871 }
24872 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
24873 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24874 }
24875 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
24876 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24877 }
24878 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
24879 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24880 }
24881 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
24882 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
24883 }
24884 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
24885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24886 }
24887 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
24888 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
24889 }
24890 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
24891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24892 }
24893 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
24894 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24895 }
24896 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
24897 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24898 }
24899 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
24900 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24901 }
24902 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
24903 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24904 }
24905 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
24906 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
24907 }
24908 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
24909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24910 }
24911 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
24912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24913 }
24914 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
24915 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24916 }
24917 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
24918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24919 }
24920 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
24921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24922 }
24923 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
24924 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24925 }
24926 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
24927 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24928 }
24929 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
24930 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24931 }
24932 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
24933 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
24934 }
24935 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
24936 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
24937 }
24938 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
24939 return (void *)((wxFrame *) ((wxProgressDialog *) x));
24940 }
24941 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
24942 return (void *)((wxFrame *) ((wxTipWindow *) x));
24943 }
24944 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
24945 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
24946 }
24947 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
24948 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24949 }
24950 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
24951 return (void *)((wxFrame *) ((wxMiniFrame *) x));
24952 }
24953 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
24954 return (void *)((wxFrame *) ((wxSplashScreen *) x));
24955 }
24956 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
24957 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
24958 }
24959 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
24960 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
24961 }
24962 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
24963 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
24964 }
24965 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
24966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24967 }
24968 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
24969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24970 }
24971 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
24972 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
24973 }
24974 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
24975 return (void *)((wxObject *) ((wxSizerItem *) x));
24976 }
24977 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
24978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
24979 }
24980 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
24981 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
24982 }
24983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
24984 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
24985 }
24986 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
24987 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
24988 }
24989 static void *_p_wxSizerTo_p_wxObject(void *x) {
24990 return (void *)((wxObject *) ((wxSizer *) x));
24991 }
24992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
24993 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
24994 }
24995 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
24996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
24997 }
24998 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
24999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25000 }
25001 static void *_p_wxEventTo_p_wxObject(void *x) {
25002 return (void *)((wxObject *) ((wxEvent *) x));
25003 }
25004 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25005 return (void *)((wxObject *) ((wxFontData *) x));
25006 }
25007 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25008 return (void *)((wxObject *) ((wxPrintData *) x));
25009 }
25010 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25011 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25012 }
25013 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25014 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25015 }
25016 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25017 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25018 }
25019 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25020 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25021 }
25022 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25023 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25024 }
25025 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25027 }
25028 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25029 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25030 }
25031 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25032 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25033 }
25034 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25035 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25036 }
25037 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25038 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25039 }
25040 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25041 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25042 }
25043 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25044 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25045 }
25046 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25048 }
25049 static void *_p_wxControlTo_p_wxObject(void *x) {
25050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25051 }
25052 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25053 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25054 }
25055 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25057 }
25058 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25059 return (void *)((wxObject *) ((wxFSFile *) x));
25060 }
25061 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25062 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25063 }
25064 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25065 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25066 }
25067 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25069 }
25070 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25071 return (void *)((wxObject *) ((wxColourData *) x));
25072 }
25073 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25074 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25075 }
25076 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25077 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25078 }
25079 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25081 }
25082 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25084 }
25085 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25087 }
25088 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25090 }
25091 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25093 }
25094 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25096 }
25097 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25099 }
25100 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25102 }
25103 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25105 }
25106 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25107 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25108 }
25109 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25110 return (void *)((wxObject *) ((wxPrinter *) x));
25111 }
25112 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25113 return (void *)((wxObject *) ((wxMenuItem *) x));
25114 }
25115 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25116 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25117 }
25118 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25119 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25120 }
25121 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25122 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25123 }
25124 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25125 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25126 }
25127 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25128 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25129 }
25130 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25131 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25132 }
25133 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25134 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25135 }
25136 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25137 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25138 }
25139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25140 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25141 }
25142 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25143 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25144 }
25145 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25146 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25147 }
25148 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25149 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25150 }
25151 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25152 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25153 }
25154 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25155 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25156 }
25157 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25158 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25159 }
25160 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25161 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25162 }
25163 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25164 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25165 }
25166 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25167 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25168 }
25169 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25170 return (void *)((wxObject *) ((wxImageHandler *) x));
25171 }
25172 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25173 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25174 }
25175 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25176 return (void *)((wxObject *) ((wxEvtHandler *) x));
25177 }
25178 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25179 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25180 }
25181 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25183 }
25184 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25186 }
25187 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25188 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25189 }
25190 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25192 }
25193 static void *_p_wxImageTo_p_wxObject(void *x) {
25194 return (void *)((wxObject *) ((wxImage *) x));
25195 }
25196 static void *_p_wxFrameTo_p_wxObject(void *x) {
25197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25198 }
25199 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25200 return (void *)((wxObject *) ((wxPyPrintout *) x));
25201 }
25202 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25203 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25204 }
25205 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25206 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25207 }
25208 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25210 }
25211 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25213 }
25214 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25216 }
25217 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25218 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25219 }
25220 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25221 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25222 }
25223 static void *_p_wxWindowTo_p_wxObject(void *x) {
25224 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25225 }
25226 static void *_p_wxMenuTo_p_wxObject(void *x) {
25227 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25228 }
25229 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25231 }
25232 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25234 }
25235 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25237 }
25238 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25240 }
25241 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25243 }
25244 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25246 }
25247 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25249 }
25250 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25252 }
25253 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25255 }
25256 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25258 }
25259 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25261 }
25262 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25264 }
25265 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25267 }
25268 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25270 }
25271 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25272 return (void *)((wxObject *) ((wxPrintPreview *) x));
25273 }
25274 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25275 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25276 }
25277 static void *_p_wxPanelTo_p_wxObject(void *x) {
25278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25279 }
25280 static void *_p_wxDialogTo_p_wxObject(void *x) {
25281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25282 }
25283 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25285 }
25286 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25287 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25288 }
25289 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25291 }
25292 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25294 }
25295 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25297 }
25298 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25299 return (void *)((wxObject *) ((wxFileSystem *) x));
25300 }
25301 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25303 }
25304 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25305 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25306 }
25307 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25308 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25309 }
25310 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25311 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25312 }
25313 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25314 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25315 }
25316 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25317 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25318 }
25319 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25320 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25321 }
25322 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25323 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25324 }
25325 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25326 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25327 }
25328 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25330 }
25331 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25332 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25333 }
25334 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25335 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25336 }
25337 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25338 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25339 }
25340 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25342 }
25343 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25344 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25345 }
25346 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25347 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25348 }
25349 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25350 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25351 }
25352 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25353 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25354 }
25355 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25356 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25357 }
25358 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25359 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25360 }
25361 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25362 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25363 }
25364 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25365 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25366 }
25367 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25368 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25369 }
25370 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25371 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25372 }
25373 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25374 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25375 }
25376 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25377 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25378 }
25379 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25380 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25381 }
25382 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25383 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25384 }
25385 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25386 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25387 }
25388 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25389 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25390 }
25391 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25392 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25393 }
25394 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
25395 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
25396 }
25397 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25398 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25399 }
25400 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25401 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25402 }
25403 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25404 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25405 }
25406 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25407 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25408 }
25409 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25410 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25411 }
25412 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25413 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25414 }
25415 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25416 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25417 }
25418 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25419 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25420 }
25421 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25422 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25423 }
25424 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25425 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25426 }
25427 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25428 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25429 }
25430 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25431 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25432 }
25433 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25434 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25435 }
25436 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25437 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25438 }
25439 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25440 return (void *)((wxWindow *) ((wxMenuBar *) x));
25441 }
25442 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25444 }
25445 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25446 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25447 }
25448 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25449 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25450 }
25451 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25452 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25453 }
25454 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25455 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25456 }
25457 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25458 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25459 }
25460 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25461 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25462 }
25463 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25464 return (void *)((wxWindow *) ((wxPanel *) x));
25465 }
25466 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25467 return (void *)((wxWindow *) ((wxStatusBar *) x));
25468 }
25469 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25470 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25471 }
25472 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25473 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25474 }
25475 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
25477 }
25478 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25479 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25480 }
25481 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25482 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25483 }
25484 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25485 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25486 }
25487 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25488 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25489 }
25490 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25491 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25492 }
25493 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25494 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25495 }
25496 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25497 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25498 }
25499 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25500 return (void *)((wxWindow *) ((wxSashWindow *) x));
25501 }
25502 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25503 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25504 }
25505 static void *_p_wxControlTo_p_wxWindow(void *x) {
25506 return (void *)((wxWindow *) ((wxControl *) x));
25507 }
25508 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25509 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25510 }
25511 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25512 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25513 }
25514 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25515 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25516 }
25517 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25518 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25519 }
25520 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25521 return (void *)((wxWindow *) ((wxPyWindow *) x));
25522 }
25523 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25524 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25525 }
25526 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25527 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25528 }
25529 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25530 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25531 }
25532 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25533 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25534 }
25535 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25536 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25537 }
25538 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25539 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25540 }
25541 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25543 }
25544 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25546 }
25547 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25549 }
25550 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25551 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25552 }
25553 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25555 }
25556 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25558 }
25559 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25561 }
25562 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25563 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25564 }
25565 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25566 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25567 }
25568 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25569 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25570 }
25571 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25572 return (void *)((wxDialog *) ((wxColourDialog *) x));
25573 }
25574 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25575 return (void *)((wxDialog *) ((wxDirDialog *) x));
25576 }
25577 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25578 return (void *)((wxDialog *) ((wxFontDialog *) x));
25579 }
25580 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25581 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25582 }
25583 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25584 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25585 }
25586 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25587 return (void *)((wxDialog *) ((wxFileDialog *) x));
25588 }
25589 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25590 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25591 }
25592 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25593 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25594 }
25595 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25596 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25597 }
25598 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25599 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25600 }
25601 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25602 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25603 }
25604 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25605 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25606 }
25607 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25608 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25609 }
25610 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25611 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25612 }
25613 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25614 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25615 }
25616 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25617 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25618 }
25619 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25620 return (void *)((wxPanel *) ((wxPyPanel *) x));
25621 }
25622 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25623 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25624 }
25625 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25626 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25627 }
25628 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25629 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25630 }
25631 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25632 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25633 }
25634 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25635 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25636 }
25637 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25638 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25639 }
25640 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25641 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25642 }
25643 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25644 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25645 }
25646 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25647 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25648 }
25649 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25650 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25651 }
25652 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25653 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25654 }
25655 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25656 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25657 }
25658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25659 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25660 }
25661 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25662 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25663 }
25664 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25665 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25666 }
25667 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}};
25668 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}};
25669 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}};
25670 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}};
25671 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}};
25672 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}};
25673 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}};
25674 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}};
25675 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}};
25676 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}};
25677 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}};
25678 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}};
25679 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}};
25680 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}};
25681 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}};
25682 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}};
25683 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}};
25684 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}};
25685 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}};
25686 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}};
25687 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}};
25688 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}};
25689 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}};
25690 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}};
25691 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}};
25692 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}};
25693 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}};
25694 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}};
25695 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}};
25696 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}};
25697 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}};
25698 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}};
25699 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}};
25700 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}};
25701 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}};
25702 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}};
25703 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}};
25704 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}};
25705 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}};
25706 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}};
25707 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}};
25708 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}};
25709 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}};
25710 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}};
25711 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}};
25712 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}};
25713 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}};
25714 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}};
25715 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}};
25716 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}};
25717 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}};
25718 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}};
25719 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}};
25720 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}};
25721 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}};
25722 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}};
25723 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}};
25724 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}};
25725 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}};
25726 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}};
25727 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}};
25728 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}};
25729 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}};
25730 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}};
25731 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}};
25732 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}};
25733 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}};
25734 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}};
25735 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}};
25736 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}};
25737 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}};
25738 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}};
25739 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}};
25740 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}};
25741 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}};
25742 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}};
25743 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}};
25744 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}};
25745 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}};
25746 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}};
25747 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}};
25748 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}};
25749 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}};
25750 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}};
25751 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}};
25752
25753 static swig_type_info *swig_types_initial[] = {
25754 _swigt__p_wxQueryLayoutInfoEvent,
25755 _swigt__p_wxPreviewFrame,
25756 _swigt__p_wxPyPreviewFrame,
25757 _swigt__p_wxPyPanel,
25758 _swigt__p_wxMenu,
25759 _swigt__p_wxPrintData,
25760 _swigt__p_wxFontData,
25761 _swigt__p_wxEvent,
25762 _swigt__p_wxTaskBarIcon,
25763 _swigt__p_wxIconBundle,
25764 _swigt__p_wxLayoutAlgorithm,
25765 _swigt__p_wxFindDialogEvent,
25766 _swigt__p_wxPreviewCanvas,
25767 _swigt__p_wxFont,
25768 _swigt__p_wxSplitterEvent,
25769 _swigt__p_wxRegion,
25770 _swigt__p_wxFindReplaceData,
25771 _swigt__p_int,
25772 _swigt__p_wxSize,
25773 _swigt__p_wxDC,
25774 _swigt__p_wxIcon,
25775 _swigt__p_wxMDIChildFrame,
25776 _swigt__p_wxColourData,
25777 _swigt__p_wxNotifyEvent,
25778 _swigt__p_wxPyWindow,
25779 _swigt__p_wxSplashScreen,
25780 _swigt__p_wxFindReplaceDialog,
25781 _swigt__p_wxProgressDialog,
25782 _swigt__p_wxMessageDialog,
25783 _swigt__p_wxTextEntryDialog,
25784 _swigt__p_wxSingleChoiceDialog,
25785 _swigt__p_wxMultiChoiceDialog,
25786 _swigt__p_wxFileDialog,
25787 _swigt__p_wxPrinter,
25788 _swigt__p_wxArrayInt,
25789 _swigt__p_wxEvtHandler,
25790 _swigt__p_wxCalculateLayoutEvent,
25791 _swigt__p_wxPyHtmlListBox,
25792 _swigt__p_wxPyVListBox,
25793 _swigt__p_wxRect,
25794 _swigt__p_char,
25795 _swigt__p_wxMiniFrame,
25796 _swigt__p_wxFrame,
25797 _swigt__p_wxPyPrintout,
25798 _swigt__p_wxTaskBarIconEvent,
25799 _swigt__p_wxScrollWinEvent,
25800 _swigt__p_wxStatusBar,
25801 _swigt__p_wxMDIParentFrame,
25802 _swigt__p_wxPoint,
25803 _swigt__p_wxObject,
25804 _swigt__p_wxOutputStream,
25805 _swigt__p_unsigned_long,
25806 _swigt__p_wxPyScrolledWindow,
25807 _swigt__p_wxMDIClientWindow,
25808 _swigt__p_wxTipWindow,
25809 _swigt__p_wxPyPopupTransientWindow,
25810 _swigt__p_wxSashLayoutWindow,
25811 _swigt__p_wxSplitterWindow,
25812 _swigt__p_wxPyVScrolledWindow,
25813 _swigt__p_wxPopupWindow,
25814 _swigt__p_wxSashWindow,
25815 _swigt__p_wxTopLevelWindow,
25816 _swigt__p_wxWindow,
25817 _swigt__p_wxScrolledWindow,
25818 _swigt__p_wxSplashScreenWindow,
25819 _swigt__p_wxMenuBar,
25820 _swigt__p_wxPrintPreview,
25821 _swigt__p_wxSashEvent,
25822 _swigt__p_wxString,
25823 _swigt__p_wxPyPrintPreview,
25824 _swigt__p_wxFontDialog,
25825 _swigt__p_wxDirDialog,
25826 _swigt__p_wxColourDialog,
25827 _swigt__p_wxDialog,
25828 _swigt__p_wxPanel,
25829 _swigt__p_wxPageSetupDialog,
25830 _swigt__p_wxPrintDialog,
25831 _swigt__p_wxBitmap,
25832 _swigt__p_wxCommandEvent,
25833 _swigt__p_wxPreviewControlBar,
25834 _swigt__p_wxPyPreviewControlBar,
25835 _swigt__p_wxColour,
25836 _swigt__p_wxToolBar,
25837 _swigt__p_wxPageSetupDialogData,
25838 _swigt__p_wxPrintDialogData,
25839 0
25840 };
25841
25842
25843 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25844
25845 static swig_const_info swig_const_table[] = {
25846 {0, 0, 0, 0.0, 0, 0}};
25847
25848 #ifdef __cplusplus
25849 }
25850 #endif
25851
25852 #ifdef __cplusplus
25853 extern "C"
25854 #endif
25855 SWIGEXPORT(void) SWIG_init(void) {
25856 static PyObject *SWIG_globals = 0;
25857 static int typeinit = 0;
25858 PyObject *m, *d;
25859 int i;
25860 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
25861 m = Py_InitModule((char *) SWIG_name, SwigMethods);
25862 d = PyModule_GetDict(m);
25863
25864 if (!typeinit) {
25865 for (i = 0; swig_types_initial[i]; i++) {
25866 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
25867 }
25868 typeinit = 1;
25869 }
25870 SWIG_InstallConstants(d,swig_const_table);
25871
25872 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
25873 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
25874 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
25875 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
25876 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
25877 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
25878 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
25879 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
25880 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
25881 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
25882 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
25883 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
25884 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
25885 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
25886 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
25887 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
25888 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
25889 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
25890 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
25891 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
25892 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
25893 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
25894 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
25895 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
25896 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
25897 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
25898 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
25899 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
25900 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
25901 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
25902 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
25903 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
25904 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
25905 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
25906 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
25907 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
25908 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
25909 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
25910 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
25911 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
25912 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
25913 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
25914 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
25915 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
25916 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
25917 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
25918 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
25919 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
25920 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
25921 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
25922 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
25923 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
25924 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
25925 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
25926 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
25927 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
25928 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
25929 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
25930 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
25931 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
25932 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
25933 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
25934 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
25935 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
25936 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
25937 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
25938 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
25939 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
25940
25941 // Map renamed classes back to their common name for OOR
25942 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
25943 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
25944 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
25945
25946 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
25947 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
25948 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
25949 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
25950 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
25951 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
25952 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
25953 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
25954 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
25955 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
25956 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
25957 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
25958 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
25959 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
25960 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
25961 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
25962 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
25963 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
25964 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
25965 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
25966 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
25967 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
25968 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
25969 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
25970 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
25971 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
25972 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
25973 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
25974 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
25975 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
25976 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
25977 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
25978 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
25979 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
25980 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
25981 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
25982 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
25983 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
25984 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
25985 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
25986 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
25987 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
25988 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
25989 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
25990 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
25991 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
25992 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
25993 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
25994 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
25995 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
25996 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
25997 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
25998 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
25999 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26000 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26001 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26002 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26003 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26004 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26005 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26006
26007 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26008
26009 }
26010