]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Added some info panels that show size and colour attributes about the widget
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_wxFileSystem swig_types[77]
287 #define SWIGTYPE_p_wxBitmap swig_types[78]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
289 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
290 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxToolBar swig_types[83]
293 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
294 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
295 static swig_type_info *swig_types[87];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _windows_.so
302 ------------------------------------------------*/
303 #define SWIG_init init_windows_
304
305 #define SWIG_name "_windows_"
306
307 /* Auxiliar swig macros */
308
309 #ifdef __cplusplus
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #else
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
322 #endif
323
324 #else /* C case */
325
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
334
335 #endif /* __cplusplus */
336
337
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
348
349
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352
353
354 static const wxString wxPyEmptyString(wxEmptyString);
355 static const wxString wxPyPanelNameStr(wxPanelNameStr);
356
357
358
359 #include <limits.h>
360
361
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value, const char* type,
364 long min_value, long max_value)
365 {
366 if (!PyErr_Occurred()) {
367 if (value < min_value) {
368 PyObject *err =
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value, type, min_value);
371
372 PyErr_SetObject(PyExc_OverflowError, err);
373 Py_DECREF(err);
374 } else if (value > max_value) {
375 PyObject *err =
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value, type, max_value);
378 PyErr_SetObject(PyExc_OverflowError, err);
379 Py_DECREF(err);
380 }
381 }
382 return value;
383 }
384
385
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject * obj)
388 {
389 if (PyNumber_Check(obj))
390 return PyInt_AsLong(obj);
391 else {
392 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
393 obj->ob_type->tp_name);
394 PyErr_SetObject(PyExc_TypeError, errmsg);
395 Py_DECREF(errmsg);
396 return 0;
397 }
398 }
399
400
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject *obj)
404 {
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj),
407 "int", INT_MIN, INT_MAX));
408 }
409 #else
410 #define SWIG_AsInt SWIG_AsLong
411 #endif
412
413
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject* obj)
416 {
417 SWIG_AsInt(obj);
418 if (PyErr_Occurred()) {
419 PyErr_Clear();
420 return 0;
421 } else {
422 return 1;
423 }
424 }
425
426
427 SWIGSTATICINLINE(int)
428 SWIG_CheckLong(PyObject* obj)
429 {
430 SWIG_AsLong(obj);
431 if (PyErr_Occurred()) {
432 PyErr_Clear();
433 return 0;
434 } else {
435 return 1;
436 }
437 }
438
439
440 SWIGSTATICINLINE(bool)
441 SWIG_AsBool(PyObject *obj)
442 {
443 return PyObject_IsTrue(obj) ? true : false;
444 }
445
446
447 SWIGSTATICINLINE(int)
448 SWIG_CheckBool(PyObject* obj)
449 {
450 SWIG_AsBool(obj);
451 if (PyErr_Occurred()) {
452 PyErr_Clear();
453 return 0;
454 } else {
455 return 1;
456 }
457 }
458
459
460 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
461 PyObject* o2;
462 PyObject* o3;
463
464 if (!target) {
465 target = o;
466 } else if (target == Py_None) {
467 Py_DECREF(Py_None);
468 target = o;
469 } else {
470 if (!PyTuple_Check(target)) {
471 o2 = target;
472 target = PyTuple_New(1);
473 PyTuple_SetItem(target, 0, o2);
474 }
475 o3 = PyTuple_New(1);
476 PyTuple_SetItem(o3, 0, o);
477
478 o2 = target;
479 target = PySequence_Concat(o2, o3);
480 Py_DECREF(o2);
481 Py_DECREF(o3);
482 }
483 return target;
484 }
485
486
487 SWIGSTATICINLINE(double)
488 SWIG_AsDouble(PyObject *obj)
489 {
490 if (PyNumber_Check(obj))
491 return PyFloat_AsDouble(obj);
492 else {
493 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
494 obj->ob_type->tp_name);
495 PyErr_SetObject(PyExc_TypeError, errmsg);
496 Py_DECREF(errmsg);
497 return 0;
498 }
499 }
500
501
502 SWIGSTATICINLINE(int)
503 SWIG_CheckDouble(PyObject* obj)
504 {
505 SWIG_AsDouble(obj);
506 if (PyErr_Occurred()) {
507 PyErr_Clear();
508 return 0;
509 } else {
510 return 1;
511 }
512 }
513
514 static const wxString wxPyFrameNameStr(wxFrameNameStr);
515 static const wxString wxPyDialogNameStr(wxDialogNameStr);
516 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
517 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
518
519
520 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
521 wxRect r;
522 self->GetFieldRect(i, r);
523 return r;
524 }
525 static const wxString wxPySplitterNameStr(wxT("splitter"));
526 static const wxString wxPySashNameStr(wxT("sashWindow"));
527 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
528
529 #include <wx/popupwin.h>
530
531
532 class wxPyPopupTransientWindow : public wxPopupTransientWindow
533 {
534 public:
535 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
536 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
537 : wxPopupTransientWindow(parent, style) {}
538
539 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
540 DEC_PYCALLBACK__(OnDismiss);
541 DEC_PYCALLBACK_BOOL_(CanDismiss);
542 PYPRIVATE;
543 };
544
545
546 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
547 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
548 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
549
550
551 #include <wx/tipwin.h>
552
553 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
554 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
555 }
556
557 #include <wx/tipwin.h>
558
559
560 #include <wx/vscroll.h>
561
562
563 class wxPyVScrolledWindow : public wxVScrolledWindow
564 {
565 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
566 public:
567 wxPyVScrolledWindow() : wxVScrolledWindow() {}
568
569 wxPyVScrolledWindow(wxWindow *parent,
570 wxWindowID id = wxID_ANY,
571 const wxPoint& pos = wxDefaultPosition,
572 const wxSize& size = wxDefaultSize,
573 long style = 0,
574 const wxString& name = wxPyPanelNameStr)
575 : wxVScrolledWindow(parent, id, pos, size, style, name)
576 {}
577
578 // Overridable virtuals
579
580 // this function must be overridden in the derived class and it should
581 // return the height of the given line in pixels
582 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
583
584
585 // this function doesn't have to be overridden but it may be useful to do
586 // it if calculating the lines heights is a relatively expensive operation
587 // as it gives the user code a possibility to calculate several of them at
588 // once
589 //
590 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
591 // shouldn't rely on the latter being called for all lines in the interval
592 // specified here. It is also possible that OnGetLineHeight() will be
593 // called for the lines outside of this interval, so this is really just a
594 // hint, not a promise.
595 //
596 // finally note that lineMin is inclusive, while lineMax is exclusive, as
597 // usual
598 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
599
600
601 // when the number of lines changes, we try to estimate the total height
602 // of all lines which is a rather expensive operation in terms of lines
603 // access, so if the user code may estimate the average height
604 // better/faster than we do, it should override this function to implement
605 // its own logic
606 //
607 // this function should return the best guess for the total height it may
608 // make
609 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
610
611
612 // Also expose some other interesting protected methods
613
614
615 // find the index of the line we need to show at the top of the window such
616 // that the last (fully or partially) visible line is the given one
617 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
618 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
619
620 // get the total height of the lines between lineMin (inclusive) and
621 // lineMax (exclusive)
622 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
623 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
624
625
626 PYPRIVATE;
627 };
628
629 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
630
631 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
632 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
633 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
634
635
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_AsUnsignedLong(PyObject * obj)
638 {
639 if (PyLong_Check(obj)) {
640 return PyLong_AsUnsignedLong(obj);
641 } else {
642 long i = SWIG_AsLong(obj);
643 if ( !PyErr_Occurred() && (i < 0)) {
644 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
645 }
646 return i;
647 }
648 }
649
650
651 SWIGSTATICINLINE(int)
652 SWIG_CheckUnsignedLong(PyObject* obj)
653 {
654 SWIG_AsUnsignedLong(obj);
655 if (PyErr_Occurred()) {
656 PyErr_Clear();
657 return 0;
658 } else {
659 return 1;
660 }
661 }
662
663
664 SWIGSTATICINLINE(PyObject* )
665 SWIG_FromUnsignedLong(unsigned long value)
666 {
667 return (value > LONG_MAX) ?
668 PyLong_FromUnsignedLong(value)
669 : PyInt_FromLong(swig_numeric_cast(long,value));
670 }
671
672
673 #include <wx/vlbox.h>
674
675 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
676
677 class wxPyVListBox : public wxVListBox
678 {
679 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
680 public:
681 wxPyVListBox() : wxVListBox() {}
682
683 wxPyVListBox(wxWindow *parent,
684 wxWindowID id = wxID_ANY,
685 const wxPoint& pos = wxDefaultPosition,
686 const wxSize& size = wxDefaultSize,
687 long style = 0,
688 const wxString& name = wxPyVListBoxNameStr)
689 : wxVListBox(parent, id, pos, size, style, name)
690 {}
691
692 // Overridable virtuals
693
694 // the derived class must implement this function to actually draw the item
695 // with the given index on the provided DC
696 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
697 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
698
699
700 // the derived class must implement this method to return the height of the
701 // specified item
702 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
703 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
704
705
706 // this method may be used to draw separators between the lines; note that
707 // the rectangle may be modified, typically to deflate it a bit before
708 // passing to OnDrawItem()
709 //
710 // the base class version doesn't do anything
711 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
712 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
713
714
715 // this method is used to draw the items background and, maybe, a border
716 // around it
717 //
718 // the base class version implements a reasonable default behaviour which
719 // consists in drawing the selected item with the standard background
720 // colour and drawing a border around the item if it is either selected or
721 // current
722 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
723 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
724
725
726 PYPRIVATE;
727 };
728
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
730
731 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
732 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
733 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
734 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
735
736
737
738 #include <wx/htmllbox.h>
739
740
741 class wxPyHtmlListBox : public wxHtmlListBox
742 {
743 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
744 public:
745 wxPyHtmlListBox() : wxHtmlListBox() {}
746
747 wxPyHtmlListBox(wxWindow *parent,
748 wxWindowID id = wxID_ANY,
749 const wxPoint& pos = wxDefaultPosition,
750 const wxSize& size = wxDefaultSize,
751 long style = 0,
752 const wxString& name = wxPyVListBoxNameStr)
753 : wxHtmlListBox(parent, id, pos, size, style, name)
754 {}
755
756 // Overridable virtuals
757
758 // this method must be implemented in the derived class and should return
759 // the body (i.e. without <html>) of the HTML for the given item
760 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
761
762 // this function may be overridden to decorate HTML returned by OnGetItem()
763 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
764
765 // TODO:
766 // // this method allows to customize the selection appearance: it may be used
767 // // to specify the colour of the text which normally has the given colour
768 // // colFg when it is inside the selection
769 // //
770 // // by default, the original colour is not used at all and all text has the
771 // // same (default for this system) colour inside selection
772 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
773
774 // // this is the same as GetSelectedTextColour() but allows to customize the
775 // // background colour -- this is even more rarely used as you can change it
776 // // globally using SetSelectionBackground()
777 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
778
779
780 PYPRIVATE;
781 };
782
783
784 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
785
786 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
787 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
788
789
790
791
792
793 #ifdef __WXMAC__
794 // implement dummy classes and such for wxMac
795
796 class wxTaskBarIcon : public wxEvtHandler
797 {
798 public:
799 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
800 };
801
802
803 class wxTaskBarIconEvent : public wxEvent
804 {
805 public:
806 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
807 { wxPyRaiseNotImplemented(); }
808 virtual wxEvent* Clone() const { return NULL; }
809 };
810
811 enum {
812 wxEVT_TASKBAR_MOVE = 0,
813 wxEVT_TASKBAR_LEFT_DOWN = 0,
814 wxEVT_TASKBAR_LEFT_UP = 0,
815 wxEVT_TASKBAR_RIGHT_DOWN = 0,
816 wxEVT_TASKBAR_RIGHT_UP = 0,
817 wxEVT_TASKBAR_LEFT_DCLICK = 0,
818 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
819 };
820 #endif
821
822 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
823
824 self->RemoveIcon();
825
826 }
827 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
828 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
829 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
830 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
831 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
832 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
833 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
834 wxArrayString arr;
835 self->GetFilenames(arr);
836 return wxArrayString2PyList_helper(arr);
837 }
838 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
839 wxArrayString arr;
840 self->GetPaths(arr);
841 return wxArrayString2PyList_helper(arr);
842 }
843 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
844 return wxArrayInt2PyList_helper(self->GetSelections());
845 }
846 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
847 return new wxSingleChoiceDialog(parent, message, caption,
848 choices, choices_array, NULL, style, pos);
849 }
850
851 #include <wx/mdi.h>
852
853 // C++ version of Python aware wxWindow
854 class wxPyWindow : public wxWindow
855 {
856 DECLARE_DYNAMIC_CLASS(wxPyWindow)
857 public:
858 wxPyWindow() : wxWindow() {}
859 wxPyWindow(wxWindow* parent, const wxWindowID id,
860 const wxPoint& pos = wxDefaultPosition,
861 const wxSize& size = wxDefaultSize,
862 long style = 0,
863 const wxString& name = wxPyPanelNameStr)
864 : wxWindow(parent, id, pos, size, style, name) {}
865
866
867 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
868 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
869 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
871
872 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
875
876 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
877 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
878
879 DEC_PYCALLBACK__(InitDialog);
880 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
881 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
882 DEC_PYCALLBACK_BOOL_(Validate);
883
884 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
886 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
887
888 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
889 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
890
891 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
892 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
893
894 PYPRIVATE;
895 };
896
897 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
898
899 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
900 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
901 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
903
904 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
907
908 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
910
911 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
912 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
915
916 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
918 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
919
920 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
922
923 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
924 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
925
926
927 // C++ version of Python aware wxPanel
928 class wxPyPanel : public wxPanel
929 {
930 DECLARE_DYNAMIC_CLASS(wxPyPanel)
931 public:
932 wxPyPanel() : wxPanel() {}
933 wxPyPanel(wxWindow* parent, const wxWindowID id,
934 const wxPoint& pos = wxDefaultPosition,
935 const wxSize& size = wxDefaultSize,
936 long style = 0,
937 const wxString& name = wxPyPanelNameStr)
938 : wxPanel(parent, id, pos, size, style, name) {}
939
940
941 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
942 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
943 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
945
946 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
949
950 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
951 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
952
953 DEC_PYCALLBACK__(InitDialog);
954 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
955 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
956 DEC_PYCALLBACK_BOOL_(Validate);
957
958 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
960 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
961
962 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
963 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
964
965 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
966 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
967
968 PYPRIVATE;
969 };
970
971 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
972
973 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
974 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
975 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
977
978 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
981
982 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
984
985 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
986 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
989
990 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
992 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
993
994 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
996
997 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
998 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
999
1000 // C++ version of Python aware wxScrolledWindow
1001 class wxPyScrolledWindow : public wxScrolledWindow
1002 {
1003 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1004 public:
1005 wxPyScrolledWindow() : wxScrolledWindow() {}
1006 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1007 const wxPoint& pos = wxDefaultPosition,
1008 const wxSize& size = wxDefaultSize,
1009 long style = 0,
1010 const wxString& name = wxPyPanelNameStr)
1011 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1012
1013
1014 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1015 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1016 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1018
1019 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1022
1023 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1024 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1025
1026 DEC_PYCALLBACK__(InitDialog);
1027 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1028 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1029 DEC_PYCALLBACK_BOOL_(Validate);
1030
1031 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1033 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1034
1035 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1036 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1037
1038 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1039 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1040
1041 PYPRIVATE;
1042 };
1043
1044 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1045
1046 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1047 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1048 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1050
1051 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1054
1055 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1057
1058 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1059 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1062
1063 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1065 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1066
1067 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1069
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1071 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1072
1073
1074 #include "wx/wxPython/printfw.h"
1075
1076
1077 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1078 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1079
1080
1081
1082 // Since this one would be tough and ugly to do with the Macros...
1083 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1084 bool hadErr = False;
1085 bool found;
1086
1087 bool blocked = wxPyBeginBlockThreads();
1088 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1089 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1090 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1091 PyObject* val;
1092
1093 val = PyTuple_GetItem(result, 0);
1094 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1095 else hadErr = True;
1096
1097 val = PyTuple_GetItem(result, 1);
1098 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1099 else hadErr = True;
1100
1101 val = PyTuple_GetItem(result, 2);
1102 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1103 else hadErr = True;
1104
1105 val = PyTuple_GetItem(result, 3);
1106 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1107 else hadErr = True;
1108 }
1109 else
1110 hadErr = True;
1111
1112 if (hadErr) {
1113 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1114 PyErr_Print();
1115 }
1116 Py_DECREF(result);
1117 }
1118 wxPyEndBlockThreads(blocked);
1119 if (! found)
1120 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1121 }
1122
1123 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1124 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1125 }
1126
1127
1128 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1129 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1130 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1131 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1132 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1133 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1134 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1135
1136
1137
1138
1139
1140 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1141 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1142 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1143
1144
1145 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1146 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1147 bool rval=False; \
1148 bool found; \
1149 bool blocked = wxPyBeginBlockThreads(); \
1150 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1151 PyObject* win = wxPyMake_wxObject(a); \
1152 PyObject* dc = wxPyMake_wxObject(&b); \
1153 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1154 Py_DECREF(win); \
1155 Py_DECREF(dc); \
1156 } \
1157 wxPyEndBlockThreads(blocked); \
1158 if (! found) \
1159 rval = PCLASS::CBNAME(a, b); \
1160 return rval; \
1161 } \
1162 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1163 return PCLASS::CBNAME(a, b); \
1164 }
1165
1166
1167
1168
1169 class wxPyPrintPreview : public wxPrintPreview
1170 {
1171 DECLARE_CLASS(wxPyPrintPreview)
1172 public:
1173 wxPyPrintPreview(wxPyPrintout* printout,
1174 wxPyPrintout* printoutForPrinting,
1175 wxPrintDialogData* data=NULL)
1176 : wxPrintPreview(printout, printoutForPrinting, data)
1177 {}
1178 wxPyPrintPreview(wxPyPrintout* printout,
1179 wxPyPrintout* printoutForPrinting,
1180 wxPrintData* data=NULL)
1181 : wxPrintPreview(printout, printoutForPrinting, data)
1182 {}
1183
1184 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1185 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1187 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1188 DEC_PYCALLBACK_VOID_INT(SetZoom);
1189 DEC_PYCALLBACK_BOOL_BOOL(Print);
1190 DEC_PYCALLBACK_VOID_(DetermineScaling);
1191
1192 PYPRIVATE;
1193 };
1194
1195 // Stupid renamed classes... Fix this in 2.5...
1196 #if defined(__WXMSW__)
1197 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1198 #elif defined(__WXMAC__)
1199 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1200 #else
1201 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1202 #endif
1203
1204 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1205 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1207 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1208 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1209 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1210 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1211
1212
1213 class wxPyPreviewFrame : public wxPreviewFrame
1214 {
1215 DECLARE_CLASS(wxPyPreviewFrame);
1216 public:
1217 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1218 const wxString& title,
1219 const wxPoint& pos = wxDefaultPosition,
1220 const wxSize& size = wxDefaultSize,
1221 long style = wxDEFAULT_FRAME_STYLE,
1222 const wxString& name = wxPyFrameNameStr)
1223 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1224 {}
1225
1226 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1227 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1228
1229 DEC_PYCALLBACK_VOID_(Initialize);
1230 DEC_PYCALLBACK_VOID_(CreateCanvas);
1231 DEC_PYCALLBACK_VOID_(CreateControlBar);
1232
1233 PYPRIVATE;
1234 };
1235
1236 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1237
1238 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1241
1242
1243 class wxPyPreviewControlBar : public wxPreviewControlBar
1244 {
1245 DECLARE_CLASS(wxPyPreviewControlBar);
1246 public:
1247 wxPyPreviewControlBar(wxPrintPreview *preview,
1248 long buttons,
1249 wxWindow *parent,
1250 const wxPoint& pos = wxDefaultPosition,
1251 const wxSize& size = wxDefaultSize,
1252 long style = 0,
1253 const wxString& name = wxPyPanelNameStr)
1254 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1255 {}
1256
1257 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1258
1259 DEC_PYCALLBACK_VOID_(CreateButtons);
1260 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1261
1262 PYPRIVATE;
1263 };
1264
1265 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1266 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1267 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1268
1269 #ifdef __cplusplus
1270 extern "C" {
1271 #endif
1272 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject *resultobj;
1274 wxWindow *arg1 = (wxWindow *) 0 ;
1275 int arg2 = (int) (int)-1 ;
1276 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1277 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1278 wxSize const &arg4_defvalue = wxDefaultSize ;
1279 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1280 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1281 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1282 wxString *arg6 = (wxString *) &arg6_defvalue ;
1283 wxPanel *result;
1284 wxPoint temp3 ;
1285 wxSize temp4 ;
1286 bool temp6 = False ;
1287 PyObject * obj0 = 0 ;
1288 PyObject * obj1 = 0 ;
1289 PyObject * obj2 = 0 ;
1290 PyObject * obj3 = 0 ;
1291 PyObject * obj4 = 0 ;
1292 PyObject * obj5 = 0 ;
1293 char *kwnames[] = {
1294 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1295 };
1296
1297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1300 if (obj1) {
1301 arg2 = (int const) SWIG_AsInt(obj1);
1302 if (PyErr_Occurred()) SWIG_fail;
1303 }
1304 if (obj2) {
1305 {
1306 arg3 = &temp3;
1307 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1308 }
1309 }
1310 if (obj3) {
1311 {
1312 arg4 = &temp4;
1313 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1314 }
1315 }
1316 if (obj4) {
1317 arg5 = (long) SWIG_AsLong(obj4);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 }
1320 if (obj5) {
1321 {
1322 arg6 = wxString_in_helper(obj5);
1323 if (arg6 == NULL) SWIG_fail;
1324 temp6 = True;
1325 }
1326 }
1327 {
1328 PyThreadState* __tstate = wxPyBeginAllowThreads();
1329 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1330
1331 wxPyEndAllowThreads(__tstate);
1332 if (PyErr_Occurred()) SWIG_fail;
1333 }
1334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1335 {
1336 if (temp6)
1337 delete arg6;
1338 }
1339 return resultobj;
1340 fail:
1341 {
1342 if (temp6)
1343 delete arg6;
1344 }
1345 return NULL;
1346 }
1347
1348
1349 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1350 PyObject *resultobj;
1351 wxPanel *result;
1352 char *kwnames[] = {
1353 NULL
1354 };
1355
1356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (wxPanel *)new wxPanel();
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
1365 return resultobj;
1366 fail:
1367 return NULL;
1368 }
1369
1370
1371 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxPanel *arg1 = (wxPanel *) 0 ;
1374 wxWindow *arg2 = (wxWindow *) 0 ;
1375 int arg3 = (int) (int)-1 ;
1376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1378 wxSize const &arg5_defvalue = wxDefaultSize ;
1379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1380 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1381 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1382 wxString *arg7 = (wxString *) &arg7_defvalue ;
1383 bool result;
1384 wxPoint temp4 ;
1385 wxSize temp5 ;
1386 bool temp7 = False ;
1387 PyObject * obj0 = 0 ;
1388 PyObject * obj1 = 0 ;
1389 PyObject * obj2 = 0 ;
1390 PyObject * obj3 = 0 ;
1391 PyObject * obj4 = 0 ;
1392 PyObject * obj5 = 0 ;
1393 PyObject * obj6 = 0 ;
1394 char *kwnames[] = {
1395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1396 };
1397
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1403 if (obj2) {
1404 arg3 = (int const) SWIG_AsInt(obj2);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 }
1407 if (obj3) {
1408 {
1409 arg4 = &temp4;
1410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1411 }
1412 }
1413 if (obj4) {
1414 {
1415 arg5 = &temp5;
1416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1417 }
1418 }
1419 if (obj5) {
1420 arg6 = (long) SWIG_AsLong(obj5);
1421 if (PyErr_Occurred()) SWIG_fail;
1422 }
1423 if (obj6) {
1424 {
1425 arg7 = wxString_in_helper(obj6);
1426 if (arg7 == NULL) SWIG_fail;
1427 temp7 = True;
1428 }
1429 }
1430 {
1431 PyThreadState* __tstate = wxPyBeginAllowThreads();
1432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1433
1434 wxPyEndAllowThreads(__tstate);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 {
1438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1439 }
1440 {
1441 if (temp7)
1442 delete arg7;
1443 }
1444 return resultobj;
1445 fail:
1446 {
1447 if (temp7)
1448 delete arg7;
1449 }
1450 return NULL;
1451 }
1452
1453
1454 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject *resultobj;
1456 wxPanel *arg1 = (wxPanel *) 0 ;
1457 PyObject * obj0 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1465 {
1466 PyThreadState* __tstate = wxPyBeginAllowThreads();
1467 (arg1)->InitDialog();
1468
1469 wxPyEndAllowThreads(__tstate);
1470 if (PyErr_Occurred()) SWIG_fail;
1471 }
1472 Py_INCREF(Py_None); resultobj = Py_None;
1473 return resultobj;
1474 fail:
1475 return NULL;
1476 }
1477
1478
1479 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1480 PyObject *obj;
1481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1482 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1483 Py_INCREF(obj);
1484 return Py_BuildValue((char *)"");
1485 }
1486 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1487 PyObject *resultobj;
1488 wxWindow *arg1 = (wxWindow *) 0 ;
1489 int arg2 = (int) (int)-1 ;
1490 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1491 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1492 wxSize const &arg4_defvalue = wxDefaultSize ;
1493 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1494 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1495 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1496 wxString *arg6 = (wxString *) &arg6_defvalue ;
1497 wxScrolledWindow *result;
1498 wxPoint temp3 ;
1499 wxSize temp4 ;
1500 bool temp6 = False ;
1501 PyObject * obj0 = 0 ;
1502 PyObject * obj1 = 0 ;
1503 PyObject * obj2 = 0 ;
1504 PyObject * obj3 = 0 ;
1505 PyObject * obj4 = 0 ;
1506 PyObject * obj5 = 0 ;
1507 char *kwnames[] = {
1508 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1509 };
1510
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1514 if (obj1) {
1515 arg2 = (int const) SWIG_AsInt(obj1);
1516 if (PyErr_Occurred()) SWIG_fail;
1517 }
1518 if (obj2) {
1519 {
1520 arg3 = &temp3;
1521 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1522 }
1523 }
1524 if (obj3) {
1525 {
1526 arg4 = &temp4;
1527 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1528 }
1529 }
1530 if (obj4) {
1531 arg5 = (long) SWIG_AsLong(obj4);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
1534 if (obj5) {
1535 {
1536 arg6 = wxString_in_helper(obj5);
1537 if (arg6 == NULL) SWIG_fail;
1538 temp6 = True;
1539 }
1540 }
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1549 {
1550 if (temp6)
1551 delete arg6;
1552 }
1553 return resultobj;
1554 fail:
1555 {
1556 if (temp6)
1557 delete arg6;
1558 }
1559 return NULL;
1560 }
1561
1562
1563 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1564 PyObject *resultobj;
1565 wxScrolledWindow *result;
1566 char *kwnames[] = {
1567 NULL
1568 };
1569
1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 result = (wxScrolledWindow *)new wxScrolledWindow();
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1579 return resultobj;
1580 fail:
1581 return NULL;
1582 }
1583
1584
1585 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1588 wxWindow *arg2 = (wxWindow *) 0 ;
1589 int arg3 = (int) (int)-1 ;
1590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1592 wxSize const &arg5_defvalue = wxDefaultSize ;
1593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1594 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1595 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1596 wxString *arg7 = (wxString *) &arg7_defvalue ;
1597 bool result;
1598 wxPoint temp4 ;
1599 wxSize temp5 ;
1600 bool temp7 = False ;
1601 PyObject * obj0 = 0 ;
1602 PyObject * obj1 = 0 ;
1603 PyObject * obj2 = 0 ;
1604 PyObject * obj3 = 0 ;
1605 PyObject * obj4 = 0 ;
1606 PyObject * obj5 = 0 ;
1607 PyObject * obj6 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1610 };
1611
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1617 if (obj2) {
1618 arg3 = (int const) SWIG_AsInt(obj2);
1619 if (PyErr_Occurred()) SWIG_fail;
1620 }
1621 if (obj3) {
1622 {
1623 arg4 = &temp4;
1624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1625 }
1626 }
1627 if (obj4) {
1628 {
1629 arg5 = &temp5;
1630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1631 }
1632 }
1633 if (obj5) {
1634 arg6 = (long) SWIG_AsLong(obj5);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 if (obj6) {
1638 {
1639 arg7 = wxString_in_helper(obj6);
1640 if (arg7 == NULL) SWIG_fail;
1641 temp7 = True;
1642 }
1643 }
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 {
1652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1653 }
1654 {
1655 if (temp7)
1656 delete arg7;
1657 }
1658 return resultobj;
1659 fail:
1660 {
1661 if (temp7)
1662 delete arg7;
1663 }
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject *resultobj;
1670 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1671 int arg2 ;
1672 int arg3 ;
1673 int arg4 ;
1674 int arg5 ;
1675 int arg6 = (int) 0 ;
1676 int arg7 = (int) 0 ;
1677 bool arg8 = (bool) False ;
1678 PyObject * obj0 = 0 ;
1679 PyObject * obj1 = 0 ;
1680 PyObject * obj2 = 0 ;
1681 PyObject * obj3 = 0 ;
1682 PyObject * obj4 = 0 ;
1683 PyObject * obj5 = 0 ;
1684 PyObject * obj6 = 0 ;
1685 PyObject * obj7 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1693 arg2 = (int) SWIG_AsInt(obj1);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 arg3 = (int) SWIG_AsInt(obj2);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 arg4 = (int) SWIG_AsInt(obj3);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 arg5 = (int) SWIG_AsInt(obj4);
1700 if (PyErr_Occurred()) SWIG_fail;
1701 if (obj5) {
1702 arg6 = (int) SWIG_AsInt(obj5);
1703 if (PyErr_Occurred()) SWIG_fail;
1704 }
1705 if (obj6) {
1706 arg7 = (int) SWIG_AsInt(obj6);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 if (obj7) {
1710 arg8 = (bool) SWIG_AsBool(obj7);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 {
1714 PyThreadState* __tstate = wxPyBeginAllowThreads();
1715 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1716
1717 wxPyEndAllowThreads(__tstate);
1718 if (PyErr_Occurred()) SWIG_fail;
1719 }
1720 Py_INCREF(Py_None); resultobj = Py_None;
1721 return resultobj;
1722 fail:
1723 return NULL;
1724 }
1725
1726
1727 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject *resultobj;
1729 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1730 int arg2 ;
1731 int arg3 ;
1732 PyObject * obj0 = 0 ;
1733 PyObject * obj1 = 0 ;
1734 PyObject * obj2 = 0 ;
1735 char *kwnames[] = {
1736 (char *) "self",(char *) "x",(char *) "y", NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1742 arg2 = (int) SWIG_AsInt(obj1);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 arg3 = (int) SWIG_AsInt(obj2);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 (arg1)->Scroll(arg2,arg3);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 Py_INCREF(Py_None); resultobj = Py_None;
1754 return resultobj;
1755 fail:
1756 return NULL;
1757 }
1758
1759
1760 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1763 int arg2 ;
1764 int result;
1765 PyObject * obj0 = 0 ;
1766 PyObject * obj1 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "self",(char *) "orient", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1774 arg2 = (int) SWIG_AsInt(obj1);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 {
1777 PyThreadState* __tstate = wxPyBeginAllowThreads();
1778 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1779
1780 wxPyEndAllowThreads(__tstate);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 resultobj = SWIG_FromInt((int)result);
1784 return resultobj;
1785 fail:
1786 return NULL;
1787 }
1788
1789
1790 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject *resultobj;
1792 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1793 int arg2 ;
1794 int arg3 ;
1795 PyObject * obj0 = 0 ;
1796 PyObject * obj1 = 0 ;
1797 PyObject * obj2 = 0 ;
1798 char *kwnames[] = {
1799 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1800 };
1801
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1805 arg2 = (int) SWIG_AsInt(obj1);
1806 if (PyErr_Occurred()) SWIG_fail;
1807 arg3 = (int) SWIG_AsInt(obj2);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 (arg1)->SetScrollPageSize(arg2,arg3);
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 Py_INCREF(Py_None); resultobj = Py_None;
1817 return resultobj;
1818 fail:
1819 return NULL;
1820 }
1821
1822
1823 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1824 PyObject *resultobj;
1825 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1826 int arg2 ;
1827 int arg3 ;
1828 PyObject * obj0 = 0 ;
1829 PyObject * obj1 = 0 ;
1830 PyObject * obj2 = 0 ;
1831 char *kwnames[] = {
1832 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1833 };
1834
1835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1838 arg2 = (int) SWIG_AsInt(obj1);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 arg3 = (int) SWIG_AsInt(obj2);
1841 if (PyErr_Occurred()) SWIG_fail;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 (arg1)->SetScrollRate(arg2,arg3);
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 return resultobj;
1851 fail:
1852 return NULL;
1853 }
1854
1855
1856 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject *resultobj;
1858 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1859 int *arg2 = (int *) 0 ;
1860 int *arg3 = (int *) 0 ;
1861 int temp2 ;
1862 int temp3 ;
1863 PyObject * obj0 = 0 ;
1864 char *kwnames[] = {
1865 (char *) "self", NULL
1866 };
1867
1868 arg2 = &temp2;
1869 arg3 = &temp3;
1870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1873 {
1874 PyThreadState* __tstate = wxPyBeginAllowThreads();
1875 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1876
1877 wxPyEndAllowThreads(__tstate);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 }
1880 Py_INCREF(Py_None); resultobj = Py_None;
1881 {
1882 PyObject *o = PyInt_FromLong((long) (*arg2));
1883 resultobj = t_output_helper(resultobj,o);
1884 }
1885 {
1886 PyObject *o = PyInt_FromLong((long) (*arg3));
1887 resultobj = t_output_helper(resultobj,o);
1888 }
1889 return resultobj;
1890 fail:
1891 return NULL;
1892 }
1893
1894
1895 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1898 bool arg2 ;
1899 bool arg3 ;
1900 PyObject * obj0 = 0 ;
1901 PyObject * obj1 = 0 ;
1902 PyObject * obj2 = 0 ;
1903 char *kwnames[] = {
1904 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1905 };
1906
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1910 arg2 = (bool) SWIG_AsBool(obj1);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 arg3 = (bool) SWIG_AsBool(obj2);
1913 if (PyErr_Occurred()) SWIG_fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 (arg1)->EnableScrolling(arg2,arg3);
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 Py_INCREF(Py_None); resultobj = Py_None;
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 int *arg2 = (int *) 0 ;
1932 int *arg3 = (int *) 0 ;
1933 int temp2 ;
1934 int temp3 ;
1935 PyObject * obj0 = 0 ;
1936 char *kwnames[] = {
1937 (char *) "self", NULL
1938 };
1939
1940 arg2 = &temp2;
1941 arg3 = &temp3;
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 Py_INCREF(Py_None); resultobj = Py_None;
1953 {
1954 PyObject *o = PyInt_FromLong((long) (*arg2));
1955 resultobj = t_output_helper(resultobj,o);
1956 }
1957 {
1958 PyObject *o = PyInt_FromLong((long) (*arg3));
1959 resultobj = t_output_helper(resultobj,o);
1960 }
1961 return resultobj;
1962 fail:
1963 return NULL;
1964 }
1965
1966
1967 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1968 PyObject *resultobj;
1969 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1970 double arg2 ;
1971 double arg3 ;
1972 PyObject * obj0 = 0 ;
1973 PyObject * obj1 = 0 ;
1974 PyObject * obj2 = 0 ;
1975 char *kwnames[] = {
1976 (char *) "self",(char *) "xs",(char *) "ys", NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1982 arg2 = (double) SWIG_AsDouble(obj1);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 arg3 = (double) SWIG_AsDouble(obj2);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 (arg1)->SetScale(arg2,arg3);
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 Py_INCREF(Py_None); resultobj = Py_None;
1994 return resultobj;
1995 fail:
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject *resultobj;
2002 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2003 double result;
2004 PyObject * obj0 = 0 ;
2005 char *kwnames[] = {
2006 (char *) "self", NULL
2007 };
2008
2009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 resultobj = SWIG_FromDouble((double)result);
2020 return resultobj;
2021 fail:
2022 return NULL;
2023 }
2024
2025
2026 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject *resultobj;
2028 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2029 double result;
2030 PyObject * obj0 = 0 ;
2031 char *kwnames[] = {
2032 (char *) "self", NULL
2033 };
2034
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2038 {
2039 PyThreadState* __tstate = wxPyBeginAllowThreads();
2040 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2041
2042 wxPyEndAllowThreads(__tstate);
2043 if (PyErr_Occurred()) SWIG_fail;
2044 }
2045 resultobj = SWIG_FromDouble((double)result);
2046 return resultobj;
2047 fail:
2048 return NULL;
2049 }
2050
2051
2052 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2053 PyObject *resultobj;
2054 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2055 wxPoint *arg2 = 0 ;
2056 wxPoint result;
2057 wxPoint temp2 ;
2058 PyObject * obj0 = 0 ;
2059 PyObject * obj1 = 0 ;
2060
2061 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2064 {
2065 arg2 = &temp2;
2066 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2067 }
2068 {
2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
2070 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2071
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) SWIG_fail;
2074 }
2075 {
2076 wxPoint * resultptr;
2077 resultptr = new wxPoint((wxPoint &) result);
2078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2079 }
2080 return resultobj;
2081 fail:
2082 return NULL;
2083 }
2084
2085
2086 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2087 PyObject *resultobj;
2088 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2089 int arg2 ;
2090 int arg3 ;
2091 int *arg4 = (int *) 0 ;
2092 int *arg5 = (int *) 0 ;
2093 int temp4 ;
2094 int temp5 ;
2095 PyObject * obj0 = 0 ;
2096 PyObject * obj1 = 0 ;
2097 PyObject * obj2 = 0 ;
2098
2099 arg4 = &temp4;
2100 arg5 = &temp5;
2101 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2104 arg2 = (int) SWIG_AsInt(obj1);
2105 if (PyErr_Occurred()) SWIG_fail;
2106 arg3 = (int) SWIG_AsInt(obj2);
2107 if (PyErr_Occurred()) SWIG_fail;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 Py_INCREF(Py_None); resultobj = Py_None;
2116 {
2117 PyObject *o = PyInt_FromLong((long) (*arg4));
2118 resultobj = t_output_helper(resultobj,o);
2119 }
2120 {
2121 PyObject *o = PyInt_FromLong((long) (*arg5));
2122 resultobj = t_output_helper(resultobj,o);
2123 }
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2131 int argc;
2132 PyObject *argv[4];
2133 int ii;
2134
2135 argc = PyObject_Length(args);
2136 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2137 argv[ii] = PyTuple_GetItem(args,ii);
2138 }
2139 if (argc == 2) {
2140 int _v;
2141 {
2142 void *ptr;
2143 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2144 _v = 0;
2145 PyErr_Clear();
2146 } else {
2147 _v = 1;
2148 }
2149 }
2150 if (_v) {
2151 {
2152 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2153 }
2154 if (_v) {
2155 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2156 }
2157 }
2158 }
2159 if (argc == 3) {
2160 int _v;
2161 {
2162 void *ptr;
2163 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2164 _v = 0;
2165 PyErr_Clear();
2166 } else {
2167 _v = 1;
2168 }
2169 }
2170 if (_v) {
2171 _v = SWIG_CheckInt(argv[1]);
2172 if (_v) {
2173 _v = SWIG_CheckInt(argv[2]);
2174 if (_v) {
2175 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2176 }
2177 }
2178 }
2179 }
2180
2181 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2182 return NULL;
2183 }
2184
2185
2186 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2187 PyObject *resultobj;
2188 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2189 wxPoint *arg2 = 0 ;
2190 wxPoint result;
2191 wxPoint temp2 ;
2192 PyObject * obj0 = 0 ;
2193 PyObject * obj1 = 0 ;
2194
2195 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2198 {
2199 arg2 = &temp2;
2200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2201 }
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 {
2210 wxPoint * resultptr;
2211 resultptr = new wxPoint((wxPoint &) result);
2212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2213 }
2214 return resultobj;
2215 fail:
2216 return NULL;
2217 }
2218
2219
2220 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2221 PyObject *resultobj;
2222 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2223 int arg2 ;
2224 int arg3 ;
2225 int *arg4 = (int *) 0 ;
2226 int *arg5 = (int *) 0 ;
2227 int temp4 ;
2228 int temp5 ;
2229 PyObject * obj0 = 0 ;
2230 PyObject * obj1 = 0 ;
2231 PyObject * obj2 = 0 ;
2232
2233 arg4 = &temp4;
2234 arg5 = &temp5;
2235 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2238 arg2 = (int) SWIG_AsInt(obj1);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 arg3 = (int) SWIG_AsInt(obj2);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 {
2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
2244 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2245
2246 wxPyEndAllowThreads(__tstate);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 Py_INCREF(Py_None); resultobj = Py_None;
2250 {
2251 PyObject *o = PyInt_FromLong((long) (*arg4));
2252 resultobj = t_output_helper(resultobj,o);
2253 }
2254 {
2255 PyObject *o = PyInt_FromLong((long) (*arg5));
2256 resultobj = t_output_helper(resultobj,o);
2257 }
2258 return resultobj;
2259 fail:
2260 return NULL;
2261 }
2262
2263
2264 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2265 int argc;
2266 PyObject *argv[4];
2267 int ii;
2268
2269 argc = PyObject_Length(args);
2270 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2271 argv[ii] = PyTuple_GetItem(args,ii);
2272 }
2273 if (argc == 2) {
2274 int _v;
2275 {
2276 void *ptr;
2277 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2278 _v = 0;
2279 PyErr_Clear();
2280 } else {
2281 _v = 1;
2282 }
2283 }
2284 if (_v) {
2285 {
2286 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2287 }
2288 if (_v) {
2289 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2290 }
2291 }
2292 }
2293 if (argc == 3) {
2294 int _v;
2295 {
2296 void *ptr;
2297 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2298 _v = 0;
2299 PyErr_Clear();
2300 } else {
2301 _v = 1;
2302 }
2303 }
2304 if (_v) {
2305 _v = SWIG_CheckInt(argv[1]);
2306 if (_v) {
2307 _v = SWIG_CheckInt(argv[2]);
2308 if (_v) {
2309 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2310 }
2311 }
2312 }
2313 }
2314
2315 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2316 return NULL;
2317 }
2318
2319
2320 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2321 PyObject *resultobj;
2322 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2323 PyObject * obj0 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2331 {
2332 PyThreadState* __tstate = wxPyBeginAllowThreads();
2333 (arg1)->AdjustScrollbars();
2334
2335 wxPyEndAllowThreads(__tstate);
2336 if (PyErr_Occurred()) SWIG_fail;
2337 }
2338 Py_INCREF(Py_None); resultobj = Py_None;
2339 return resultobj;
2340 fail:
2341 return NULL;
2342 }
2343
2344
2345 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2346 PyObject *resultobj;
2347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2348 wxScrollWinEvent *arg2 = 0 ;
2349 int result;
2350 PyObject * obj0 = 0 ;
2351 PyObject * obj1 = 0 ;
2352 char *kwnames[] = {
2353 (char *) "self",(char *) "event", NULL
2354 };
2355
2356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2360 SWIG_POINTER_EXCEPTION | 0)) == -1)
2361 SWIG_fail;
2362 if (arg2 == NULL) {
2363 PyErr_SetString(PyExc_TypeError,"null reference");
2364 SWIG_fail;
2365 }
2366 {
2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
2368 result = (int)(arg1)->CalcScrollInc(*arg2);
2369
2370 wxPyEndAllowThreads(__tstate);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 }
2373 resultobj = SWIG_FromInt((int)result);
2374 return resultobj;
2375 fail:
2376 return NULL;
2377 }
2378
2379
2380 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2381 PyObject *resultobj;
2382 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2383 wxWindow *arg2 = (wxWindow *) 0 ;
2384 PyObject * obj0 = 0 ;
2385 PyObject * obj1 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self",(char *) "target", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2393 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 (arg1)->SetTargetWindow(arg2);
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
2402 Py_INCREF(Py_None); resultobj = Py_None;
2403 return resultobj;
2404 fail:
2405 return NULL;
2406 }
2407
2408
2409 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2410 PyObject *resultobj;
2411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2412 wxWindow *result;
2413 PyObject * obj0 = 0 ;
2414 char *kwnames[] = {
2415 (char *) "self", NULL
2416 };
2417
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 {
2429 resultobj = wxPyMake_wxObject(result);
2430 }
2431 return resultobj;
2432 fail:
2433 return NULL;
2434 }
2435
2436
2437 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2438 PyObject *resultobj;
2439 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2440 wxRect *arg2 = 0 ;
2441 wxRect temp2 ;
2442 PyObject * obj0 = 0 ;
2443 PyObject * obj1 = 0 ;
2444 char *kwnames[] = {
2445 (char *) "self",(char *) "rect", NULL
2446 };
2447
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2451 {
2452 arg2 = &temp2;
2453 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2454 }
2455 {
2456 PyThreadState* __tstate = wxPyBeginAllowThreads();
2457 (arg1)->SetTargetRect((wxRect const &)*arg2);
2458
2459 wxPyEndAllowThreads(__tstate);
2460 if (PyErr_Occurred()) SWIG_fail;
2461 }
2462 Py_INCREF(Py_None); resultobj = Py_None;
2463 return resultobj;
2464 fail:
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2472 wxRect result;
2473 PyObject * obj0 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "self", NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2481 {
2482 PyThreadState* __tstate = wxPyBeginAllowThreads();
2483 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2484
2485 wxPyEndAllowThreads(__tstate);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 {
2489 wxRect * resultptr;
2490 resultptr = new wxRect((wxRect &) result);
2491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2492 }
2493 return resultobj;
2494 fail:
2495 return NULL;
2496 }
2497
2498
2499 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2500 PyObject *obj;
2501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2502 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2503 Py_INCREF(obj);
2504 return Py_BuildValue((char *)"");
2505 }
2506 static int _wrap_FrameNameStr_set(PyObject *_val) {
2507 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2508 return 1;
2509 }
2510
2511
2512 static PyObject *_wrap_FrameNameStr_get() {
2513 PyObject *pyobj;
2514
2515 {
2516 #if wxUSE_UNICODE
2517 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2518 #else
2519 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2520 #endif
2521 }
2522 return pyobj;
2523 }
2524
2525
2526 static int _wrap_DialogNameStr_set(PyObject *_val) {
2527 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2528 return 1;
2529 }
2530
2531
2532 static PyObject *_wrap_DialogNameStr_get() {
2533 PyObject *pyobj;
2534
2535 {
2536 #if wxUSE_UNICODE
2537 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2538 #else
2539 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2540 #endif
2541 }
2542 return pyobj;
2543 }
2544
2545
2546 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2547 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2548 return 1;
2549 }
2550
2551
2552 static PyObject *_wrap_StatusLineNameStr_get() {
2553 PyObject *pyobj;
2554
2555 {
2556 #if wxUSE_UNICODE
2557 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2558 #else
2559 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2560 #endif
2561 }
2562 return pyobj;
2563 }
2564
2565
2566 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2567 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2568 return 1;
2569 }
2570
2571
2572 static PyObject *_wrap_ToolBarNameStr_get() {
2573 PyObject *pyobj;
2574
2575 {
2576 #if wxUSE_UNICODE
2577 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2578 #else
2579 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2580 #endif
2581 }
2582 return pyobj;
2583 }
2584
2585
2586 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2587 PyObject *resultobj;
2588 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2589 bool arg2 = (bool) True ;
2590 PyObject * obj0 = 0 ;
2591 PyObject * obj1 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self",(char *) "maximize", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2599 if (obj1) {
2600 arg2 = (bool) SWIG_AsBool(obj1);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 (arg1)->Maximize(arg2);
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 Py_INCREF(Py_None); resultobj = Py_None;
2611 return resultobj;
2612 fail:
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2620 PyObject * obj0 = 0 ;
2621 char *kwnames[] = {
2622 (char *) "self", NULL
2623 };
2624
2625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2628 {
2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
2630 (arg1)->Restore();
2631
2632 wxPyEndAllowThreads(__tstate);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 }
2635 Py_INCREF(Py_None); resultobj = Py_None;
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2645 bool arg2 = (bool) True ;
2646 PyObject * obj0 = 0 ;
2647 PyObject * obj1 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self",(char *) "iconize", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2655 if (obj1) {
2656 arg2 = (bool) SWIG_AsBool(obj1);
2657 if (PyErr_Occurred()) SWIG_fail;
2658 }
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 (arg1)->Iconize(arg2);
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 Py_INCREF(Py_None); resultobj = Py_None;
2667 return resultobj;
2668 fail:
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2676 bool result;
2677 PyObject * obj0 = 0 ;
2678 char *kwnames[] = {
2679 (char *) "self", NULL
2680 };
2681
2682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 {
2693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2694 }
2695 return resultobj;
2696 fail:
2697 return NULL;
2698 }
2699
2700
2701 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2702 PyObject *resultobj;
2703 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2704 bool result;
2705 PyObject * obj0 = 0 ;
2706 char *kwnames[] = {
2707 (char *) "self", NULL
2708 };
2709
2710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2713 {
2714 PyThreadState* __tstate = wxPyBeginAllowThreads();
2715 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2716
2717 wxPyEndAllowThreads(__tstate);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 }
2720 {
2721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2722 }
2723 return resultobj;
2724 fail:
2725 return NULL;
2726 }
2727
2728
2729 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2732 wxIcon result;
2733 PyObject * obj0 = 0 ;
2734 char *kwnames[] = {
2735 (char *) "self", NULL
2736 };
2737
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 {
2749 wxIcon * resultptr;
2750 resultptr = new wxIcon((wxIcon &) result);
2751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2752 }
2753 return resultobj;
2754 fail:
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2762 wxIcon *arg2 = 0 ;
2763 PyObject * obj0 = 0 ;
2764 PyObject * obj1 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self",(char *) "icon", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1)
2774 SWIG_fail;
2775 if (arg2 == NULL) {
2776 PyErr_SetString(PyExc_TypeError,"null reference");
2777 SWIG_fail;
2778 }
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 (arg1)->SetIcon((wxIcon const &)*arg2);
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790 }
2791
2792
2793 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2796 wxIconBundle *arg2 = 0 ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "icons", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2807 SWIG_POINTER_EXCEPTION | 0)) == -1)
2808 SWIG_fail;
2809 if (arg2 == NULL) {
2810 PyErr_SetString(PyExc_TypeError,"null reference");
2811 SWIG_fail;
2812 }
2813 {
2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
2815 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2816
2817 wxPyEndAllowThreads(__tstate);
2818 if (PyErr_Occurred()) SWIG_fail;
2819 }
2820 Py_INCREF(Py_None); resultobj = Py_None;
2821 return resultobj;
2822 fail:
2823 return NULL;
2824 }
2825
2826
2827 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2828 PyObject *resultobj;
2829 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2830 bool arg2 ;
2831 long arg3 = (long) wxFULLSCREEN_ALL ;
2832 bool result;
2833 PyObject * obj0 = 0 ;
2834 PyObject * obj1 = 0 ;
2835 PyObject * obj2 = 0 ;
2836 char *kwnames[] = {
2837 (char *) "self",(char *) "show",(char *) "style", NULL
2838 };
2839
2840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2843 arg2 = (bool) SWIG_AsBool(obj1);
2844 if (PyErr_Occurred()) SWIG_fail;
2845 if (obj2) {
2846 arg3 = (long) SWIG_AsLong(obj2);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 {
2857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2858 }
2859 return resultobj;
2860 fail:
2861 return NULL;
2862 }
2863
2864
2865 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2866 PyObject *resultobj;
2867 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2868 bool result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 {
2885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2886 }
2887 return resultobj;
2888 fail:
2889 return NULL;
2890 }
2891
2892
2893 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject *resultobj;
2895 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2896 wxString *arg2 = 0 ;
2897 bool temp2 = False ;
2898 PyObject * obj0 = 0 ;
2899 PyObject * obj1 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "title", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 {
2908 arg2 = wxString_in_helper(obj1);
2909 if (arg2 == NULL) SWIG_fail;
2910 temp2 = True;
2911 }
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->SetTitle((wxString const &)*arg2);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 {
2921 if (temp2)
2922 delete arg2;
2923 }
2924 return resultobj;
2925 fail:
2926 {
2927 if (temp2)
2928 delete arg2;
2929 }
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2937 wxString result;
2938 PyObject * obj0 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 {
2954 #if wxUSE_UNICODE
2955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2956 #else
2957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2958 #endif
2959 }
2960 return resultobj;
2961 fail:
2962 return NULL;
2963 }
2964
2965
2966 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2967 PyObject *resultobj;
2968 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2969 wxRegion *arg2 = 0 ;
2970 bool result;
2971 PyObject * obj0 = 0 ;
2972 PyObject * obj1 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self",(char *) "region", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2981 SWIG_POINTER_EXCEPTION | 0)) == -1)
2982 SWIG_fail;
2983 if (arg2 == NULL) {
2984 PyErr_SetString(PyExc_TypeError,"null reference");
2985 SWIG_fail;
2986 }
2987 {
2988 PyThreadState* __tstate = wxPyBeginAllowThreads();
2989 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2990
2991 wxPyEndAllowThreads(__tstate);
2992 if (PyErr_Occurred()) SWIG_fail;
2993 }
2994 {
2995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2996 }
2997 return resultobj;
2998 fail:
2999 return NULL;
3000 }
3001
3002
3003 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3004 PyObject *obj;
3005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3006 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3007 Py_INCREF(obj);
3008 return Py_BuildValue((char *)"");
3009 }
3010 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxWindow *arg1 = (wxWindow *) 0 ;
3013 int arg2 ;
3014 wxString *arg3 = 0 ;
3015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3017 wxSize const &arg5_defvalue = wxDefaultSize ;
3018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3019 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3020 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3021 wxString *arg7 = (wxString *) &arg7_defvalue ;
3022 wxFrame *result;
3023 bool temp3 = False ;
3024 wxPoint temp4 ;
3025 wxSize temp5 ;
3026 bool temp7 = False ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 PyObject * obj2 = 0 ;
3030 PyObject * obj3 = 0 ;
3031 PyObject * obj4 = 0 ;
3032 PyObject * obj5 = 0 ;
3033 PyObject * obj6 = 0 ;
3034 char *kwnames[] = {
3035 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3041 arg2 = (int const) SWIG_AsInt(obj1);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 {
3044 arg3 = wxString_in_helper(obj2);
3045 if (arg3 == NULL) SWIG_fail;
3046 temp3 = True;
3047 }
3048 if (obj3) {
3049 {
3050 arg4 = &temp4;
3051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3052 }
3053 }
3054 if (obj4) {
3055 {
3056 arg5 = &temp5;
3057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3058 }
3059 }
3060 if (obj5) {
3061 arg6 = (long) SWIG_AsLong(obj5);
3062 if (PyErr_Occurred()) SWIG_fail;
3063 }
3064 if (obj6) {
3065 {
3066 arg7 = wxString_in_helper(obj6);
3067 if (arg7 == NULL) SWIG_fail;
3068 temp7 = True;
3069 }
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 {
3079 resultobj = wxPyMake_wxObject(result);
3080 }
3081 {
3082 if (temp3)
3083 delete arg3;
3084 }
3085 {
3086 if (temp7)
3087 delete arg7;
3088 }
3089 return resultobj;
3090 fail:
3091 {
3092 if (temp3)
3093 delete arg3;
3094 }
3095 {
3096 if (temp7)
3097 delete arg7;
3098 }
3099 return NULL;
3100 }
3101
3102
3103 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxFrame *result;
3106 char *kwnames[] = {
3107 NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3111 {
3112 PyThreadState* __tstate = wxPyBeginAllowThreads();
3113 result = (wxFrame *)new wxFrame();
3114
3115 wxPyEndAllowThreads(__tstate);
3116 if (PyErr_Occurred()) SWIG_fail;
3117 }
3118 {
3119 resultobj = wxPyMake_wxObject(result);
3120 }
3121 return resultobj;
3122 fail:
3123 return NULL;
3124 }
3125
3126
3127 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3128 PyObject *resultobj;
3129 wxFrame *arg1 = (wxFrame *) 0 ;
3130 wxWindow *arg2 = (wxWindow *) 0 ;
3131 int arg3 ;
3132 wxString *arg4 = 0 ;
3133 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3134 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3135 wxSize const &arg6_defvalue = wxDefaultSize ;
3136 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3137 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3138 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3139 wxString *arg8 = (wxString *) &arg8_defvalue ;
3140 bool result;
3141 bool temp4 = False ;
3142 wxPoint temp5 ;
3143 wxSize temp6 ;
3144 bool temp8 = False ;
3145 PyObject * obj0 = 0 ;
3146 PyObject * obj1 = 0 ;
3147 PyObject * obj2 = 0 ;
3148 PyObject * obj3 = 0 ;
3149 PyObject * obj4 = 0 ;
3150 PyObject * obj5 = 0 ;
3151 PyObject * obj6 = 0 ;
3152 PyObject * obj7 = 0 ;
3153 char *kwnames[] = {
3154 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3155 };
3156
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3162 arg3 = (int const) SWIG_AsInt(obj2);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 {
3165 arg4 = wxString_in_helper(obj3);
3166 if (arg4 == NULL) SWIG_fail;
3167 temp4 = True;
3168 }
3169 if (obj4) {
3170 {
3171 arg5 = &temp5;
3172 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3173 }
3174 }
3175 if (obj5) {
3176 {
3177 arg6 = &temp6;
3178 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3179 }
3180 }
3181 if (obj6) {
3182 arg7 = (long) SWIG_AsLong(obj6);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 if (obj7) {
3186 {
3187 arg8 = wxString_in_helper(obj7);
3188 if (arg8 == NULL) SWIG_fail;
3189 temp8 = True;
3190 }
3191 }
3192 {
3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
3194 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3195
3196 wxPyEndAllowThreads(__tstate);
3197 if (PyErr_Occurred()) SWIG_fail;
3198 }
3199 {
3200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3201 }
3202 {
3203 if (temp4)
3204 delete arg4;
3205 }
3206 {
3207 if (temp8)
3208 delete arg8;
3209 }
3210 return resultobj;
3211 fail:
3212 {
3213 if (temp4)
3214 delete arg4;
3215 }
3216 {
3217 if (temp8)
3218 delete arg8;
3219 }
3220 return NULL;
3221 }
3222
3223
3224 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxFrame *arg1 = (wxFrame *) 0 ;
3227 wxPoint result;
3228 PyObject * obj0 = 0 ;
3229 char *kwnames[] = {
3230 (char *) "self", NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3236 {
3237 PyThreadState* __tstate = wxPyBeginAllowThreads();
3238 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3239
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 {
3244 wxPoint * resultptr;
3245 resultptr = new wxPoint((wxPoint &) result);
3246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3247 }
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxFrame *arg1 = (wxFrame *) 0 ;
3257 PyObject * obj0 = 0 ;
3258 char *kwnames[] = {
3259 (char *) "self", NULL
3260 };
3261
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 (arg1)->SendSizeEvent();
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxFrame *arg1 = (wxFrame *) 0 ;
3282 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3283 PyObject * obj0 = 0 ;
3284 PyObject * obj1 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self",(char *) "menubar", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 (arg1)->SetMenuBar(arg2);
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 Py_INCREF(Py_None); resultobj = Py_None;
3302 return resultobj;
3303 fail:
3304 return NULL;
3305 }
3306
3307
3308 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3309 PyObject *resultobj;
3310 wxFrame *arg1 = (wxFrame *) 0 ;
3311 wxMenuBar *result;
3312 PyObject * obj0 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "self", NULL
3315 };
3316
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 {
3328 resultobj = wxPyMake_wxObject(result);
3329 }
3330 return resultobj;
3331 fail:
3332 return NULL;
3333 }
3334
3335
3336 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3337 PyObject *resultobj;
3338 wxFrame *arg1 = (wxFrame *) 0 ;
3339 int arg2 ;
3340 bool result;
3341 PyObject * obj0 = 0 ;
3342 PyObject * obj1 = 0 ;
3343 char *kwnames[] = {
3344 (char *) "self",(char *) "winid", NULL
3345 };
3346
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3350 arg2 = (int) SWIG_AsInt(obj1);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (bool)(arg1)->ProcessCommand(arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 {
3360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3361 }
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxFrame *arg1 = (wxFrame *) 0 ;
3371 int arg2 = (int) 1 ;
3372 long arg3 = (long) wxST_SIZEGRIP ;
3373 int arg4 = (int) 0 ;
3374 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3375 wxString *arg5 = (wxString *) &arg5_defvalue ;
3376 wxStatusBar *result;
3377 bool temp5 = False ;
3378 PyObject * obj0 = 0 ;
3379 PyObject * obj1 = 0 ;
3380 PyObject * obj2 = 0 ;
3381 PyObject * obj3 = 0 ;
3382 PyObject * obj4 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3390 if (obj1) {
3391 arg2 = (int) SWIG_AsInt(obj1);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 if (obj2) {
3395 arg3 = (long) SWIG_AsLong(obj2);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 if (obj3) {
3399 arg4 = (int) SWIG_AsInt(obj3);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 if (obj4) {
3403 {
3404 arg5 = wxString_in_helper(obj4);
3405 if (arg5 == NULL) SWIG_fail;
3406 temp5 = True;
3407 }
3408 }
3409 {
3410 PyThreadState* __tstate = wxPyBeginAllowThreads();
3411 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3412
3413 wxPyEndAllowThreads(__tstate);
3414 if (PyErr_Occurred()) SWIG_fail;
3415 }
3416 {
3417 resultobj = wxPyMake_wxObject(result);
3418 }
3419 {
3420 if (temp5)
3421 delete arg5;
3422 }
3423 return resultobj;
3424 fail:
3425 {
3426 if (temp5)
3427 delete arg5;
3428 }
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxFrame *arg1 = (wxFrame *) 0 ;
3436 wxStatusBar *result;
3437 PyObject * obj0 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3448
3449 wxPyEndAllowThreads(__tstate);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 {
3453 resultobj = wxPyMake_wxObject(result);
3454 }
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxFrame *arg1 = (wxFrame *) 0 ;
3464 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3465 PyObject * obj0 = 0 ;
3466 PyObject * obj1 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self",(char *) "statBar", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 (arg1)->SetStatusBar(arg2);
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 Py_INCREF(Py_None); resultobj = Py_None;
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3491 PyObject *resultobj;
3492 wxFrame *arg1 = (wxFrame *) 0 ;
3493 wxString *arg2 = 0 ;
3494 int arg3 = (int) 0 ;
3495 bool temp2 = False ;
3496 PyObject * obj0 = 0 ;
3497 PyObject * obj1 = 0 ;
3498 PyObject * obj2 = 0 ;
3499 char *kwnames[] = {
3500 (char *) "self",(char *) "text",(char *) "number", NULL
3501 };
3502
3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3506 {
3507 arg2 = wxString_in_helper(obj1);
3508 if (arg2 == NULL) SWIG_fail;
3509 temp2 = True;
3510 }
3511 if (obj2) {
3512 arg3 = (int) SWIG_AsInt(obj2);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 Py_INCREF(Py_None); resultobj = Py_None;
3523 {
3524 if (temp2)
3525 delete arg2;
3526 }
3527 return resultobj;
3528 fail:
3529 {
3530 if (temp2)
3531 delete arg2;
3532 }
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxFrame *arg1 = (wxFrame *) 0 ;
3540 int arg2 ;
3541 int *arg3 = (int *) 0 ;
3542 PyObject * obj0 = 0 ;
3543 PyObject * obj1 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "self",(char *) "widths", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3551 {
3552 arg2 = PyList_Size(obj1);
3553 arg3 = int_LIST_helper(obj1);
3554 if (arg3 == NULL) SWIG_fail;
3555 }
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 Py_INCREF(Py_None); resultobj = Py_None;
3564 {
3565 if (arg3) delete [] arg3;
3566 }
3567 return resultobj;
3568 fail:
3569 {
3570 if (arg3) delete [] arg3;
3571 }
3572 return NULL;
3573 }
3574
3575
3576 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxFrame *arg1 = (wxFrame *) 0 ;
3579 wxString *arg2 = 0 ;
3580 int arg3 = (int) 0 ;
3581 bool temp2 = False ;
3582 PyObject * obj0 = 0 ;
3583 PyObject * obj1 = 0 ;
3584 PyObject * obj2 = 0 ;
3585 char *kwnames[] = {
3586 (char *) "self",(char *) "text",(char *) "number", NULL
3587 };
3588
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3592 {
3593 arg2 = wxString_in_helper(obj1);
3594 if (arg2 == NULL) SWIG_fail;
3595 temp2 = True;
3596 }
3597 if (obj2) {
3598 arg3 = (int) SWIG_AsInt(obj2);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 Py_INCREF(Py_None); resultobj = Py_None;
3609 {
3610 if (temp2)
3611 delete arg2;
3612 }
3613 return resultobj;
3614 fail:
3615 {
3616 if (temp2)
3617 delete arg2;
3618 }
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxFrame *arg1 = (wxFrame *) 0 ;
3626 int arg2 = (int) 0 ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "number", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3636 if (obj1) {
3637 arg2 = (int) SWIG_AsInt(obj1);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 (arg1)->PopStatusText(arg2);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 return resultobj;
3649 fail:
3650 return NULL;
3651 }
3652
3653
3654 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxFrame *arg1 = (wxFrame *) 0 ;
3657 int arg2 ;
3658 PyObject * obj0 = 0 ;
3659 PyObject * obj1 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self",(char *) "n", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3667 arg2 = (int) SWIG_AsInt(obj1);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 (arg1)->SetStatusBarPane(arg2);
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 Py_INCREF(Py_None); resultobj = Py_None;
3677 return resultobj;
3678 fail:
3679 return NULL;
3680 }
3681
3682
3683 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj;
3685 wxFrame *arg1 = (wxFrame *) 0 ;
3686 int result;
3687 PyObject * obj0 = 0 ;
3688 char *kwnames[] = {
3689 (char *) "self", NULL
3690 };
3691
3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 resultobj = SWIG_FromInt((int)result);
3703 return resultobj;
3704 fail:
3705 return NULL;
3706 }
3707
3708
3709 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxFrame *arg1 = (wxFrame *) 0 ;
3712 long arg2 = (long) -1 ;
3713 int arg3 = (int) -1 ;
3714 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3715 wxString *arg4 = (wxString *) &arg4_defvalue ;
3716 wxToolBar *result;
3717 bool temp4 = False ;
3718 PyObject * obj0 = 0 ;
3719 PyObject * obj1 = 0 ;
3720 PyObject * obj2 = 0 ;
3721 PyObject * obj3 = 0 ;
3722 char *kwnames[] = {
3723 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3724 };
3725
3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3729 if (obj1) {
3730 arg2 = (long) SWIG_AsLong(obj1);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
3733 if (obj2) {
3734 arg3 = (int) SWIG_AsInt(obj2);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 if (obj3) {
3738 {
3739 arg4 = wxString_in_helper(obj3);
3740 if (arg4 == NULL) SWIG_fail;
3741 temp4 = True;
3742 }
3743 }
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752 resultobj = wxPyMake_wxObject(result);
3753 }
3754 {
3755 if (temp4)
3756 delete arg4;
3757 }
3758 return resultobj;
3759 fail:
3760 {
3761 if (temp4)
3762 delete arg4;
3763 }
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxFrame *arg1 = (wxFrame *) 0 ;
3771 wxToolBar *result;
3772 PyObject * obj0 = 0 ;
3773 char *kwnames[] = {
3774 (char *) "self", NULL
3775 };
3776
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3780 {
3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
3782 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
3787 {
3788 resultobj = wxPyMake_wxObject(result);
3789 }
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxFrame *arg1 = (wxFrame *) 0 ;
3799 wxToolBar *arg2 = (wxToolBar *) 0 ;
3800 PyObject * obj0 = 0 ;
3801 PyObject * obj1 = 0 ;
3802 char *kwnames[] = {
3803 (char *) "self",(char *) "toolbar", NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3811 {
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 (arg1)->SetToolBar(arg2);
3814
3815 wxPyEndAllowThreads(__tstate);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 Py_INCREF(Py_None); resultobj = Py_None;
3819 return resultobj;
3820 fail:
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxFrame *arg1 = (wxFrame *) 0 ;
3828 wxString *arg2 = 0 ;
3829 bool arg3 ;
3830 bool temp2 = False ;
3831 PyObject * obj0 = 0 ;
3832 PyObject * obj1 = 0 ;
3833 PyObject * obj2 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self",(char *) "text",(char *) "show", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3841 {
3842 arg2 = wxString_in_helper(obj1);
3843 if (arg2 == NULL) SWIG_fail;
3844 temp2 = True;
3845 }
3846 arg3 = (bool) SWIG_AsBool(obj2);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 Py_INCREF(Py_None); resultobj = Py_None;
3856 {
3857 if (temp2)
3858 delete arg2;
3859 }
3860 return resultobj;
3861 fail:
3862 {
3863 if (temp2)
3864 delete arg2;
3865 }
3866 return NULL;
3867 }
3868
3869
3870 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj;
3872 wxFrame *arg1 = (wxFrame *) 0 ;
3873 wxMenu *arg2 = (wxMenu *) NULL ;
3874 PyObject * obj0 = 0 ;
3875 PyObject * obj1 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self",(char *) "menu", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3883 if (obj1) {
3884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3886 }
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->DoMenuUpdates(arg2);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 Py_INCREF(Py_None); resultobj = Py_None;
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3902 PyObject *obj;
3903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3904 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3905 Py_INCREF(obj);
3906 return Py_BuildValue((char *)"");
3907 }
3908 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxWindow *arg1 = (wxWindow *) 0 ;
3911 int arg2 ;
3912 wxString *arg3 = 0 ;
3913 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3914 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3915 wxSize const &arg5_defvalue = wxDefaultSize ;
3916 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3917 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3918 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3919 wxString *arg7 = (wxString *) &arg7_defvalue ;
3920 wxDialog *result;
3921 bool temp3 = False ;
3922 wxPoint temp4 ;
3923 wxSize temp5 ;
3924 bool temp7 = False ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 PyObject * obj2 = 0 ;
3928 PyObject * obj3 = 0 ;
3929 PyObject * obj4 = 0 ;
3930 PyObject * obj5 = 0 ;
3931 PyObject * obj6 = 0 ;
3932 char *kwnames[] = {
3933 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3934 };
3935
3936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3939 arg2 = (int const) SWIG_AsInt(obj1);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 {
3942 arg3 = wxString_in_helper(obj2);
3943 if (arg3 == NULL) SWIG_fail;
3944 temp3 = True;
3945 }
3946 if (obj3) {
3947 {
3948 arg4 = &temp4;
3949 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3950 }
3951 }
3952 if (obj4) {
3953 {
3954 arg5 = &temp5;
3955 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3956 }
3957 }
3958 if (obj5) {
3959 arg6 = (long) SWIG_AsLong(obj5);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 if (obj6) {
3963 {
3964 arg7 = wxString_in_helper(obj6);
3965 if (arg7 == NULL) SWIG_fail;
3966 temp7 = True;
3967 }
3968 }
3969 {
3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
3971 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3977 {
3978 if (temp3)
3979 delete arg3;
3980 }
3981 {
3982 if (temp7)
3983 delete arg7;
3984 }
3985 return resultobj;
3986 fail:
3987 {
3988 if (temp3)
3989 delete arg3;
3990 }
3991 {
3992 if (temp7)
3993 delete arg7;
3994 }
3995 return NULL;
3996 }
3997
3998
3999 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxDialog *result;
4002 char *kwnames[] = {
4003 NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (wxDialog *)new wxDialog();
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
4015 return resultobj;
4016 fail:
4017 return NULL;
4018 }
4019
4020
4021 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxDialog *arg1 = (wxDialog *) 0 ;
4024 wxWindow *arg2 = (wxWindow *) 0 ;
4025 int arg3 ;
4026 wxString *arg4 = 0 ;
4027 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4028 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4029 wxSize const &arg6_defvalue = wxDefaultSize ;
4030 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4031 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4032 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4033 wxString *arg8 = (wxString *) &arg8_defvalue ;
4034 bool result;
4035 bool temp4 = False ;
4036 wxPoint temp5 ;
4037 wxSize temp6 ;
4038 bool temp8 = False ;
4039 PyObject * obj0 = 0 ;
4040 PyObject * obj1 = 0 ;
4041 PyObject * obj2 = 0 ;
4042 PyObject * obj3 = 0 ;
4043 PyObject * obj4 = 0 ;
4044 PyObject * obj5 = 0 ;
4045 PyObject * obj6 = 0 ;
4046 PyObject * obj7 = 0 ;
4047 char *kwnames[] = {
4048 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4049 };
4050
4051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4056 arg3 = (int const) SWIG_AsInt(obj2);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 {
4059 arg4 = wxString_in_helper(obj3);
4060 if (arg4 == NULL) SWIG_fail;
4061 temp4 = True;
4062 }
4063 if (obj4) {
4064 {
4065 arg5 = &temp5;
4066 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4067 }
4068 }
4069 if (obj5) {
4070 {
4071 arg6 = &temp6;
4072 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4073 }
4074 }
4075 if (obj6) {
4076 arg7 = (long) SWIG_AsLong(obj6);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 if (obj7) {
4080 {
4081 arg8 = wxString_in_helper(obj7);
4082 if (arg8 == NULL) SWIG_fail;
4083 temp8 = True;
4084 }
4085 }
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 {
4094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4095 }
4096 {
4097 if (temp4)
4098 delete arg4;
4099 }
4100 {
4101 if (temp8)
4102 delete arg8;
4103 }
4104 return resultobj;
4105 fail:
4106 {
4107 if (temp4)
4108 delete arg4;
4109 }
4110 {
4111 if (temp8)
4112 delete arg8;
4113 }
4114 return NULL;
4115 }
4116
4117
4118 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxDialog *arg1 = (wxDialog *) 0 ;
4121 int arg2 ;
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self",(char *) "returnCode", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4131 arg2 = (int) SWIG_AsInt(obj1);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 (arg1)->SetReturnCode(arg2);
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 Py_INCREF(Py_None); resultobj = Py_None;
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxDialog *arg1 = (wxDialog *) 0 ;
4150 int result;
4151 PyObject * obj0 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 resultobj = SWIG_FromInt((int)result);
4167 return resultobj;
4168 fail:
4169 return NULL;
4170 }
4171
4172
4173 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxDialog *arg1 = (wxDialog *) 0 ;
4176 wxString *arg2 = 0 ;
4177 wxSizer *result;
4178 bool temp2 = False ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 char *kwnames[] = {
4182 (char *) "self",(char *) "message", NULL
4183 };
4184
4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4188 {
4189 arg2 = wxString_in_helper(obj1);
4190 if (arg2 == NULL) SWIG_fail;
4191 temp2 = True;
4192 }
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 {
4201 resultobj = wxPyMake_wxSizer(result);
4202 }
4203 {
4204 if (temp2)
4205 delete arg2;
4206 }
4207 return resultobj;
4208 fail:
4209 {
4210 if (temp2)
4211 delete arg2;
4212 }
4213 return NULL;
4214 }
4215
4216
4217 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxDialog *arg1 = (wxDialog *) 0 ;
4220 long arg2 ;
4221 wxSizer *result;
4222 PyObject * obj0 = 0 ;
4223 PyObject * obj1 = 0 ;
4224 char *kwnames[] = {
4225 (char *) "self",(char *) "flags", NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4231 arg2 = (long) SWIG_AsLong(obj1);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 resultobj = wxPyMake_wxSizer(result);
4242 }
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxDialog *arg1 = (wxDialog *) 0 ;
4252 bool result;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (bool)((wxDialog const *)arg1)->IsModal();
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 {
4269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4270 }
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxDialog *arg1 = (wxDialog *) 0 ;
4280 int result;
4281 PyObject * obj0 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = (int)(arg1)->ShowModal();
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 resultobj = SWIG_FromInt((int)result);
4297 return resultobj;
4298 fail:
4299 return NULL;
4300 }
4301
4302
4303 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxDialog *arg1 = (wxDialog *) 0 ;
4306 int arg2 ;
4307 PyObject * obj0 = 0 ;
4308 PyObject * obj1 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self",(char *) "retCode", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4316 arg2 = (int) SWIG_AsInt(obj1);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 (arg1)->EndModal(arg2);
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 Py_INCREF(Py_None); resultobj = Py_None;
4326 return resultobj;
4327 fail:
4328 return NULL;
4329 }
4330
4331
4332 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4333 PyObject *obj;
4334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4335 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4336 Py_INCREF(obj);
4337 return Py_BuildValue((char *)"");
4338 }
4339 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxWindow *arg1 = (wxWindow *) 0 ;
4342 int arg2 ;
4343 wxString *arg3 = 0 ;
4344 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4345 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4346 wxSize const &arg5_defvalue = wxDefaultSize ;
4347 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4348 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4349 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4350 wxString *arg7 = (wxString *) &arg7_defvalue ;
4351 wxMiniFrame *result;
4352 bool temp3 = False ;
4353 wxPoint temp4 ;
4354 wxSize temp5 ;
4355 bool temp7 = False ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 PyObject * obj3 = 0 ;
4360 PyObject * obj4 = 0 ;
4361 PyObject * obj5 = 0 ;
4362 PyObject * obj6 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4370 arg2 = (int const) SWIG_AsInt(obj1);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 {
4373 arg3 = wxString_in_helper(obj2);
4374 if (arg3 == NULL) SWIG_fail;
4375 temp3 = True;
4376 }
4377 if (obj3) {
4378 {
4379 arg4 = &temp4;
4380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4381 }
4382 }
4383 if (obj4) {
4384 {
4385 arg5 = &temp5;
4386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4387 }
4388 }
4389 if (obj5) {
4390 arg6 = (long) SWIG_AsLong(obj5);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 if (obj6) {
4394 {
4395 arg7 = wxString_in_helper(obj6);
4396 if (arg7 == NULL) SWIG_fail;
4397 temp7 = True;
4398 }
4399 }
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4408 {
4409 if (temp3)
4410 delete arg3;
4411 }
4412 {
4413 if (temp7)
4414 delete arg7;
4415 }
4416 return resultobj;
4417 fail:
4418 {
4419 if (temp3)
4420 delete arg3;
4421 }
4422 {
4423 if (temp7)
4424 delete arg7;
4425 }
4426 return NULL;
4427 }
4428
4429
4430 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj;
4432 wxMiniFrame *result;
4433 char *kwnames[] = {
4434 NULL
4435 };
4436
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 result = (wxMiniFrame *)new wxMiniFrame();
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4446 return resultobj;
4447 fail:
4448 return NULL;
4449 }
4450
4451
4452 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4455 wxWindow *arg2 = (wxWindow *) 0 ;
4456 int arg3 ;
4457 wxString *arg4 = 0 ;
4458 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4459 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4460 wxSize const &arg6_defvalue = wxDefaultSize ;
4461 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4462 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4463 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4464 wxString *arg8 = (wxString *) &arg8_defvalue ;
4465 bool result;
4466 bool temp4 = False ;
4467 wxPoint temp5 ;
4468 wxSize temp6 ;
4469 bool temp8 = False ;
4470 PyObject * obj0 = 0 ;
4471 PyObject * obj1 = 0 ;
4472 PyObject * obj2 = 0 ;
4473 PyObject * obj3 = 0 ;
4474 PyObject * obj4 = 0 ;
4475 PyObject * obj5 = 0 ;
4476 PyObject * obj6 = 0 ;
4477 PyObject * obj7 = 0 ;
4478 char *kwnames[] = {
4479 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4480 };
4481
4482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4487 arg3 = (int const) SWIG_AsInt(obj2);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 {
4490 arg4 = wxString_in_helper(obj3);
4491 if (arg4 == NULL) SWIG_fail;
4492 temp4 = True;
4493 }
4494 if (obj4) {
4495 {
4496 arg5 = &temp5;
4497 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4498 }
4499 }
4500 if (obj5) {
4501 {
4502 arg6 = &temp6;
4503 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4504 }
4505 }
4506 if (obj6) {
4507 arg7 = (long) SWIG_AsLong(obj6);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 if (obj7) {
4511 {
4512 arg8 = wxString_in_helper(obj7);
4513 if (arg8 == NULL) SWIG_fail;
4514 temp8 = True;
4515 }
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 {
4525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4526 }
4527 {
4528 if (temp4)
4529 delete arg4;
4530 }
4531 {
4532 if (temp8)
4533 delete arg8;
4534 }
4535 return resultobj;
4536 fail:
4537 {
4538 if (temp4)
4539 delete arg4;
4540 }
4541 {
4542 if (temp8)
4543 delete arg8;
4544 }
4545 return NULL;
4546 }
4547
4548
4549 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4550 PyObject *obj;
4551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4552 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4553 Py_INCREF(obj);
4554 return Py_BuildValue((char *)"");
4555 }
4556 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4557 PyObject *resultobj;
4558 wxBitmap *arg1 = 0 ;
4559 wxWindow *arg2 = (wxWindow *) 0 ;
4560 int arg3 ;
4561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4563 wxSize const &arg5_defvalue = wxDefaultSize ;
4564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4565 long arg6 = (long) wxNO_BORDER ;
4566 wxSplashScreenWindow *result;
4567 wxPoint temp4 ;
4568 wxSize temp5 ;
4569 PyObject * obj0 = 0 ;
4570 PyObject * obj1 = 0 ;
4571 PyObject * obj2 = 0 ;
4572 PyObject * obj3 = 0 ;
4573 PyObject * obj4 = 0 ;
4574 PyObject * obj5 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4581 SWIG_POINTER_EXCEPTION | 0)) == -1)
4582 SWIG_fail;
4583 if (arg1 == NULL) {
4584 PyErr_SetString(PyExc_TypeError,"null reference");
4585 SWIG_fail;
4586 }
4587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4589 arg3 = (int) SWIG_AsInt(obj2);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 if (obj3) {
4592 {
4593 arg4 = &temp4;
4594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4595 }
4596 }
4597 if (obj4) {
4598 {
4599 arg5 = &temp5;
4600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4601 }
4602 }
4603 if (obj5) {
4604 arg6 = (long) SWIG_AsLong(obj5);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4624 wxBitmap *arg2 = 0 ;
4625 PyObject * obj0 = 0 ;
4626 PyObject * obj1 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "bitmap", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1)
4636 SWIG_fail;
4637 if (arg2 == NULL) {
4638 PyErr_SetString(PyExc_TypeError,"null reference");
4639 SWIG_fail;
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 Py_INCREF(Py_None); resultobj = Py_None;
4649 return resultobj;
4650 fail:
4651 return NULL;
4652 }
4653
4654
4655 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4656 PyObject *resultobj;
4657 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4658 wxBitmap *result;
4659 PyObject * obj0 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 {
4670 wxBitmap &_result_ref = (arg1)->GetBitmap();
4671 result = (wxBitmap *) &_result_ref;
4672 }
4673
4674 wxPyEndAllowThreads(__tstate);
4675 if (PyErr_Occurred()) SWIG_fail;
4676 }
4677 {
4678 wxBitmap* resultptr = new wxBitmap(*result);
4679 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4680 }
4681 return resultobj;
4682 fail:
4683 return NULL;
4684 }
4685
4686
4687 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4688 PyObject *obj;
4689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4690 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4691 Py_INCREF(obj);
4692 return Py_BuildValue((char *)"");
4693 }
4694 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj;
4696 wxBitmap *arg1 = 0 ;
4697 long arg2 ;
4698 int arg3 ;
4699 wxWindow *arg4 = (wxWindow *) 0 ;
4700 int arg5 ;
4701 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4702 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4703 wxSize const &arg7_defvalue = wxDefaultSize ;
4704 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4705 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4706 wxSplashScreen *result;
4707 wxPoint temp6 ;
4708 wxSize temp7 ;
4709 PyObject * obj0 = 0 ;
4710 PyObject * obj1 = 0 ;
4711 PyObject * obj2 = 0 ;
4712 PyObject * obj3 = 0 ;
4713 PyObject * obj4 = 0 ;
4714 PyObject * obj5 = 0 ;
4715 PyObject * obj6 = 0 ;
4716 PyObject * obj7 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4723 SWIG_POINTER_EXCEPTION | 0)) == -1)
4724 SWIG_fail;
4725 if (arg1 == NULL) {
4726 PyErr_SetString(PyExc_TypeError,"null reference");
4727 SWIG_fail;
4728 }
4729 arg2 = (long) SWIG_AsLong(obj1);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 arg3 = (int) SWIG_AsInt(obj2);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4735 arg5 = (int) SWIG_AsInt(obj4);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 if (obj5) {
4738 {
4739 arg6 = &temp6;
4740 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4741 }
4742 }
4743 if (obj6) {
4744 {
4745 arg7 = &temp7;
4746 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4747 }
4748 }
4749 if (obj7) {
4750 arg8 = (long) SWIG_AsLong(obj7);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4770 long result;
4771 PyObject * obj0 = 0 ;
4772 char *kwnames[] = {
4773 (char *) "self", NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 resultobj = SWIG_FromLong((long)result);
4787 return resultobj;
4788 fail:
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4796 wxSplashScreenWindow *result;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4813 return resultobj;
4814 fail:
4815 return NULL;
4816 }
4817
4818
4819 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4822 int result;
4823 PyObject * obj0 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 resultobj = SWIG_FromInt((int)result);
4839 return resultobj;
4840 fail:
4841 return NULL;
4842 }
4843
4844
4845 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4846 PyObject *obj;
4847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4848 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4849 Py_INCREF(obj);
4850 return Py_BuildValue((char *)"");
4851 }
4852 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxWindow *arg1 = (wxWindow *) 0 ;
4855 int arg2 = (int) -1 ;
4856 long arg3 = (long) wxST_SIZEGRIP ;
4857 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4858 wxString *arg4 = (wxString *) &arg4_defvalue ;
4859 wxStatusBar *result;
4860 bool temp4 = False ;
4861 PyObject * obj0 = 0 ;
4862 PyObject * obj1 = 0 ;
4863 PyObject * obj2 = 0 ;
4864 PyObject * obj3 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4872 if (obj1) {
4873 arg2 = (int) SWIG_AsInt(obj1);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 if (obj2) {
4877 arg3 = (long) SWIG_AsLong(obj2);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 if (obj3) {
4881 {
4882 arg4 = wxString_in_helper(obj3);
4883 if (arg4 == NULL) SWIG_fail;
4884 temp4 = True;
4885 }
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 {
4895 resultobj = wxPyMake_wxObject(result);
4896 }
4897 {
4898 if (temp4)
4899 delete arg4;
4900 }
4901 return resultobj;
4902 fail:
4903 {
4904 if (temp4)
4905 delete arg4;
4906 }
4907 return NULL;
4908 }
4909
4910
4911 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxStatusBar *result;
4914 char *kwnames[] = {
4915 NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (wxStatusBar *)new wxStatusBar();
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 {
4927 resultobj = wxPyMake_wxObject(result);
4928 }
4929 return resultobj;
4930 fail:
4931 return NULL;
4932 }
4933
4934
4935 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4938 wxWindow *arg2 = (wxWindow *) 0 ;
4939 int arg3 ;
4940 long arg4 = (long) wxST_SIZEGRIP ;
4941 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4942 wxString *arg5 = (wxString *) &arg5_defvalue ;
4943 bool result;
4944 bool temp5 = False ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 PyObject * obj2 = 0 ;
4948 PyObject * obj3 = 0 ;
4949 PyObject * obj4 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4959 arg3 = (int) SWIG_AsInt(obj2);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 if (obj3) {
4962 arg4 = (long) SWIG_AsLong(obj3);
4963 if (PyErr_Occurred()) SWIG_fail;
4964 }
4965 if (obj4) {
4966 {
4967 arg5 = wxString_in_helper(obj4);
4968 if (arg5 == NULL) SWIG_fail;
4969 temp5 = True;
4970 }
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 {
4980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4981 }
4982 {
4983 if (temp5)
4984 delete arg5;
4985 }
4986 return resultobj;
4987 fail:
4988 {
4989 if (temp5)
4990 delete arg5;
4991 }
4992 return NULL;
4993 }
4994
4995
4996 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4999 int arg2 = (int) 1 ;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "number", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5009 if (obj1) {
5010 arg2 = (int) SWIG_AsInt(obj1);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 (arg1)->SetFieldsCount(arg2);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 Py_INCREF(Py_None); resultobj = Py_None;
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5030 int result;
5031 PyObject * obj0 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 resultobj = SWIG_FromInt((int)result);
5047 return resultobj;
5048 fail:
5049 return NULL;
5050 }
5051
5052
5053 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5056 wxString *arg2 = 0 ;
5057 int arg3 = (int) 0 ;
5058 bool temp2 = False ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 PyObject * obj2 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self",(char *) "text",(char *) "number", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5069 {
5070 arg2 = wxString_in_helper(obj1);
5071 if (arg2 == NULL) SWIG_fail;
5072 temp2 = True;
5073 }
5074 if (obj2) {
5075 arg3 = (int) SWIG_AsInt(obj2);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 {
5087 if (temp2)
5088 delete arg2;
5089 }
5090 return resultobj;
5091 fail:
5092 {
5093 if (temp2)
5094 delete arg2;
5095 }
5096 return NULL;
5097 }
5098
5099
5100 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5101 PyObject *resultobj;
5102 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5103 int arg2 = (int) 0 ;
5104 wxString result;
5105 PyObject * obj0 = 0 ;
5106 PyObject * obj1 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self",(char *) "number", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5114 if (obj1) {
5115 arg2 = (int) SWIG_AsInt(obj1);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 {
5126 #if wxUSE_UNICODE
5127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5128 #else
5129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5130 #endif
5131 }
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5141 wxString *arg2 = 0 ;
5142 int arg3 = (int) 0 ;
5143 bool temp2 = False ;
5144 PyObject * obj0 = 0 ;
5145 PyObject * obj1 = 0 ;
5146 PyObject * obj2 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self",(char *) "text",(char *) "number", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5154 {
5155 arg2 = wxString_in_helper(obj1);
5156 if (arg2 == NULL) SWIG_fail;
5157 temp2 = True;
5158 }
5159 if (obj2) {
5160 arg3 = (int) SWIG_AsInt(obj2);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 Py_INCREF(Py_None); resultobj = Py_None;
5171 {
5172 if (temp2)
5173 delete arg2;
5174 }
5175 return resultobj;
5176 fail:
5177 {
5178 if (temp2)
5179 delete arg2;
5180 }
5181 return NULL;
5182 }
5183
5184
5185 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5188 int arg2 = (int) 0 ;
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "number", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5198 if (obj1) {
5199 arg2 = (int) SWIG_AsInt(obj1);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->PopStatusText(arg2);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213 }
5214
5215
5216 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5219 int arg2 ;
5220 int *arg3 = (int *) 0 ;
5221 PyObject * obj0 = 0 ;
5222 PyObject * obj1 = 0 ;
5223 char *kwnames[] = {
5224 (char *) "self",(char *) "widths", NULL
5225 };
5226
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5230 {
5231 arg2 = PyList_Size(obj1);
5232 arg3 = int_LIST_helper(obj1);
5233 if (arg3 == NULL) SWIG_fail;
5234 }
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 Py_INCREF(Py_None); resultobj = Py_None;
5243 {
5244 if (arg3) delete [] arg3;
5245 }
5246 return resultobj;
5247 fail:
5248 {
5249 if (arg3) delete [] arg3;
5250 }
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5258 int arg2 ;
5259 wxRect result;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "i", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 arg2 = (int) SWIG_AsInt(obj1);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 result = wxStatusBar_GetFieldRect(arg1,arg2);
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 {
5279 wxRect * resultptr;
5280 resultptr = new wxRect((wxRect &) result);
5281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5282 }
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5292 int arg2 ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self",(char *) "height", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5302 arg2 = (int) SWIG_AsInt(obj1);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 (arg1)->SetMinHeight(arg2);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 Py_INCREF(Py_None); resultobj = Py_None;
5312 return resultobj;
5313 fail:
5314 return NULL;
5315 }
5316
5317
5318 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject *resultobj;
5320 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5321 int result;
5322 PyObject * obj0 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5330 {
5331 PyThreadState* __tstate = wxPyBeginAllowThreads();
5332 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5333
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_FromInt((int)result);
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj;
5346 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5347 int result;
5348 PyObject * obj0 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 resultobj = SWIG_FromInt((int)result);
5364 return resultobj;
5365 fail:
5366 return NULL;
5367 }
5368
5369
5370 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5371 PyObject *obj;
5372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5373 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5374 Py_INCREF(obj);
5375 return Py_BuildValue((char *)"");
5376 }
5377 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5378 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5379 return 1;
5380 }
5381
5382
5383 static PyObject *_wrap_SplitterNameStr_get() {
5384 PyObject *pyobj;
5385
5386 {
5387 #if wxUSE_UNICODE
5388 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5389 #else
5390 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5391 #endif
5392 }
5393 return pyobj;
5394 }
5395
5396
5397 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxWindow *arg1 = (wxWindow *) 0 ;
5400 int arg2 = (int) -1 ;
5401 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5402 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5403 wxSize const &arg4_defvalue = wxDefaultSize ;
5404 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5405 long arg5 = (long) wxSP_3D ;
5406 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5407 wxString *arg6 = (wxString *) &arg6_defvalue ;
5408 wxSplitterWindow *result;
5409 wxPoint temp3 ;
5410 wxSize temp4 ;
5411 bool temp6 = False ;
5412 PyObject * obj0 = 0 ;
5413 PyObject * obj1 = 0 ;
5414 PyObject * obj2 = 0 ;
5415 PyObject * obj3 = 0 ;
5416 PyObject * obj4 = 0 ;
5417 PyObject * obj5 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5425 if (obj1) {
5426 arg2 = (int) SWIG_AsInt(obj1);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 if (obj2) {
5430 {
5431 arg3 = &temp3;
5432 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5433 }
5434 }
5435 if (obj3) {
5436 {
5437 arg4 = &temp4;
5438 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5439 }
5440 }
5441 if (obj4) {
5442 arg5 = (long) SWIG_AsLong(obj4);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 if (obj5) {
5446 {
5447 arg6 = wxString_in_helper(obj5);
5448 if (arg6 == NULL) SWIG_fail;
5449 temp6 = True;
5450 }
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5460 {
5461 if (temp6)
5462 delete arg6;
5463 }
5464 return resultobj;
5465 fail:
5466 {
5467 if (temp6)
5468 delete arg6;
5469 }
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxSplitterWindow *result;
5477 char *kwnames[] = {
5478 NULL
5479 };
5480
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 result = (wxSplitterWindow *)new wxSplitterWindow();
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5499 wxWindow *arg2 = (wxWindow *) 0 ;
5500 int arg3 = (int) -1 ;
5501 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5502 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5503 wxSize const &arg5_defvalue = wxDefaultSize ;
5504 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5505 long arg6 = (long) wxSP_3D ;
5506 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5507 wxString *arg7 = (wxString *) &arg7_defvalue ;
5508 bool result;
5509 wxPoint temp4 ;
5510 wxSize temp5 ;
5511 bool temp7 = False ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 PyObject * obj2 = 0 ;
5515 PyObject * obj3 = 0 ;
5516 PyObject * obj4 = 0 ;
5517 PyObject * obj5 = 0 ;
5518 PyObject * obj6 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5528 if (obj2) {
5529 arg3 = (int) SWIG_AsInt(obj2);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 if (obj3) {
5533 {
5534 arg4 = &temp4;
5535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5536 }
5537 }
5538 if (obj4) {
5539 {
5540 arg5 = &temp5;
5541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5542 }
5543 }
5544 if (obj5) {
5545 arg6 = (long) SWIG_AsLong(obj5);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 if (obj6) {
5549 {
5550 arg7 = wxString_in_helper(obj6);
5551 if (arg7 == NULL) SWIG_fail;
5552 temp7 = True;
5553 }
5554 }
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5564 }
5565 {
5566 if (temp7)
5567 delete arg7;
5568 }
5569 return resultobj;
5570 fail:
5571 {
5572 if (temp7)
5573 delete arg7;
5574 }
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5582 wxWindow *result;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 resultobj = wxPyMake_wxObject(result);
5600 }
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj;
5609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5610 wxWindow *result;
5611 PyObject * obj0 = 0 ;
5612 char *kwnames[] = {
5613 (char *) "self", NULL
5614 };
5615
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 {
5627 resultobj = wxPyMake_wxObject(result);
5628 }
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5638 int arg2 ;
5639 PyObject * obj0 = 0 ;
5640 PyObject * obj1 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "self",(char *) "mode", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5648 arg2 = (int) SWIG_AsInt(obj1);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetSplitMode(arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5667 int result;
5668 PyObject * obj0 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5679
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 resultobj = SWIG_FromInt((int)result);
5684 return resultobj;
5685 fail:
5686 return NULL;
5687 }
5688
5689
5690 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj;
5692 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5693 wxWindow *arg2 = (wxWindow *) 0 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "window", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5705 {
5706 PyThreadState* __tstate = wxPyBeginAllowThreads();
5707 (arg1)->Initialize(arg2);
5708
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 Py_INCREF(Py_None); resultobj = Py_None;
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5722 wxWindow *arg2 = (wxWindow *) 0 ;
5723 wxWindow *arg3 = (wxWindow *) 0 ;
5724 int arg4 = (int) 0 ;
5725 bool result;
5726 PyObject * obj0 = 0 ;
5727 PyObject * obj1 = 0 ;
5728 PyObject * obj2 = 0 ;
5729 PyObject * obj3 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5739 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5741 if (obj3) {
5742 arg4 = (int) SWIG_AsInt(obj3);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 {
5753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5754 }
5755 return resultobj;
5756 fail:
5757 return NULL;
5758 }
5759
5760
5761 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj;
5763 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5764 wxWindow *arg2 = (wxWindow *) 0 ;
5765 wxWindow *arg3 = (wxWindow *) 0 ;
5766 int arg4 = (int) 0 ;
5767 bool result;
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 PyObject * obj2 = 0 ;
5771 PyObject * obj3 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5781 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 if (obj3) {
5784 arg4 = (int) SWIG_AsInt(obj3);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5796 }
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5806 wxWindow *arg2 = (wxWindow *) NULL ;
5807 bool result;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "toRemove", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5817 if (obj1) {
5818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5820 }
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (bool)(arg1)->Unsplit(arg2);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 {
5829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5830 }
5831 return resultobj;
5832 fail:
5833 return NULL;
5834 }
5835
5836
5837 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5840 wxWindow *arg2 = (wxWindow *) 0 ;
5841 wxWindow *arg3 = (wxWindow *) 0 ;
5842 bool result;
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 {
5865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5866 }
5867 return resultobj;
5868 fail:
5869 return NULL;
5870 }
5871
5872
5873 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5874 PyObject *resultobj;
5875 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5876 PyObject * obj0 = 0 ;
5877 char *kwnames[] = {
5878 (char *) "self", NULL
5879 };
5880
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 (arg1)->UpdateSize();
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 Py_INCREF(Py_None); resultobj = Py_None;
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5899 PyObject *resultobj;
5900 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5901 bool result;
5902 PyObject * obj0 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 {
5918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5919 }
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5929 int arg2 ;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "width", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 arg2 = (int) SWIG_AsInt(obj1);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->SetSashSize(arg2);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 Py_INCREF(Py_None); resultobj = Py_None;
5949 return resultobj;
5950 fail:
5951 return NULL;
5952 }
5953
5954
5955 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5958 int arg2 ;
5959 PyObject * obj0 = 0 ;
5960 PyObject * obj1 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self",(char *) "width", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5968 arg2 = (int) SWIG_AsInt(obj1);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 (arg1)->SetBorderSize(arg2);
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 Py_INCREF(Py_None); resultobj = Py_None;
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5987 int result;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_FromInt((int)result);
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6013 int result;
6014 PyObject * obj0 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = SWIG_FromInt((int)result);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6039 int arg2 ;
6040 bool arg3 = (bool) True ;
6041 PyObject * obj0 = 0 ;
6042 PyObject * obj1 = 0 ;
6043 PyObject * obj2 = 0 ;
6044 char *kwnames[] = {
6045 (char *) "self",(char *) "position",(char *) "redraw", NULL
6046 };
6047
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6051 arg2 = (int) SWIG_AsInt(obj1);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 if (obj2) {
6054 arg3 = (bool) SWIG_AsBool(obj2);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 (arg1)->SetSashPosition(arg2,arg3);
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 Py_INCREF(Py_None); resultobj = Py_None;
6065 return resultobj;
6066 fail:
6067 return NULL;
6068 }
6069
6070
6071 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6072 PyObject *resultobj;
6073 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6074 int result;
6075 PyObject * obj0 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 resultobj = SWIG_FromInt((int)result);
6091 return resultobj;
6092 fail:
6093 return NULL;
6094 }
6095
6096
6097 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6100 int arg2 ;
6101 PyObject * obj0 = 0 ;
6102 PyObject * obj1 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "min", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6110 arg2 = (int) SWIG_AsInt(obj1);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->SetMinimumPaneSize(arg2);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123 }
6124
6125
6126 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6129 int result;
6130 PyObject * obj0 = 0 ;
6131 char *kwnames[] = {
6132 (char *) "self", NULL
6133 };
6134
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 resultobj = SWIG_FromInt((int)result);
6146 return resultobj;
6147 fail:
6148 return NULL;
6149 }
6150
6151
6152 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6155 int arg2 ;
6156 int arg3 ;
6157 int arg4 = (int) 5 ;
6158 bool result;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 PyObject * obj2 = 0 ;
6162 PyObject * obj3 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 arg2 = (int) SWIG_AsInt(obj1);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 arg3 = (int) SWIG_AsInt(obj2);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 if (obj3) {
6175 arg4 = (int) SWIG_AsInt(obj3);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6181
6182 wxPyEndAllowThreads(__tstate);
6183 if (PyErr_Occurred()) SWIG_fail;
6184 }
6185 {
6186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6187 }
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6197 PyObject * obj0 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 (arg1)->SizeWindows();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6222 bool arg2 ;
6223 PyObject * obj0 = 0 ;
6224 PyObject * obj1 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self",(char *) "needUpdating", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6232 arg2 = (bool) SWIG_AsBool(obj1);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 (arg1)->SetNeedUpdating(arg2);
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 Py_INCREF(Py_None); resultobj = Py_None;
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6251 bool result;
6252 PyObject * obj0 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "self", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 {
6268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6269 }
6270 return resultobj;
6271 fail:
6272 return NULL;
6273 }
6274
6275
6276 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6277 PyObject *obj;
6278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6279 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6280 Py_INCREF(obj);
6281 return Py_BuildValue((char *)"");
6282 }
6283 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj;
6285 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6286 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6287 wxSplitterEvent *result;
6288 PyObject * obj0 = 0 ;
6289 PyObject * obj1 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "type",(char *) "splitter", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6295 if (obj0) {
6296 arg1 = (wxEventType) SWIG_AsInt(obj0);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 if (obj1) {
6300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6302 }
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6311 return resultobj;
6312 fail:
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6320 int arg2 ;
6321 PyObject * obj0 = 0 ;
6322 PyObject * obj1 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self",(char *) "pos", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6330 arg2 = (int) SWIG_AsInt(obj1);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 (arg1)->SetSashPosition(arg2);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
6339 Py_INCREF(Py_None); resultobj = Py_None;
6340 return resultobj;
6341 fail:
6342 return NULL;
6343 }
6344
6345
6346 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj;
6348 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6349 int result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = SWIG_FromInt((int)result);
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6375 wxWindow *result;
6376 PyObject * obj0 = 0 ;
6377 char *kwnames[] = {
6378 (char *) "self", NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 {
6392 resultobj = wxPyMake_wxObject(result);
6393 }
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj;
6402 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6403 int result;
6404 PyObject * obj0 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6412 {
6413 PyThreadState* __tstate = wxPyBeginAllowThreads();
6414 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6415
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_FromInt((int)result);
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6429 int result;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_FromInt((int)result);
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6453 PyObject *obj;
6454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6455 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6456 Py_INCREF(obj);
6457 return Py_BuildValue((char *)"");
6458 }
6459 static int _wrap_SashNameStr_set(PyObject *_val) {
6460 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6461 return 1;
6462 }
6463
6464
6465 static PyObject *_wrap_SashNameStr_get() {
6466 PyObject *pyobj;
6467
6468 {
6469 #if wxUSE_UNICODE
6470 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6471 #else
6472 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6473 #endif
6474 }
6475 return pyobj;
6476 }
6477
6478
6479 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6480 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6481 return 1;
6482 }
6483
6484
6485 static PyObject *_wrap_SashLayoutNameStr_get() {
6486 PyObject *pyobj;
6487
6488 {
6489 #if wxUSE_UNICODE
6490 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6491 #else
6492 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6493 #endif
6494 }
6495 return pyobj;
6496 }
6497
6498
6499 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxWindow *arg1 = (wxWindow *) 0 ;
6502 int arg2 ;
6503 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6504 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6505 wxSize const &arg4_defvalue = wxDefaultSize ;
6506 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6507 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6508 wxString const &arg6_defvalue = wxPySashNameStr ;
6509 wxString *arg6 = (wxString *) &arg6_defvalue ;
6510 wxSashWindow *result;
6511 wxPoint temp3 ;
6512 wxSize temp4 ;
6513 bool temp6 = False ;
6514 PyObject * obj0 = 0 ;
6515 PyObject * obj1 = 0 ;
6516 PyObject * obj2 = 0 ;
6517 PyObject * obj3 = 0 ;
6518 PyObject * obj4 = 0 ;
6519 PyObject * obj5 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6527 arg2 = (int) SWIG_AsInt(obj1);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 if (obj2) {
6530 {
6531 arg3 = &temp3;
6532 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6533 }
6534 }
6535 if (obj3) {
6536 {
6537 arg4 = &temp4;
6538 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6539 }
6540 }
6541 if (obj4) {
6542 arg5 = (long) SWIG_AsLong(obj4);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 if (obj5) {
6546 {
6547 arg6 = wxString_in_helper(obj5);
6548 if (arg6 == NULL) SWIG_fail;
6549 temp6 = True;
6550 }
6551 }
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6560 {
6561 if (temp6)
6562 delete arg6;
6563 }
6564 return resultobj;
6565 fail:
6566 {
6567 if (temp6)
6568 delete arg6;
6569 }
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxSashWindow *result;
6577 char *kwnames[] = {
6578 NULL
6579 };
6580
6581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 result = (wxSashWindow *)new wxSashWindow();
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6599 wxWindow *arg2 = (wxWindow *) 0 ;
6600 int arg3 ;
6601 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6602 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6603 wxSize const &arg5_defvalue = wxDefaultSize ;
6604 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6605 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6606 wxString const &arg7_defvalue = wxPySashNameStr ;
6607 wxString *arg7 = (wxString *) &arg7_defvalue ;
6608 bool result;
6609 wxPoint temp4 ;
6610 wxSize temp5 ;
6611 bool temp7 = False ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 PyObject * obj2 = 0 ;
6615 PyObject * obj3 = 0 ;
6616 PyObject * obj4 = 0 ;
6617 PyObject * obj5 = 0 ;
6618 PyObject * obj6 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6628 arg3 = (int) SWIG_AsInt(obj2);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 if (obj3) {
6631 {
6632 arg4 = &temp4;
6633 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6634 }
6635 }
6636 if (obj4) {
6637 {
6638 arg5 = &temp5;
6639 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6640 }
6641 }
6642 if (obj5) {
6643 arg6 = (long) SWIG_AsLong(obj5);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 if (obj6) {
6647 {
6648 arg7 = wxString_in_helper(obj6);
6649 if (arg7 == NULL) SWIG_fail;
6650 temp7 = True;
6651 }
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6662 }
6663 {
6664 if (temp7)
6665 delete arg7;
6666 }
6667 return resultobj;
6668 fail:
6669 {
6670 if (temp7)
6671 delete arg7;
6672 }
6673 return NULL;
6674 }
6675
6676
6677 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject *resultobj;
6679 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6680 int arg2 ;
6681 bool arg3 ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 PyObject * obj2 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self",(char *) "edge",(char *) "sash", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6692 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 arg3 = (bool) SWIG_AsBool(obj2);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 Py_INCREF(Py_None); resultobj = Py_None;
6704 return resultobj;
6705 fail:
6706 return NULL;
6707 }
6708
6709
6710 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6713 int arg2 ;
6714 bool result;
6715 PyObject * obj0 = 0 ;
6716 PyObject * obj1 = 0 ;
6717 char *kwnames[] = {
6718 (char *) "self",(char *) "edge", NULL
6719 };
6720
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6724 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 {
6727 PyThreadState* __tstate = wxPyBeginAllowThreads();
6728 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6729
6730 wxPyEndAllowThreads(__tstate);
6731 if (PyErr_Occurred()) SWIG_fail;
6732 }
6733 {
6734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6735 }
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6745 int arg2 ;
6746 bool arg3 ;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 PyObject * obj2 = 0 ;
6750 char *kwnames[] = {
6751 (char *) "self",(char *) "edge",(char *) "border", NULL
6752 };
6753
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6757 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 arg3 = (bool) SWIG_AsBool(obj2);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 Py_INCREF(Py_None); resultobj = Py_None;
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6778 int arg2 ;
6779 bool result;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 char *kwnames[] = {
6783 (char *) "self",(char *) "edge", NULL
6784 };
6785
6786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6789 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6790 if (PyErr_Occurred()) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 {
6799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6800 }
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6810 int arg2 ;
6811 int result;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj1 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self",(char *) "edge", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6821 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 resultobj = SWIG_FromInt((int)result);
6831 return resultobj;
6832 fail:
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6840 int arg2 ;
6841 PyObject * obj0 = 0 ;
6842 PyObject * obj1 = 0 ;
6843 char *kwnames[] = {
6844 (char *) "self",(char *) "width", NULL
6845 };
6846
6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6850 arg2 = (int) SWIG_AsInt(obj1);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 (arg1)->SetDefaultBorderSize(arg2);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 Py_INCREF(Py_None); resultobj = Py_None;
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6869 int result;
6870 PyObject * obj0 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "self", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = SWIG_FromInt((int)result);
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6895 int arg2 ;
6896 PyObject * obj0 = 0 ;
6897 PyObject * obj1 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "width", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 arg2 = (int) SWIG_AsInt(obj1);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 (arg1)->SetExtraBorderSize(arg2);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 Py_INCREF(Py_None); resultobj = Py_None;
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6924 int result;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 resultobj = SWIG_FromInt((int)result);
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6950 int arg2 ;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "min", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6960 arg2 = (int) SWIG_AsInt(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 (arg1)->SetMinimumSizeX(arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 Py_INCREF(Py_None); resultobj = Py_None;
6970 return resultobj;
6971 fail:
6972 return NULL;
6973 }
6974
6975
6976 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj;
6978 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6979 int arg2 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self",(char *) "min", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6989 arg2 = (int) SWIG_AsInt(obj1);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 (arg1)->SetMinimumSizeY(arg2);
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 Py_INCREF(Py_None); resultobj = Py_None;
6999 return resultobj;
7000 fail:
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7008 int result;
7009 PyObject * obj0 = 0 ;
7010 char *kwnames[] = {
7011 (char *) "self", NULL
7012 };
7013
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 resultobj = SWIG_FromInt((int)result);
7025 return resultobj;
7026 fail:
7027 return NULL;
7028 }
7029
7030
7031 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7032 PyObject *resultobj;
7033 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7034 int result;
7035 PyObject * obj0 = 0 ;
7036 char *kwnames[] = {
7037 (char *) "self", NULL
7038 };
7039
7040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 resultobj = SWIG_FromInt((int)result);
7051 return resultobj;
7052 fail:
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7060 int arg2 ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self",(char *) "max", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7070 arg2 = (int) SWIG_AsInt(obj1);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->SetMaximumSizeX(arg2);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 Py_INCREF(Py_None); resultobj = Py_None;
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7089 int arg2 ;
7090 PyObject * obj0 = 0 ;
7091 PyObject * obj1 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "max", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7099 arg2 = (int) SWIG_AsInt(obj1);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->SetMaximumSizeY(arg2);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 Py_INCREF(Py_None); resultobj = Py_None;
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7118 int result;
7119 PyObject * obj0 = 0 ;
7120 char *kwnames[] = {
7121 (char *) "self", NULL
7122 };
7123
7124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7127 {
7128 PyThreadState* __tstate = wxPyBeginAllowThreads();
7129 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7130
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 resultobj = SWIG_FromInt((int)result);
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7144 int result;
7145 PyObject * obj0 = 0 ;
7146 char *kwnames[] = {
7147 (char *) "self", NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_FromInt((int)result);
7161 return resultobj;
7162 fail:
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7170 int arg2 ;
7171 int arg3 ;
7172 int arg4 = (int) 2 ;
7173 int result;
7174 PyObject * obj0 = 0 ;
7175 PyObject * obj1 = 0 ;
7176 PyObject * obj2 = 0 ;
7177 PyObject * obj3 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7185 arg2 = (int) SWIG_AsInt(obj1);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 arg3 = (int) SWIG_AsInt(obj2);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 if (obj3) {
7190 arg4 = (int) SWIG_AsInt(obj3);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 resultobj = SWIG_FromInt((int)result);
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj;
7209 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7210 PyObject * obj0 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 (arg1)->SizeWindows();
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 Py_INCREF(Py_None); resultobj = Py_None;
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7233 PyObject *obj;
7234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7235 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7236 Py_INCREF(obj);
7237 return Py_BuildValue((char *)"");
7238 }
7239 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7240 PyObject *resultobj;
7241 int arg1 = (int) 0 ;
7242 int arg2 = (int) wxSASH_NONE ;
7243 wxSashEvent *result;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "id",(char *) "edge", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7251 if (obj0) {
7252 arg1 = (int) SWIG_AsInt(obj0);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 if (obj1) {
7256 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7276 int arg2 ;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "edge", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7286 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7305 int result;
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 resultobj = SWIG_FromInt((int)result);
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7331 wxRect *arg2 = 0 ;
7332 wxRect temp2 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self",(char *) "rect", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7342 {
7343 arg2 = &temp2;
7344 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->SetDragRect((wxRect const &)*arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7363 wxRect result;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = ((wxSashEvent const *)arg1)->GetDragRect();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380 wxRect * resultptr;
7381 resultptr = new wxRect((wxRect &) result);
7382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7383 }
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7393 int arg2 ;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self",(char *) "status", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7403 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 Py_INCREF(Py_None); resultobj = Py_None;
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7422 int result;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = SWIG_FromInt((int)result);
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7446 PyObject *obj;
7447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7448 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7449 Py_INCREF(obj);
7450 return Py_BuildValue((char *)"");
7451 }
7452 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 int arg1 = (int) 0 ;
7455 wxQueryLayoutInfoEvent *result;
7456 PyObject * obj0 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "id", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7462 if (obj0) {
7463 arg1 = (int) SWIG_AsInt(obj0);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7474 return resultobj;
7475 fail:
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject *resultobj;
7482 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7483 int arg2 ;
7484 PyObject * obj0 = 0 ;
7485 PyObject * obj1 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self",(char *) "length", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7493 arg2 = (int) SWIG_AsInt(obj1);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->SetRequestedLength(arg2);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 Py_INCREF(Py_None); resultobj = Py_None;
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7512 int result;
7513 PyObject * obj0 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "self", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 resultobj = SWIG_FromInt((int)result);
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7538 int arg2 ;
7539 PyObject * obj0 = 0 ;
7540 PyObject * obj1 = 0 ;
7541 char *kwnames[] = {
7542 (char *) "self",(char *) "flags", NULL
7543 };
7544
7545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7548 arg2 = (int) SWIG_AsInt(obj1);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 {
7551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7552 (arg1)->SetFlags(arg2);
7553
7554 wxPyEndAllowThreads(__tstate);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 }
7557 Py_INCREF(Py_None); resultobj = Py_None;
7558 return resultobj;
7559 fail:
7560 return NULL;
7561 }
7562
7563
7564 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj;
7566 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7567 int result;
7568 PyObject * obj0 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 resultobj = SWIG_FromInt((int)result);
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7593 wxSize *arg2 = 0 ;
7594 wxSize temp2 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self",(char *) "size", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7604 {
7605 arg2 = &temp2;
7606 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7607 }
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 (arg1)->SetSize((wxSize const &)*arg2);
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 Py_INCREF(Py_None); resultobj = Py_None;
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj;
7624 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7625 wxSize result;
7626 PyObject * obj0 = 0 ;
7627 char *kwnames[] = {
7628 (char *) "self", NULL
7629 };
7630
7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 {
7642 wxSize * resultptr;
7643 resultptr = new wxSize((wxSize &) result);
7644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7645 }
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj;
7654 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7655 int arg2 ;
7656 PyObject * obj0 = 0 ;
7657 PyObject * obj1 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self",(char *) "orient", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7665 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 Py_INCREF(Py_None); resultobj = Py_None;
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7684 int result;
7685 PyObject * obj0 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 resultobj = SWIG_FromInt((int)result);
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7710 int arg2 ;
7711 PyObject * obj0 = 0 ;
7712 PyObject * obj1 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self",(char *) "align", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7720 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 Py_INCREF(Py_None); resultobj = Py_None;
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7739 int result;
7740 PyObject * obj0 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 resultobj = SWIG_FromInt((int)result);
7756 return resultobj;
7757 fail:
7758 return NULL;
7759 }
7760
7761
7762 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7763 PyObject *obj;
7764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7765 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7766 Py_INCREF(obj);
7767 return Py_BuildValue((char *)"");
7768 }
7769 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 int arg1 = (int) 0 ;
7772 wxCalculateLayoutEvent *result;
7773 PyObject * obj0 = 0 ;
7774 char *kwnames[] = {
7775 (char *) "id", NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7779 if (obj0) {
7780 arg1 = (int) SWIG_AsInt(obj0);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7791 return resultobj;
7792 fail:
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7800 int arg2 ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 char *kwnames[] = {
7804 (char *) "self",(char *) "flags", NULL
7805 };
7806
7807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7810 arg2 = (int) SWIG_AsInt(obj1);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->SetFlags(arg2);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 Py_INCREF(Py_None); resultobj = Py_None;
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7829 int result;
7830 PyObject * obj0 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = SWIG_FromInt((int)result);
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7855 wxRect *arg2 = 0 ;
7856 wxRect temp2 ;
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "self",(char *) "rect", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7866 {
7867 arg2 = &temp2;
7868 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7869 }
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 (arg1)->SetRect((wxRect const &)*arg2);
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 Py_INCREF(Py_None); resultobj = Py_None;
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7887 wxRect result;
7888 PyObject * obj0 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7896 {
7897 PyThreadState* __tstate = wxPyBeginAllowThreads();
7898 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7899
7900 wxPyEndAllowThreads(__tstate);
7901 if (PyErr_Occurred()) SWIG_fail;
7902 }
7903 {
7904 wxRect * resultptr;
7905 resultptr = new wxRect((wxRect &) result);
7906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7907 }
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7915 PyObject *obj;
7916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7917 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7918 Py_INCREF(obj);
7919 return Py_BuildValue((char *)"");
7920 }
7921 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj;
7923 wxWindow *arg1 = (wxWindow *) 0 ;
7924 int arg2 ;
7925 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7926 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7927 wxSize const &arg4_defvalue = wxDefaultSize ;
7928 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7929 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7930 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7931 wxString *arg6 = (wxString *) &arg6_defvalue ;
7932 wxSashLayoutWindow *result;
7933 wxPoint temp3 ;
7934 wxSize temp4 ;
7935 bool temp6 = False ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 PyObject * obj2 = 0 ;
7939 PyObject * obj3 = 0 ;
7940 PyObject * obj4 = 0 ;
7941 PyObject * obj5 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 arg2 = (int) SWIG_AsInt(obj1);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 if (obj2) {
7952 {
7953 arg3 = &temp3;
7954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7955 }
7956 }
7957 if (obj3) {
7958 {
7959 arg4 = &temp4;
7960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7961 }
7962 }
7963 if (obj4) {
7964 arg5 = (long) SWIG_AsLong(obj4);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 if (obj5) {
7968 {
7969 arg6 = wxString_in_helper(obj5);
7970 if (arg6 == NULL) SWIG_fail;
7971 temp6 = True;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7982 {
7983 if (temp6)
7984 delete arg6;
7985 }
7986 return resultobj;
7987 fail:
7988 {
7989 if (temp6)
7990 delete arg6;
7991 }
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxSashLayoutWindow *result;
7999 char *kwnames[] = {
8000 NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8012 return resultobj;
8013 fail:
8014 return NULL;
8015 }
8016
8017
8018 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj;
8020 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8021 wxWindow *arg2 = (wxWindow *) 0 ;
8022 int arg3 ;
8023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8025 wxSize const &arg5_defvalue = wxDefaultSize ;
8026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8027 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8028 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8029 wxString *arg7 = (wxString *) &arg7_defvalue ;
8030 bool result;
8031 wxPoint temp4 ;
8032 wxSize temp5 ;
8033 bool temp7 = False ;
8034 PyObject * obj0 = 0 ;
8035 PyObject * obj1 = 0 ;
8036 PyObject * obj2 = 0 ;
8037 PyObject * obj3 = 0 ;
8038 PyObject * obj4 = 0 ;
8039 PyObject * obj5 = 0 ;
8040 PyObject * obj6 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8050 arg3 = (int) SWIG_AsInt(obj2);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 if (obj3) {
8053 {
8054 arg4 = &temp4;
8055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8056 }
8057 }
8058 if (obj4) {
8059 {
8060 arg5 = &temp5;
8061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8062 }
8063 }
8064 if (obj5) {
8065 arg6 = (long) SWIG_AsLong(obj5);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 if (obj6) {
8069 {
8070 arg7 = wxString_in_helper(obj6);
8071 if (arg7 == NULL) SWIG_fail;
8072 temp7 = True;
8073 }
8074 }
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 {
8083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8084 }
8085 {
8086 if (temp7)
8087 delete arg7;
8088 }
8089 return resultobj;
8090 fail:
8091 {
8092 if (temp7)
8093 delete arg7;
8094 }
8095 return NULL;
8096 }
8097
8098
8099 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8102 int result;
8103 PyObject * obj0 = 0 ;
8104 char *kwnames[] = {
8105 (char *) "self", NULL
8106 };
8107
8108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 result = (int)(arg1)->GetAlignment();
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 resultobj = SWIG_FromInt((int)result);
8119 return resultobj;
8120 fail:
8121 return NULL;
8122 }
8123
8124
8125 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj;
8127 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8128 int result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (int)(arg1)->GetOrientation();
8140
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
8144 resultobj = SWIG_FromInt((int)result);
8145 return resultobj;
8146 fail:
8147 return NULL;
8148 }
8149
8150
8151 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8152 PyObject *resultobj;
8153 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8154 int arg2 ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self",(char *) "alignment", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8164 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 Py_INCREF(Py_None); resultobj = Py_None;
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8183 wxSize *arg2 = 0 ;
8184 wxSize temp2 ;
8185 PyObject * obj0 = 0 ;
8186 PyObject * obj1 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self",(char *) "size", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8194 {
8195 arg2 = &temp2;
8196 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8197 }
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 Py_INCREF(Py_None); resultobj = Py_None;
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8215 int arg2 ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "orientation", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8225 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 Py_INCREF(Py_None); resultobj = Py_None;
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8242 PyObject *obj;
8243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8244 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8245 Py_INCREF(obj);
8246 return Py_BuildValue((char *)"");
8247 }
8248 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxLayoutAlgorithm *result;
8251 char *kwnames[] = {
8252 NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8256 {
8257 PyThreadState* __tstate = wxPyBeginAllowThreads();
8258 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8259
8260 wxPyEndAllowThreads(__tstate);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8264 return resultobj;
8265 fail:
8266 return NULL;
8267 }
8268
8269
8270 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8273 PyObject * obj0 = 0 ;
8274 char *kwnames[] = {
8275 (char *) "self", NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 delete arg1;
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 Py_INCREF(Py_None); resultobj = Py_None;
8289 return resultobj;
8290 fail:
8291 return NULL;
8292 }
8293
8294
8295 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8298 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8299 wxRect *arg3 = (wxRect *) NULL ;
8300 bool result;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "frame",(char *) "rect", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8313 if (obj2) {
8314 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 {
8325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8326 }
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8336 wxFrame *arg2 = (wxFrame *) 0 ;
8337 wxWindow *arg3 = (wxWindow *) NULL ;
8338 bool result;
8339 PyObject * obj0 = 0 ;
8340 PyObject * obj1 = 0 ;
8341 PyObject * obj2 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8351 if (obj2) {
8352 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8354 }
8355 {
8356 PyThreadState* __tstate = wxPyBeginAllowThreads();
8357 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8358
8359 wxPyEndAllowThreads(__tstate);
8360 if (PyErr_Occurred()) SWIG_fail;
8361 }
8362 {
8363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8364 }
8365 return resultobj;
8366 fail:
8367 return NULL;
8368 }
8369
8370
8371 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8374 wxWindow *arg2 = (wxWindow *) 0 ;
8375 wxWindow *arg3 = (wxWindow *) NULL ;
8376 bool result;
8377 PyObject * obj0 = 0 ;
8378 PyObject * obj1 = 0 ;
8379 PyObject * obj2 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8389 if (obj2) {
8390 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8392 }
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 {
8401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8402 }
8403 return resultobj;
8404 fail:
8405 return NULL;
8406 }
8407
8408
8409 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8410 PyObject *obj;
8411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8412 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8413 Py_INCREF(obj);
8414 return Py_BuildValue((char *)"");
8415 }
8416 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxWindow *arg1 = (wxWindow *) 0 ;
8419 int arg2 = (int) wxBORDER_NONE ;
8420 wxPopupWindow *result;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "parent",(char *) "flags", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8430 if (obj1) {
8431 arg2 = (int) SWIG_AsInt(obj1);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj;
8450 wxPopupWindow *result;
8451 char *kwnames[] = {
8452 NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (wxPopupWindow *)new wxPopupWindow();
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8464 return resultobj;
8465 fail:
8466 return NULL;
8467 }
8468
8469
8470 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8473 wxWindow *arg2 = (wxWindow *) 0 ;
8474 int arg3 = (int) wxBORDER_NONE ;
8475 bool result;
8476 PyObject * obj0 = 0 ;
8477 PyObject * obj1 = 0 ;
8478 PyObject * obj2 = 0 ;
8479 char *kwnames[] = {
8480 (char *) "self",(char *) "parent",(char *) "flags", NULL
8481 };
8482
8483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8488 if (obj2) {
8489 arg3 = (int) SWIG_AsInt(obj2);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (bool)(arg1)->Create(arg2,arg3);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 {
8500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8501 }
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8511 wxPoint *arg2 = 0 ;
8512 wxSize *arg3 = 0 ;
8513 wxPoint temp2 ;
8514 wxSize temp3 ;
8515 PyObject * obj0 = 0 ;
8516 PyObject * obj1 = 0 ;
8517 PyObject * obj2 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8525 {
8526 arg2 = &temp2;
8527 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8528 }
8529 {
8530 arg3 = &temp3;
8531 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8532 }
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 Py_INCREF(Py_None); resultobj = Py_None;
8541 return resultobj;
8542 fail:
8543 return NULL;
8544 }
8545
8546
8547 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8548 PyObject *obj;
8549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8550 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8551 Py_INCREF(obj);
8552 return Py_BuildValue((char *)"");
8553 }
8554 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj;
8556 wxWindow *arg1 = (wxWindow *) 0 ;
8557 int arg2 = (int) wxBORDER_NONE ;
8558 wxPyPopupTransientWindow *result;
8559 PyObject * obj0 = 0 ;
8560 PyObject * obj1 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "parent",(char *) "style", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8568 if (obj1) {
8569 arg2 = (int) SWIG_AsInt(obj1);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8580 return resultobj;
8581 fail:
8582 return NULL;
8583 }
8584
8585
8586 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8587 PyObject *resultobj;
8588 wxPyPopupTransientWindow *result;
8589 char *kwnames[] = {
8590 NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8611 PyObject *arg2 = (PyObject *) 0 ;
8612 PyObject *arg3 = (PyObject *) 0 ;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 PyObject * obj2 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self",(char *) "self",(char *) "_class", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8623 arg2 = obj1;
8624 arg3 = obj2;
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 (arg1)->_setCallbackInfo(arg2,arg3);
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 Py_INCREF(Py_None); resultobj = Py_None;
8633 return resultobj;
8634 fail:
8635 return NULL;
8636 }
8637
8638
8639 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8642 wxWindow *arg2 = (wxWindow *) NULL ;
8643 PyObject * obj0 = 0 ;
8644 PyObject * obj1 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self",(char *) "focus", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8652 if (obj1) {
8653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 (arg1)->Popup(arg2);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 Py_INCREF(Py_None); resultobj = Py_None;
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8673 PyObject * obj0 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 (arg1)->Dismiss();
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 Py_INCREF(Py_None); resultobj = Py_None;
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8696 PyObject *obj;
8697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8698 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8699 Py_INCREF(obj);
8700 return Py_BuildValue((char *)"");
8701 }
8702 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxWindow *arg1 = (wxWindow *) 0 ;
8705 wxString *arg2 = 0 ;
8706 int arg3 = (int) 100 ;
8707 wxRect *arg4 = (wxRect *) NULL ;
8708 wxTipWindow *result;
8709 bool temp2 = False ;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 PyObject * obj2 = 0 ;
8713 PyObject * obj3 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8721 {
8722 arg2 = wxString_in_helper(obj1);
8723 if (arg2 == NULL) SWIG_fail;
8724 temp2 = True;
8725 }
8726 if (obj2) {
8727 arg3 = (int) SWIG_AsInt(obj2);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 if (obj3) {
8731 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8733 }
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8742 {
8743 if (temp2)
8744 delete arg2;
8745 }
8746 return resultobj;
8747 fail:
8748 {
8749 if (temp2)
8750 delete arg2;
8751 }
8752 return NULL;
8753 }
8754
8755
8756 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj;
8758 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8759 wxRect *arg2 = 0 ;
8760 wxRect temp2 ;
8761 PyObject * obj0 = 0 ;
8762 PyObject * obj1 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "rectBound", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8770 {
8771 arg2 = &temp2;
8772 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 Py_INCREF(Py_None); resultobj = Py_None;
8782 return resultobj;
8783 fail:
8784 return NULL;
8785 }
8786
8787
8788 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8791 PyObject * obj0 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8799 {
8800 PyThreadState* __tstate = wxPyBeginAllowThreads();
8801 (arg1)->Close();
8802
8803 wxPyEndAllowThreads(__tstate);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 Py_INCREF(Py_None); resultobj = Py_None;
8807 return resultobj;
8808 fail:
8809 return NULL;
8810 }
8811
8812
8813 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8814 PyObject *obj;
8815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8816 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8817 Py_INCREF(obj);
8818 return Py_BuildValue((char *)"");
8819 }
8820 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxWindow *arg1 = (wxWindow *) 0 ;
8823 int arg2 = (int) wxID_ANY ;
8824 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8825 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8826 wxSize const &arg4_defvalue = wxDefaultSize ;
8827 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8828 long arg5 = (long) 0 ;
8829 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8830 wxString *arg6 = (wxString *) &arg6_defvalue ;
8831 wxPyVScrolledWindow *result;
8832 wxPoint temp3 ;
8833 wxSize temp4 ;
8834 bool temp6 = False ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 PyObject * obj2 = 0 ;
8838 PyObject * obj3 = 0 ;
8839 PyObject * obj4 = 0 ;
8840 PyObject * obj5 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8848 if (obj1) {
8849 arg2 = (int) SWIG_AsInt(obj1);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 if (obj2) {
8853 {
8854 arg3 = &temp3;
8855 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8856 }
8857 }
8858 if (obj3) {
8859 {
8860 arg4 = &temp4;
8861 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8862 }
8863 }
8864 if (obj4) {
8865 arg5 = (long) SWIG_AsLong(obj4);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 if (obj5) {
8869 {
8870 arg6 = wxString_in_helper(obj5);
8871 if (arg6 == NULL) SWIG_fail;
8872 temp6 = True;
8873 }
8874 }
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8883 {
8884 if (temp6)
8885 delete arg6;
8886 }
8887 return resultobj;
8888 fail:
8889 {
8890 if (temp6)
8891 delete arg6;
8892 }
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxPyVScrolledWindow *result;
8900 char *kwnames[] = {
8901 NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8922 PyObject *arg2 = (PyObject *) 0 ;
8923 PyObject *arg3 = (PyObject *) 0 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 PyObject * obj2 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "self",(char *) "_class", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8934 arg2 = obj1;
8935 arg3 = obj2;
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 (arg1)->_setCallbackInfo(arg2,arg3);
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 Py_INCREF(Py_None); resultobj = Py_None;
8944 return resultobj;
8945 fail:
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8953 wxWindow *arg2 = (wxWindow *) 0 ;
8954 int arg3 = (int) wxID_ANY ;
8955 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8956 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8957 wxSize const &arg5_defvalue = wxDefaultSize ;
8958 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8959 long arg6 = (long) 0 ;
8960 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8961 wxString *arg7 = (wxString *) &arg7_defvalue ;
8962 bool result;
8963 wxPoint temp4 ;
8964 wxSize temp5 ;
8965 bool temp7 = False ;
8966 PyObject * obj0 = 0 ;
8967 PyObject * obj1 = 0 ;
8968 PyObject * obj2 = 0 ;
8969 PyObject * obj3 = 0 ;
8970 PyObject * obj4 = 0 ;
8971 PyObject * obj5 = 0 ;
8972 PyObject * obj6 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8982 if (obj2) {
8983 arg3 = (int) SWIG_AsInt(obj2);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 if (obj3) {
8987 {
8988 arg4 = &temp4;
8989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8990 }
8991 }
8992 if (obj4) {
8993 {
8994 arg5 = &temp5;
8995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8996 }
8997 }
8998 if (obj5) {
8999 arg6 = (long) SWIG_AsLong(obj5);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 if (obj6) {
9003 {
9004 arg7 = wxString_in_helper(obj6);
9005 if (arg7 == NULL) SWIG_fail;
9006 temp7 = True;
9007 }
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 {
9017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9018 }
9019 {
9020 if (temp7)
9021 delete arg7;
9022 }
9023 return resultobj;
9024 fail:
9025 {
9026 if (temp7)
9027 delete arg7;
9028 }
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9036 size_t arg2 ;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self",(char *) "count", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9046 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 (arg1)->SetLineCount(arg2);
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 Py_INCREF(Py_None); resultobj = Py_None;
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9065 size_t arg2 ;
9066 bool result;
9067 PyObject * obj0 = 0 ;
9068 PyObject * obj1 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self",(char *) "line", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9076 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 result = (bool)(arg1)->ScrollToLine(arg2);
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 {
9086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9087 }
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9097 int arg2 ;
9098 bool result;
9099 PyObject * obj0 = 0 ;
9100 PyObject * obj1 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "lines", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 arg2 = (int) SWIG_AsInt(obj1);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 result = (bool)(arg1)->ScrollLines(arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9129 int arg2 ;
9130 bool result;
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj1 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "pages", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9140 arg2 = (int) SWIG_AsInt(obj1);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 result = (bool)(arg1)->ScrollPages(arg2);
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 {
9150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9151 }
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9161 size_t arg2 ;
9162 PyObject * obj0 = 0 ;
9163 PyObject * obj1 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self",(char *) "line", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9171 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 (arg1)->RefreshLine(arg2);
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 Py_INCREF(Py_None); resultobj = Py_None;
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9190 size_t arg2 ;
9191 size_t arg3 ;
9192 PyObject * obj0 = 0 ;
9193 PyObject * obj1 = 0 ;
9194 PyObject * obj2 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "self",(char *) "from",(char *) "to", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9202 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 (arg1)->RefreshLines(arg2,arg3);
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 Py_INCREF(Py_None); resultobj = Py_None;
9214 return resultobj;
9215 fail:
9216 return NULL;
9217 }
9218
9219
9220 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9221 PyObject *resultobj;
9222 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9223 int arg2 ;
9224 int arg3 ;
9225 int result;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 PyObject * obj2 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "x",(char *) "y", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 arg2 = (int) SWIG_AsInt(obj1);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 arg3 = (int) SWIG_AsInt(obj2);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 resultobj = SWIG_FromInt((int)result);
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9257 wxPoint *arg2 = 0 ;
9258 int result;
9259 wxPoint temp2 ;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 char *kwnames[] = {
9263 (char *) "self",(char *) "pt", NULL
9264 };
9265
9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9269 {
9270 arg2 = &temp2;
9271 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9272 }
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 resultobj = SWIG_FromInt((int)result);
9281 return resultobj;
9282 fail:
9283 return NULL;
9284 }
9285
9286
9287 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 (arg1)->RefreshAll();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 Py_INCREF(Py_None); resultobj = Py_None;
9306 return resultobj;
9307 fail:
9308 return NULL;
9309 }
9310
9311
9312 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9313 PyObject *resultobj;
9314 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9315 size_t result;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9341 size_t result;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9358 return resultobj;
9359 fail:
9360 return NULL;
9361 }
9362
9363
9364 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9367 size_t result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9393 size_t arg2 ;
9394 bool result;
9395 PyObject * obj0 = 0 ;
9396 PyObject * obj1 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self",(char *) "line", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9404 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9415 }
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9423 PyObject *obj;
9424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9425 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9426 Py_INCREF(obj);
9427 return Py_BuildValue((char *)"");
9428 }
9429 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9430 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9431 return 1;
9432 }
9433
9434
9435 static PyObject *_wrap_VListBoxNameStr_get() {
9436 PyObject *pyobj;
9437
9438 {
9439 #if wxUSE_UNICODE
9440 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9441 #else
9442 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9443 #endif
9444 }
9445 return pyobj;
9446 }
9447
9448
9449 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9450 PyObject *resultobj;
9451 wxWindow *arg1 = (wxWindow *) 0 ;
9452 int arg2 = (int) wxID_ANY ;
9453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9455 wxSize const &arg4_defvalue = wxDefaultSize ;
9456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9457 long arg5 = (long) 0 ;
9458 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9459 wxString *arg6 = (wxString *) &arg6_defvalue ;
9460 wxPyVListBox *result;
9461 wxPoint temp3 ;
9462 wxSize temp4 ;
9463 bool temp6 = False ;
9464 PyObject * obj0 = 0 ;
9465 PyObject * obj1 = 0 ;
9466 PyObject * obj2 = 0 ;
9467 PyObject * obj3 = 0 ;
9468 PyObject * obj4 = 0 ;
9469 PyObject * obj5 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9477 if (obj1) {
9478 arg2 = (int) SWIG_AsInt(obj1);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 if (obj2) {
9482 {
9483 arg3 = &temp3;
9484 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9485 }
9486 }
9487 if (obj3) {
9488 {
9489 arg4 = &temp4;
9490 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9491 }
9492 }
9493 if (obj4) {
9494 arg5 = (long) SWIG_AsLong(obj4);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 if (obj5) {
9498 {
9499 arg6 = wxString_in_helper(obj5);
9500 if (arg6 == NULL) SWIG_fail;
9501 temp6 = True;
9502 }
9503 }
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9512 {
9513 if (temp6)
9514 delete arg6;
9515 }
9516 return resultobj;
9517 fail:
9518 {
9519 if (temp6)
9520 delete arg6;
9521 }
9522 return NULL;
9523 }
9524
9525
9526 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9527 PyObject *resultobj;
9528 wxPyVListBox *result;
9529 char *kwnames[] = {
9530 NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (wxPyVListBox *)new wxPyVListBox();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9551 PyObject *arg2 = (PyObject *) 0 ;
9552 PyObject *arg3 = (PyObject *) 0 ;
9553 PyObject * obj0 = 0 ;
9554 PyObject * obj1 = 0 ;
9555 PyObject * obj2 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self",(char *) "self",(char *) "_class", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9563 arg2 = obj1;
9564 arg3 = obj2;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 (arg1)->_setCallbackInfo(arg2,arg3);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 Py_INCREF(Py_None); resultobj = Py_None;
9573 return resultobj;
9574 fail:
9575 return NULL;
9576 }
9577
9578
9579 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj;
9581 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9582 wxWindow *arg2 = (wxWindow *) 0 ;
9583 int arg3 = (int) wxID_ANY ;
9584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9586 wxSize const &arg5_defvalue = wxDefaultSize ;
9587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9588 long arg6 = (long) 0 ;
9589 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9590 wxString *arg7 = (wxString *) &arg7_defvalue ;
9591 bool result;
9592 wxPoint temp4 ;
9593 wxSize temp5 ;
9594 bool temp7 = False ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 PyObject * obj2 = 0 ;
9598 PyObject * obj3 = 0 ;
9599 PyObject * obj4 = 0 ;
9600 PyObject * obj5 = 0 ;
9601 PyObject * obj6 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 if (obj2) {
9612 arg3 = (int) SWIG_AsInt(obj2);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 if (obj3) {
9616 {
9617 arg4 = &temp4;
9618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9619 }
9620 }
9621 if (obj4) {
9622 {
9623 arg5 = &temp5;
9624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9625 }
9626 }
9627 if (obj5) {
9628 arg6 = (long) SWIG_AsLong(obj5);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 if (obj6) {
9632 {
9633 arg7 = wxString_in_helper(obj6);
9634 if (arg7 == NULL) SWIG_fail;
9635 temp7 = True;
9636 }
9637 }
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
9648 {
9649 if (temp7)
9650 delete arg7;
9651 }
9652 return resultobj;
9653 fail:
9654 {
9655 if (temp7)
9656 delete arg7;
9657 }
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9665 size_t result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9691 bool result;
9692 PyObject * obj0 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self", NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 {
9708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9709 }
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9719 int result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = SWIG_FromInt((int)result);
9736 return resultobj;
9737 fail:
9738 return NULL;
9739 }
9740
9741
9742 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9745 size_t arg2 ;
9746 bool result;
9747 PyObject * obj0 = 0 ;
9748 PyObject * obj1 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self",(char *) "item", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9756 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9761
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 {
9766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9767 }
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9777 size_t arg2 ;
9778 bool result;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self",(char *) "item", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9788 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9799 }
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9809 size_t result;
9810 PyObject * obj0 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9826 return resultobj;
9827 fail:
9828 return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj;
9834 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9835 unsigned long *arg2 = 0 ;
9836 int result;
9837 PyObject * obj0 = 0 ;
9838 PyObject * obj1 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self",(char *) "cookie", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9847 SWIG_POINTER_EXCEPTION | 0)) == -1)
9848 SWIG_fail;
9849 if (arg2 == NULL) {
9850 PyErr_SetString(PyExc_TypeError,"null reference");
9851 SWIG_fail;
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 resultobj = SWIG_FromInt((int)result);
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9870 unsigned long *arg2 = 0 ;
9871 int result;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "cookie", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9882 SWIG_POINTER_EXCEPTION | 0)) == -1)
9883 SWIG_fail;
9884 if (arg2 == NULL) {
9885 PyErr_SetString(PyExc_TypeError,"null reference");
9886 SWIG_fail;
9887 }
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 resultobj = SWIG_FromInt((int)result);
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9905 wxPoint result;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = ((wxPyVListBox const *)arg1)->GetMargins();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 {
9922 wxPoint * resultptr;
9923 resultptr = new wxPoint((wxPoint &) result);
9924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9925 }
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9935 wxColour *result;
9936 PyObject * obj0 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "self", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 {
9947 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9948 result = (wxColour *) &_result_ref;
9949 }
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj;
9963 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9964 size_t arg2 ;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "self",(char *) "count", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9974 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->SetItemCount(arg2);
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 Py_INCREF(Py_None); resultobj = Py_None;
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 (arg1)->Clear();
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 Py_INCREF(Py_None); resultobj = Py_None;
10009 return resultobj;
10010 fail:
10011 return NULL;
10012 }
10013
10014
10015 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10018 int arg2 ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 char *kwnames[] = {
10022 (char *) "self",(char *) "selection", NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10028 arg2 = (int) SWIG_AsInt(obj1);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->SetSelection(arg2);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 Py_INCREF(Py_None); resultobj = Py_None;
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10045 PyObject *resultobj;
10046 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10047 size_t arg2 ;
10048 bool arg3 = (bool) True ;
10049 bool result;
10050 PyObject * obj0 = 0 ;
10051 PyObject * obj1 = 0 ;
10052 PyObject * obj2 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self",(char *) "item",(char *) "select", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10060 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 if (obj2) {
10063 arg3 = (bool) SWIG_AsBool(obj2);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 {
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (bool)(arg1)->Select(arg2,arg3);
10069
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 {
10074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10075 }
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj;
10084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10085 size_t arg2 ;
10086 size_t arg3 ;
10087 bool result;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 PyObject * obj2 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self",(char *) "from",(char *) "to", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10098 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (bool)(arg1)->SelectRange(arg2,arg3);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 {
10110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10111 }
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10121 size_t arg2 ;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "self",(char *) "item", NULL
10126 };
10127
10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10131 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 (arg1)->Toggle(arg2);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 Py_INCREF(Py_None); resultobj = Py_None;
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10150 bool result;
10151 PyObject * obj0 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = (bool)(arg1)->SelectAll();
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 {
10167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10168 }
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject *resultobj;
10177 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10178 bool result;
10179 PyObject * obj0 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (bool)(arg1)->DeselectAll();
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 {
10195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10196 }
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10206 wxPoint *arg2 = 0 ;
10207 wxPoint temp2 ;
10208 PyObject * obj0 = 0 ;
10209 PyObject * obj1 = 0 ;
10210 char *kwnames[] = {
10211 (char *) "self",(char *) "pt", NULL
10212 };
10213
10214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10217 {
10218 arg2 = &temp2;
10219 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10220 }
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 (arg1)->SetMargins((wxPoint const &)*arg2);
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 Py_INCREF(Py_None); resultobj = Py_None;
10229 return resultobj;
10230 fail:
10231 return NULL;
10232 }
10233
10234
10235 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10238 int arg2 ;
10239 int arg3 ;
10240 PyObject * obj0 = 0 ;
10241 PyObject * obj1 = 0 ;
10242 PyObject * obj2 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self",(char *) "x",(char *) "y", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10250 arg2 = (int) SWIG_AsInt(obj1);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 arg3 = (int) SWIG_AsInt(obj2);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 (arg1)->SetMargins(arg2,arg3);
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 Py_INCREF(Py_None); resultobj = Py_None;
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10271 wxColour *arg2 = 0 ;
10272 wxColour temp2 ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "col", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 {
10283 arg2 = &temp2;
10284 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10285 }
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 Py_INCREF(Py_None); resultobj = Py_None;
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10301 PyObject *obj;
10302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10304 Py_INCREF(obj);
10305 return Py_BuildValue((char *)"");
10306 }
10307 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxWindow *arg1 = (wxWindow *) 0 ;
10310 int arg2 = (int) wxID_ANY ;
10311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10313 wxSize const &arg4_defvalue = wxDefaultSize ;
10314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10315 long arg5 = (long) 0 ;
10316 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10317 wxString *arg6 = (wxString *) &arg6_defvalue ;
10318 wxPyHtmlListBox *result;
10319 wxPoint temp3 ;
10320 wxSize temp4 ;
10321 bool temp6 = False ;
10322 PyObject * obj0 = 0 ;
10323 PyObject * obj1 = 0 ;
10324 PyObject * obj2 = 0 ;
10325 PyObject * obj3 = 0 ;
10326 PyObject * obj4 = 0 ;
10327 PyObject * obj5 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10335 if (obj1) {
10336 arg2 = (int) SWIG_AsInt(obj1);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 if (obj2) {
10340 {
10341 arg3 = &temp3;
10342 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10343 }
10344 }
10345 if (obj3) {
10346 {
10347 arg4 = &temp4;
10348 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10349 }
10350 }
10351 if (obj4) {
10352 arg5 = (long) SWIG_AsLong(obj4);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
10355 if (obj5) {
10356 {
10357 arg6 = wxString_in_helper(obj5);
10358 if (arg6 == NULL) SWIG_fail;
10359 temp6 = True;
10360 }
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10370 {
10371 if (temp6)
10372 delete arg6;
10373 }
10374 return resultobj;
10375 fail:
10376 {
10377 if (temp6)
10378 delete arg6;
10379 }
10380 return NULL;
10381 }
10382
10383
10384 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject *resultobj;
10386 wxPyHtmlListBox *result;
10387 char *kwnames[] = {
10388 NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10395
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
10399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10400 return resultobj;
10401 fail:
10402 return NULL;
10403 }
10404
10405
10406 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj;
10408 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10409 PyObject *arg2 = (PyObject *) 0 ;
10410 PyObject *arg3 = (PyObject *) 0 ;
10411 PyObject * obj0 = 0 ;
10412 PyObject * obj1 = 0 ;
10413 PyObject * obj2 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "self",(char *) "self",(char *) "_class", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10421 arg2 = obj1;
10422 arg3 = obj2;
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 (arg1)->_setCallbackInfo(arg2,arg3);
10426
10427 wxPyEndAllowThreads(__tstate);
10428 if (PyErr_Occurred()) SWIG_fail;
10429 }
10430 Py_INCREF(Py_None); resultobj = Py_None;
10431 return resultobj;
10432 fail:
10433 return NULL;
10434 }
10435
10436
10437 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10438 PyObject *resultobj;
10439 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10440 wxWindow *arg2 = (wxWindow *) 0 ;
10441 int arg3 = (int) wxID_ANY ;
10442 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10443 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10444 wxSize const &arg5_defvalue = wxDefaultSize ;
10445 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10446 long arg6 = (long) 0 ;
10447 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10448 wxString *arg7 = (wxString *) &arg7_defvalue ;
10449 bool result;
10450 wxPoint temp4 ;
10451 wxSize temp5 ;
10452 bool temp7 = False ;
10453 PyObject * obj0 = 0 ;
10454 PyObject * obj1 = 0 ;
10455 PyObject * obj2 = 0 ;
10456 PyObject * obj3 = 0 ;
10457 PyObject * obj4 = 0 ;
10458 PyObject * obj5 = 0 ;
10459 PyObject * obj6 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10469 if (obj2) {
10470 arg3 = (int) SWIG_AsInt(obj2);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 if (obj3) {
10474 {
10475 arg4 = &temp4;
10476 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10477 }
10478 }
10479 if (obj4) {
10480 {
10481 arg5 = &temp5;
10482 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10483 }
10484 }
10485 if (obj5) {
10486 arg6 = (long) SWIG_AsLong(obj5);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 if (obj6) {
10490 {
10491 arg7 = wxString_in_helper(obj6);
10492 if (arg7 == NULL) SWIG_fail;
10493 temp7 = True;
10494 }
10495 }
10496 {
10497 PyThreadState* __tstate = wxPyBeginAllowThreads();
10498 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10499
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 {
10504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10505 }
10506 {
10507 if (temp7)
10508 delete arg7;
10509 }
10510 return resultobj;
10511 fail:
10512 {
10513 if (temp7)
10514 delete arg7;
10515 }
10516 return NULL;
10517 }
10518
10519
10520 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10523 PyObject * obj0 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 (arg1)->RefreshAll();
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 Py_INCREF(Py_None); resultobj = Py_None;
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10548 size_t arg2 ;
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj1 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "count", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10558 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetItemCount(arg2);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10577 wxFileSystem *result;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 {
10589 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10590 result = (wxFileSystem *) &_result_ref;
10591 }
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10604 PyObject *obj;
10605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10606 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10607 Py_INCREF(obj);
10608 return Py_BuildValue((char *)"");
10609 }
10610 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10611 PyObject *resultobj;
10612 wxTaskBarIcon *result;
10613 char *kwnames[] = {
10614 NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10635 PyObject * obj0 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 delete arg1;
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 Py_INCREF(Py_None); resultobj = Py_None;
10651 return resultobj;
10652 fail:
10653 return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10660 PyObject * obj0 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "self", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 wxTaskBarIcon_Destroy(arg1);
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 Py_INCREF(Py_None); resultobj = Py_None;
10676 return resultobj;
10677 fail:
10678 return NULL;
10679 }
10680
10681
10682 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject *resultobj;
10684 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10685 bool result;
10686 PyObject * obj0 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 {
10702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10703 }
10704 return resultobj;
10705 fail:
10706 return NULL;
10707 }
10708
10709
10710 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject *resultobj;
10712 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10713 bool result;
10714 PyObject * obj0 = 0 ;
10715 char *kwnames[] = {
10716 (char *) "self", NULL
10717 };
10718
10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10725
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 {
10730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10731 }
10732 return resultobj;
10733 fail:
10734 return NULL;
10735 }
10736
10737
10738 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10741 wxIcon *arg2 = 0 ;
10742 wxString const &arg3_defvalue = wxPyEmptyString ;
10743 wxString *arg3 = (wxString *) &arg3_defvalue ;
10744 bool result;
10745 bool temp3 = False ;
10746 PyObject * obj0 = 0 ;
10747 PyObject * obj1 = 0 ;
10748 PyObject * obj2 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10757 SWIG_POINTER_EXCEPTION | 0)) == -1)
10758 SWIG_fail;
10759 if (arg2 == NULL) {
10760 PyErr_SetString(PyExc_TypeError,"null reference");
10761 SWIG_fail;
10762 }
10763 if (obj2) {
10764 {
10765 arg3 = wxString_in_helper(obj2);
10766 if (arg3 == NULL) SWIG_fail;
10767 temp3 = True;
10768 }
10769 }
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 {
10778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10779 }
10780 {
10781 if (temp3)
10782 delete arg3;
10783 }
10784 return resultobj;
10785 fail:
10786 {
10787 if (temp3)
10788 delete arg3;
10789 }
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10797 bool result;
10798 PyObject * obj0 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (bool)(arg1)->RemoveIcon();
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 {
10814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10815 }
10816 return resultobj;
10817 fail:
10818 return NULL;
10819 }
10820
10821
10822 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj;
10824 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10825 wxMenu *arg2 = (wxMenu *) 0 ;
10826 bool result;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "menu", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (bool)(arg1)->PopupMenu(arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 {
10846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10847 }
10848 return resultobj;
10849 fail:
10850 return NULL;
10851 }
10852
10853
10854 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10855 PyObject *obj;
10856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10857 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10858 Py_INCREF(obj);
10859 return Py_BuildValue((char *)"");
10860 }
10861 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxEventType arg1 ;
10864 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10865 wxTaskBarIconEvent *result;
10866 PyObject * obj0 = 0 ;
10867 PyObject * obj1 = 0 ;
10868 char *kwnames[] = {
10869 (char *) "evtType",(char *) "tbIcon", NULL
10870 };
10871
10872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10873 arg1 = (wxEventType) SWIG_AsInt(obj0);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10885 return resultobj;
10886 fail:
10887 return NULL;
10888 }
10889
10890
10891 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10892 PyObject *obj;
10893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10894 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10895 Py_INCREF(obj);
10896 return Py_BuildValue((char *)"");
10897 }
10898 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10899 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10900 return 1;
10901 }
10902
10903
10904 static PyObject *_wrap_FileSelectorPromptStr_get() {
10905 PyObject *pyobj;
10906
10907 {
10908 #if wxUSE_UNICODE
10909 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10910 #else
10911 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10912 #endif
10913 }
10914 return pyobj;
10915 }
10916
10917
10918 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10919 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10920 return 1;
10921 }
10922
10923
10924 static PyObject *_wrap_DirSelectorPromptStr_get() {
10925 PyObject *pyobj;
10926
10927 {
10928 #if wxUSE_UNICODE
10929 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10930 #else
10931 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10932 #endif
10933 }
10934 return pyobj;
10935 }
10936
10937
10938 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10939 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10940 return 1;
10941 }
10942
10943
10944 static PyObject *_wrap_DirDialogNameStr_get() {
10945 PyObject *pyobj;
10946
10947 {
10948 #if wxUSE_UNICODE
10949 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10950 #else
10951 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10952 #endif
10953 }
10954 return pyobj;
10955 }
10956
10957
10958 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10959 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10960 return 1;
10961 }
10962
10963
10964 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10965 PyObject *pyobj;
10966
10967 {
10968 #if wxUSE_UNICODE
10969 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10970 #else
10971 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10972 #endif
10973 }
10974 return pyobj;
10975 }
10976
10977
10978 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10979 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10980 return 1;
10981 }
10982
10983
10984 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10985 PyObject *pyobj;
10986
10987 {
10988 #if wxUSE_UNICODE
10989 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10990 #else
10991 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10992 #endif
10993 }
10994 return pyobj;
10995 }
10996
10997
10998 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10999 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11000 return 1;
11001 }
11002
11003
11004 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11005 PyObject *pyobj;
11006
11007 {
11008 #if wxUSE_UNICODE
11009 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11010 #else
11011 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11012 #endif
11013 }
11014 return pyobj;
11015 }
11016
11017
11018 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxColourData *result;
11021 char *kwnames[] = {
11022 NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 result = (wxColourData *)new wxColourData();
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11034 return resultobj;
11035 fail:
11036 return NULL;
11037 }
11038
11039
11040 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxColourData *arg1 = (wxColourData *) 0 ;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 delete arg1;
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 Py_INCREF(Py_None); resultobj = Py_None;
11059 return resultobj;
11060 fail:
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxColourData *arg1 = (wxColourData *) 0 ;
11068 bool result;
11069 PyObject * obj0 = 0 ;
11070 char *kwnames[] = {
11071 (char *) "self", NULL
11072 };
11073
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (bool)(arg1)->GetChooseFull();
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 {
11085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11086 }
11087 return resultobj;
11088 fail:
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxColourData *arg1 = (wxColourData *) 0 ;
11096 wxColour result;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (arg1)->GetColour();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 {
11113 wxColour * resultptr;
11114 resultptr = new wxColour((wxColour &) result);
11115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11116 }
11117 return resultobj;
11118 fail:
11119 return NULL;
11120 }
11121
11122
11123 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj;
11125 wxColourData *arg1 = (wxColourData *) 0 ;
11126 int arg2 ;
11127 wxColour result;
11128 PyObject * obj0 = 0 ;
11129 PyObject * obj1 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self",(char *) "i", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11137 arg2 = (int) SWIG_AsInt(obj1);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (arg1)->GetCustomColour(arg2);
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 {
11147 wxColour * resultptr;
11148 resultptr = new wxColour((wxColour &) result);
11149 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11150 }
11151 return resultobj;
11152 fail:
11153 return NULL;
11154 }
11155
11156
11157 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 wxColourData *arg1 = (wxColourData *) 0 ;
11160 int arg2 ;
11161 PyObject * obj0 = 0 ;
11162 PyObject * obj1 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "flag", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11170 arg2 = (int) SWIG_AsInt(obj1);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 (arg1)->SetChooseFull(arg2);
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 Py_INCREF(Py_None); resultobj = Py_None;
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxColourData *arg1 = (wxColourData *) 0 ;
11189 wxColour *arg2 = 0 ;
11190 wxColour temp2 ;
11191 PyObject * obj0 = 0 ;
11192 PyObject * obj1 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "colour", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11200 {
11201 arg2 = &temp2;
11202 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11203 }
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetColour((wxColour const &)*arg2);
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 Py_INCREF(Py_None); resultobj = Py_None;
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxColourData *arg1 = (wxColourData *) 0 ;
11221 int arg2 ;
11222 wxColour *arg3 = 0 ;
11223 wxColour temp3 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 PyObject * obj2 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self",(char *) "i",(char *) "colour", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11234 arg2 = (int) SWIG_AsInt(obj1);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 {
11237 arg3 = &temp3;
11238 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11239 }
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 Py_INCREF(Py_None); resultobj = Py_None;
11248 return resultobj;
11249 fail:
11250 return NULL;
11251 }
11252
11253
11254 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11255 PyObject *obj;
11256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11257 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11258 Py_INCREF(obj);
11259 return Py_BuildValue((char *)"");
11260 }
11261 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 wxWindow *arg1 = (wxWindow *) 0 ;
11264 wxColourData *arg2 = (wxColourData *) NULL ;
11265 wxColourDialog *result;
11266 PyObject * obj0 = 0 ;
11267 PyObject * obj1 = 0 ;
11268 char *kwnames[] = {
11269 (char *) "parent",(char *) "data", NULL
11270 };
11271
11272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11275 if (obj1) {
11276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 }
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11282
11283 wxPyEndAllowThreads(__tstate);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
11286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11287 return resultobj;
11288 fail:
11289 return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11296 wxColourData *result;
11297 PyObject * obj0 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 {
11308 wxColourData &_result_ref = (arg1)->GetColourData();
11309 result = (wxColourData *) &_result_ref;
11310 }
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11316 return resultobj;
11317 fail:
11318 return NULL;
11319 }
11320
11321
11322 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11323 PyObject *obj;
11324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11325 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11326 Py_INCREF(obj);
11327 return Py_BuildValue((char *)"");
11328 }
11329 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11330 PyObject *resultobj;
11331 wxWindow *arg1 = (wxWindow *) 0 ;
11332 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11333 wxString *arg2 = (wxString *) &arg2_defvalue ;
11334 wxString const &arg3_defvalue = wxPyEmptyString ;
11335 wxString *arg3 = (wxString *) &arg3_defvalue ;
11336 long arg4 = (long) 0 ;
11337 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11338 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11339 wxSize const &arg6_defvalue = wxDefaultSize ;
11340 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11341 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11342 wxString *arg7 = (wxString *) &arg7_defvalue ;
11343 wxDirDialog *result;
11344 bool temp2 = False ;
11345 bool temp3 = False ;
11346 wxPoint temp5 ;
11347 wxSize temp6 ;
11348 bool temp7 = False ;
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 PyObject * obj2 = 0 ;
11352 PyObject * obj3 = 0 ;
11353 PyObject * obj4 = 0 ;
11354 PyObject * obj5 = 0 ;
11355 PyObject * obj6 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11363 if (obj1) {
11364 {
11365 arg2 = wxString_in_helper(obj1);
11366 if (arg2 == NULL) SWIG_fail;
11367 temp2 = True;
11368 }
11369 }
11370 if (obj2) {
11371 {
11372 arg3 = wxString_in_helper(obj2);
11373 if (arg3 == NULL) SWIG_fail;
11374 temp3 = True;
11375 }
11376 }
11377 if (obj3) {
11378 arg4 = (long) SWIG_AsLong(obj3);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 if (obj4) {
11382 {
11383 arg5 = &temp5;
11384 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11385 }
11386 }
11387 if (obj5) {
11388 {
11389 arg6 = &temp6;
11390 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11391 }
11392 }
11393 if (obj6) {
11394 {
11395 arg7 = wxString_in_helper(obj6);
11396 if (arg7 == NULL) SWIG_fail;
11397 temp7 = True;
11398 }
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11408 {
11409 if (temp2)
11410 delete arg2;
11411 }
11412 {
11413 if (temp3)
11414 delete arg3;
11415 }
11416 {
11417 if (temp7)
11418 delete arg7;
11419 }
11420 return resultobj;
11421 fail:
11422 {
11423 if (temp2)
11424 delete arg2;
11425 }
11426 {
11427 if (temp3)
11428 delete arg3;
11429 }
11430 {
11431 if (temp7)
11432 delete arg7;
11433 }
11434 return NULL;
11435 }
11436
11437
11438 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11441 wxString result;
11442 PyObject * obj0 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (arg1)->GetPath();
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 {
11458 #if wxUSE_UNICODE
11459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11460 #else
11461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11462 #endif
11463 }
11464 return resultobj;
11465 fail:
11466 return NULL;
11467 }
11468
11469
11470 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11471 PyObject *resultobj;
11472 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11473 wxString result;
11474 PyObject * obj0 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11482 {
11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
11484 result = (arg1)->GetMessage();
11485
11486 wxPyEndAllowThreads(__tstate);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 {
11490 #if wxUSE_UNICODE
11491 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11492 #else
11493 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11494 #endif
11495 }
11496 return resultobj;
11497 fail:
11498 return NULL;
11499 }
11500
11501
11502 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11503 PyObject *resultobj;
11504 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11505 long result;
11506 PyObject * obj0 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "self", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (long)(arg1)->GetStyle();
11517
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 resultobj = SWIG_FromLong((long)result);
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj;
11530 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11531 wxString *arg2 = 0 ;
11532 bool temp2 = False ;
11533 PyObject * obj0 = 0 ;
11534 PyObject * obj1 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self",(char *) "message", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11542 {
11543 arg2 = wxString_in_helper(obj1);
11544 if (arg2 == NULL) SWIG_fail;
11545 temp2 = True;
11546 }
11547 {
11548 PyThreadState* __tstate = wxPyBeginAllowThreads();
11549 (arg1)->SetMessage((wxString const &)*arg2);
11550
11551 wxPyEndAllowThreads(__tstate);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 }
11554 Py_INCREF(Py_None); resultobj = Py_None;
11555 {
11556 if (temp2)
11557 delete arg2;
11558 }
11559 return resultobj;
11560 fail:
11561 {
11562 if (temp2)
11563 delete arg2;
11564 }
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11572 wxString *arg2 = 0 ;
11573 bool temp2 = False ;
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "path", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11583 {
11584 arg2 = wxString_in_helper(obj1);
11585 if (arg2 == NULL) SWIG_fail;
11586 temp2 = True;
11587 }
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 (arg1)->SetPath((wxString const &)*arg2);
11591
11592 wxPyEndAllowThreads(__tstate);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 Py_INCREF(Py_None); resultobj = Py_None;
11596 {
11597 if (temp2)
11598 delete arg2;
11599 }
11600 return resultobj;
11601 fail:
11602 {
11603 if (temp2)
11604 delete arg2;
11605 }
11606 return NULL;
11607 }
11608
11609
11610 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11611 PyObject *obj;
11612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11613 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11614 Py_INCREF(obj);
11615 return Py_BuildValue((char *)"");
11616 }
11617 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxWindow *arg1 = (wxWindow *) 0 ;
11620 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11621 wxString *arg2 = (wxString *) &arg2_defvalue ;
11622 wxString const &arg3_defvalue = wxPyEmptyString ;
11623 wxString *arg3 = (wxString *) &arg3_defvalue ;
11624 wxString const &arg4_defvalue = wxPyEmptyString ;
11625 wxString *arg4 = (wxString *) &arg4_defvalue ;
11626 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11627 wxString *arg5 = (wxString *) &arg5_defvalue ;
11628 long arg6 = (long) 0 ;
11629 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11630 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11631 wxFileDialog *result;
11632 bool temp2 = False ;
11633 bool temp3 = False ;
11634 bool temp4 = False ;
11635 bool temp5 = False ;
11636 wxPoint temp7 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 PyObject * obj2 = 0 ;
11640 PyObject * obj3 = 0 ;
11641 PyObject * obj4 = 0 ;
11642 PyObject * obj5 = 0 ;
11643 PyObject * obj6 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11651 if (obj1) {
11652 {
11653 arg2 = wxString_in_helper(obj1);
11654 if (arg2 == NULL) SWIG_fail;
11655 temp2 = True;
11656 }
11657 }
11658 if (obj2) {
11659 {
11660 arg3 = wxString_in_helper(obj2);
11661 if (arg3 == NULL) SWIG_fail;
11662 temp3 = True;
11663 }
11664 }
11665 if (obj3) {
11666 {
11667 arg4 = wxString_in_helper(obj3);
11668 if (arg4 == NULL) SWIG_fail;
11669 temp4 = True;
11670 }
11671 }
11672 if (obj4) {
11673 {
11674 arg5 = wxString_in_helper(obj4);
11675 if (arg5 == NULL) SWIG_fail;
11676 temp5 = True;
11677 }
11678 }
11679 if (obj5) {
11680 arg6 = (long) SWIG_AsLong(obj5);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 if (obj6) {
11684 {
11685 arg7 = &temp7;
11686 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11687 }
11688 }
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11697 {
11698 if (temp2)
11699 delete arg2;
11700 }
11701 {
11702 if (temp3)
11703 delete arg3;
11704 }
11705 {
11706 if (temp4)
11707 delete arg4;
11708 }
11709 {
11710 if (temp5)
11711 delete arg5;
11712 }
11713 return resultobj;
11714 fail:
11715 {
11716 if (temp2)
11717 delete arg2;
11718 }
11719 {
11720 if (temp3)
11721 delete arg3;
11722 }
11723 {
11724 if (temp4)
11725 delete arg4;
11726 }
11727 {
11728 if (temp5)
11729 delete arg5;
11730 }
11731 return NULL;
11732 }
11733
11734
11735 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11738 wxString *arg2 = 0 ;
11739 bool temp2 = False ;
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj1 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "self",(char *) "message", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11749 {
11750 arg2 = wxString_in_helper(obj1);
11751 if (arg2 == NULL) SWIG_fail;
11752 temp2 = True;
11753 }
11754 {
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 (arg1)->SetMessage((wxString const &)*arg2);
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) SWIG_fail;
11760 }
11761 Py_INCREF(Py_None); resultobj = Py_None;
11762 {
11763 if (temp2)
11764 delete arg2;
11765 }
11766 return resultobj;
11767 fail:
11768 {
11769 if (temp2)
11770 delete arg2;
11771 }
11772 return NULL;
11773 }
11774
11775
11776 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11779 wxString *arg2 = 0 ;
11780 bool temp2 = False ;
11781 PyObject * obj0 = 0 ;
11782 PyObject * obj1 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self",(char *) "path", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 {
11791 arg2 = wxString_in_helper(obj1);
11792 if (arg2 == NULL) SWIG_fail;
11793 temp2 = True;
11794 }
11795 {
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 (arg1)->SetPath((wxString const &)*arg2);
11798
11799 wxPyEndAllowThreads(__tstate);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
11802 Py_INCREF(Py_None); resultobj = Py_None;
11803 {
11804 if (temp2)
11805 delete arg2;
11806 }
11807 return resultobj;
11808 fail:
11809 {
11810 if (temp2)
11811 delete arg2;
11812 }
11813 return NULL;
11814 }
11815
11816
11817 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11820 wxString *arg2 = 0 ;
11821 bool temp2 = False ;
11822 PyObject * obj0 = 0 ;
11823 PyObject * obj1 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "self",(char *) "dir", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11831 {
11832 arg2 = wxString_in_helper(obj1);
11833 if (arg2 == NULL) SWIG_fail;
11834 temp2 = True;
11835 }
11836 {
11837 PyThreadState* __tstate = wxPyBeginAllowThreads();
11838 (arg1)->SetDirectory((wxString const &)*arg2);
11839
11840 wxPyEndAllowThreads(__tstate);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 Py_INCREF(Py_None); resultobj = Py_None;
11844 {
11845 if (temp2)
11846 delete arg2;
11847 }
11848 return resultobj;
11849 fail:
11850 {
11851 if (temp2)
11852 delete arg2;
11853 }
11854 return NULL;
11855 }
11856
11857
11858 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11861 wxString *arg2 = 0 ;
11862 bool temp2 = False ;
11863 PyObject * obj0 = 0 ;
11864 PyObject * obj1 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self",(char *) "name", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11872 {
11873 arg2 = wxString_in_helper(obj1);
11874 if (arg2 == NULL) SWIG_fail;
11875 temp2 = True;
11876 }
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 (arg1)->SetFilename((wxString const &)*arg2);
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 Py_INCREF(Py_None); resultobj = Py_None;
11885 {
11886 if (temp2)
11887 delete arg2;
11888 }
11889 return resultobj;
11890 fail:
11891 {
11892 if (temp2)
11893 delete arg2;
11894 }
11895 return NULL;
11896 }
11897
11898
11899 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj;
11901 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11902 wxString *arg2 = 0 ;
11903 bool temp2 = False ;
11904 PyObject * obj0 = 0 ;
11905 PyObject * obj1 = 0 ;
11906 char *kwnames[] = {
11907 (char *) "self",(char *) "wildCard", NULL
11908 };
11909
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11913 {
11914 arg2 = wxString_in_helper(obj1);
11915 if (arg2 == NULL) SWIG_fail;
11916 temp2 = True;
11917 }
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetWildcard((wxString const &)*arg2);
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 {
11927 if (temp2)
11928 delete arg2;
11929 }
11930 return resultobj;
11931 fail:
11932 {
11933 if (temp2)
11934 delete arg2;
11935 }
11936 return NULL;
11937 }
11938
11939
11940 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11941 PyObject *resultobj;
11942 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11943 long arg2 ;
11944 PyObject * obj0 = 0 ;
11945 PyObject * obj1 = 0 ;
11946 char *kwnames[] = {
11947 (char *) "self",(char *) "style", NULL
11948 };
11949
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11953 arg2 = (long) SWIG_AsLong(obj1);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetStyle(arg2);
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 Py_INCREF(Py_None); resultobj = Py_None;
11963 return resultobj;
11964 fail:
11965 return NULL;
11966 }
11967
11968
11969 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj;
11971 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11972 int arg2 ;
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self",(char *) "filterIndex", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11982 arg2 = (int) SWIG_AsInt(obj1);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->SetFilterIndex(arg2);
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12001 wxString result;
12002 PyObject * obj0 = 0 ;
12003 char *kwnames[] = {
12004 (char *) "self", NULL
12005 };
12006
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 result = ((wxFileDialog const *)arg1)->GetMessage();
12013
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 {
12018 #if wxUSE_UNICODE
12019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12020 #else
12021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12022 #endif
12023 }
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12033 wxString result;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = ((wxFileDialog const *)arg1)->GetPath();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 {
12050 #if wxUSE_UNICODE
12051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12052 #else
12053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12054 #endif
12055 }
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12065 wxString result;
12066 PyObject * obj0 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = ((wxFileDialog const *)arg1)->GetDirectory();
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 {
12082 #if wxUSE_UNICODE
12083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12084 #else
12085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12086 #endif
12087 }
12088 return resultobj;
12089 fail:
12090 return NULL;
12091 }
12092
12093
12094 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj;
12096 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12097 wxString result;
12098 PyObject * obj0 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = ((wxFileDialog const *)arg1)->GetFilename();
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 {
12114 #if wxUSE_UNICODE
12115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12116 #else
12117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12118 #endif
12119 }
12120 return resultobj;
12121 fail:
12122 return NULL;
12123 }
12124
12125
12126 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12129 wxString result;
12130 PyObject * obj0 = 0 ;
12131 char *kwnames[] = {
12132 (char *) "self", NULL
12133 };
12134
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12138 {
12139 PyThreadState* __tstate = wxPyBeginAllowThreads();
12140 result = ((wxFileDialog const *)arg1)->GetWildcard();
12141
12142 wxPyEndAllowThreads(__tstate);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 {
12146 #if wxUSE_UNICODE
12147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12148 #else
12149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12150 #endif
12151 }
12152 return resultobj;
12153 fail:
12154 return NULL;
12155 }
12156
12157
12158 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12161 long result;
12162 PyObject * obj0 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 resultobj = SWIG_FromLong((long)result);
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12187 int result;
12188 PyObject * obj0 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 resultobj = SWIG_FromInt((int)result);
12204 return resultobj;
12205 fail:
12206 return NULL;
12207 }
12208
12209
12210 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12211 PyObject *resultobj;
12212 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12213 PyObject *result;
12214 PyObject * obj0 = 0 ;
12215 char *kwnames[] = {
12216 (char *) "self", NULL
12217 };
12218
12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = result;
12230 return resultobj;
12231 fail:
12232 return NULL;
12233 }
12234
12235
12236 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj;
12238 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12239 PyObject *result;
12240 PyObject * obj0 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "self", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = result;
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12263 PyObject *obj;
12264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12265 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12266 Py_INCREF(obj);
12267 return Py_BuildValue((char *)"");
12268 }
12269 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxWindow *arg1 = (wxWindow *) 0 ;
12272 wxString *arg2 = 0 ;
12273 wxString *arg3 = 0 ;
12274 int arg4 = (int) 0 ;
12275 wxString *arg5 = (wxString *) 0 ;
12276 long arg6 = (long) wxCHOICEDLG_STYLE ;
12277 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12278 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12279 wxMultiChoiceDialog *result;
12280 bool temp2 = False ;
12281 bool temp3 = False ;
12282 wxPoint temp6 ;
12283 PyObject * obj0 = 0 ;
12284 PyObject * obj1 = 0 ;
12285 PyObject * obj2 = 0 ;
12286 PyObject * obj3 = 0 ;
12287 PyObject * obj4 = 0 ;
12288 PyObject * obj5 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12296 {
12297 arg2 = wxString_in_helper(obj1);
12298 if (arg2 == NULL) SWIG_fail;
12299 temp2 = True;
12300 }
12301 {
12302 arg3 = wxString_in_helper(obj2);
12303 if (arg3 == NULL) SWIG_fail;
12304 temp3 = True;
12305 }
12306 if (obj3) {
12307 {
12308 arg4 = PyList_Size(obj3);
12309 arg5 = wxString_LIST_helper(obj3);
12310 if (arg5 == NULL) SWIG_fail;
12311 }
12312 }
12313 if (obj4) {
12314 arg6 = (long) SWIG_AsLong(obj4);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 if (obj5) {
12318 {
12319 arg7 = &temp6;
12320 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12321 }
12322 }
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12331 {
12332 if (temp2)
12333 delete arg2;
12334 }
12335 {
12336 if (temp3)
12337 delete arg3;
12338 }
12339 {
12340 if (arg5) delete [] arg5;
12341 }
12342 return resultobj;
12343 fail:
12344 {
12345 if (temp2)
12346 delete arg2;
12347 }
12348 {
12349 if (temp3)
12350 delete arg3;
12351 }
12352 {
12353 if (arg5) delete [] arg5;
12354 }
12355 return NULL;
12356 }
12357
12358
12359 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12362 wxArrayInt *arg2 = 0 ;
12363 bool temp2 = False ;
12364 PyObject * obj0 = 0 ;
12365 PyObject * obj1 = 0 ;
12366 char *kwnames[] = {
12367 (char *) "self",(char *) "selections", NULL
12368 };
12369
12370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12373 {
12374 if (! PySequence_Check(obj1)) {
12375 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12376 SWIG_fail;
12377 }
12378 arg2 = new wxArrayInt;
12379 temp2 = True;
12380 int i, len=PySequence_Length(obj1);
12381 for (i=0; i<len; i++) {
12382 PyObject* item = PySequence_GetItem(obj1, i);
12383 PyObject* number = PyNumber_Int(item);
12384 arg2->Add(PyInt_AS_LONG(number));
12385 Py_DECREF(item);
12386 Py_DECREF(number);
12387 }
12388 }
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12392
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 Py_INCREF(Py_None); resultobj = Py_None;
12397 {
12398 if (temp2) delete arg2;
12399 }
12400 return resultobj;
12401 fail:
12402 {
12403 if (temp2) delete arg2;
12404 }
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12412 PyObject *result;
12413 PyObject * obj0 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = result;
12429 return resultobj;
12430 fail:
12431 return NULL;
12432 }
12433
12434
12435 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12436 PyObject *obj;
12437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12438 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12439 Py_INCREF(obj);
12440 return Py_BuildValue((char *)"");
12441 }
12442 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj;
12444 wxWindow *arg1 = (wxWindow *) 0 ;
12445 wxString *arg2 = 0 ;
12446 wxString *arg3 = 0 ;
12447 int arg4 ;
12448 wxString *arg5 = (wxString *) 0 ;
12449 long arg6 = (long) wxCHOICEDLG_STYLE ;
12450 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12451 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12452 wxSingleChoiceDialog *result;
12453 bool temp2 = False ;
12454 bool temp3 = False ;
12455 wxPoint temp6 ;
12456 PyObject * obj0 = 0 ;
12457 PyObject * obj1 = 0 ;
12458 PyObject * obj2 = 0 ;
12459 PyObject * obj3 = 0 ;
12460 PyObject * obj4 = 0 ;
12461 PyObject * obj5 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12469 {
12470 arg2 = wxString_in_helper(obj1);
12471 if (arg2 == NULL) SWIG_fail;
12472 temp2 = True;
12473 }
12474 {
12475 arg3 = wxString_in_helper(obj2);
12476 if (arg3 == NULL) SWIG_fail;
12477 temp3 = True;
12478 }
12479 {
12480 arg4 = PyList_Size(obj3);
12481 arg5 = wxString_LIST_helper(obj3);
12482 if (arg5 == NULL) SWIG_fail;
12483 }
12484 if (obj4) {
12485 arg6 = (long) SWIG_AsLong(obj4);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
12488 if (obj5) {
12489 {
12490 arg7 = &temp6;
12491 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12492 }
12493 }
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12502 {
12503 if (temp2)
12504 delete arg2;
12505 }
12506 {
12507 if (temp3)
12508 delete arg3;
12509 }
12510 {
12511 if (arg5) delete [] arg5;
12512 }
12513 return resultobj;
12514 fail:
12515 {
12516 if (temp2)
12517 delete arg2;
12518 }
12519 {
12520 if (temp3)
12521 delete arg3;
12522 }
12523 {
12524 if (arg5) delete [] arg5;
12525 }
12526 return NULL;
12527 }
12528
12529
12530 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj;
12532 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12533 int result;
12534 PyObject * obj0 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "self", NULL
12537 };
12538
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 result = (int)(arg1)->GetSelection();
12545
12546 wxPyEndAllowThreads(__tstate);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 }
12549 resultobj = SWIG_FromInt((int)result);
12550 return resultobj;
12551 fail:
12552 return NULL;
12553 }
12554
12555
12556 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12557 PyObject *resultobj;
12558 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12559 wxString result;
12560 PyObject * obj0 = 0 ;
12561 char *kwnames[] = {
12562 (char *) "self", NULL
12563 };
12564
12565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 result = (arg1)->GetStringSelection();
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 {
12576 #if wxUSE_UNICODE
12577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12578 #else
12579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12580 #endif
12581 }
12582 return resultobj;
12583 fail:
12584 return NULL;
12585 }
12586
12587
12588 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12591 int arg2 ;
12592 PyObject * obj0 = 0 ;
12593 PyObject * obj1 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self",(char *) "sel", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12601 arg2 = (int) SWIG_AsInt(obj1);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 (arg1)->SetSelection(arg2);
12606
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 Py_INCREF(Py_None); resultobj = Py_None;
12611 return resultobj;
12612 fail:
12613 return NULL;
12614 }
12615
12616
12617 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12618 PyObject *obj;
12619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12620 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12621 Py_INCREF(obj);
12622 return Py_BuildValue((char *)"");
12623 }
12624 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxWindow *arg1 = (wxWindow *) 0 ;
12627 wxString *arg2 = 0 ;
12628 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12629 wxString *arg3 = (wxString *) &arg3_defvalue ;
12630 wxString const &arg4_defvalue = wxPyEmptyString ;
12631 wxString *arg4 = (wxString *) &arg4_defvalue ;
12632 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12633 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12634 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12635 wxTextEntryDialog *result;
12636 bool temp2 = False ;
12637 bool temp3 = False ;
12638 bool temp4 = False ;
12639 wxPoint temp6 ;
12640 PyObject * obj0 = 0 ;
12641 PyObject * obj1 = 0 ;
12642 PyObject * obj2 = 0 ;
12643 PyObject * obj3 = 0 ;
12644 PyObject * obj4 = 0 ;
12645 PyObject * obj5 = 0 ;
12646 char *kwnames[] = {
12647 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12648 };
12649
12650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12653 {
12654 arg2 = wxString_in_helper(obj1);
12655 if (arg2 == NULL) SWIG_fail;
12656 temp2 = True;
12657 }
12658 if (obj2) {
12659 {
12660 arg3 = wxString_in_helper(obj2);
12661 if (arg3 == NULL) SWIG_fail;
12662 temp3 = True;
12663 }
12664 }
12665 if (obj3) {
12666 {
12667 arg4 = wxString_in_helper(obj3);
12668 if (arg4 == NULL) SWIG_fail;
12669 temp4 = True;
12670 }
12671 }
12672 if (obj4) {
12673 arg5 = (long) SWIG_AsLong(obj4);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 if (obj5) {
12677 {
12678 arg6 = &temp6;
12679 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12680 }
12681 }
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12685
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12690 {
12691 if (temp2)
12692 delete arg2;
12693 }
12694 {
12695 if (temp3)
12696 delete arg3;
12697 }
12698 {
12699 if (temp4)
12700 delete arg4;
12701 }
12702 return resultobj;
12703 fail:
12704 {
12705 if (temp2)
12706 delete arg2;
12707 }
12708 {
12709 if (temp3)
12710 delete arg3;
12711 }
12712 {
12713 if (temp4)
12714 delete arg4;
12715 }
12716 return NULL;
12717 }
12718
12719
12720 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12723 wxString result;
12724 PyObject * obj0 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self", NULL
12727 };
12728
12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (arg1)->GetValue();
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
12739 {
12740 #if wxUSE_UNICODE
12741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12742 #else
12743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12744 #endif
12745 }
12746 return resultobj;
12747 fail:
12748 return NULL;
12749 }
12750
12751
12752 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12753 PyObject *resultobj;
12754 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12755 wxString *arg2 = 0 ;
12756 bool temp2 = False ;
12757 PyObject * obj0 = 0 ;
12758 PyObject * obj1 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self",(char *) "value", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12766 {
12767 arg2 = wxString_in_helper(obj1);
12768 if (arg2 == NULL) SWIG_fail;
12769 temp2 = True;
12770 }
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 (arg1)->SetValue((wxString const &)*arg2);
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 Py_INCREF(Py_None); resultobj = Py_None;
12779 {
12780 if (temp2)
12781 delete arg2;
12782 }
12783 return resultobj;
12784 fail:
12785 {
12786 if (temp2)
12787 delete arg2;
12788 }
12789 return NULL;
12790 }
12791
12792
12793 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12794 PyObject *obj;
12795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12796 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12797 Py_INCREF(obj);
12798 return Py_BuildValue((char *)"");
12799 }
12800 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxFontData *result;
12803 char *kwnames[] = {
12804 NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (wxFontData *)new wxFontData();
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxFontData *arg1 = (wxFontData *) 0 ;
12825 PyObject * obj0 = 0 ;
12826 char *kwnames[] = {
12827 (char *) "self", NULL
12828 };
12829
12830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 delete arg1;
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 Py_INCREF(Py_None); resultobj = Py_None;
12841 return resultobj;
12842 fail:
12843 return NULL;
12844 }
12845
12846
12847 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj;
12849 wxFontData *arg1 = (wxFontData *) 0 ;
12850 bool arg2 ;
12851 PyObject * obj0 = 0 ;
12852 PyObject * obj1 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self",(char *) "enable", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12860 arg2 = (bool) SWIG_AsBool(obj1);
12861 if (PyErr_Occurred()) SWIG_fail;
12862 {
12863 PyThreadState* __tstate = wxPyBeginAllowThreads();
12864 (arg1)->EnableEffects(arg2);
12865
12866 wxPyEndAllowThreads(__tstate);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 }
12869 Py_INCREF(Py_None); resultobj = Py_None;
12870 return resultobj;
12871 fail:
12872 return NULL;
12873 }
12874
12875
12876 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxFontData *arg1 = (wxFontData *) 0 ;
12879 bool result;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 result = (bool)(arg1)->GetAllowSymbols();
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 {
12896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12897 }
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj;
12906 wxFontData *arg1 = (wxFontData *) 0 ;
12907 wxColour result;
12908 PyObject * obj0 = 0 ;
12909 char *kwnames[] = {
12910 (char *) "self", NULL
12911 };
12912
12913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 result = (arg1)->GetColour();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 {
12924 wxColour * resultptr;
12925 resultptr = new wxColour((wxColour &) result);
12926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12927 }
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxFontData *arg1 = (wxFontData *) 0 ;
12937 wxFont result;
12938 PyObject * obj0 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (arg1)->GetChosenFont();
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 {
12954 wxFont * resultptr;
12955 resultptr = new wxFont((wxFont &) result);
12956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12957 }
12958 return resultobj;
12959 fail:
12960 return NULL;
12961 }
12962
12963
12964 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxFontData *arg1 = (wxFontData *) 0 ;
12967 bool result;
12968 PyObject * obj0 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self", NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (bool)(arg1)->GetEnableEffects();
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 {
12984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12985 }
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxFontData *arg1 = (wxFontData *) 0 ;
12995 wxFont result;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 result = (arg1)->GetInitialFont();
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 {
13012 wxFont * resultptr;
13013 resultptr = new wxFont((wxFont &) result);
13014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13015 }
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxFontData *arg1 = (wxFontData *) 0 ;
13025 bool result;
13026 PyObject * obj0 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 result = (bool)(arg1)->GetShowHelp();
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 {
13042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13043 }
13044 return resultobj;
13045 fail:
13046 return NULL;
13047 }
13048
13049
13050 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxFontData *arg1 = (wxFontData *) 0 ;
13053 bool arg2 ;
13054 PyObject * obj0 = 0 ;
13055 PyObject * obj1 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self",(char *) "allowSymbols", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13063 arg2 = (bool) SWIG_AsBool(obj1);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 (arg1)->SetAllowSymbols(arg2);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 Py_INCREF(Py_None); resultobj = Py_None;
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxFontData *arg1 = (wxFontData *) 0 ;
13082 wxFont *arg2 = 0 ;
13083 PyObject * obj0 = 0 ;
13084 PyObject * obj1 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self",(char *) "font", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13093 SWIG_POINTER_EXCEPTION | 0)) == -1)
13094 SWIG_fail;
13095 if (arg2 == NULL) {
13096 PyErr_SetString(PyExc_TypeError,"null reference");
13097 SWIG_fail;
13098 }
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 (arg1)->SetChosenFont((wxFont const &)*arg2);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 Py_INCREF(Py_None); resultobj = Py_None;
13107 return resultobj;
13108 fail:
13109 return NULL;
13110 }
13111
13112
13113 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13114 PyObject *resultobj;
13115 wxFontData *arg1 = (wxFontData *) 0 ;
13116 wxColour *arg2 = 0 ;
13117 wxColour temp2 ;
13118 PyObject * obj0 = 0 ;
13119 PyObject * obj1 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self",(char *) "colour", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 {
13128 arg2 = &temp2;
13129 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13130 }
13131 {
13132 PyThreadState* __tstate = wxPyBeginAllowThreads();
13133 (arg1)->SetColour((wxColour const &)*arg2);
13134
13135 wxPyEndAllowThreads(__tstate);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 Py_INCREF(Py_None); resultobj = Py_None;
13139 return resultobj;
13140 fail:
13141 return NULL;
13142 }
13143
13144
13145 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13146 PyObject *resultobj;
13147 wxFontData *arg1 = (wxFontData *) 0 ;
13148 wxFont *arg2 = 0 ;
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 char *kwnames[] = {
13152 (char *) "self",(char *) "font", NULL
13153 };
13154
13155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13158 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13159 SWIG_POINTER_EXCEPTION | 0)) == -1)
13160 SWIG_fail;
13161 if (arg2 == NULL) {
13162 PyErr_SetString(PyExc_TypeError,"null reference");
13163 SWIG_fail;
13164 }
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 (arg1)->SetInitialFont((wxFont const &)*arg2);
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 *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxFontData *arg1 = (wxFontData *) 0 ;
13182 int arg2 ;
13183 int arg3 ;
13184 PyObject * obj0 = 0 ;
13185 PyObject * obj1 = 0 ;
13186 PyObject * obj2 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "self",(char *) "min",(char *) "max", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13194 arg2 = (int) SWIG_AsInt(obj1);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 arg3 = (int) SWIG_AsInt(obj2);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 (arg1)->SetRange(arg2,arg3);
13201
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 Py_INCREF(Py_None); resultobj = Py_None;
13206 return resultobj;
13207 fail:
13208 return NULL;
13209 }
13210
13211
13212 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13213 PyObject *resultobj;
13214 wxFontData *arg1 = (wxFontData *) 0 ;
13215 bool arg2 ;
13216 PyObject * obj0 = 0 ;
13217 PyObject * obj1 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self",(char *) "showHelp", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13225 arg2 = (bool) SWIG_AsBool(obj1);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 (arg1)->SetShowHelp(arg2);
13230
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
13234 Py_INCREF(Py_None); resultobj = Py_None;
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13242 PyObject *obj;
13243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13244 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13245 Py_INCREF(obj);
13246 return Py_BuildValue((char *)"");
13247 }
13248 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj;
13250 wxWindow *arg1 = (wxWindow *) 0 ;
13251 wxFontData *arg2 = 0 ;
13252 wxFontDialog *result;
13253 PyObject * obj0 = 0 ;
13254 PyObject * obj1 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "parent",(char *) "data", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13262 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1)
13264 SWIG_fail;
13265 if (arg2 == NULL) {
13266 PyErr_SetString(PyExc_TypeError,"null reference");
13267 SWIG_fail;
13268 }
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13286 wxFontData *result;
13287 PyObject * obj0 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 {
13298 wxFontData &_result_ref = (arg1)->GetFontData();
13299 result = (wxFontData *) &_result_ref;
13300 }
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13306 return resultobj;
13307 fail:
13308 return NULL;
13309 }
13310
13311
13312 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13313 PyObject *obj;
13314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13315 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13316 Py_INCREF(obj);
13317 return Py_BuildValue((char *)"");
13318 }
13319 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxWindow *arg1 = (wxWindow *) 0 ;
13322 wxString *arg2 = 0 ;
13323 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13324 wxString *arg3 = (wxString *) &arg3_defvalue ;
13325 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13328 wxMessageDialog *result;
13329 bool temp2 = False ;
13330 bool temp3 = False ;
13331 wxPoint temp5 ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 PyObject * obj2 = 0 ;
13335 PyObject * obj3 = 0 ;
13336 PyObject * obj4 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13344 {
13345 arg2 = wxString_in_helper(obj1);
13346 if (arg2 == NULL) SWIG_fail;
13347 temp2 = True;
13348 }
13349 if (obj2) {
13350 {
13351 arg3 = wxString_in_helper(obj2);
13352 if (arg3 == NULL) SWIG_fail;
13353 temp3 = True;
13354 }
13355 }
13356 if (obj3) {
13357 arg4 = (long) SWIG_AsLong(obj3);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 if (obj4) {
13361 {
13362 arg5 = &temp5;
13363 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13364 }
13365 }
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13374 {
13375 if (temp2)
13376 delete arg2;
13377 }
13378 {
13379 if (temp3)
13380 delete arg3;
13381 }
13382 return resultobj;
13383 fail:
13384 {
13385 if (temp2)
13386 delete arg2;
13387 }
13388 {
13389 if (temp3)
13390 delete arg3;
13391 }
13392 return NULL;
13393 }
13394
13395
13396 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13397 PyObject *obj;
13398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13399 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13400 Py_INCREF(obj);
13401 return Py_BuildValue((char *)"");
13402 }
13403 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxString *arg1 = 0 ;
13406 wxString *arg2 = 0 ;
13407 int arg3 = (int) 100 ;
13408 wxWindow *arg4 = (wxWindow *) NULL ;
13409 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13410 wxProgressDialog *result;
13411 bool temp1 = False ;
13412 bool temp2 = False ;
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 PyObject * obj2 = 0 ;
13416 PyObject * obj3 = 0 ;
13417 PyObject * obj4 = 0 ;
13418 char *kwnames[] = {
13419 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13420 };
13421
13422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13423 {
13424 arg1 = wxString_in_helper(obj0);
13425 if (arg1 == NULL) SWIG_fail;
13426 temp1 = True;
13427 }
13428 {
13429 arg2 = wxString_in_helper(obj1);
13430 if (arg2 == NULL) SWIG_fail;
13431 temp2 = True;
13432 }
13433 if (obj2) {
13434 arg3 = (int) SWIG_AsInt(obj2);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 if (obj3) {
13438 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13440 }
13441 if (obj4) {
13442 arg5 = (int) SWIG_AsInt(obj4);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13448
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13453 {
13454 if (temp1)
13455 delete arg1;
13456 }
13457 {
13458 if (temp2)
13459 delete arg2;
13460 }
13461 return resultobj;
13462 fail:
13463 {
13464 if (temp1)
13465 delete arg1;
13466 }
13467 {
13468 if (temp2)
13469 delete arg2;
13470 }
13471 return NULL;
13472 }
13473
13474
13475 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13478 int arg2 ;
13479 wxString const &arg3_defvalue = wxPyEmptyString ;
13480 wxString *arg3 = (wxString *) &arg3_defvalue ;
13481 bool result;
13482 bool temp3 = False ;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 PyObject * obj2 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13493 arg2 = (int) SWIG_AsInt(obj1);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 if (obj2) {
13496 {
13497 arg3 = wxString_in_helper(obj2);
13498 if (arg3 == NULL) SWIG_fail;
13499 temp3 = True;
13500 }
13501 }
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13511 }
13512 {
13513 if (temp3)
13514 delete arg3;
13515 }
13516 return resultobj;
13517 fail:
13518 {
13519 if (temp3)
13520 delete arg3;
13521 }
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13529 PyObject * obj0 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13537 {
13538 PyThreadState* __tstate = wxPyBeginAllowThreads();
13539 (arg1)->Resume();
13540
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 Py_INCREF(Py_None); resultobj = Py_None;
13545 return resultobj;
13546 fail:
13547 return NULL;
13548 }
13549
13550
13551 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13552 PyObject *obj;
13553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13554 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13555 Py_INCREF(obj);
13556 return Py_BuildValue((char *)"");
13557 }
13558 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13561 int arg2 = (int) 0 ;
13562 wxFindDialogEvent *result;
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "commandType",(char *) "id", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13570 if (obj0) {
13571 arg1 = (wxEventType) SWIG_AsInt(obj0);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 if (obj1) {
13575 arg2 = (int) SWIG_AsInt(obj1);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13581
13582 wxPyEndAllowThreads(__tstate);
13583 if (PyErr_Occurred()) SWIG_fail;
13584 }
13585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13586 return resultobj;
13587 fail:
13588 return NULL;
13589 }
13590
13591
13592 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj;
13594 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13595 int result;
13596 PyObject * obj0 = 0 ;
13597 char *kwnames[] = {
13598 (char *) "self", NULL
13599 };
13600
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 result = (int)(arg1)->GetFlags();
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 resultobj = SWIG_FromInt((int)result);
13612 return resultobj;
13613 fail:
13614 return NULL;
13615 }
13616
13617
13618 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13619 PyObject *resultobj;
13620 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13621 wxString *result;
13622 PyObject * obj0 = 0 ;
13623 char *kwnames[] = {
13624 (char *) "self", NULL
13625 };
13626
13627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 {
13633 wxString const &_result_ref = (arg1)->GetFindString();
13634 result = (wxString *) &_result_ref;
13635 }
13636
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 {
13641 #if wxUSE_UNICODE
13642 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13643 #else
13644 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13645 #endif
13646 }
13647 return resultobj;
13648 fail:
13649 return NULL;
13650 }
13651
13652
13653 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13654 PyObject *resultobj;
13655 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13656 wxString *result;
13657 PyObject * obj0 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 {
13668 wxString const &_result_ref = (arg1)->GetReplaceString();
13669 result = (wxString *) &_result_ref;
13670 }
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 {
13676 #if wxUSE_UNICODE
13677 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13678 #else
13679 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13680 #endif
13681 }
13682 return resultobj;
13683 fail:
13684 return NULL;
13685 }
13686
13687
13688 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13689 PyObject *resultobj;
13690 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13691 wxFindReplaceDialog *result;
13692 PyObject * obj0 = 0 ;
13693 char *kwnames[] = {
13694 (char *) "self", NULL
13695 };
13696
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13708 return resultobj;
13709 fail:
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13717 int arg2 ;
13718 PyObject * obj0 = 0 ;
13719 PyObject * obj1 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "flags", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13727 arg2 = (int) SWIG_AsInt(obj1);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetFlags(arg2);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 Py_INCREF(Py_None); resultobj = Py_None;
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13746 wxString *arg2 = 0 ;
13747 bool temp2 = False ;
13748 PyObject * obj0 = 0 ;
13749 PyObject * obj1 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self",(char *) "str", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13757 {
13758 arg2 = wxString_in_helper(obj1);
13759 if (arg2 == NULL) SWIG_fail;
13760 temp2 = True;
13761 }
13762 {
13763 PyThreadState* __tstate = wxPyBeginAllowThreads();
13764 (arg1)->SetFindString((wxString const &)*arg2);
13765
13766 wxPyEndAllowThreads(__tstate);
13767 if (PyErr_Occurred()) SWIG_fail;
13768 }
13769 Py_INCREF(Py_None); resultobj = Py_None;
13770 {
13771 if (temp2)
13772 delete arg2;
13773 }
13774 return resultobj;
13775 fail:
13776 {
13777 if (temp2)
13778 delete arg2;
13779 }
13780 return NULL;
13781 }
13782
13783
13784 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13787 wxString *arg2 = 0 ;
13788 bool temp2 = False ;
13789 PyObject * obj0 = 0 ;
13790 PyObject * obj1 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self",(char *) "str", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13798 {
13799 arg2 = wxString_in_helper(obj1);
13800 if (arg2 == NULL) SWIG_fail;
13801 temp2 = True;
13802 }
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 (arg1)->SetReplaceString((wxString const &)*arg2);
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 Py_INCREF(Py_None); resultobj = Py_None;
13811 {
13812 if (temp2)
13813 delete arg2;
13814 }
13815 return resultobj;
13816 fail:
13817 {
13818 if (temp2)
13819 delete arg2;
13820 }
13821 return NULL;
13822 }
13823
13824
13825 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13826 PyObject *obj;
13827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13828 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13829 Py_INCREF(obj);
13830 return Py_BuildValue((char *)"");
13831 }
13832 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 int arg1 = (int) 0 ;
13835 wxFindReplaceData *result;
13836 PyObject * obj0 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "flags", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13842 if (obj0) {
13843 arg1 = (int) SWIG_AsInt(obj0);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13854 return resultobj;
13855 fail:
13856 return NULL;
13857 }
13858
13859
13860 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13863 PyObject * obj0 = 0 ;
13864 char *kwnames[] = {
13865 (char *) "self", NULL
13866 };
13867
13868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13871 {
13872 PyThreadState* __tstate = wxPyBeginAllowThreads();
13873 delete arg1;
13874
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 Py_INCREF(Py_None); resultobj = Py_None;
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13888 wxString *result;
13889 PyObject * obj0 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 {
13900 wxString const &_result_ref = (arg1)->GetFindString();
13901 result = (wxString *) &_result_ref;
13902 }
13903
13904 wxPyEndAllowThreads(__tstate);
13905 if (PyErr_Occurred()) SWIG_fail;
13906 }
13907 {
13908 #if wxUSE_UNICODE
13909 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13910 #else
13911 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13912 #endif
13913 }
13914 return resultobj;
13915 fail:
13916 return NULL;
13917 }
13918
13919
13920 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13923 wxString *result;
13924 PyObject * obj0 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 {
13935 wxString const &_result_ref = (arg1)->GetReplaceString();
13936 result = (wxString *) &_result_ref;
13937 }
13938
13939 wxPyEndAllowThreads(__tstate);
13940 if (PyErr_Occurred()) SWIG_fail;
13941 }
13942 {
13943 #if wxUSE_UNICODE
13944 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13945 #else
13946 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13947 #endif
13948 }
13949 return resultobj;
13950 fail:
13951 return NULL;
13952 }
13953
13954
13955 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13956 PyObject *resultobj;
13957 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13958 int result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 result = (int)(arg1)->GetFlags();
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 resultobj = SWIG_FromInt((int)result);
13975 return resultobj;
13976 fail:
13977 return NULL;
13978 }
13979
13980
13981 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj;
13983 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13984 int arg2 ;
13985 PyObject * obj0 = 0 ;
13986 PyObject * obj1 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "flags", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13994 arg2 = (int) SWIG_AsInt(obj1);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 (arg1)->SetFlags(arg2);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 Py_INCREF(Py_None); resultobj = Py_None;
14004 return resultobj;
14005 fail:
14006 return NULL;
14007 }
14008
14009
14010 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject *resultobj;
14012 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14013 wxString *arg2 = 0 ;
14014 bool temp2 = False ;
14015 PyObject * obj0 = 0 ;
14016 PyObject * obj1 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self",(char *) "str", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14024 {
14025 arg2 = wxString_in_helper(obj1);
14026 if (arg2 == NULL) SWIG_fail;
14027 temp2 = True;
14028 }
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 (arg1)->SetFindString((wxString const &)*arg2);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 Py_INCREF(Py_None); resultobj = Py_None;
14037 {
14038 if (temp2)
14039 delete arg2;
14040 }
14041 return resultobj;
14042 fail:
14043 {
14044 if (temp2)
14045 delete arg2;
14046 }
14047 return NULL;
14048 }
14049
14050
14051 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14052 PyObject *resultobj;
14053 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14054 wxString *arg2 = 0 ;
14055 bool temp2 = False ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self",(char *) "str", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14065 {
14066 arg2 = wxString_in_helper(obj1);
14067 if (arg2 == NULL) SWIG_fail;
14068 temp2 = True;
14069 }
14070 {
14071 PyThreadState* __tstate = wxPyBeginAllowThreads();
14072 (arg1)->SetReplaceString((wxString const &)*arg2);
14073
14074 wxPyEndAllowThreads(__tstate);
14075 if (PyErr_Occurred()) SWIG_fail;
14076 }
14077 Py_INCREF(Py_None); resultobj = Py_None;
14078 {
14079 if (temp2)
14080 delete arg2;
14081 }
14082 return resultobj;
14083 fail:
14084 {
14085 if (temp2)
14086 delete arg2;
14087 }
14088 return NULL;
14089 }
14090
14091
14092 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14093 PyObject *obj;
14094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14095 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14096 Py_INCREF(obj);
14097 return Py_BuildValue((char *)"");
14098 }
14099 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxWindow *arg1 = (wxWindow *) 0 ;
14102 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14103 wxString *arg3 = 0 ;
14104 int arg4 = (int) 0 ;
14105 wxFindReplaceDialog *result;
14106 bool temp3 = False ;
14107 PyObject * obj0 = 0 ;
14108 PyObject * obj1 = 0 ;
14109 PyObject * obj2 = 0 ;
14110 PyObject * obj3 = 0 ;
14111 char *kwnames[] = {
14112 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14113 };
14114
14115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14120 {
14121 arg3 = wxString_in_helper(obj2);
14122 if (arg3 == NULL) SWIG_fail;
14123 temp3 = True;
14124 }
14125 if (obj3) {
14126 arg4 = (int) SWIG_AsInt(obj3);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14137 {
14138 if (temp3)
14139 delete arg3;
14140 }
14141 return resultobj;
14142 fail:
14143 {
14144 if (temp3)
14145 delete arg3;
14146 }
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxFindReplaceDialog *result;
14154 char *kwnames[] = {
14155 NULL
14156 };
14157
14158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14167 return resultobj;
14168 fail:
14169 return NULL;
14170 }
14171
14172
14173 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14174 PyObject *resultobj;
14175 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14176 wxWindow *arg2 = (wxWindow *) 0 ;
14177 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14178 wxString *arg4 = 0 ;
14179 int arg5 = (int) 0 ;
14180 bool result;
14181 bool temp4 = False ;
14182 PyObject * obj0 = 0 ;
14183 PyObject * obj1 = 0 ;
14184 PyObject * obj2 = 0 ;
14185 PyObject * obj3 = 0 ;
14186 PyObject * obj4 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14196 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14198 {
14199 arg4 = wxString_in_helper(obj3);
14200 if (arg4 == NULL) SWIG_fail;
14201 temp4 = True;
14202 }
14203 if (obj4) {
14204 arg5 = (int) SWIG_AsInt(obj4);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14216 }
14217 {
14218 if (temp4)
14219 delete arg4;
14220 }
14221 return resultobj;
14222 fail:
14223 {
14224 if (temp4)
14225 delete arg4;
14226 }
14227 return NULL;
14228 }
14229
14230
14231 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14232 PyObject *resultobj;
14233 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14234 wxFindReplaceData *result;
14235 PyObject * obj0 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self", NULL
14238 };
14239
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 result = (wxFindReplaceData *)(arg1)->GetData();
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14251 return resultobj;
14252 fail:
14253 return NULL;
14254 }
14255
14256
14257 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14260 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14261 PyObject * obj0 = 0 ;
14262 PyObject * obj1 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self",(char *) "data", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14270 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 (arg1)->SetData(arg2);
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 Py_INCREF(Py_None); resultobj = Py_None;
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14287 PyObject *obj;
14288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14289 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14290 Py_INCREF(obj);
14291 return Py_BuildValue((char *)"");
14292 }
14293 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj;
14295 wxWindow *arg1 = (wxWindow *) 0 ;
14296 int arg2 ;
14297 wxString *arg3 = 0 ;
14298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14300 wxSize const &arg5_defvalue = wxDefaultSize ;
14301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14302 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14303 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14304 wxString *arg7 = (wxString *) &arg7_defvalue ;
14305 wxMDIParentFrame *result;
14306 bool temp3 = False ;
14307 wxPoint temp4 ;
14308 wxSize temp5 ;
14309 bool temp7 = False ;
14310 PyObject * obj0 = 0 ;
14311 PyObject * obj1 = 0 ;
14312 PyObject * obj2 = 0 ;
14313 PyObject * obj3 = 0 ;
14314 PyObject * obj4 = 0 ;
14315 PyObject * obj5 = 0 ;
14316 PyObject * obj6 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14324 arg2 = (int const) SWIG_AsInt(obj1);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 {
14327 arg3 = wxString_in_helper(obj2);
14328 if (arg3 == NULL) SWIG_fail;
14329 temp3 = True;
14330 }
14331 if (obj3) {
14332 {
14333 arg4 = &temp4;
14334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14335 }
14336 }
14337 if (obj4) {
14338 {
14339 arg5 = &temp5;
14340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14341 }
14342 }
14343 if (obj5) {
14344 arg6 = (long) SWIG_AsLong(obj5);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 if (obj6) {
14348 {
14349 arg7 = wxString_in_helper(obj6);
14350 if (arg7 == NULL) SWIG_fail;
14351 temp7 = True;
14352 }
14353 }
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14362 {
14363 if (temp3)
14364 delete arg3;
14365 }
14366 {
14367 if (temp7)
14368 delete arg7;
14369 }
14370 return resultobj;
14371 fail:
14372 {
14373 if (temp3)
14374 delete arg3;
14375 }
14376 {
14377 if (temp7)
14378 delete arg7;
14379 }
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxMDIParentFrame *result;
14387 char *kwnames[] = {
14388 NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14400 return resultobj;
14401 fail:
14402 return NULL;
14403 }
14404
14405
14406 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14407 PyObject *resultobj;
14408 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14409 wxWindow *arg2 = (wxWindow *) 0 ;
14410 int arg3 ;
14411 wxString *arg4 = 0 ;
14412 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14413 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14414 wxSize const &arg6_defvalue = wxDefaultSize ;
14415 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14416 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14417 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14418 wxString *arg8 = (wxString *) &arg8_defvalue ;
14419 bool result;
14420 bool temp4 = False ;
14421 wxPoint temp5 ;
14422 wxSize temp6 ;
14423 bool temp8 = False ;
14424 PyObject * obj0 = 0 ;
14425 PyObject * obj1 = 0 ;
14426 PyObject * obj2 = 0 ;
14427 PyObject * obj3 = 0 ;
14428 PyObject * obj4 = 0 ;
14429 PyObject * obj5 = 0 ;
14430 PyObject * obj6 = 0 ;
14431 PyObject * obj7 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14441 arg3 = (int const) SWIG_AsInt(obj2);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 {
14444 arg4 = wxString_in_helper(obj3);
14445 if (arg4 == NULL) SWIG_fail;
14446 temp4 = True;
14447 }
14448 if (obj4) {
14449 {
14450 arg5 = &temp5;
14451 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14452 }
14453 }
14454 if (obj5) {
14455 {
14456 arg6 = &temp6;
14457 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14458 }
14459 }
14460 if (obj6) {
14461 arg7 = (long) SWIG_AsLong(obj6);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 if (obj7) {
14465 {
14466 arg8 = wxString_in_helper(obj7);
14467 if (arg8 == NULL) SWIG_fail;
14468 temp8 = True;
14469 }
14470 }
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 {
14479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14480 }
14481 {
14482 if (temp4)
14483 delete arg4;
14484 }
14485 {
14486 if (temp8)
14487 delete arg8;
14488 }
14489 return resultobj;
14490 fail:
14491 {
14492 if (temp4)
14493 delete arg4;
14494 }
14495 {
14496 if (temp8)
14497 delete arg8;
14498 }
14499 return NULL;
14500 }
14501
14502
14503 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14504 PyObject *resultobj;
14505 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 (arg1)->ActivateNext();
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 Py_INCREF(Py_None); resultobj = Py_None;
14522 return resultobj;
14523 fail:
14524 return NULL;
14525 }
14526
14527
14528 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14531 PyObject * obj0 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14539 {
14540 PyThreadState* __tstate = wxPyBeginAllowThreads();
14541 (arg1)->ActivatePrevious();
14542
14543 wxPyEndAllowThreads(__tstate);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 Py_INCREF(Py_None); resultobj = Py_None;
14547 return resultobj;
14548 fail:
14549 return NULL;
14550 }
14551
14552
14553 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14554 PyObject *resultobj;
14555 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14556 PyObject * obj0 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 (arg1)->ArrangeIcons();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 Py_INCREF(Py_None); resultobj = Py_None;
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14581 PyObject * obj0 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14589 {
14590 PyThreadState* __tstate = wxPyBeginAllowThreads();
14591 (arg1)->Cascade();
14592
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 Py_INCREF(Py_None); resultobj = Py_None;
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14606 wxMDIChildFrame *result;
14607 PyObject * obj0 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 {
14623 resultobj = wxPyMake_wxObject(result);
14624 }
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14634 wxMDIClientWindow *result;
14635 PyObject * obj0 = 0 ;
14636 char *kwnames[] = {
14637 (char *) "self", NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 {
14651 resultobj = wxPyMake_wxObject(result);
14652 }
14653 return resultobj;
14654 fail:
14655 return NULL;
14656 }
14657
14658
14659 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14660 PyObject *resultobj;
14661 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14662 wxWindow *result;
14663 PyObject * obj0 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "self", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14671 {
14672 PyThreadState* __tstate = wxPyBeginAllowThreads();
14673 result = (wxWindow *)(arg1)->GetToolBar();
14674
14675 wxPyEndAllowThreads(__tstate);
14676 if (PyErr_Occurred()) SWIG_fail;
14677 }
14678 {
14679 resultobj = wxPyMake_wxObject(result);
14680 }
14681 return resultobj;
14682 fail:
14683 return NULL;
14684 }
14685
14686
14687 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14688 PyObject *resultobj;
14689 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14690 wxMenu *result;
14691 PyObject * obj0 = 0 ;
14692 char *kwnames[] = {
14693 (char *) "self", NULL
14694 };
14695
14696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (wxMenu *)(arg1)->GetWindowMenu();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 resultobj = wxPyMake_wxObject(result);
14708 }
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14718 wxMenu *arg2 = (wxMenu *) 0 ;
14719 PyObject * obj0 = 0 ;
14720 PyObject * obj1 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "self",(char *) "menu", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 (arg1)->SetWindowMenu(arg2);
14733
14734 wxPyEndAllowThreads(__tstate);
14735 if (PyErr_Occurred()) SWIG_fail;
14736 }
14737 Py_INCREF(Py_None); resultobj = Py_None;
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14747 wxToolBar *arg2 = (wxToolBar *) 0 ;
14748 PyObject * obj0 = 0 ;
14749 PyObject * obj1 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "self",(char *) "toolbar", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 (arg1)->SetToolBar(arg2);
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 Py_INCREF(Py_None); resultobj = Py_None;
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14776 PyObject * obj0 = 0 ;
14777 char *kwnames[] = {
14778 (char *) "self", NULL
14779 };
14780
14781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 (arg1)->Tile();
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 Py_INCREF(Py_None); resultobj = Py_None;
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14799 PyObject *obj;
14800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14801 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14802 Py_INCREF(obj);
14803 return Py_BuildValue((char *)"");
14804 }
14805 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14808 int arg2 ;
14809 wxString *arg3 = 0 ;
14810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14812 wxSize const &arg5_defvalue = wxDefaultSize ;
14813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14814 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14815 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14816 wxString *arg7 = (wxString *) &arg7_defvalue ;
14817 wxMDIChildFrame *result;
14818 bool temp3 = False ;
14819 wxPoint temp4 ;
14820 wxSize temp5 ;
14821 bool temp7 = False ;
14822 PyObject * obj0 = 0 ;
14823 PyObject * obj1 = 0 ;
14824 PyObject * obj2 = 0 ;
14825 PyObject * obj3 = 0 ;
14826 PyObject * obj4 = 0 ;
14827 PyObject * obj5 = 0 ;
14828 PyObject * obj6 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14836 arg2 = (int const) SWIG_AsInt(obj1);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 {
14839 arg3 = wxString_in_helper(obj2);
14840 if (arg3 == NULL) SWIG_fail;
14841 temp3 = True;
14842 }
14843 if (obj3) {
14844 {
14845 arg4 = &temp4;
14846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14847 }
14848 }
14849 if (obj4) {
14850 {
14851 arg5 = &temp5;
14852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14853 }
14854 }
14855 if (obj5) {
14856 arg6 = (long) SWIG_AsLong(obj5);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 if (obj6) {
14860 {
14861 arg7 = wxString_in_helper(obj6);
14862 if (arg7 == NULL) SWIG_fail;
14863 temp7 = True;
14864 }
14865 }
14866 {
14867 PyThreadState* __tstate = wxPyBeginAllowThreads();
14868 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14869
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 {
14874 resultobj = wxPyMake_wxObject(result);
14875 }
14876 {
14877 if (temp3)
14878 delete arg3;
14879 }
14880 {
14881 if (temp7)
14882 delete arg7;
14883 }
14884 return resultobj;
14885 fail:
14886 {
14887 if (temp3)
14888 delete arg3;
14889 }
14890 {
14891 if (temp7)
14892 delete arg7;
14893 }
14894 return NULL;
14895 }
14896
14897
14898 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxMDIChildFrame *result;
14901 char *kwnames[] = {
14902 NULL
14903 };
14904
14905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14906 {
14907 PyThreadState* __tstate = wxPyBeginAllowThreads();
14908 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14909
14910 wxPyEndAllowThreads(__tstate);
14911 if (PyErr_Occurred()) SWIG_fail;
14912 }
14913 {
14914 resultobj = wxPyMake_wxObject(result);
14915 }
14916 return resultobj;
14917 fail:
14918 return NULL;
14919 }
14920
14921
14922 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14923 PyObject *resultobj;
14924 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14925 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14926 int arg3 ;
14927 wxString *arg4 = 0 ;
14928 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14929 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14930 wxSize const &arg6_defvalue = wxDefaultSize ;
14931 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14932 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14933 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14934 wxString *arg8 = (wxString *) &arg8_defvalue ;
14935 bool result;
14936 bool temp4 = False ;
14937 wxPoint temp5 ;
14938 wxSize temp6 ;
14939 bool temp8 = False ;
14940 PyObject * obj0 = 0 ;
14941 PyObject * obj1 = 0 ;
14942 PyObject * obj2 = 0 ;
14943 PyObject * obj3 = 0 ;
14944 PyObject * obj4 = 0 ;
14945 PyObject * obj5 = 0 ;
14946 PyObject * obj6 = 0 ;
14947 PyObject * obj7 = 0 ;
14948 char *kwnames[] = {
14949 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14950 };
14951
14952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14957 arg3 = (int const) SWIG_AsInt(obj2);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 {
14960 arg4 = wxString_in_helper(obj3);
14961 if (arg4 == NULL) SWIG_fail;
14962 temp4 = True;
14963 }
14964 if (obj4) {
14965 {
14966 arg5 = &temp5;
14967 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14968 }
14969 }
14970 if (obj5) {
14971 {
14972 arg6 = &temp6;
14973 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14974 }
14975 }
14976 if (obj6) {
14977 arg7 = (long) SWIG_AsLong(obj6);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 if (obj7) {
14981 {
14982 arg8 = wxString_in_helper(obj7);
14983 if (arg8 == NULL) SWIG_fail;
14984 temp8 = True;
14985 }
14986 }
14987 {
14988 PyThreadState* __tstate = wxPyBeginAllowThreads();
14989 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 {
14995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14996 }
14997 {
14998 if (temp4)
14999 delete arg4;
15000 }
15001 {
15002 if (temp8)
15003 delete arg8;
15004 }
15005 return resultobj;
15006 fail:
15007 {
15008 if (temp4)
15009 delete arg4;
15010 }
15011 {
15012 if (temp8)
15013 delete arg8;
15014 }
15015 return NULL;
15016 }
15017
15018
15019 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15020 PyObject *resultobj;
15021 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->Activate();
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 Py_INCREF(Py_None); resultobj = Py_None;
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15047 bool arg2 ;
15048 PyObject * obj0 = 0 ;
15049 PyObject * obj1 = 0 ;
15050 char *kwnames[] = {
15051 (char *) "self",(char *) "maximize", NULL
15052 };
15053
15054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15057 arg2 = (bool) SWIG_AsBool(obj1);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 (arg1)->Maximize(arg2);
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 Py_INCREF(Py_None); resultobj = Py_None;
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15076 PyObject * obj0 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 (arg1)->Restore();
15087
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 Py_INCREF(Py_None); resultobj = Py_None;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095 }
15096
15097
15098 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15099 PyObject *obj;
15100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15101 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15102 Py_INCREF(obj);
15103 return Py_BuildValue((char *)"");
15104 }
15105 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15106 PyObject *resultobj;
15107 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15108 long arg2 = (long) 0 ;
15109 wxMDIClientWindow *result;
15110 PyObject * obj0 = 0 ;
15111 PyObject * obj1 = 0 ;
15112 char *kwnames[] = {
15113 (char *) "parent",(char *) "style", NULL
15114 };
15115
15116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15119 if (obj1) {
15120 arg2 = (long) SWIG_AsLong(obj1);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15126
15127 wxPyEndAllowThreads(__tstate);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 }
15130 {
15131 resultobj = wxPyMake_wxObject(result);
15132 }
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj;
15141 wxMDIClientWindow *result;
15142 char *kwnames[] = {
15143 NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15147 {
15148 PyThreadState* __tstate = wxPyBeginAllowThreads();
15149 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15150
15151 wxPyEndAllowThreads(__tstate);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 {
15155 resultobj = wxPyMake_wxObject(result);
15156 }
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15166 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15167 long arg3 = (long) 0 ;
15168 bool result;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "parent",(char *) "style", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15181 if (obj2) {
15182 arg3 = (long) SWIG_AsLong(obj2);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = (bool)(arg1)->Create(arg2,arg3);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15194 }
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15202 PyObject *obj;
15203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15204 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15205 Py_INCREF(obj);
15206 return Py_BuildValue((char *)"");
15207 }
15208 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxWindow *arg1 = (wxWindow *) 0 ;
15211 int arg2 ;
15212 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15213 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15214 wxSize const &arg4_defvalue = wxDefaultSize ;
15215 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15216 long arg5 = (long) 0 ;
15217 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15218 wxString *arg6 = (wxString *) &arg6_defvalue ;
15219 wxPyWindow *result;
15220 wxPoint temp3 ;
15221 wxSize temp4 ;
15222 bool temp6 = False ;
15223 PyObject * obj0 = 0 ;
15224 PyObject * obj1 = 0 ;
15225 PyObject * obj2 = 0 ;
15226 PyObject * obj3 = 0 ;
15227 PyObject * obj4 = 0 ;
15228 PyObject * obj5 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15236 arg2 = (int const) SWIG_AsInt(obj1);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 if (obj2) {
15239 {
15240 arg3 = &temp3;
15241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15242 }
15243 }
15244 if (obj3) {
15245 {
15246 arg4 = &temp4;
15247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15248 }
15249 }
15250 if (obj4) {
15251 arg5 = (long) SWIG_AsLong(obj4);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 if (obj5) {
15255 {
15256 arg6 = wxString_in_helper(obj5);
15257 if (arg6 == NULL) SWIG_fail;
15258 temp6 = True;
15259 }
15260 }
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15269 {
15270 if (temp6)
15271 delete arg6;
15272 }
15273 return resultobj;
15274 fail:
15275 {
15276 if (temp6)
15277 delete arg6;
15278 }
15279 return NULL;
15280 }
15281
15282
15283 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxPyWindow *result;
15286 char *kwnames[] = {
15287 NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (wxPyWindow *)new wxPyWindow();
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15308 PyObject *arg2 = (PyObject *) 0 ;
15309 PyObject *arg3 = (PyObject *) 0 ;
15310 PyObject * obj0 = 0 ;
15311 PyObject * obj1 = 0 ;
15312 PyObject * obj2 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self",(char *) "self",(char *) "_class", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15320 arg2 = obj1;
15321 arg3 = obj2;
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->_setCallbackInfo(arg2,arg3);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15339 int arg2 ;
15340 int arg3 ;
15341 int arg4 ;
15342 int arg5 ;
15343 PyObject * obj0 = 0 ;
15344 PyObject * obj1 = 0 ;
15345 PyObject * obj2 = 0 ;
15346 PyObject * obj3 = 0 ;
15347 PyObject * obj4 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15350 };
15351
15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15355 arg2 = (int) SWIG_AsInt(obj1);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 arg3 = (int) SWIG_AsInt(obj2);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 arg4 = (int) SWIG_AsInt(obj3);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 arg5 = (int) SWIG_AsInt(obj4);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 Py_INCREF(Py_None); resultobj = Py_None;
15371 return resultobj;
15372 fail:
15373 return NULL;
15374 }
15375
15376
15377 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15380 int arg2 ;
15381 int arg3 ;
15382 int arg4 ;
15383 int arg5 ;
15384 int arg6 = (int) wxSIZE_AUTO ;
15385 PyObject * obj0 = 0 ;
15386 PyObject * obj1 = 0 ;
15387 PyObject * obj2 = 0 ;
15388 PyObject * obj3 = 0 ;
15389 PyObject * obj4 = 0 ;
15390 PyObject * obj5 = 0 ;
15391 char *kwnames[] = {
15392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15393 };
15394
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15398 arg2 = (int) SWIG_AsInt(obj1);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 arg3 = (int) SWIG_AsInt(obj2);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 arg4 = (int) SWIG_AsInt(obj3);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 arg5 = (int) SWIG_AsInt(obj4);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 if (obj5) {
15407 arg6 = (int) SWIG_AsInt(obj5);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 Py_INCREF(Py_None); resultobj = Py_None;
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj;
15426 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15427 int arg2 ;
15428 int arg3 ;
15429 PyObject * obj0 = 0 ;
15430 PyObject * obj1 = 0 ;
15431 PyObject * obj2 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "width",(char *) "height", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15439 arg2 = (int) SWIG_AsInt(obj1);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 arg3 = (int) SWIG_AsInt(obj2);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->base_DoSetClientSize(arg2,arg3);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 return resultobj;
15452 fail:
15453 return NULL;
15454 }
15455
15456
15457 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15460 int arg2 ;
15461 int arg3 ;
15462 PyObject * obj0 = 0 ;
15463 PyObject * obj1 = 0 ;
15464 PyObject * obj2 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "x",(char *) "y", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15472 arg2 = (int) SWIG_AsInt(obj1);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 arg3 = (int) SWIG_AsInt(obj2);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 Py_INCREF(Py_None); resultobj = Py_None;
15484 return resultobj;
15485 fail:
15486 return NULL;
15487 }
15488
15489
15490 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15493 int *arg2 = (int *) 0 ;
15494 int *arg3 = (int *) 0 ;
15495 int temp2 ;
15496 int temp3 ;
15497 PyObject * obj0 = 0 ;
15498 char *kwnames[] = {
15499 (char *) "self", NULL
15500 };
15501
15502 arg2 = &temp2;
15503 arg3 = &temp3;
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 {
15516 PyObject *o = PyInt_FromLong((long) (*arg2));
15517 resultobj = t_output_helper(resultobj,o);
15518 }
15519 {
15520 PyObject *o = PyInt_FromLong((long) (*arg3));
15521 resultobj = t_output_helper(resultobj,o);
15522 }
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15532 int *arg2 = (int *) 0 ;
15533 int *arg3 = (int *) 0 ;
15534 int temp2 ;
15535 int temp3 ;
15536 PyObject * obj0 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self", NULL
15539 };
15540
15541 arg2 = &temp2;
15542 arg3 = &temp3;
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 Py_INCREF(Py_None); resultobj = Py_None;
15554 {
15555 PyObject *o = PyInt_FromLong((long) (*arg2));
15556 resultobj = t_output_helper(resultobj,o);
15557 }
15558 {
15559 PyObject *o = PyInt_FromLong((long) (*arg3));
15560 resultobj = t_output_helper(resultobj,o);
15561 }
15562 return resultobj;
15563 fail:
15564 return NULL;
15565 }
15566
15567
15568 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15569 PyObject *resultobj;
15570 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15571 int *arg2 = (int *) 0 ;
15572 int *arg3 = (int *) 0 ;
15573 int temp2 ;
15574 int temp3 ;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self", NULL
15578 };
15579
15580 arg2 = &temp2;
15581 arg3 = &temp3;
15582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15585 {
15586 PyThreadState* __tstate = wxPyBeginAllowThreads();
15587 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15588
15589 wxPyEndAllowThreads(__tstate);
15590 if (PyErr_Occurred()) SWIG_fail;
15591 }
15592 Py_INCREF(Py_None); resultobj = Py_None;
15593 {
15594 PyObject *o = PyInt_FromLong((long) (*arg2));
15595 resultobj = t_output_helper(resultobj,o);
15596 }
15597 {
15598 PyObject *o = PyInt_FromLong((long) (*arg3));
15599 resultobj = t_output_helper(resultobj,o);
15600 }
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15610 wxSize result;
15611 PyObject * obj0 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15622
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 {
15627 wxSize * resultptr;
15628 resultptr = new wxSize((wxSize &) result);
15629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15630 }
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15638 PyObject *resultobj;
15639 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15640 wxSize result;
15641 PyObject * obj0 = 0 ;
15642 char *kwnames[] = {
15643 (char *) "self", NULL
15644 };
15645
15646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15649 {
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15652
15653 wxPyEndAllowThreads(__tstate);
15654 if (PyErr_Occurred()) SWIG_fail;
15655 }
15656 {
15657 wxSize * resultptr;
15658 resultptr = new wxSize((wxSize &) result);
15659 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15660 }
15661 return resultobj;
15662 fail:
15663 return NULL;
15664 }
15665
15666
15667 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15668 PyObject *resultobj;
15669 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15670 PyObject * obj0 = 0 ;
15671 char *kwnames[] = {
15672 (char *) "self", NULL
15673 };
15674
15675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 (arg1)->base_InitDialog();
15681
15682 wxPyEndAllowThreads(__tstate);
15683 if (PyErr_Occurred()) SWIG_fail;
15684 }
15685 Py_INCREF(Py_None); resultobj = Py_None;
15686 return resultobj;
15687 fail:
15688 return NULL;
15689 }
15690
15691
15692 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15695 bool result;
15696 PyObject * obj0 = 0 ;
15697 char *kwnames[] = {
15698 (char *) "self", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 result = (bool)(arg1)->base_TransferDataToWindow();
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 {
15712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15713 }
15714 return resultobj;
15715 fail:
15716 return NULL;
15717 }
15718
15719
15720 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15721 PyObject *resultobj;
15722 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15723 bool result;
15724 PyObject * obj0 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "self", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 result = (bool)(arg1)->base_TransferDataFromWindow();
15735
15736 wxPyEndAllowThreads(__tstate);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15741 }
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj;
15750 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15751 bool result;
15752 PyObject * obj0 = 0 ;
15753 char *kwnames[] = {
15754 (char *) "self", NULL
15755 };
15756
15757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 result = (bool)(arg1)->base_Validate();
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 {
15768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15769 }
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15779 bool result;
15780 PyObject * obj0 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 {
15796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15797 }
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15807 bool result;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15816 {
15817 PyThreadState* __tstate = wxPyBeginAllowThreads();
15818 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15819
15820 wxPyEndAllowThreads(__tstate);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 }
15823 {
15824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15825 }
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj;
15834 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15835 wxSize result;
15836 PyObject * obj0 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15844 {
15845 PyThreadState* __tstate = wxPyBeginAllowThreads();
15846 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15847
15848 wxPyEndAllowThreads(__tstate);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 }
15851 {
15852 wxSize * resultptr;
15853 resultptr = new wxSize((wxSize &) result);
15854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15855 }
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj;
15864 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15865 wxWindow *arg2 = (wxWindow *) 0 ;
15866 PyObject * obj0 = 0 ;
15867 PyObject * obj1 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self",(char *) "child", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 (arg1)->base_AddChild(arg2);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 Py_INCREF(Py_None); resultobj = Py_None;
15885 return resultobj;
15886 fail:
15887 return NULL;
15888 }
15889
15890
15891 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15894 wxWindow *arg2 = (wxWindow *) 0 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "child", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 (arg1)->base_RemoveChild(arg2);
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 Py_INCREF(Py_None); resultobj = Py_None;
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15923 bool result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (bool)(arg1)->base_ShouldInheritColours();
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 {
15940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15941 }
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj;
15950 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15951 wxColour *arg2 = 0 ;
15952 wxColour temp2 ;
15953 PyObject * obj0 = 0 ;
15954 PyObject * obj1 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self",(char *) "c", NULL
15957 };
15958
15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15962 {
15963 arg2 = &temp2;
15964 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15965 }
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 Py_INCREF(Py_None); resultobj = Py_None;
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15981 PyObject *obj;
15982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15983 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15984 Py_INCREF(obj);
15985 return Py_BuildValue((char *)"");
15986 }
15987 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxWindow *arg1 = (wxWindow *) 0 ;
15990 int arg2 ;
15991 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15992 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15993 wxSize const &arg4_defvalue = wxDefaultSize ;
15994 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15995 long arg5 = (long) 0 ;
15996 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15997 wxString *arg6 = (wxString *) &arg6_defvalue ;
15998 wxPyPanel *result;
15999 wxPoint temp3 ;
16000 wxSize temp4 ;
16001 bool temp6 = False ;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 PyObject * obj2 = 0 ;
16005 PyObject * obj3 = 0 ;
16006 PyObject * obj4 = 0 ;
16007 PyObject * obj5 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16015 arg2 = (int const) SWIG_AsInt(obj1);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 if (obj2) {
16018 {
16019 arg3 = &temp3;
16020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16021 }
16022 }
16023 if (obj3) {
16024 {
16025 arg4 = &temp4;
16026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16027 }
16028 }
16029 if (obj4) {
16030 arg5 = (long) SWIG_AsLong(obj4);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 if (obj5) {
16034 {
16035 arg6 = wxString_in_helper(obj5);
16036 if (arg6 == NULL) SWIG_fail;
16037 temp6 = True;
16038 }
16039 }
16040 {
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16043
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16048 {
16049 if (temp6)
16050 delete arg6;
16051 }
16052 return resultobj;
16053 fail:
16054 {
16055 if (temp6)
16056 delete arg6;
16057 }
16058 return NULL;
16059 }
16060
16061
16062 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxPyPanel *result;
16065 char *kwnames[] = {
16066 NULL
16067 };
16068
16069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16070 {
16071 PyThreadState* __tstate = wxPyBeginAllowThreads();
16072 result = (wxPyPanel *)new wxPyPanel();
16073
16074 wxPyEndAllowThreads(__tstate);
16075 if (PyErr_Occurred()) SWIG_fail;
16076 }
16077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16078 return resultobj;
16079 fail:
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16087 PyObject *arg2 = (PyObject *) 0 ;
16088 PyObject *arg3 = (PyObject *) 0 ;
16089 PyObject * obj0 = 0 ;
16090 PyObject * obj1 = 0 ;
16091 PyObject * obj2 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self",(char *) "self",(char *) "_class", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 arg2 = obj1;
16100 arg3 = obj2;
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 (arg1)->_setCallbackInfo(arg2,arg3);
16104
16105 wxPyEndAllowThreads(__tstate);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 }
16108 Py_INCREF(Py_None); resultobj = Py_None;
16109 return resultobj;
16110 fail:
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16118 int arg2 ;
16119 int arg3 ;
16120 int arg4 ;
16121 int arg5 ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 PyObject * obj2 = 0 ;
16125 PyObject * obj3 = 0 ;
16126 PyObject * obj4 = 0 ;
16127 char *kwnames[] = {
16128 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16129 };
16130
16131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16134 arg2 = (int) SWIG_AsInt(obj1);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 arg3 = (int) SWIG_AsInt(obj2);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 arg4 = (int) SWIG_AsInt(obj3);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 arg5 = (int) SWIG_AsInt(obj4);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 Py_INCREF(Py_None); resultobj = Py_None;
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16157 PyObject *resultobj;
16158 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16159 int arg2 ;
16160 int arg3 ;
16161 int arg4 ;
16162 int arg5 ;
16163 int arg6 = (int) wxSIZE_AUTO ;
16164 PyObject * obj0 = 0 ;
16165 PyObject * obj1 = 0 ;
16166 PyObject * obj2 = 0 ;
16167 PyObject * obj3 = 0 ;
16168 PyObject * obj4 = 0 ;
16169 PyObject * obj5 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 arg2 = (int) SWIG_AsInt(obj1);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 arg3 = (int) SWIG_AsInt(obj2);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 arg4 = (int) SWIG_AsInt(obj3);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 arg5 = (int) SWIG_AsInt(obj4);
16184 if (PyErr_Occurred()) SWIG_fail;
16185 if (obj5) {
16186 arg6 = (int) SWIG_AsInt(obj5);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 Py_INCREF(Py_None); resultobj = Py_None;
16197 return resultobj;
16198 fail:
16199 return NULL;
16200 }
16201
16202
16203 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16206 int arg2 ;
16207 int arg3 ;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 PyObject * obj2 = 0 ;
16211 char *kwnames[] = {
16212 (char *) "self",(char *) "width",(char *) "height", NULL
16213 };
16214
16215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16218 arg2 = (int) SWIG_AsInt(obj1);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 arg3 = (int) SWIG_AsInt(obj2);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 (arg1)->base_DoSetClientSize(arg2,arg3);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16239 int arg2 ;
16240 int arg3 ;
16241 PyObject * obj0 = 0 ;
16242 PyObject * obj1 = 0 ;
16243 PyObject * obj2 = 0 ;
16244 char *kwnames[] = {
16245 (char *) "self",(char *) "x",(char *) "y", NULL
16246 };
16247
16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16251 arg2 = (int) SWIG_AsInt(obj1);
16252 if (PyErr_Occurred()) SWIG_fail;
16253 arg3 = (int) SWIG_AsInt(obj2);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 return resultobj;
16264 fail:
16265 return NULL;
16266 }
16267
16268
16269 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16272 int *arg2 = (int *) 0 ;
16273 int *arg3 = (int *) 0 ;
16274 int temp2 ;
16275 int temp3 ;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 arg2 = &temp2;
16282 arg3 = &temp3;
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 Py_INCREF(Py_None); resultobj = Py_None;
16294 {
16295 PyObject *o = PyInt_FromLong((long) (*arg2));
16296 resultobj = t_output_helper(resultobj,o);
16297 }
16298 {
16299 PyObject *o = PyInt_FromLong((long) (*arg3));
16300 resultobj = t_output_helper(resultobj,o);
16301 }
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16311 int *arg2 = (int *) 0 ;
16312 int *arg3 = (int *) 0 ;
16313 int temp2 ;
16314 int temp3 ;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 arg2 = &temp2;
16321 arg3 = &temp3;
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16325 {
16326 PyThreadState* __tstate = wxPyBeginAllowThreads();
16327 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16328
16329 wxPyEndAllowThreads(__tstate);
16330 if (PyErr_Occurred()) SWIG_fail;
16331 }
16332 Py_INCREF(Py_None); resultobj = Py_None;
16333 {
16334 PyObject *o = PyInt_FromLong((long) (*arg2));
16335 resultobj = t_output_helper(resultobj,o);
16336 }
16337 {
16338 PyObject *o = PyInt_FromLong((long) (*arg3));
16339 resultobj = t_output_helper(resultobj,o);
16340 }
16341 return resultobj;
16342 fail:
16343 return NULL;
16344 }
16345
16346
16347 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16348 PyObject *resultobj;
16349 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16350 int *arg2 = (int *) 0 ;
16351 int *arg3 = (int *) 0 ;
16352 int temp2 ;
16353 int temp3 ;
16354 PyObject * obj0 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self", NULL
16357 };
16358
16359 arg2 = &temp2;
16360 arg3 = &temp3;
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 Py_INCREF(Py_None); resultobj = Py_None;
16372 {
16373 PyObject *o = PyInt_FromLong((long) (*arg2));
16374 resultobj = t_output_helper(resultobj,o);
16375 }
16376 {
16377 PyObject *o = PyInt_FromLong((long) (*arg3));
16378 resultobj = t_output_helper(resultobj,o);
16379 }
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16389 wxSize result;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 wxSize * resultptr;
16407 resultptr = new wxSize((wxSize &) result);
16408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16409 }
16410 return resultobj;
16411 fail:
16412 return NULL;
16413 }
16414
16415
16416 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16417 PyObject *resultobj;
16418 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16419 wxSize result;
16420 PyObject * obj0 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "self", NULL
16423 };
16424
16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 {
16436 wxSize * resultptr;
16437 resultptr = new wxSize((wxSize &) result);
16438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16439 }
16440 return resultobj;
16441 fail:
16442 return NULL;
16443 }
16444
16445
16446 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj;
16448 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16449 PyObject * obj0 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "self", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16457 {
16458 PyThreadState* __tstate = wxPyBeginAllowThreads();
16459 (arg1)->base_InitDialog();
16460
16461 wxPyEndAllowThreads(__tstate);
16462 if (PyErr_Occurred()) SWIG_fail;
16463 }
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16474 bool result;
16475 PyObject * obj0 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (bool)(arg1)->base_TransferDataToWindow();
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 {
16491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16502 bool result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 result = (bool)(arg1)->base_TransferDataFromWindow();
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 {
16519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16530 bool result;
16531 PyObject * obj0 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (bool)(arg1)->base_Validate();
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 {
16547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16548 }
16549 return resultobj;
16550 fail:
16551 return NULL;
16552 }
16553
16554
16555 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16558 bool result;
16559 PyObject * obj0 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 {
16575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16576 }
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16586 bool result;
16587 PyObject * obj0 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 {
16603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16604 }
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16614 wxSize result;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 {
16631 wxSize * resultptr;
16632 resultptr = new wxSize((wxSize &) result);
16633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16634 }
16635 return resultobj;
16636 fail:
16637 return NULL;
16638 }
16639
16640
16641 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj;
16643 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16644 wxWindow *arg2 = (wxWindow *) 0 ;
16645 PyObject * obj0 = 0 ;
16646 PyObject * obj1 = 0 ;
16647 char *kwnames[] = {
16648 (char *) "self",(char *) "child", NULL
16649 };
16650
16651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 (arg1)->base_AddChild(arg2);
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 Py_INCREF(Py_None); resultobj = Py_None;
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16673 wxWindow *arg2 = (wxWindow *) 0 ;
16674 PyObject * obj0 = 0 ;
16675 PyObject * obj1 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self",(char *) "child", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 (arg1)->base_RemoveChild(arg2);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 Py_INCREF(Py_None); resultobj = Py_None;
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16702 bool result;
16703 PyObject * obj0 = 0 ;
16704 char *kwnames[] = {
16705 (char *) "self", NULL
16706 };
16707
16708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16711 {
16712 PyThreadState* __tstate = wxPyBeginAllowThreads();
16713 result = (bool)(arg1)->base_ShouldInheritColours();
16714
16715 wxPyEndAllowThreads(__tstate);
16716 if (PyErr_Occurred()) SWIG_fail;
16717 }
16718 {
16719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16720 }
16721 return resultobj;
16722 fail:
16723 return NULL;
16724 }
16725
16726
16727 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16728 PyObject *resultobj;
16729 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16730 wxColour *arg2 = 0 ;
16731 wxColour temp2 ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "c", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16741 {
16742 arg2 = &temp2;
16743 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16744 }
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16760 PyObject *obj;
16761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16762 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16763 Py_INCREF(obj);
16764 return Py_BuildValue((char *)"");
16765 }
16766 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxWindow *arg1 = (wxWindow *) 0 ;
16769 int arg2 ;
16770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16772 wxSize const &arg4_defvalue = wxDefaultSize ;
16773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16774 long arg5 = (long) 0 ;
16775 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16776 wxString *arg6 = (wxString *) &arg6_defvalue ;
16777 wxPyScrolledWindow *result;
16778 wxPoint temp3 ;
16779 wxSize temp4 ;
16780 bool temp6 = False ;
16781 PyObject * obj0 = 0 ;
16782 PyObject * obj1 = 0 ;
16783 PyObject * obj2 = 0 ;
16784 PyObject * obj3 = 0 ;
16785 PyObject * obj4 = 0 ;
16786 PyObject * obj5 = 0 ;
16787 char *kwnames[] = {
16788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16789 };
16790
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16794 arg2 = (int const) SWIG_AsInt(obj1);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 if (obj2) {
16797 {
16798 arg3 = &temp3;
16799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16800 }
16801 }
16802 if (obj3) {
16803 {
16804 arg4 = &temp4;
16805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16806 }
16807 }
16808 if (obj4) {
16809 arg5 = (long) SWIG_AsLong(obj4);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 if (obj5) {
16813 {
16814 arg6 = wxString_in_helper(obj5);
16815 if (arg6 == NULL) SWIG_fail;
16816 temp6 = True;
16817 }
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16827 {
16828 if (temp6)
16829 delete arg6;
16830 }
16831 return resultobj;
16832 fail:
16833 {
16834 if (temp6)
16835 delete arg6;
16836 }
16837 return NULL;
16838 }
16839
16840
16841 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj;
16843 wxPyScrolledWindow *result;
16844 char *kwnames[] = {
16845 NULL
16846 };
16847
16848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16866 PyObject *arg2 = (PyObject *) 0 ;
16867 PyObject *arg3 = (PyObject *) 0 ;
16868 PyObject * obj0 = 0 ;
16869 PyObject * obj1 = 0 ;
16870 PyObject * obj2 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self",(char *) "self",(char *) "_class", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16878 arg2 = obj1;
16879 arg3 = obj2;
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 (arg1)->_setCallbackInfo(arg2,arg3);
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 Py_INCREF(Py_None); resultobj = Py_None;
16888 return resultobj;
16889 fail:
16890 return NULL;
16891 }
16892
16893
16894 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16897 int arg2 ;
16898 int arg3 ;
16899 int arg4 ;
16900 int arg5 ;
16901 PyObject * obj0 = 0 ;
16902 PyObject * obj1 = 0 ;
16903 PyObject * obj2 = 0 ;
16904 PyObject * obj3 = 0 ;
16905 PyObject * obj4 = 0 ;
16906 char *kwnames[] = {
16907 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16913 arg2 = (int) SWIG_AsInt(obj1);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 arg3 = (int) SWIG_AsInt(obj2);
16916 if (PyErr_Occurred()) SWIG_fail;
16917 arg4 = (int) SWIG_AsInt(obj3);
16918 if (PyErr_Occurred()) SWIG_fail;
16919 arg5 = (int) SWIG_AsInt(obj4);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 Py_INCREF(Py_None); resultobj = Py_None;
16929 return resultobj;
16930 fail:
16931 return NULL;
16932 }
16933
16934
16935 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16938 int arg2 ;
16939 int arg3 ;
16940 int arg4 ;
16941 int arg5 ;
16942 int arg6 = (int) wxSIZE_AUTO ;
16943 PyObject * obj0 = 0 ;
16944 PyObject * obj1 = 0 ;
16945 PyObject * obj2 = 0 ;
16946 PyObject * obj3 = 0 ;
16947 PyObject * obj4 = 0 ;
16948 PyObject * obj5 = 0 ;
16949 char *kwnames[] = {
16950 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16951 };
16952
16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16956 arg2 = (int) SWIG_AsInt(obj1);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 arg3 = (int) SWIG_AsInt(obj2);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 arg4 = (int) SWIG_AsInt(obj3);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 arg5 = (int) SWIG_AsInt(obj4);
16963 if (PyErr_Occurred()) SWIG_fail;
16964 if (obj5) {
16965 arg6 = (int) SWIG_AsInt(obj5);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 PyThreadState* __tstate = wxPyBeginAllowThreads();
16970 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16971
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 Py_INCREF(Py_None); resultobj = Py_None;
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16985 int arg2 ;
16986 int arg3 ;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 PyObject * obj2 = 0 ;
16990 char *kwnames[] = {
16991 (char *) "self",(char *) "width",(char *) "height", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16997 arg2 = (int) SWIG_AsInt(obj1);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 arg3 = (int) SWIG_AsInt(obj2);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 {
17002 PyThreadState* __tstate = wxPyBeginAllowThreads();
17003 (arg1)->base_DoSetClientSize(arg2,arg3);
17004
17005 wxPyEndAllowThreads(__tstate);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 }
17008 Py_INCREF(Py_None); resultobj = Py_None;
17009 return resultobj;
17010 fail:
17011 return NULL;
17012 }
17013
17014
17015 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17016 PyObject *resultobj;
17017 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17018 int arg2 ;
17019 int arg3 ;
17020 PyObject * obj0 = 0 ;
17021 PyObject * obj1 = 0 ;
17022 PyObject * obj2 = 0 ;
17023 char *kwnames[] = {
17024 (char *) "self",(char *) "x",(char *) "y", NULL
17025 };
17026
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17030 arg2 = (int) SWIG_AsInt(obj1);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 arg3 = (int) SWIG_AsInt(obj2);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 Py_INCREF(Py_None); resultobj = Py_None;
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17051 int *arg2 = (int *) 0 ;
17052 int *arg3 = (int *) 0 ;
17053 int temp2 ;
17054 int temp3 ;
17055 PyObject * obj0 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self", NULL
17058 };
17059
17060 arg2 = &temp2;
17061 arg3 = &temp3;
17062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17065 {
17066 PyThreadState* __tstate = wxPyBeginAllowThreads();
17067 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17068
17069 wxPyEndAllowThreads(__tstate);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 Py_INCREF(Py_None); resultobj = Py_None;
17073 {
17074 PyObject *o = PyInt_FromLong((long) (*arg2));
17075 resultobj = t_output_helper(resultobj,o);
17076 }
17077 {
17078 PyObject *o = PyInt_FromLong((long) (*arg3));
17079 resultobj = t_output_helper(resultobj,o);
17080 }
17081 return resultobj;
17082 fail:
17083 return NULL;
17084 }
17085
17086
17087 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj;
17089 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17090 int *arg2 = (int *) 0 ;
17091 int *arg3 = (int *) 0 ;
17092 int temp2 ;
17093 int temp3 ;
17094 PyObject * obj0 = 0 ;
17095 char *kwnames[] = {
17096 (char *) "self", NULL
17097 };
17098
17099 arg2 = &temp2;
17100 arg3 = &temp3;
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 Py_INCREF(Py_None); resultobj = Py_None;
17112 {
17113 PyObject *o = PyInt_FromLong((long) (*arg2));
17114 resultobj = t_output_helper(resultobj,o);
17115 }
17116 {
17117 PyObject *o = PyInt_FromLong((long) (*arg3));
17118 resultobj = t_output_helper(resultobj,o);
17119 }
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17129 int *arg2 = (int *) 0 ;
17130 int *arg3 = (int *) 0 ;
17131 int temp2 ;
17132 int temp3 ;
17133 PyObject * obj0 = 0 ;
17134 char *kwnames[] = {
17135 (char *) "self", NULL
17136 };
17137
17138 arg2 = &temp2;
17139 arg3 = &temp3;
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17143 {
17144 PyThreadState* __tstate = wxPyBeginAllowThreads();
17145 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17146
17147 wxPyEndAllowThreads(__tstate);
17148 if (PyErr_Occurred()) SWIG_fail;
17149 }
17150 Py_INCREF(Py_None); resultobj = Py_None;
17151 {
17152 PyObject *o = PyInt_FromLong((long) (*arg2));
17153 resultobj = t_output_helper(resultobj,o);
17154 }
17155 {
17156 PyObject *o = PyInt_FromLong((long) (*arg3));
17157 resultobj = t_output_helper(resultobj,o);
17158 }
17159 return resultobj;
17160 fail:
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17168 wxSize result;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17180
17181 wxPyEndAllowThreads(__tstate);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 wxSize * resultptr;
17186 resultptr = new wxSize((wxSize &) result);
17187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17188 }
17189 return resultobj;
17190 fail:
17191 return NULL;
17192 }
17193
17194
17195 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj;
17197 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17198 wxSize result;
17199 PyObject * obj0 = 0 ;
17200 char *kwnames[] = {
17201 (char *) "self", NULL
17202 };
17203
17204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17207 {
17208 PyThreadState* __tstate = wxPyBeginAllowThreads();
17209 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17210
17211 wxPyEndAllowThreads(__tstate);
17212 if (PyErr_Occurred()) SWIG_fail;
17213 }
17214 {
17215 wxSize * resultptr;
17216 resultptr = new wxSize((wxSize &) result);
17217 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17218 }
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17228 PyObject * obj0 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 (arg1)->base_InitDialog();
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 Py_INCREF(Py_None); resultobj = Py_None;
17244 return resultobj;
17245 fail:
17246 return NULL;
17247 }
17248
17249
17250 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17251 PyObject *resultobj;
17252 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17253 bool result;
17254 PyObject * obj0 = 0 ;
17255 char *kwnames[] = {
17256 (char *) "self", NULL
17257 };
17258
17259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 result = (bool)(arg1)->base_TransferDataToWindow();
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 {
17270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17271 }
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17281 bool result;
17282 PyObject * obj0 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 result = (bool)(arg1)->base_TransferDataFromWindow();
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 {
17298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17299 }
17300 return resultobj;
17301 fail:
17302 return NULL;
17303 }
17304
17305
17306 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17309 bool result;
17310 PyObject * obj0 = 0 ;
17311 char *kwnames[] = {
17312 (char *) "self", NULL
17313 };
17314
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17318 {
17319 PyThreadState* __tstate = wxPyBeginAllowThreads();
17320 result = (bool)(arg1)->base_Validate();
17321
17322 wxPyEndAllowThreads(__tstate);
17323 if (PyErr_Occurred()) SWIG_fail;
17324 }
17325 {
17326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17327 }
17328 return resultobj;
17329 fail:
17330 return NULL;
17331 }
17332
17333
17334 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17335 PyObject *resultobj;
17336 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17337 bool result;
17338 PyObject * obj0 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 {
17354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17355 }
17356 return resultobj;
17357 fail:
17358 return NULL;
17359 }
17360
17361
17362 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17363 PyObject *resultobj;
17364 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17365 bool result;
17366 PyObject * obj0 = 0 ;
17367 char *kwnames[] = {
17368 (char *) "self", NULL
17369 };
17370
17371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17374 {
17375 PyThreadState* __tstate = wxPyBeginAllowThreads();
17376 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17377
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 {
17382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17383 }
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17393 wxSize result;
17394 PyObject * obj0 = 0 ;
17395 char *kwnames[] = {
17396 (char *) "self", NULL
17397 };
17398
17399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17405
17406 wxPyEndAllowThreads(__tstate);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 }
17409 {
17410 wxSize * resultptr;
17411 resultptr = new wxSize((wxSize &) result);
17412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17413 }
17414 return resultobj;
17415 fail:
17416 return NULL;
17417 }
17418
17419
17420 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17421 PyObject *resultobj;
17422 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17423 wxWindow *arg2 = (wxWindow *) 0 ;
17424 PyObject * obj0 = 0 ;
17425 PyObject * obj1 = 0 ;
17426 char *kwnames[] = {
17427 (char *) "self",(char *) "child", NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 (arg1)->base_AddChild(arg2);
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 Py_INCREF(Py_None); resultobj = Py_None;
17443 return resultobj;
17444 fail:
17445 return NULL;
17446 }
17447
17448
17449 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj;
17451 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17452 wxWindow *arg2 = (wxWindow *) 0 ;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 char *kwnames[] = {
17456 (char *) "self",(char *) "child", NULL
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->base_RemoveChild(arg2);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17481 bool result;
17482 PyObject * obj0 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 result = (bool)(arg1)->base_ShouldInheritColours();
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 {
17498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17499 }
17500 return resultobj;
17501 fail:
17502 return NULL;
17503 }
17504
17505
17506 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17509 wxColour *arg2 = 0 ;
17510 wxColour temp2 ;
17511 PyObject * obj0 = 0 ;
17512 PyObject * obj1 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self",(char *) "c", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17520 {
17521 arg2 = &temp2;
17522 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17523 }
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 Py_INCREF(Py_None); resultobj = Py_None;
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17539 PyObject *obj;
17540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17542 Py_INCREF(obj);
17543 return Py_BuildValue((char *)"");
17544 }
17545 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17546 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17547 return 1;
17548 }
17549
17550
17551 static PyObject *_wrap_PrintoutTitleStr_get() {
17552 PyObject *pyobj;
17553
17554 {
17555 #if wxUSE_UNICODE
17556 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17557 #else
17558 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17559 #endif
17560 }
17561 return pyobj;
17562 }
17563
17564
17565 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17566 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17567 return 1;
17568 }
17569
17570
17571 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17572 PyObject *pyobj;
17573
17574 {
17575 #if wxUSE_UNICODE
17576 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17577 #else
17578 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17579 #endif
17580 }
17581 return pyobj;
17582 }
17583
17584
17585 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17586 PyObject *resultobj;
17587 wxPrintData *result;
17588 char *kwnames[] = {
17589 NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 result = (wxPrintData *)new wxPrintData();
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17601 return resultobj;
17602 fail:
17603 return NULL;
17604 }
17605
17606
17607 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxPrintData *arg1 = (wxPrintData *) 0 ;
17610 PyObject * obj0 = 0 ;
17611 char *kwnames[] = {
17612 (char *) "self", NULL
17613 };
17614
17615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 delete arg1;
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPrintData *arg1 = (wxPrintData *) 0 ;
17635 int result;
17636 PyObject * obj0 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (int)(arg1)->GetNoCopies();
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 resultobj = SWIG_FromInt((int)result);
17652 return resultobj;
17653 fail:
17654 return NULL;
17655 }
17656
17657
17658 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17659 PyObject *resultobj;
17660 wxPrintData *arg1 = (wxPrintData *) 0 ;
17661 bool result;
17662 PyObject * obj0 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (bool)(arg1)->GetCollate();
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 {
17678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17679 }
17680 return resultobj;
17681 fail:
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPrintData *arg1 = (wxPrintData *) 0 ;
17689 int result;
17690 PyObject * obj0 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (int)(arg1)->GetOrientation();
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = SWIG_FromInt((int)result);
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPrintData *arg1 = (wxPrintData *) 0 ;
17715 bool result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17724 {
17725 PyThreadState* __tstate = wxPyBeginAllowThreads();
17726 result = (bool)(arg1)->Ok();
17727
17728 wxPyEndAllowThreads(__tstate);
17729 if (PyErr_Occurred()) SWIG_fail;
17730 }
17731 {
17732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17733 }
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17741 PyObject *resultobj;
17742 wxPrintData *arg1 = (wxPrintData *) 0 ;
17743 wxString *result;
17744 PyObject * obj0 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 {
17755 wxString const &_result_ref = (arg1)->GetPrinterName();
17756 result = (wxString *) &_result_ref;
17757 }
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 {
17763 #if wxUSE_UNICODE
17764 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17765 #else
17766 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17767 #endif
17768 }
17769 return resultobj;
17770 fail:
17771 return NULL;
17772 }
17773
17774
17775 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17776 PyObject *resultobj;
17777 wxPrintData *arg1 = (wxPrintData *) 0 ;
17778 bool result;
17779 PyObject * obj0 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self", NULL
17782 };
17783
17784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 result = (bool)(arg1)->GetColour();
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 {
17795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17796 }
17797 return resultobj;
17798 fail:
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxPrintData *arg1 = (wxPrintData *) 0 ;
17806 int result;
17807 PyObject * obj0 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17815 {
17816 PyThreadState* __tstate = wxPyBeginAllowThreads();
17817 result = (int)(arg1)->GetDuplex();
17818
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 resultobj = SWIG_FromInt((int)result);
17823 return resultobj;
17824 fail:
17825 return NULL;
17826 }
17827
17828
17829 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj;
17831 wxPrintData *arg1 = (wxPrintData *) 0 ;
17832 int result;
17833 PyObject * obj0 = 0 ;
17834 char *kwnames[] = {
17835 (char *) "self", NULL
17836 };
17837
17838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 result = (int)(arg1)->GetPaperId();
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 resultobj = SWIG_FromInt((int)result);
17849 return resultobj;
17850 fail:
17851 return NULL;
17852 }
17853
17854
17855 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj;
17857 wxPrintData *arg1 = (wxPrintData *) 0 ;
17858 wxSize *result;
17859 PyObject * obj0 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self", NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 {
17870 wxSize const &_result_ref = (arg1)->GetPaperSize();
17871 result = (wxSize *) &_result_ref;
17872 }
17873
17874 wxPyEndAllowThreads(__tstate);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 }
17877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17878 return resultobj;
17879 fail:
17880 return NULL;
17881 }
17882
17883
17884 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17885 PyObject *resultobj;
17886 wxPrintData *arg1 = (wxPrintData *) 0 ;
17887 int result;
17888 PyObject * obj0 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 result = (int)(arg1)->GetQuality();
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 resultobj = SWIG_FromInt((int)result);
17904 return resultobj;
17905 fail:
17906 return NULL;
17907 }
17908
17909
17910 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17911 PyObject *resultobj;
17912 wxPrintData *arg1 = (wxPrintData *) 0 ;
17913 int arg2 ;
17914 PyObject * obj0 = 0 ;
17915 PyObject * obj1 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self",(char *) "v", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17923 arg2 = (int) SWIG_AsInt(obj1);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 (arg1)->SetNoCopies(arg2);
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 Py_INCREF(Py_None); resultobj = Py_None;
17933 return resultobj;
17934 fail:
17935 return NULL;
17936 }
17937
17938
17939 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 wxPrintData *arg1 = (wxPrintData *) 0 ;
17942 bool arg2 ;
17943 PyObject * obj0 = 0 ;
17944 PyObject * obj1 = 0 ;
17945 char *kwnames[] = {
17946 (char *) "self",(char *) "flag", NULL
17947 };
17948
17949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17952 arg2 = (bool) SWIG_AsBool(obj1);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 (arg1)->SetCollate(arg2);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 Py_INCREF(Py_None); resultobj = Py_None;
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPrintData *arg1 = (wxPrintData *) 0 ;
17971 int arg2 ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "orient", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17981 arg2 = (int) SWIG_AsInt(obj1);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 (arg1)->SetOrientation(arg2);
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 Py_INCREF(Py_None); resultobj = Py_None;
17991 return resultobj;
17992 fail:
17993 return NULL;
17994 }
17995
17996
17997 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxPrintData *arg1 = (wxPrintData *) 0 ;
18000 wxString *arg2 = 0 ;
18001 bool temp2 = False ;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj1 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "name", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18011 {
18012 arg2 = wxString_in_helper(obj1);
18013 if (arg2 == NULL) SWIG_fail;
18014 temp2 = True;
18015 }
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->SetPrinterName((wxString const &)*arg2);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 {
18025 if (temp2)
18026 delete arg2;
18027 }
18028 return resultobj;
18029 fail:
18030 {
18031 if (temp2)
18032 delete arg2;
18033 }
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPrintData *arg1 = (wxPrintData *) 0 ;
18041 bool arg2 ;
18042 PyObject * obj0 = 0 ;
18043 PyObject * obj1 = 0 ;
18044 char *kwnames[] = {
18045 (char *) "self",(char *) "colour", NULL
18046 };
18047
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18051 arg2 = (bool) SWIG_AsBool(obj1);
18052 if (PyErr_Occurred()) SWIG_fail;
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 (arg1)->SetColour(arg2);
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 Py_INCREF(Py_None); resultobj = Py_None;
18061 return resultobj;
18062 fail:
18063 return NULL;
18064 }
18065
18066
18067 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxPrintData *arg1 = (wxPrintData *) 0 ;
18070 int arg2 ;
18071 PyObject * obj0 = 0 ;
18072 PyObject * obj1 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "duplex", NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18080 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->SetDuplex((wxDuplexMode )arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxPrintData *arg1 = (wxPrintData *) 0 ;
18099 int arg2 ;
18100 PyObject * obj0 = 0 ;
18101 PyObject * obj1 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self",(char *) "sizeId", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18109 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 {
18112 PyThreadState* __tstate = wxPyBeginAllowThreads();
18113 (arg1)->SetPaperId((wxPaperSize )arg2);
18114
18115 wxPyEndAllowThreads(__tstate);
18116 if (PyErr_Occurred()) SWIG_fail;
18117 }
18118 Py_INCREF(Py_None); resultobj = Py_None;
18119 return resultobj;
18120 fail:
18121 return NULL;
18122 }
18123
18124
18125 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18126 PyObject *resultobj;
18127 wxPrintData *arg1 = (wxPrintData *) 0 ;
18128 wxSize *arg2 = 0 ;
18129 wxSize temp2 ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self",(char *) "sz", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18139 {
18140 arg2 = &temp2;
18141 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18142 }
18143 {
18144 PyThreadState* __tstate = wxPyBeginAllowThreads();
18145 (arg1)->SetPaperSize((wxSize const &)*arg2);
18146
18147 wxPyEndAllowThreads(__tstate);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 }
18150 Py_INCREF(Py_None); resultobj = Py_None;
18151 return resultobj;
18152 fail:
18153 return NULL;
18154 }
18155
18156
18157 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18158 PyObject *resultobj;
18159 wxPrintData *arg1 = (wxPrintData *) 0 ;
18160 int arg2 ;
18161 PyObject * obj0 = 0 ;
18162 PyObject * obj1 = 0 ;
18163 char *kwnames[] = {
18164 (char *) "self",(char *) "quality", NULL
18165 };
18166
18167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18170 arg2 = (int) SWIG_AsInt(obj1);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 (arg1)->SetQuality(arg2);
18175
18176 wxPyEndAllowThreads(__tstate);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 }
18179 Py_INCREF(Py_None); resultobj = Py_None;
18180 return resultobj;
18181 fail:
18182 return NULL;
18183 }
18184
18185
18186 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxPrintData *arg1 = (wxPrintData *) 0 ;
18189 wxString *result;
18190 PyObject * obj0 = 0 ;
18191 char *kwnames[] = {
18192 (char *) "self", NULL
18193 };
18194
18195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 {
18201 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18202 result = (wxString *) &_result_ref;
18203 }
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 {
18209 #if wxUSE_UNICODE
18210 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18211 #else
18212 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18213 #endif
18214 }
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxPrintData *arg1 = (wxPrintData *) 0 ;
18224 wxString *result;
18225 PyObject * obj0 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 {
18236 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18237 result = (wxString *) &_result_ref;
18238 }
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 {
18244 #if wxUSE_UNICODE
18245 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18246 #else
18247 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18248 #endif
18249 }
18250 return resultobj;
18251 fail:
18252 return NULL;
18253 }
18254
18255
18256 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxPrintData *arg1 = (wxPrintData *) 0 ;
18259 wxString *result;
18260 PyObject * obj0 = 0 ;
18261 char *kwnames[] = {
18262 (char *) "self", NULL
18263 };
18264
18265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18268 {
18269 PyThreadState* __tstate = wxPyBeginAllowThreads();
18270 {
18271 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18272 result = (wxString *) &_result_ref;
18273 }
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 {
18279 #if wxUSE_UNICODE
18280 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18281 #else
18282 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18283 #endif
18284 }
18285 return resultobj;
18286 fail:
18287 return NULL;
18288 }
18289
18290
18291 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj;
18293 wxPrintData *arg1 = (wxPrintData *) 0 ;
18294 wxString *result;
18295 PyObject * obj0 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 {
18306 wxString const &_result_ref = (arg1)->GetFilename();
18307 result = (wxString *) &_result_ref;
18308 }
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 {
18314 #if wxUSE_UNICODE
18315 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18316 #else
18317 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18318 #endif
18319 }
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPrintData *arg1 = (wxPrintData *) 0 ;
18329 wxString *result;
18330 PyObject * obj0 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 {
18341 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18342 result = (wxString *) &_result_ref;
18343 }
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 #if wxUSE_UNICODE
18350 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18351 #else
18352 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18353 #endif
18354 }
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPrintData *arg1 = (wxPrintData *) 0 ;
18364 double result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = (double)(arg1)->GetPrinterScaleX();
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 resultobj = SWIG_FromDouble((double)result);
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPrintData *arg1 = (wxPrintData *) 0 ;
18390 double result;
18391 PyObject * obj0 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 result = (double)(arg1)->GetPrinterScaleY();
18402
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 resultobj = SWIG_FromDouble((double)result);
18407 return resultobj;
18408 fail:
18409 return NULL;
18410 }
18411
18412
18413 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18414 PyObject *resultobj;
18415 wxPrintData *arg1 = (wxPrintData *) 0 ;
18416 long result;
18417 PyObject * obj0 = 0 ;
18418 char *kwnames[] = {
18419 (char *) "self", NULL
18420 };
18421
18422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
18427 result = (long)(arg1)->GetPrinterTranslateX();
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
18432 resultobj = SWIG_FromLong((long)result);
18433 return resultobj;
18434 fail:
18435 return NULL;
18436 }
18437
18438
18439 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18440 PyObject *resultobj;
18441 wxPrintData *arg1 = (wxPrintData *) 0 ;
18442 long result;
18443 PyObject * obj0 = 0 ;
18444 char *kwnames[] = {
18445 (char *) "self", NULL
18446 };
18447
18448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (long)(arg1)->GetPrinterTranslateY();
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_FromLong((long)result);
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxPrintData *arg1 = (wxPrintData *) 0 ;
18468 int result;
18469 PyObject * obj0 = 0 ;
18470 char *kwnames[] = {
18471 (char *) "self", NULL
18472 };
18473
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 result = (int)(arg1)->GetPrintMode();
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 resultobj = SWIG_FromInt((int)result);
18485 return resultobj;
18486 fail:
18487 return NULL;
18488 }
18489
18490
18491 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18492 PyObject *resultobj;
18493 wxPrintData *arg1 = (wxPrintData *) 0 ;
18494 wxString *arg2 = 0 ;
18495 bool temp2 = False ;
18496 PyObject * obj0 = 0 ;
18497 PyObject * obj1 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self",(char *) "command", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18505 {
18506 arg2 = wxString_in_helper(obj1);
18507 if (arg2 == NULL) SWIG_fail;
18508 temp2 = True;
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 {
18519 if (temp2)
18520 delete arg2;
18521 }
18522 return resultobj;
18523 fail:
18524 {
18525 if (temp2)
18526 delete arg2;
18527 }
18528 return NULL;
18529 }
18530
18531
18532 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18533 PyObject *resultobj;
18534 wxPrintData *arg1 = (wxPrintData *) 0 ;
18535 wxString *arg2 = 0 ;
18536 bool temp2 = False ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "options", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18546 {
18547 arg2 = wxString_in_helper(obj1);
18548 if (arg2 == NULL) SWIG_fail;
18549 temp2 = True;
18550 }
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18554
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 Py_INCREF(Py_None); resultobj = Py_None;
18559 {
18560 if (temp2)
18561 delete arg2;
18562 }
18563 return resultobj;
18564 fail:
18565 {
18566 if (temp2)
18567 delete arg2;
18568 }
18569 return NULL;
18570 }
18571
18572
18573 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18574 PyObject *resultobj;
18575 wxPrintData *arg1 = (wxPrintData *) 0 ;
18576 wxString *arg2 = 0 ;
18577 bool temp2 = False ;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "command", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18587 {
18588 arg2 = wxString_in_helper(obj1);
18589 if (arg2 == NULL) SWIG_fail;
18590 temp2 = True;
18591 }
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 Py_INCREF(Py_None); resultobj = Py_None;
18600 {
18601 if (temp2)
18602 delete arg2;
18603 }
18604 return resultobj;
18605 fail:
18606 {
18607 if (temp2)
18608 delete arg2;
18609 }
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxPrintData *arg1 = (wxPrintData *) 0 ;
18617 wxString *arg2 = 0 ;
18618 bool temp2 = False ;
18619 PyObject * obj0 = 0 ;
18620 PyObject * obj1 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self",(char *) "filename", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18628 {
18629 arg2 = wxString_in_helper(obj1);
18630 if (arg2 == NULL) SWIG_fail;
18631 temp2 = True;
18632 }
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 (arg1)->SetFilename((wxString const &)*arg2);
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 Py_INCREF(Py_None); resultobj = Py_None;
18641 {
18642 if (temp2)
18643 delete arg2;
18644 }
18645 return resultobj;
18646 fail:
18647 {
18648 if (temp2)
18649 delete arg2;
18650 }
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxPrintData *arg1 = (wxPrintData *) 0 ;
18658 wxString *arg2 = 0 ;
18659 bool temp2 = False ;
18660 PyObject * obj0 = 0 ;
18661 PyObject * obj1 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "path", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18669 {
18670 arg2 = wxString_in_helper(obj1);
18671 if (arg2 == NULL) SWIG_fail;
18672 temp2 = True;
18673 }
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
18682 {
18683 if (temp2)
18684 delete arg2;
18685 }
18686 return resultobj;
18687 fail:
18688 {
18689 if (temp2)
18690 delete arg2;
18691 }
18692 return NULL;
18693 }
18694
18695
18696 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxPrintData *arg1 = (wxPrintData *) 0 ;
18699 double arg2 ;
18700 PyObject * obj0 = 0 ;
18701 PyObject * obj1 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self",(char *) "x", NULL
18704 };
18705
18706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18709 arg2 = (double) SWIG_AsDouble(obj1);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 (arg1)->SetPrinterScaleX(arg2);
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 Py_INCREF(Py_None); resultobj = Py_None;
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxPrintData *arg1 = (wxPrintData *) 0 ;
18728 double arg2 ;
18729 PyObject * obj0 = 0 ;
18730 PyObject * obj1 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "self",(char *) "y", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18738 arg2 = (double) SWIG_AsDouble(obj1);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 (arg1)->SetPrinterScaleY(arg2);
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 Py_INCREF(Py_None); resultobj = Py_None;
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxPrintData *arg1 = (wxPrintData *) 0 ;
18757 double arg2 ;
18758 double arg3 ;
18759 PyObject * obj0 = 0 ;
18760 PyObject * obj1 = 0 ;
18761 PyObject * obj2 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self",(char *) "x",(char *) "y", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18769 arg2 = (double) SWIG_AsDouble(obj1);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 arg3 = (double) SWIG_AsDouble(obj2);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 {
18774 PyThreadState* __tstate = wxPyBeginAllowThreads();
18775 (arg1)->SetPrinterScaling(arg2,arg3);
18776
18777 wxPyEndAllowThreads(__tstate);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 }
18780 Py_INCREF(Py_None); resultobj = Py_None;
18781 return resultobj;
18782 fail:
18783 return NULL;
18784 }
18785
18786
18787 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18788 PyObject *resultobj;
18789 wxPrintData *arg1 = (wxPrintData *) 0 ;
18790 long arg2 ;
18791 PyObject * obj0 = 0 ;
18792 PyObject * obj1 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self",(char *) "x", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18800 arg2 = (long) SWIG_AsLong(obj1);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 (arg1)->SetPrinterTranslateX(arg2);
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 Py_INCREF(Py_None); resultobj = Py_None;
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxPrintData *arg1 = (wxPrintData *) 0 ;
18819 long arg2 ;
18820 PyObject * obj0 = 0 ;
18821 PyObject * obj1 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "y", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18829 arg2 = (long) SWIG_AsLong(obj1);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 (arg1)->SetPrinterTranslateY(arg2);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 Py_INCREF(Py_None); resultobj = Py_None;
18839 return resultobj;
18840 fail:
18841 return NULL;
18842 }
18843
18844
18845 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18846 PyObject *resultobj;
18847 wxPrintData *arg1 = (wxPrintData *) 0 ;
18848 long arg2 ;
18849 long arg3 ;
18850 PyObject * obj0 = 0 ;
18851 PyObject * obj1 = 0 ;
18852 PyObject * obj2 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "x",(char *) "y", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18860 arg2 = (long) SWIG_AsLong(obj1);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 arg3 = (long) SWIG_AsLong(obj2);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 (arg1)->SetPrinterTranslation(arg2,arg3);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 Py_INCREF(Py_None); resultobj = Py_None;
18872 return resultobj;
18873 fail:
18874 return NULL;
18875 }
18876
18877
18878 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18879 PyObject *resultobj;
18880 wxPrintData *arg1 = (wxPrintData *) 0 ;
18881 int arg2 ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self",(char *) "printMode", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18891 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 {
18894 PyThreadState* __tstate = wxPyBeginAllowThreads();
18895 (arg1)->SetPrintMode((wxPrintMode )arg2);
18896
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 Py_INCREF(Py_None); resultobj = Py_None;
18901 return resultobj;
18902 fail:
18903 return NULL;
18904 }
18905
18906
18907 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj;
18909 wxPrintData *arg1 = (wxPrintData *) 0 ;
18910 wxOutputStream *result;
18911 PyObject * obj0 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 result = (wxOutputStream *)(arg1)->GetOutputStream();
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxPrintData *arg1 = (wxPrintData *) 0 ;
18936 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "outputstream", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 (arg1)->SetOutputStream(arg2);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 Py_INCREF(Py_None); resultobj = Py_None;
18956 return resultobj;
18957 fail:
18958 return NULL;
18959 }
18960
18961
18962 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18963 PyObject *obj;
18964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18965 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18966 Py_INCREF(obj);
18967 return Py_BuildValue((char *)"");
18968 }
18969 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxPageSetupDialogData *result;
18972 char *kwnames[] = {
18973 NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18985 return resultobj;
18986 fail:
18987 return NULL;
18988 }
18989
18990
18991 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18992 PyObject *resultobj;
18993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18994 PyObject * obj0 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19002 {
19003 PyThreadState* __tstate = wxPyBeginAllowThreads();
19004 delete arg1;
19005
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 Py_INCREF(Py_None); resultobj = Py_None;
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj;
19018 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19019 bool arg2 ;
19020 PyObject * obj0 = 0 ;
19021 PyObject * obj1 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self",(char *) "flag", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19029 arg2 = (bool) SWIG_AsBool(obj1);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 (arg1)->EnableHelp(arg2);
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 Py_INCREF(Py_None); resultobj = Py_None;
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19048 bool arg2 ;
19049 PyObject * obj0 = 0 ;
19050 PyObject * obj1 = 0 ;
19051 char *kwnames[] = {
19052 (char *) "self",(char *) "flag", NULL
19053 };
19054
19055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19058 arg2 = (bool) SWIG_AsBool(obj1);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 (arg1)->EnableMargins(arg2);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 Py_INCREF(Py_None); resultobj = Py_None;
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19077 bool arg2 ;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 char *kwnames[] = {
19081 (char *) "self",(char *) "flag", NULL
19082 };
19083
19084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19087 arg2 = (bool) SWIG_AsBool(obj1);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 (arg1)->EnableOrientation(arg2);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 Py_INCREF(Py_None); resultobj = Py_None;
19097 return resultobj;
19098 fail:
19099 return NULL;
19100 }
19101
19102
19103 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19104 PyObject *resultobj;
19105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19106 bool arg2 ;
19107 PyObject * obj0 = 0 ;
19108 PyObject * obj1 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self",(char *) "flag", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19116 arg2 = (bool) SWIG_AsBool(obj1);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 (arg1)->EnablePaper(arg2);
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 Py_INCREF(Py_None); resultobj = Py_None;
19126 return resultobj;
19127 fail:
19128 return NULL;
19129 }
19130
19131
19132 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, 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_EnablePrinter",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)->EnablePrinter(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_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19162 PyObject *resultobj;
19163 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19164 bool result;
19165 PyObject * obj0 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 result = (bool)(arg1)->GetDefaultMinMargins();
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 {
19181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19182 }
19183 return resultobj;
19184 fail:
19185 return NULL;
19186 }
19187
19188
19189 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19192 bool result;
19193 PyObject * obj0 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 result = (bool)(arg1)->GetEnableMargins();
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 {
19209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19210 }
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19220 bool result;
19221 PyObject * obj0 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (bool)(arg1)->GetEnableOrientation();
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 {
19237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19238 }
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19248 bool result;
19249 PyObject * obj0 = 0 ;
19250 char *kwnames[] = {
19251 (char *) "self", NULL
19252 };
19253
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (bool)(arg1)->GetEnablePaper();
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 {
19265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19266 }
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19276 bool result;
19277 PyObject * obj0 = 0 ;
19278 char *kwnames[] = {
19279 (char *) "self", NULL
19280 };
19281
19282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 result = (bool)(arg1)->GetEnablePrinter();
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 {
19293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19294 }
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19304 bool result;
19305 PyObject * obj0 = 0 ;
19306 char *kwnames[] = {
19307 (char *) "self", NULL
19308 };
19309
19310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 result = (bool)(arg1)->GetEnableHelp();
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 {
19321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19322 }
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19332 bool result;
19333 PyObject * obj0 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19341 {
19342 PyThreadState* __tstate = wxPyBeginAllowThreads();
19343 result = (bool)(arg1)->GetDefaultInfo();
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 {
19349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19350 }
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19360 wxPoint result;
19361 PyObject * obj0 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (arg1)->GetMarginTopLeft();
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 {
19377 wxPoint * resultptr;
19378 resultptr = new wxPoint((wxPoint &) result);
19379 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19380 }
19381 return resultobj;
19382 fail:
19383 return NULL;
19384 }
19385
19386
19387 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19388 PyObject *resultobj;
19389 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19390 wxPoint result;
19391 PyObject * obj0 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (arg1)->GetMarginBottomRight();
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
19407 wxPoint * resultptr;
19408 resultptr = new wxPoint((wxPoint &) result);
19409 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19410 }
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19420 wxPoint result;
19421 PyObject * obj0 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (arg1)->GetMinMarginTopLeft();
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 {
19437 wxPoint * resultptr;
19438 resultptr = new wxPoint((wxPoint &) result);
19439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19440 }
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19450 wxPoint result;
19451 PyObject * obj0 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (arg1)->GetMinMarginBottomRight();
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 {
19467 wxPoint * resultptr;
19468 resultptr = new wxPoint((wxPoint &) result);
19469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19470 }
19471 return resultobj;
19472 fail:
19473 return NULL;
19474 }
19475
19476
19477 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj;
19479 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19480 int result;
19481 PyObject * obj0 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19489 {
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
19491 result = (int)(arg1)->GetPaperId();
19492
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 resultobj = SWIG_FromInt((int)result);
19497 return resultobj;
19498 fail:
19499 return NULL;
19500 }
19501
19502
19503 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj;
19505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19506 wxSize result;
19507 PyObject * obj0 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 result = (arg1)->GetPaperSize();
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 {
19523 wxSize * resultptr;
19524 resultptr = new wxSize((wxSize &) result);
19525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19526 }
19527 return resultobj;
19528 fail:
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19536 wxPrintData *result;
19537 PyObject * obj0 = 0 ;
19538 char *kwnames[] = {
19539 (char *) "self", NULL
19540 };
19541
19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 {
19548 wxPrintData &_result_ref = (arg1)->GetPrintData();
19549 result = (wxPrintData *) &_result_ref;
19550 }
19551
19552 wxPyEndAllowThreads(__tstate);
19553 if (PyErr_Occurred()) SWIG_fail;
19554 }
19555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19556 return resultobj;
19557 fail:
19558 return NULL;
19559 }
19560
19561
19562 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19563 PyObject *resultobj;
19564 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19565 bool result;
19566 PyObject * obj0 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 result = (bool)(arg1)->Ok();
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 {
19582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19583 }
19584 return resultobj;
19585 fail:
19586 return NULL;
19587 }
19588
19589
19590 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19591 PyObject *resultobj;
19592 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19593 bool arg2 ;
19594 PyObject * obj0 = 0 ;
19595 PyObject * obj1 = 0 ;
19596 char *kwnames[] = {
19597 (char *) "self",(char *) "flag", NULL
19598 };
19599
19600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19603 arg2 = (bool) SWIG_AsBool(obj1);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 (arg1)->SetDefaultInfo(arg2);
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_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj;
19621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19622 bool arg2 ;
19623 PyObject * obj0 = 0 ;
19624 PyObject * obj1 = 0 ;
19625 char *kwnames[] = {
19626 (char *) "self",(char *) "flag", NULL
19627 };
19628
19629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19632 arg2 = (bool) SWIG_AsBool(obj1);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 (arg1)->SetDefaultMinMargins(arg2);
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 Py_INCREF(Py_None); resultobj = Py_None;
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19651 wxPoint *arg2 = 0 ;
19652 wxPoint temp2 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "pt", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 {
19663 arg2 = &temp2;
19664 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19665 }
19666 {
19667 PyThreadState* __tstate = wxPyBeginAllowThreads();
19668 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19669
19670 wxPyEndAllowThreads(__tstate);
19671 if (PyErr_Occurred()) SWIG_fail;
19672 }
19673 Py_INCREF(Py_None); resultobj = Py_None;
19674 return resultobj;
19675 fail:
19676 return NULL;
19677 }
19678
19679
19680 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj;
19682 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19683 wxPoint *arg2 = 0 ;
19684 wxPoint temp2 ;
19685 PyObject * obj0 = 0 ;
19686 PyObject * obj1 = 0 ;
19687 char *kwnames[] = {
19688 (char *) "self",(char *) "pt", NULL
19689 };
19690
19691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19694 {
19695 arg2 = &temp2;
19696 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19697 }
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 Py_INCREF(Py_None); resultobj = Py_None;
19706 return resultobj;
19707 fail:
19708 return NULL;
19709 }
19710
19711
19712 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19713 PyObject *resultobj;
19714 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19715 wxPoint *arg2 = 0 ;
19716 wxPoint temp2 ;
19717 PyObject * obj0 = 0 ;
19718 PyObject * obj1 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "pt", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19726 {
19727 arg2 = &temp2;
19728 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19747 wxPoint *arg2 = 0 ;
19748 wxPoint temp2 ;
19749 PyObject * obj0 = 0 ;
19750 PyObject * obj1 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self",(char *) "pt", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19758 {
19759 arg2 = &temp2;
19760 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19761 }
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 Py_INCREF(Py_None); resultobj = Py_None;
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19779 int arg2 ;
19780 PyObject * obj0 = 0 ;
19781 PyObject * obj1 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self",(char *) "id", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19789 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 (arg1)->SetPaperId((wxPaperSize )arg2);
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 Py_INCREF(Py_None); resultobj = Py_None;
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19808 wxSize *arg2 = 0 ;
19809 wxSize temp2 ;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812 char *kwnames[] = {
19813 (char *) "self",(char *) "size", NULL
19814 };
19815
19816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19819 {
19820 arg2 = &temp2;
19821 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 (arg1)->SetPaperSize((wxSize const &)*arg2);
19826
19827 wxPyEndAllowThreads(__tstate);
19828 if (PyErr_Occurred()) SWIG_fail;
19829 }
19830 Py_INCREF(Py_None); resultobj = Py_None;
19831 return resultobj;
19832 fail:
19833 return NULL;
19834 }
19835
19836
19837 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19840 wxPrintData *arg2 = 0 ;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843 char *kwnames[] = {
19844 (char *) "self",(char *) "printData", NULL
19845 };
19846
19847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19850 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19851 SWIG_POINTER_EXCEPTION | 0)) == -1)
19852 SWIG_fail;
19853 if (arg2 == NULL) {
19854 PyErr_SetString(PyExc_TypeError,"null reference");
19855 SWIG_fail;
19856 }
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 Py_INCREF(Py_None); resultobj = Py_None;
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19872 PyObject *obj;
19873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19874 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19875 Py_INCREF(obj);
19876 return Py_BuildValue((char *)"");
19877 }
19878 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxWindow *arg1 = (wxWindow *) 0 ;
19881 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19882 wxPageSetupDialog *result;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "parent",(char *) "data", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19892 if (obj1) {
19893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 }
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19913 wxPageSetupDialogData *result;
19914 PyObject * obj0 = 0 ;
19915 char *kwnames[] = {
19916 (char *) "self", NULL
19917 };
19918
19919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 {
19925 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19926 result = (wxPageSetupDialogData *) &_result_ref;
19927 }
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19942 int result;
19943 PyObject * obj0 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 result = (int)(arg1)->ShowModal();
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 resultobj = SWIG_FromInt((int)result);
19959 return resultobj;
19960 fail:
19961 return NULL;
19962 }
19963
19964
19965 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19966 PyObject *obj;
19967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19968 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19969 Py_INCREF(obj);
19970 return Py_BuildValue((char *)"");
19971 }
19972 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19973 PyObject *resultobj;
19974 wxPrintDialogData *result;
19975
19976 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 result = (wxPrintDialogData *)new wxPrintDialogData();
19980
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19985 return resultobj;
19986 fail:
19987 return NULL;
19988 }
19989
19990
19991 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19992 PyObject *resultobj;
19993 wxPrintData *arg1 = 0 ;
19994 wxPrintDialogData *result;
19995 PyObject * obj0 = 0 ;
19996
19997 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19999 SWIG_POINTER_EXCEPTION | 0)) == -1)
20000 SWIG_fail;
20001 if (arg1 == NULL) {
20002 PyErr_SetString(PyExc_TypeError,"null reference");
20003 SWIG_fail;
20004 }
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20020 int argc;
20021 PyObject *argv[2];
20022 int ii;
20023
20024 argc = PyObject_Length(args);
20025 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20026 argv[ii] = PyTuple_GetItem(args,ii);
20027 }
20028 if (argc == 0) {
20029 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20030 }
20031 if (argc == 1) {
20032 int _v;
20033 {
20034 void *ptr;
20035 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20036 _v = 0;
20037 PyErr_Clear();
20038 } else {
20039 _v = 1;
20040 }
20041 }
20042 if (_v) {
20043 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20044 }
20045 }
20046
20047 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20048 return NULL;
20049 }
20050
20051
20052 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20055 PyObject * obj0 = 0 ;
20056 char *kwnames[] = {
20057 (char *) "self", NULL
20058 };
20059
20060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 delete arg1;
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 Py_INCREF(Py_None); resultobj = Py_None;
20071 return resultobj;
20072 fail:
20073 return NULL;
20074 }
20075
20076
20077 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj;
20079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20080 int result;
20081 PyObject * obj0 = 0 ;
20082 char *kwnames[] = {
20083 (char *) "self", NULL
20084 };
20085
20086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = SWIG_FromInt((int)result);
20097 return resultobj;
20098 fail:
20099 return NULL;
20100 }
20101
20102
20103 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20106 int result;
20107 PyObject * obj0 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20115 {
20116 PyThreadState* __tstate = wxPyBeginAllowThreads();
20117 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20118
20119 wxPyEndAllowThreads(__tstate);
20120 if (PyErr_Occurred()) SWIG_fail;
20121 }
20122 resultobj = SWIG_FromInt((int)result);
20123 return resultobj;
20124 fail:
20125 return NULL;
20126 }
20127
20128
20129 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20130 PyObject *resultobj;
20131 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20132 int result;
20133 PyObject * obj0 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 resultobj = SWIG_FromInt((int)result);
20149 return resultobj;
20150 fail:
20151 return NULL;
20152 }
20153
20154
20155 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj;
20157 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20158 int result;
20159 PyObject * obj0 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "self", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20167 {
20168 PyThreadState* __tstate = wxPyBeginAllowThreads();
20169 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20170
20171 wxPyEndAllowThreads(__tstate);
20172 if (PyErr_Occurred()) SWIG_fail;
20173 }
20174 resultobj = SWIG_FromInt((int)result);
20175 return resultobj;
20176 fail:
20177 return NULL;
20178 }
20179
20180
20181 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20182 PyObject *resultobj;
20183 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20184 int result;
20185 PyObject * obj0 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self", NULL
20188 };
20189
20190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 resultobj = SWIG_FromInt((int)result);
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20210 bool result;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 {
20227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20228 }
20229 return resultobj;
20230 fail:
20231 return NULL;
20232 }
20233
20234
20235 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20238 bool result;
20239 PyObject * obj0 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 {
20255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20256 }
20257 return resultobj;
20258 fail:
20259 return NULL;
20260 }
20261
20262
20263 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20266 bool result;
20267 PyObject * obj0 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20284 }
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20294 bool result;
20295 PyObject * obj0 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 {
20311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20312 }
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj;
20321 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20322 bool result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 {
20339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20340 }
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20350 int arg2 ;
20351 PyObject * obj0 = 0 ;
20352 PyObject * obj1 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self",(char *) "v", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20360 arg2 = (int) SWIG_AsInt(obj1);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
20364 (arg1)->SetFromPage(arg2);
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 Py_INCREF(Py_None); resultobj = Py_None;
20370 return resultobj;
20371 fail:
20372 return NULL;
20373 }
20374
20375
20376 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20377 PyObject *resultobj;
20378 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20379 int arg2 ;
20380 PyObject * obj0 = 0 ;
20381 PyObject * obj1 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self",(char *) "v", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20389 arg2 = (int) SWIG_AsInt(obj1);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 (arg1)->SetToPage(arg2);
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 Py_INCREF(Py_None); resultobj = Py_None;
20399 return resultobj;
20400 fail:
20401 return NULL;
20402 }
20403
20404
20405 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20406 PyObject *resultobj;
20407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20408 int arg2 ;
20409 PyObject * obj0 = 0 ;
20410 PyObject * obj1 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self",(char *) "v", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 arg2 = (int) SWIG_AsInt(obj1);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 (arg1)->SetMinPage(arg2);
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 Py_INCREF(Py_None); resultobj = Py_None;
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj;
20436 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20437 int arg2 ;
20438 PyObject * obj0 = 0 ;
20439 PyObject * obj1 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self",(char *) "v", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20447 arg2 = (int) SWIG_AsInt(obj1);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 (arg1)->SetMaxPage(arg2);
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 Py_INCREF(Py_None); resultobj = Py_None;
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20464 PyObject *resultobj;
20465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20466 int arg2 ;
20467 PyObject * obj0 = 0 ;
20468 PyObject * obj1 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "self",(char *) "v", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20476 arg2 = (int) SWIG_AsInt(obj1);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 (arg1)->SetNoCopies(arg2);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 Py_INCREF(Py_None); resultobj = Py_None;
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20495 bool arg2 ;
20496 PyObject * obj0 = 0 ;
20497 PyObject * obj1 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self",(char *) "flag", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20505 arg2 = (bool) SWIG_AsBool(obj1);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 (arg1)->SetAllPages(arg2);
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 Py_INCREF(Py_None); resultobj = Py_None;
20515 return resultobj;
20516 fail:
20517 return NULL;
20518 }
20519
20520
20521 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20524 bool arg2 ;
20525 PyObject * obj0 = 0 ;
20526 PyObject * obj1 = 0 ;
20527 char *kwnames[] = {
20528 (char *) "self",(char *) "flag", NULL
20529 };
20530
20531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20534 arg2 = (bool) SWIG_AsBool(obj1);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 (arg1)->SetSelection(arg2);
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 Py_INCREF(Py_None); resultobj = Py_None;
20544 return resultobj;
20545 fail:
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20553 bool arg2 ;
20554 PyObject * obj0 = 0 ;
20555 PyObject * obj1 = 0 ;
20556 char *kwnames[] = {
20557 (char *) "self",(char *) "flag", NULL
20558 };
20559
20560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20563 arg2 = (bool) SWIG_AsBool(obj1);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 (arg1)->SetCollate(arg2);
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 Py_INCREF(Py_None); resultobj = Py_None;
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20582 bool arg2 ;
20583 PyObject * obj0 = 0 ;
20584 PyObject * obj1 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self",(char *) "flag", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20592 arg2 = (bool) SWIG_AsBool(obj1);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 (arg1)->SetPrintToFile(arg2);
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 Py_INCREF(Py_None); resultobj = Py_None;
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20611 bool arg2 ;
20612 PyObject * obj0 = 0 ;
20613 PyObject * obj1 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self",(char *) "flag", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20621 arg2 = (bool) SWIG_AsBool(obj1);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 (arg1)->SetSetupDialog(arg2);
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
20630 Py_INCREF(Py_None); resultobj = Py_None;
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20640 bool arg2 ;
20641 PyObject * obj0 = 0 ;
20642 PyObject * obj1 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "flag", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 arg2 = (bool) SWIG_AsBool(obj1);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 (arg1)->EnablePrintToFile(arg2);
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 Py_INCREF(Py_None); resultobj = Py_None;
20660 return resultobj;
20661 fail:
20662 return NULL;
20663 }
20664
20665
20666 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20667 PyObject *resultobj;
20668 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20669 bool arg2 ;
20670 PyObject * obj0 = 0 ;
20671 PyObject * obj1 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "flag", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20679 arg2 = (bool) SWIG_AsBool(obj1);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 (arg1)->EnableSelection(arg2);
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 Py_INCREF(Py_None); resultobj = Py_None;
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20696 PyObject *resultobj;
20697 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20698 bool arg2 ;
20699 PyObject * obj0 = 0 ;
20700 PyObject * obj1 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self",(char *) "flag", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20708 arg2 = (bool) SWIG_AsBool(obj1);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->EnablePageNumbers(arg2);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20727 bool arg2 ;
20728 PyObject * obj0 = 0 ;
20729 PyObject * obj1 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self",(char *) "flag", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20737 arg2 = (bool) SWIG_AsBool(obj1);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 (arg1)->EnableHelp(arg2);
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 Py_INCREF(Py_None); resultobj = Py_None;
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20756 bool result;
20757 PyObject * obj0 = 0 ;
20758 char *kwnames[] = {
20759 (char *) "self", NULL
20760 };
20761
20762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 {
20773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20774 }
20775 return resultobj;
20776 fail:
20777 return NULL;
20778 }
20779
20780
20781 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20784 bool result;
20785 PyObject * obj0 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 {
20801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20802 }
20803 return resultobj;
20804 fail:
20805 return NULL;
20806 }
20807
20808
20809 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj;
20811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20812 bool result;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 {
20829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20830 }
20831 return resultobj;
20832 fail:
20833 return NULL;
20834 }
20835
20836
20837 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20840 bool result;
20841 PyObject * obj0 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
20857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20858 }
20859 return resultobj;
20860 fail:
20861 return NULL;
20862 }
20863
20864
20865 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj;
20867 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20868 bool result;
20869 PyObject * obj0 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 {
20885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20886 }
20887 return resultobj;
20888 fail:
20889 return NULL;
20890 }
20891
20892
20893 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20894 PyObject *resultobj;
20895 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20896 wxPrintData *result;
20897 PyObject * obj0 = 0 ;
20898 char *kwnames[] = {
20899 (char *) "self", NULL
20900 };
20901
20902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 {
20908 wxPrintData &_result_ref = (arg1)->GetPrintData();
20909 result = (wxPrintData *) &_result_ref;
20910 }
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20916 return resultobj;
20917 fail:
20918 return NULL;
20919 }
20920
20921
20922 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20923 PyObject *resultobj;
20924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20925 wxPrintData *arg2 = 0 ;
20926 PyObject * obj0 = 0 ;
20927 PyObject * obj1 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self",(char *) "printData", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20936 SWIG_POINTER_EXCEPTION | 0)) == -1)
20937 SWIG_fail;
20938 if (arg2 == NULL) {
20939 PyErr_SetString(PyExc_TypeError,"null reference");
20940 SWIG_fail;
20941 }
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 Py_INCREF(Py_None); resultobj = Py_None;
20950 return resultobj;
20951 fail:
20952 return NULL;
20953 }
20954
20955
20956 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20957 PyObject *obj;
20958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20959 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20960 Py_INCREF(obj);
20961 return Py_BuildValue((char *)"");
20962 }
20963 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20964 PyObject *resultobj;
20965 wxWindow *arg1 = (wxWindow *) 0 ;
20966 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20967 wxPrintDialog *result;
20968 PyObject * obj0 = 0 ;
20969 PyObject * obj1 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "parent",(char *) "data", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20977 if (obj1) {
20978 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20980 }
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20989 return resultobj;
20990 fail:
20991 return NULL;
20992 }
20993
20994
20995 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj;
20997 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20998 wxPrintDialogData *result;
20999 PyObject * obj0 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 {
21010 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21011 result = (wxPrintDialogData *) &_result_ref;
21012 }
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21018 return resultobj;
21019 fail:
21020 return NULL;
21021 }
21022
21023
21024 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21025 PyObject *resultobj;
21026 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21027 wxDC *result;
21028 PyObject * obj0 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 result = (wxDC *)(arg1)->GetPrintDC();
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 {
21044 resultobj = wxPyMake_wxObject(result);
21045 }
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21055 int result;
21056 PyObject * obj0 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = (int)(arg1)->ShowModal();
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 resultobj = SWIG_FromInt((int)result);
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21079 PyObject *obj;
21080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21081 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21082 Py_INCREF(obj);
21083 return Py_BuildValue((char *)"");
21084 }
21085 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21086 PyObject *resultobj;
21087 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21088 wxPrinter *result;
21089 PyObject * obj0 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "data", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21095 if (obj0) {
21096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21098 }
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = (wxPrinter *)new wxPrinter(arg1);
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21107 return resultobj;
21108 fail:
21109 return NULL;
21110 }
21111
21112
21113 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 wxPrinter *arg1 = (wxPrinter *) 0 ;
21116 PyObject * obj0 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 delete arg1;
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 Py_INCREF(Py_None); resultobj = Py_None;
21132 return resultobj;
21133 fail:
21134 return NULL;
21135 }
21136
21137
21138 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxPrinter *arg1 = (wxPrinter *) 0 ;
21141 wxWindow *arg2 = (wxWindow *) 0 ;
21142 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21143 PyObject * obj0 = 0 ;
21144 PyObject * obj1 = 0 ;
21145 PyObject * obj2 = 0 ;
21146 char *kwnames[] = {
21147 (char *) "self",(char *) "parent",(char *) "printout", NULL
21148 };
21149
21150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21153 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21155 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 (arg1)->CreateAbortWindow(arg2,arg3);
21160
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
21164 Py_INCREF(Py_None); resultobj = Py_None;
21165 return resultobj;
21166 fail:
21167 return NULL;
21168 }
21169
21170
21171 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21172 PyObject *resultobj;
21173 wxPrinter *arg1 = (wxPrinter *) 0 ;
21174 wxPrintDialogData *result;
21175 PyObject * obj0 = 0 ;
21176 char *kwnames[] = {
21177 (char *) "self", NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21183 {
21184 PyThreadState* __tstate = wxPyBeginAllowThreads();
21185 {
21186 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21187 result = (wxPrintDialogData *) &_result_ref;
21188 }
21189
21190 wxPyEndAllowThreads(__tstate);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 }
21193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21194 return resultobj;
21195 fail:
21196 return NULL;
21197 }
21198
21199
21200 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21201 PyObject *resultobj;
21202 wxPrinter *arg1 = (wxPrinter *) 0 ;
21203 wxWindow *arg2 = (wxWindow *) 0 ;
21204 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21205 int arg4 = (int) True ;
21206 bool result;
21207 PyObject * obj0 = 0 ;
21208 PyObject * obj1 = 0 ;
21209 PyObject * obj2 = 0 ;
21210 PyObject * obj3 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21222 if (obj3) {
21223 arg4 = (int) SWIG_AsInt(obj3);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21229
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 {
21234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21235 }
21236 return resultobj;
21237 fail:
21238 return NULL;
21239 }
21240
21241
21242 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxPrinter *arg1 = (wxPrinter *) 0 ;
21245 wxWindow *arg2 = (wxWindow *) 0 ;
21246 wxDC *result;
21247 PyObject * obj0 = 0 ;
21248 PyObject * obj1 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self",(char *) "parent", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = (wxDC *)(arg1)->PrintDialog(arg2);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
21266 resultobj = wxPyMake_wxObject(result);
21267 }
21268 return resultobj;
21269 fail:
21270 return NULL;
21271 }
21272
21273
21274 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21275 PyObject *resultobj;
21276 wxPrinter *arg1 = (wxPrinter *) 0 ;
21277 wxWindow *arg2 = (wxWindow *) 0 ;
21278 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21279 wxString *arg4 = 0 ;
21280 bool temp4 = False ;
21281 PyObject * obj0 = 0 ;
21282 PyObject * obj1 = 0 ;
21283 PyObject * obj2 = 0 ;
21284 PyObject * obj3 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21294 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21296 {
21297 arg4 = wxString_in_helper(obj3);
21298 if (arg4 == NULL) SWIG_fail;
21299 temp4 = True;
21300 }
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21304
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 Py_INCREF(Py_None); resultobj = Py_None;
21309 {
21310 if (temp4)
21311 delete arg4;
21312 }
21313 return resultobj;
21314 fail:
21315 {
21316 if (temp4)
21317 delete arg4;
21318 }
21319 return NULL;
21320 }
21321
21322
21323 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21324 PyObject *resultobj;
21325 wxPrinter *arg1 = (wxPrinter *) 0 ;
21326 wxWindow *arg2 = (wxWindow *) 0 ;
21327 bool result;
21328 PyObject * obj0 = 0 ;
21329 PyObject * obj1 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self",(char *) "parent", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 result = (bool)(arg1)->Setup(arg2);
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 {
21347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21348 }
21349 return resultobj;
21350 fail:
21351 return NULL;
21352 }
21353
21354
21355 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxPrinter *arg1 = (wxPrinter *) 0 ;
21358 bool result;
21359 PyObject * obj0 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 result = (bool)(arg1)->GetAbort();
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 {
21375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21376 }
21377 return resultobj;
21378 fail:
21379 return NULL;
21380 }
21381
21382
21383 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21384 PyObject *resultobj;
21385 int result;
21386 char *kwnames[] = {
21387 NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (int)wxPrinter::GetLastError();
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 resultobj = SWIG_FromInt((int)result);
21399 return resultobj;
21400 fail:
21401 return NULL;
21402 }
21403
21404
21405 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21406 PyObject *obj;
21407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21408 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21409 Py_INCREF(obj);
21410 return Py_BuildValue((char *)"");
21411 }
21412 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21413 PyObject *resultobj;
21414 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21415 wxString *arg1 = (wxString *) &arg1_defvalue ;
21416 wxPyPrintout *result;
21417 bool temp1 = False ;
21418 PyObject * obj0 = 0 ;
21419 char *kwnames[] = {
21420 (char *) "title", NULL
21421 };
21422
21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21424 if (obj0) {
21425 {
21426 arg1 = wxString_in_helper(obj0);
21427 if (arg1 == NULL) SWIG_fail;
21428 temp1 = True;
21429 }
21430 }
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21434
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
21438 {
21439 resultobj = wxPyMake_wxObject(result);
21440 }
21441 {
21442 if (temp1)
21443 delete arg1;
21444 }
21445 return resultobj;
21446 fail:
21447 {
21448 if (temp1)
21449 delete arg1;
21450 }
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21458 PyObject *arg2 = (PyObject *) 0 ;
21459 PyObject *arg3 = (PyObject *) 0 ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self",(char *) "self",(char *) "_class", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21470 arg2 = obj1;
21471 arg3 = obj2;
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 (arg1)->_setCallbackInfo(arg2,arg3);
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 Py_INCREF(Py_None); resultobj = Py_None;
21480 return resultobj;
21481 fail:
21482 return NULL;
21483 }
21484
21485
21486 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21487 PyObject *resultobj;
21488 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21489 wxString result;
21490 PyObject * obj0 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = ((wxPyPrintout const *)arg1)->GetTitle();
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 {
21506 #if wxUSE_UNICODE
21507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21508 #else
21509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21510 #endif
21511 }
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21521 wxDC *result;
21522 PyObject * obj0 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21530 {
21531 PyThreadState* __tstate = wxPyBeginAllowThreads();
21532 result = (wxDC *)(arg1)->GetDC();
21533
21534 wxPyEndAllowThreads(__tstate);
21535 if (PyErr_Occurred()) SWIG_fail;
21536 }
21537 {
21538 resultobj = wxPyMake_wxObject(result);
21539 }
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21547 PyObject *resultobj;
21548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21549 wxDC *arg2 = (wxDC *) 0 ;
21550 PyObject * obj0 = 0 ;
21551 PyObject * obj1 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "self",(char *) "dc", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21559 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21561 {
21562 PyThreadState* __tstate = wxPyBeginAllowThreads();
21563 (arg1)->SetDC(arg2);
21564
21565 wxPyEndAllowThreads(__tstate);
21566 if (PyErr_Occurred()) SWIG_fail;
21567 }
21568 Py_INCREF(Py_None); resultobj = Py_None;
21569 return resultobj;
21570 fail:
21571 return NULL;
21572 }
21573
21574
21575 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21576 PyObject *resultobj;
21577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21578 int arg2 ;
21579 int arg3 ;
21580 PyObject * obj0 = 0 ;
21581 PyObject * obj1 = 0 ;
21582 PyObject * obj2 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "w",(char *) "h", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21590 arg2 = (int) SWIG_AsInt(obj1);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 arg3 = (int) SWIG_AsInt(obj2);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 (arg1)->SetPageSizePixels(arg2,arg3);
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 Py_INCREF(Py_None); resultobj = Py_None;
21602 return resultobj;
21603 fail:
21604 return NULL;
21605 }
21606
21607
21608 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21609 PyObject *resultobj;
21610 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21611 int *arg2 = (int *) 0 ;
21612 int *arg3 = (int *) 0 ;
21613 int temp2 ;
21614 int temp3 ;
21615 PyObject * obj0 = 0 ;
21616 char *kwnames[] = {
21617 (char *) "self", NULL
21618 };
21619
21620 arg2 = &temp2;
21621 arg3 = &temp3;
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 (arg1)->GetPageSizePixels(arg2,arg3);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 Py_INCREF(Py_None); resultobj = Py_None;
21633 {
21634 PyObject *o = PyInt_FromLong((long) (*arg2));
21635 resultobj = t_output_helper(resultobj,o);
21636 }
21637 {
21638 PyObject *o = PyInt_FromLong((long) (*arg3));
21639 resultobj = t_output_helper(resultobj,o);
21640 }
21641 return resultobj;
21642 fail:
21643 return NULL;
21644 }
21645
21646
21647 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21648 PyObject *resultobj;
21649 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21650 int arg2 ;
21651 int arg3 ;
21652 PyObject * obj0 = 0 ;
21653 PyObject * obj1 = 0 ;
21654 PyObject * obj2 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "w",(char *) "h", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21662 arg2 = (int) SWIG_AsInt(obj1);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 arg3 = (int) SWIG_AsInt(obj2);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 (arg1)->SetPageSizeMM(arg2,arg3);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 return resultobj;
21675 fail:
21676 return NULL;
21677 }
21678
21679
21680 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21681 PyObject *resultobj;
21682 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21683 int *arg2 = (int *) 0 ;
21684 int *arg3 = (int *) 0 ;
21685 int temp2 ;
21686 int temp3 ;
21687 PyObject * obj0 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self", NULL
21690 };
21691
21692 arg2 = &temp2;
21693 arg3 = &temp3;
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 (arg1)->GetPageSizeMM(arg2,arg3);
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
21704 Py_INCREF(Py_None); resultobj = Py_None;
21705 {
21706 PyObject *o = PyInt_FromLong((long) (*arg2));
21707 resultobj = t_output_helper(resultobj,o);
21708 }
21709 {
21710 PyObject *o = PyInt_FromLong((long) (*arg3));
21711 resultobj = t_output_helper(resultobj,o);
21712 }
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21722 int arg2 ;
21723 int arg3 ;
21724 PyObject * obj0 = 0 ;
21725 PyObject * obj1 = 0 ;
21726 PyObject * obj2 = 0 ;
21727 char *kwnames[] = {
21728 (char *) "self",(char *) "x",(char *) "y", NULL
21729 };
21730
21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21734 arg2 = (int) SWIG_AsInt(obj1);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 arg3 = (int) SWIG_AsInt(obj2);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 (arg1)->SetPPIScreen(arg2,arg3);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 Py_INCREF(Py_None); resultobj = Py_None;
21746 return resultobj;
21747 fail:
21748 return NULL;
21749 }
21750
21751
21752 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21753 PyObject *resultobj;
21754 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21755 int *arg2 = (int *) 0 ;
21756 int *arg3 = (int *) 0 ;
21757 int temp2 ;
21758 int temp3 ;
21759 PyObject * obj0 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self", NULL
21762 };
21763
21764 arg2 = &temp2;
21765 arg3 = &temp3;
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 (arg1)->GetPPIScreen(arg2,arg3);
21772
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 Py_INCREF(Py_None); resultobj = Py_None;
21777 {
21778 PyObject *o = PyInt_FromLong((long) (*arg2));
21779 resultobj = t_output_helper(resultobj,o);
21780 }
21781 {
21782 PyObject *o = PyInt_FromLong((long) (*arg3));
21783 resultobj = t_output_helper(resultobj,o);
21784 }
21785 return resultobj;
21786 fail:
21787 return NULL;
21788 }
21789
21790
21791 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj;
21793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21794 int arg2 ;
21795 int arg3 ;
21796 PyObject * obj0 = 0 ;
21797 PyObject * obj1 = 0 ;
21798 PyObject * obj2 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "x",(char *) "y", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21806 arg2 = (int) SWIG_AsInt(obj1);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 arg3 = (int) SWIG_AsInt(obj2);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 (arg1)->SetPPIPrinter(arg2,arg3);
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 Py_INCREF(Py_None); resultobj = Py_None;
21818 return resultobj;
21819 fail:
21820 return NULL;
21821 }
21822
21823
21824 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21825 PyObject *resultobj;
21826 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21827 int *arg2 = (int *) 0 ;
21828 int *arg3 = (int *) 0 ;
21829 int temp2 ;
21830 int temp3 ;
21831 PyObject * obj0 = 0 ;
21832 char *kwnames[] = {
21833 (char *) "self", NULL
21834 };
21835
21836 arg2 = &temp2;
21837 arg3 = &temp3;
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 (arg1)->GetPPIPrinter(arg2,arg3);
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 Py_INCREF(Py_None); resultobj = Py_None;
21849 {
21850 PyObject *o = PyInt_FromLong((long) (*arg2));
21851 resultobj = t_output_helper(resultobj,o);
21852 }
21853 {
21854 PyObject *o = PyInt_FromLong((long) (*arg3));
21855 resultobj = t_output_helper(resultobj,o);
21856 }
21857 return resultobj;
21858 fail:
21859 return NULL;
21860 }
21861
21862
21863 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj;
21865 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21866 bool result;
21867 PyObject * obj0 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 result = (bool)(arg1)->IsPreview();
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 {
21883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21884 }
21885 return resultobj;
21886 fail:
21887 return NULL;
21888 }
21889
21890
21891 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj;
21893 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21894 bool arg2 ;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self",(char *) "p", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21904 arg2 = (bool) SWIG_AsBool(obj1);
21905 if (PyErr_Occurred()) SWIG_fail;
21906 {
21907 PyThreadState* __tstate = wxPyBeginAllowThreads();
21908 (arg1)->SetIsPreview(arg2);
21909
21910 wxPyEndAllowThreads(__tstate);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 }
21913 Py_INCREF(Py_None); resultobj = Py_None;
21914 return resultobj;
21915 fail:
21916 return NULL;
21917 }
21918
21919
21920 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj;
21922 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21923 int arg2 ;
21924 int arg3 ;
21925 bool result;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 PyObject * obj2 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21936 arg2 = (int) SWIG_AsInt(obj1);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 arg3 = (int) SWIG_AsInt(obj2);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21943
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 {
21948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21949 }
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21959 PyObject * obj0 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21967 {
21968 PyThreadState* __tstate = wxPyBeginAllowThreads();
21969 (arg1)->base_OnEndDocument();
21970
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 Py_INCREF(Py_None); resultobj = Py_None;
21975 return resultobj;
21976 fail:
21977 return NULL;
21978 }
21979
21980
21981 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21982 PyObject *resultobj;
21983 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21984 PyObject * obj0 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 (arg1)->base_OnBeginPrinting();
21995
21996 wxPyEndAllowThreads(__tstate);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 Py_INCREF(Py_None); resultobj = Py_None;
22000 return resultobj;
22001 fail:
22002 return NULL;
22003 }
22004
22005
22006 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22007 PyObject *resultobj;
22008 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22009 PyObject * obj0 = 0 ;
22010 char *kwnames[] = {
22011 (char *) "self", NULL
22012 };
22013
22014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 (arg1)->base_OnEndPrinting();
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 Py_INCREF(Py_None); resultobj = Py_None;
22025 return resultobj;
22026 fail:
22027 return NULL;
22028 }
22029
22030
22031 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22034 PyObject * obj0 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 (arg1)->base_OnPreparePrinting();
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 Py_INCREF(Py_None); resultobj = Py_None;
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj;
22058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22059 int arg2 ;
22060 bool result;
22061 PyObject * obj0 = 0 ;
22062 PyObject * obj1 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self",(char *) "page", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 arg2 = (int) SWIG_AsInt(obj1);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = (bool)(arg1)->base_HasPage(arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22081 }
22082 return resultobj;
22083 fail:
22084 return NULL;
22085 }
22086
22087
22088 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22089 PyObject *resultobj;
22090 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22091 int *arg2 = (int *) 0 ;
22092 int *arg3 = (int *) 0 ;
22093 int *arg4 = (int *) 0 ;
22094 int *arg5 = (int *) 0 ;
22095 int temp2 ;
22096 int temp3 ;
22097 int temp4 ;
22098 int temp5 ;
22099 PyObject * obj0 = 0 ;
22100 char *kwnames[] = {
22101 (char *) "self", NULL
22102 };
22103
22104 arg2 = &temp2;
22105 arg3 = &temp3;
22106 arg4 = &temp4;
22107 arg5 = &temp5;
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 Py_INCREF(Py_None); resultobj = Py_None;
22119 {
22120 PyObject *o = PyInt_FromLong((long) (*arg2));
22121 resultobj = t_output_helper(resultobj,o);
22122 }
22123 {
22124 PyObject *o = PyInt_FromLong((long) (*arg3));
22125 resultobj = t_output_helper(resultobj,o);
22126 }
22127 {
22128 PyObject *o = PyInt_FromLong((long) (*arg4));
22129 resultobj = t_output_helper(resultobj,o);
22130 }
22131 {
22132 PyObject *o = PyInt_FromLong((long) (*arg5));
22133 resultobj = t_output_helper(resultobj,o);
22134 }
22135 return resultobj;
22136 fail:
22137 return NULL;
22138 }
22139
22140
22141 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22142 PyObject *obj;
22143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22144 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22145 Py_INCREF(obj);
22146 return Py_BuildValue((char *)"");
22147 }
22148 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22151 wxWindow *arg2 = (wxWindow *) 0 ;
22152 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22153 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22154 wxSize const &arg4_defvalue = wxDefaultSize ;
22155 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22156 long arg5 = (long) 0 ;
22157 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22158 wxString *arg6 = (wxString *) &arg6_defvalue ;
22159 wxPreviewCanvas *result;
22160 wxPoint temp3 ;
22161 wxSize temp4 ;
22162 bool temp6 = False ;
22163 PyObject * obj0 = 0 ;
22164 PyObject * obj1 = 0 ;
22165 PyObject * obj2 = 0 ;
22166 PyObject * obj3 = 0 ;
22167 PyObject * obj4 = 0 ;
22168 PyObject * obj5 = 0 ;
22169 char *kwnames[] = {
22170 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22171 };
22172
22173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22178 if (obj2) {
22179 {
22180 arg3 = &temp3;
22181 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22182 }
22183 }
22184 if (obj3) {
22185 {
22186 arg4 = &temp4;
22187 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22188 }
22189 }
22190 if (obj4) {
22191 arg5 = (long) SWIG_AsLong(obj4);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 if (obj5) {
22195 {
22196 arg6 = wxString_in_helper(obj5);
22197 if (arg6 == NULL) SWIG_fail;
22198 temp6 = True;
22199 }
22200 }
22201 {
22202 PyThreadState* __tstate = wxPyBeginAllowThreads();
22203 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22204
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22209 {
22210 if (temp6)
22211 delete arg6;
22212 }
22213 return resultobj;
22214 fail:
22215 {
22216 if (temp6)
22217 delete arg6;
22218 }
22219 return NULL;
22220 }
22221
22222
22223 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22224 PyObject *obj;
22225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22226 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22227 Py_INCREF(obj);
22228 return Py_BuildValue((char *)"");
22229 }
22230 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22233 wxFrame *arg2 = (wxFrame *) 0 ;
22234 wxString *arg3 = 0 ;
22235 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22236 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22237 wxSize const &arg5_defvalue = wxDefaultSize ;
22238 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22239 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22240 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22241 wxString *arg7 = (wxString *) &arg7_defvalue ;
22242 wxPreviewFrame *result;
22243 bool temp3 = False ;
22244 wxPoint temp4 ;
22245 wxSize temp5 ;
22246 bool temp7 = False ;
22247 PyObject * obj0 = 0 ;
22248 PyObject * obj1 = 0 ;
22249 PyObject * obj2 = 0 ;
22250 PyObject * obj3 = 0 ;
22251 PyObject * obj4 = 0 ;
22252 PyObject * obj5 = 0 ;
22253 PyObject * obj6 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22263 {
22264 arg3 = wxString_in_helper(obj2);
22265 if (arg3 == NULL) SWIG_fail;
22266 temp3 = True;
22267 }
22268 if (obj3) {
22269 {
22270 arg4 = &temp4;
22271 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22272 }
22273 }
22274 if (obj4) {
22275 {
22276 arg5 = &temp5;
22277 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22278 }
22279 }
22280 if (obj5) {
22281 arg6 = (long) SWIG_AsLong(obj5);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 if (obj6) {
22285 {
22286 arg7 = wxString_in_helper(obj6);
22287 if (arg7 == NULL) SWIG_fail;
22288 temp7 = True;
22289 }
22290 }
22291 {
22292 PyThreadState* __tstate = wxPyBeginAllowThreads();
22293 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22294
22295 wxPyEndAllowThreads(__tstate);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22299 {
22300 if (temp3)
22301 delete arg3;
22302 }
22303 {
22304 if (temp7)
22305 delete arg7;
22306 }
22307 return resultobj;
22308 fail:
22309 {
22310 if (temp3)
22311 delete arg3;
22312 }
22313 {
22314 if (temp7)
22315 delete arg7;
22316 }
22317 return NULL;
22318 }
22319
22320
22321 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj;
22323 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22324 PyObject * obj0 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 (arg1)->Initialize();
22335
22336 wxPyEndAllowThreads(__tstate);
22337 if (PyErr_Occurred()) SWIG_fail;
22338 }
22339 Py_INCREF(Py_None); resultobj = Py_None;
22340 return resultobj;
22341 fail:
22342 return NULL;
22343 }
22344
22345
22346 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22349 PyObject * obj0 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22357 {
22358 PyThreadState* __tstate = wxPyBeginAllowThreads();
22359 (arg1)->CreateControlBar();
22360
22361 wxPyEndAllowThreads(__tstate);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 }
22364 Py_INCREF(Py_None); resultobj = Py_None;
22365 return resultobj;
22366 fail:
22367 return NULL;
22368 }
22369
22370
22371 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22372 PyObject *resultobj;
22373 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22374 PyObject * obj0 = 0 ;
22375 char *kwnames[] = {
22376 (char *) "self", NULL
22377 };
22378
22379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22382 {
22383 PyThreadState* __tstate = wxPyBeginAllowThreads();
22384 (arg1)->CreateCanvas();
22385
22386 wxPyEndAllowThreads(__tstate);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 Py_INCREF(Py_None); resultobj = Py_None;
22390 return resultobj;
22391 fail:
22392 return NULL;
22393 }
22394
22395
22396 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj;
22398 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22399 wxPreviewControlBar *result;
22400 PyObject * obj0 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22408 {
22409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22410 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22411
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22423 PyObject *obj;
22424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22425 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22426 Py_INCREF(obj);
22427 return Py_BuildValue((char *)"");
22428 }
22429 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22430 PyObject *resultobj;
22431 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22432 long arg2 ;
22433 wxWindow *arg3 = (wxWindow *) 0 ;
22434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22436 wxSize const &arg5_defvalue = wxDefaultSize ;
22437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22438 long arg6 = (long) wxTAB_TRAVERSAL ;
22439 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22440 wxString *arg7 = (wxString *) &arg7_defvalue ;
22441 wxPreviewControlBar *result;
22442 wxPoint temp4 ;
22443 wxSize temp5 ;
22444 bool temp7 = False ;
22445 PyObject * obj0 = 0 ;
22446 PyObject * obj1 = 0 ;
22447 PyObject * obj2 = 0 ;
22448 PyObject * obj3 = 0 ;
22449 PyObject * obj4 = 0 ;
22450 PyObject * obj5 = 0 ;
22451 PyObject * obj6 = 0 ;
22452 char *kwnames[] = {
22453 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22454 };
22455
22456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22459 arg2 = (long) SWIG_AsLong(obj1);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22463 if (obj3) {
22464 {
22465 arg4 = &temp4;
22466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22467 }
22468 }
22469 if (obj4) {
22470 {
22471 arg5 = &temp5;
22472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22473 }
22474 }
22475 if (obj5) {
22476 arg6 = (long) SWIG_AsLong(obj5);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 if (obj6) {
22480 {
22481 arg7 = wxString_in_helper(obj6);
22482 if (arg7 == NULL) SWIG_fail;
22483 temp7 = True;
22484 }
22485 }
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22494 {
22495 if (temp7)
22496 delete arg7;
22497 }
22498 return resultobj;
22499 fail:
22500 {
22501 if (temp7)
22502 delete arg7;
22503 }
22504 return NULL;
22505 }
22506
22507
22508 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22509 PyObject *resultobj;
22510 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22511 int result;
22512 PyObject * obj0 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self", NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 result = (int)(arg1)->GetZoomControl();
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 resultobj = SWIG_FromInt((int)result);
22528 return resultobj;
22529 fail:
22530 return NULL;
22531 }
22532
22533
22534 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22537 int arg2 ;
22538 PyObject * obj0 = 0 ;
22539 PyObject * obj1 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "zoom", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22547 arg2 = (int) SWIG_AsInt(obj1);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 {
22550 PyThreadState* __tstate = wxPyBeginAllowThreads();
22551 (arg1)->SetZoomControl(arg2);
22552
22553 wxPyEndAllowThreads(__tstate);
22554 if (PyErr_Occurred()) SWIG_fail;
22555 }
22556 Py_INCREF(Py_None); resultobj = Py_None;
22557 return resultobj;
22558 fail:
22559 return NULL;
22560 }
22561
22562
22563 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22564 PyObject *resultobj;
22565 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22566 wxPrintPreview *result;
22567 PyObject * obj0 = 0 ;
22568 char *kwnames[] = {
22569 (char *) "self", NULL
22570 };
22571
22572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22583 return resultobj;
22584 fail:
22585 return NULL;
22586 }
22587
22588
22589 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22590 PyObject *resultobj;
22591 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22592 PyObject * obj0 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 (arg1)->OnNext();
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 Py_INCREF(Py_None); resultobj = Py_None;
22608 return resultobj;
22609 fail:
22610 return NULL;
22611 }
22612
22613
22614 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22617 PyObject * obj0 = 0 ;
22618 char *kwnames[] = {
22619 (char *) "self", NULL
22620 };
22621
22622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
22627 (arg1)->OnPrevious();
22628
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 Py_INCREF(Py_None); resultobj = Py_None;
22633 return resultobj;
22634 fail:
22635 return NULL;
22636 }
22637
22638
22639 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj;
22641 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22642 PyObject * obj0 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 (arg1)->OnFirst();
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 Py_INCREF(Py_None); resultobj = Py_None;
22658 return resultobj;
22659 fail:
22660 return NULL;
22661 }
22662
22663
22664 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj;
22666 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22667 PyObject * obj0 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 (arg1)->OnLast();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 Py_INCREF(Py_None); resultobj = Py_None;
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22692 PyObject * obj0 = 0 ;
22693 char *kwnames[] = {
22694 (char *) "self", NULL
22695 };
22696
22697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 (arg1)->OnGoto();
22703
22704 wxPyEndAllowThreads(__tstate);
22705 if (PyErr_Occurred()) SWIG_fail;
22706 }
22707 Py_INCREF(Py_None); resultobj = Py_None;
22708 return resultobj;
22709 fail:
22710 return NULL;
22711 }
22712
22713
22714 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22715 PyObject *obj;
22716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22717 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22718 Py_INCREF(obj);
22719 return Py_BuildValue((char *)"");
22720 }
22721 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22722 PyObject *resultobj;
22723 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22724 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22725 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22726 wxPrintPreview *result;
22727 PyObject * obj0 = 0 ;
22728 PyObject * obj1 = 0 ;
22729 PyObject * obj2 = 0 ;
22730
22731 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22736 if (obj2) {
22737 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22739 }
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22743
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22748 return resultobj;
22749 fail:
22750 return NULL;
22751 }
22752
22753
22754 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22755 PyObject *resultobj;
22756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22757 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22758 wxPrintData *arg3 = (wxPrintData *) 0 ;
22759 wxPrintPreview *result;
22760 PyObject * obj0 = 0 ;
22761 PyObject * obj1 = 0 ;
22762 PyObject * obj2 = 0 ;
22763
22764 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22774
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22786 int argc;
22787 PyObject *argv[4];
22788 int ii;
22789
22790 argc = PyObject_Length(args);
22791 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22792 argv[ii] = PyTuple_GetItem(args,ii);
22793 }
22794 if ((argc >= 2) && (argc <= 3)) {
22795 int _v;
22796 {
22797 void *ptr;
22798 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22799 _v = 0;
22800 PyErr_Clear();
22801 } else {
22802 _v = 1;
22803 }
22804 }
22805 if (_v) {
22806 {
22807 void *ptr;
22808 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22809 _v = 0;
22810 PyErr_Clear();
22811 } else {
22812 _v = 1;
22813 }
22814 }
22815 if (_v) {
22816 if (argc <= 2) {
22817 return _wrap_new_PrintPreview__SWIG_0(self,args);
22818 }
22819 {
22820 void *ptr;
22821 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22822 _v = 0;
22823 PyErr_Clear();
22824 } else {
22825 _v = 1;
22826 }
22827 }
22828 if (_v) {
22829 return _wrap_new_PrintPreview__SWIG_0(self,args);
22830 }
22831 }
22832 }
22833 }
22834 if (argc == 3) {
22835 int _v;
22836 {
22837 void *ptr;
22838 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22839 _v = 0;
22840 PyErr_Clear();
22841 } else {
22842 _v = 1;
22843 }
22844 }
22845 if (_v) {
22846 {
22847 void *ptr;
22848 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22849 _v = 0;
22850 PyErr_Clear();
22851 } else {
22852 _v = 1;
22853 }
22854 }
22855 if (_v) {
22856 {
22857 void *ptr;
22858 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22859 _v = 0;
22860 PyErr_Clear();
22861 } else {
22862 _v = 1;
22863 }
22864 }
22865 if (_v) {
22866 return _wrap_new_PrintPreview__SWIG_1(self,args);
22867 }
22868 }
22869 }
22870 }
22871
22872 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22873 return NULL;
22874 }
22875
22876
22877 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22878 PyObject *resultobj;
22879 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22880 int arg2 ;
22881 bool result;
22882 PyObject * obj0 = 0 ;
22883 PyObject * obj1 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self",(char *) "pageNum", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22891 arg2 = (int) SWIG_AsInt(obj1);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (bool)(arg1)->SetCurrentPage(arg2);
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 {
22901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22902 }
22903 return resultobj;
22904 fail:
22905 return NULL;
22906 }
22907
22908
22909 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22912 int result;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = (int)(arg1)->GetCurrentPage();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 resultobj = SWIG_FromInt((int)result);
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22938 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22939 PyObject * obj0 = 0 ;
22940 PyObject * obj1 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self",(char *) "printout", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 (arg1)->SetPrintout(arg2);
22953
22954 wxPyEndAllowThreads(__tstate);
22955 if (PyErr_Occurred()) SWIG_fail;
22956 }
22957 Py_INCREF(Py_None); resultobj = Py_None;
22958 return resultobj;
22959 fail:
22960 return NULL;
22961 }
22962
22963
22964 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22965 PyObject *resultobj;
22966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22967 wxPyPrintout *result;
22968 PyObject * obj0 = 0 ;
22969 char *kwnames[] = {
22970 (char *) "self", NULL
22971 };
22972
22973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 result = (wxPyPrintout *)(arg1)->GetPrintout();
22979
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 {
22984 resultobj = wxPyMake_wxObject(result);
22985 }
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj;
22994 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22995 wxPyPrintout *result;
22996 PyObject * obj0 = 0 ;
22997 char *kwnames[] = {
22998 (char *) "self", NULL
22999 };
23000
23001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23004 {
23005 PyThreadState* __tstate = wxPyBeginAllowThreads();
23006 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23007
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 {
23012 resultobj = wxPyMake_wxObject(result);
23013 }
23014 return resultobj;
23015 fail:
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23023 wxFrame *arg2 = (wxFrame *) 0 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "frame", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23033 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 (arg1)->SetFrame(arg2);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 Py_INCREF(Py_None); resultobj = Py_None;
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23052 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23053 PyObject * obj0 = 0 ;
23054 PyObject * obj1 = 0 ;
23055 char *kwnames[] = {
23056 (char *) "self",(char *) "canvas", NULL
23057 };
23058
23059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23062 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 (arg1)->SetCanvas(arg2);
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 Py_INCREF(Py_None); resultobj = Py_None;
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23081 wxFrame *result;
23082 PyObject * obj0 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 result = (wxFrame *)(arg1)->GetFrame();
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 {
23098 resultobj = wxPyMake_wxObject(result);
23099 }
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23107 PyObject *resultobj;
23108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23109 wxPreviewCanvas *result;
23110 PyObject * obj0 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj;
23134 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23135 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23136 wxDC *arg3 = 0 ;
23137 bool result;
23138 PyObject * obj0 = 0 ;
23139 PyObject * obj1 = 0 ;
23140 PyObject * obj2 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23150 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23151 SWIG_POINTER_EXCEPTION | 0)) == -1)
23152 SWIG_fail;
23153 if (arg3 == NULL) {
23154 PyErr_SetString(PyExc_TypeError,"null reference");
23155 SWIG_fail;
23156 }
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 {
23165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23166 }
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23176 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23177 wxDC *arg3 = 0 ;
23178 bool result;
23179 PyObject * obj0 = 0 ;
23180 PyObject * obj1 = 0 ;
23181 PyObject * obj2 = 0 ;
23182 char *kwnames[] = {
23183 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23184 };
23185
23186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23191 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23192 SWIG_POINTER_EXCEPTION | 0)) == -1)
23193 SWIG_fail;
23194 if (arg3 == NULL) {
23195 PyErr_SetString(PyExc_TypeError,"null reference");
23196 SWIG_fail;
23197 }
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 {
23206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23207 }
23208 return resultobj;
23209 fail:
23210 return NULL;
23211 }
23212
23213
23214 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj;
23216 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23217 int arg2 ;
23218 bool result;
23219 PyObject * obj0 = 0 ;
23220 PyObject * obj1 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self",(char *) "pageNum", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23228 arg2 = (int) SWIG_AsInt(obj1);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 {
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 result = (bool)(arg1)->RenderPage(arg2);
23233
23234 wxPyEndAllowThreads(__tstate);
23235 if (PyErr_Occurred()) SWIG_fail;
23236 }
23237 {
23238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23239 }
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23249 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23250 PyObject * obj0 = 0 ;
23251 PyObject * obj1 = 0 ;
23252 char *kwnames[] = {
23253 (char *) "self",(char *) "canvas", NULL
23254 };
23255
23256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 (arg1)->AdjustScrollbars(arg2);
23264
23265 wxPyEndAllowThreads(__tstate);
23266 if (PyErr_Occurred()) SWIG_fail;
23267 }
23268 Py_INCREF(Py_None); resultobj = Py_None;
23269 return resultobj;
23270 fail:
23271 return NULL;
23272 }
23273
23274
23275 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23276 PyObject *resultobj;
23277 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23278 wxPrintDialogData *result;
23279 PyObject * obj0 = 0 ;
23280 char *kwnames[] = {
23281 (char *) "self", NULL
23282 };
23283
23284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 {
23290 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23291 result = (wxPrintDialogData *) &_result_ref;
23292 }
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23305 PyObject *resultobj;
23306 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23307 int arg2 ;
23308 PyObject * obj0 = 0 ;
23309 PyObject * obj1 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "self",(char *) "percent", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23317 arg2 = (int) SWIG_AsInt(obj1);
23318 if (PyErr_Occurred()) SWIG_fail;
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 (arg1)->SetZoom(arg2);
23322
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 Py_INCREF(Py_None); resultobj = Py_None;
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj;
23335 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23336 int result;
23337 PyObject * obj0 = 0 ;
23338 char *kwnames[] = {
23339 (char *) "self", NULL
23340 };
23341
23342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = (int)(arg1)->GetZoom();
23348
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 resultobj = SWIG_FromInt((int)result);
23353 return resultobj;
23354 fail:
23355 return NULL;
23356 }
23357
23358
23359 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23360 PyObject *resultobj;
23361 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23362 int result;
23363 PyObject * obj0 = 0 ;
23364 char *kwnames[] = {
23365 (char *) "self", NULL
23366 };
23367
23368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23371 {
23372 PyThreadState* __tstate = wxPyBeginAllowThreads();
23373 result = (int)(arg1)->GetMaxPage();
23374
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 resultobj = SWIG_FromInt((int)result);
23379 return resultobj;
23380 fail:
23381 return NULL;
23382 }
23383
23384
23385 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23386 PyObject *resultobj;
23387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23388 int result;
23389 PyObject * obj0 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 result = (int)(arg1)->GetMinPage();
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 resultobj = SWIG_FromInt((int)result);
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23412 PyObject *resultobj;
23413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23414 bool result;
23415 PyObject * obj0 = 0 ;
23416 char *kwnames[] = {
23417 (char *) "self", NULL
23418 };
23419
23420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 result = (bool)(arg1)->Ok();
23426
23427 wxPyEndAllowThreads(__tstate);
23428 if (PyErr_Occurred()) SWIG_fail;
23429 }
23430 {
23431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23432 }
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23442 bool arg2 ;
23443 PyObject * obj0 = 0 ;
23444 PyObject * obj1 = 0 ;
23445 char *kwnames[] = {
23446 (char *) "self",(char *) "ok", NULL
23447 };
23448
23449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23452 arg2 = (bool) SWIG_AsBool(obj1);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 (arg1)->SetOk(arg2);
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 Py_INCREF(Py_None); resultobj = Py_None;
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23471 bool arg2 ;
23472 bool result;
23473 PyObject * obj0 = 0 ;
23474 PyObject * obj1 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self",(char *) "interactive", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23482 arg2 = (bool) SWIG_AsBool(obj1);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 result = (bool)(arg1)->Print(arg2);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 {
23492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23493 }
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23503 PyObject * obj0 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 (arg1)->DetermineScaling();
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 Py_INCREF(Py_None); resultobj = Py_None;
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23526 PyObject *obj;
23527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23528 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23529 Py_INCREF(obj);
23530 return Py_BuildValue((char *)"");
23531 }
23532 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23533 PyObject *resultobj;
23534 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23535 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23536 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23537 wxPyPrintPreview *result;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 PyObject * obj2 = 0 ;
23541
23542 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23547 if (obj2) {
23548 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23550 }
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23566 PyObject *resultobj;
23567 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23568 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23569 wxPrintData *arg3 = (wxPrintData *) 0 ;
23570 wxPyPrintPreview *result;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 PyObject * obj2 = 0 ;
23574
23575 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23590 return resultobj;
23591 fail:
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23597 int argc;
23598 PyObject *argv[4];
23599 int ii;
23600
23601 argc = PyObject_Length(args);
23602 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23603 argv[ii] = PyTuple_GetItem(args,ii);
23604 }
23605 if ((argc >= 2) && (argc <= 3)) {
23606 int _v;
23607 {
23608 void *ptr;
23609 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23610 _v = 0;
23611 PyErr_Clear();
23612 } else {
23613 _v = 1;
23614 }
23615 }
23616 if (_v) {
23617 {
23618 void *ptr;
23619 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23620 _v = 0;
23621 PyErr_Clear();
23622 } else {
23623 _v = 1;
23624 }
23625 }
23626 if (_v) {
23627 if (argc <= 2) {
23628 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23629 }
23630 {
23631 void *ptr;
23632 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23633 _v = 0;
23634 PyErr_Clear();
23635 } else {
23636 _v = 1;
23637 }
23638 }
23639 if (_v) {
23640 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23641 }
23642 }
23643 }
23644 }
23645 if (argc == 3) {
23646 int _v;
23647 {
23648 void *ptr;
23649 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23650 _v = 0;
23651 PyErr_Clear();
23652 } else {
23653 _v = 1;
23654 }
23655 }
23656 if (_v) {
23657 {
23658 void *ptr;
23659 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23660 _v = 0;
23661 PyErr_Clear();
23662 } else {
23663 _v = 1;
23664 }
23665 }
23666 if (_v) {
23667 {
23668 void *ptr;
23669 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23670 _v = 0;
23671 PyErr_Clear();
23672 } else {
23673 _v = 1;
23674 }
23675 }
23676 if (_v) {
23677 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23678 }
23679 }
23680 }
23681 }
23682
23683 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23691 PyObject *arg2 = (PyObject *) 0 ;
23692 PyObject *arg3 = (PyObject *) 0 ;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 PyObject * obj2 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "self",(char *) "_class", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23703 arg2 = obj1;
23704 arg3 = obj2;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->_setCallbackInfo(arg2,arg3);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 Py_INCREF(Py_None); resultobj = Py_None;
23713 return resultobj;
23714 fail:
23715 return NULL;
23716 }
23717
23718
23719 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23722 int arg2 ;
23723 bool result;
23724 PyObject * obj0 = 0 ;
23725 PyObject * obj1 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self",(char *) "pageNum", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23733 arg2 = (int) SWIG_AsInt(obj1);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23744 }
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23754 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23755 wxDC *arg3 = 0 ;
23756 bool result;
23757 PyObject * obj0 = 0 ;
23758 PyObject * obj1 = 0 ;
23759 PyObject * obj2 = 0 ;
23760 char *kwnames[] = {
23761 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23762 };
23763
23764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23769 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23770 SWIG_POINTER_EXCEPTION | 0)) == -1)
23771 SWIG_fail;
23772 if (arg3 == NULL) {
23773 PyErr_SetString(PyExc_TypeError,"null reference");
23774 SWIG_fail;
23775 }
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 {
23784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23785 }
23786 return resultobj;
23787 fail:
23788 return NULL;
23789 }
23790
23791
23792 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj;
23794 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23795 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23796 wxDC *arg3 = 0 ;
23797 bool result;
23798 PyObject * obj0 = 0 ;
23799 PyObject * obj1 = 0 ;
23800 PyObject * obj2 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23810 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23811 SWIG_POINTER_EXCEPTION | 0)) == -1)
23812 SWIG_fail;
23813 if (arg3 == NULL) {
23814 PyErr_SetString(PyExc_TypeError,"null reference");
23815 SWIG_fail;
23816 }
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 {
23825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23826 }
23827 return resultobj;
23828 fail:
23829 return NULL;
23830 }
23831
23832
23833 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23836 int arg2 ;
23837 bool result;
23838 PyObject * obj0 = 0 ;
23839 PyObject * obj1 = 0 ;
23840 char *kwnames[] = {
23841 (char *) "self",(char *) "pageNum", NULL
23842 };
23843
23844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23847 arg2 = (int) SWIG_AsInt(obj1);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (bool)(arg1)->base_RenderPage(arg2);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 {
23857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23858 }
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj;
23867 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23868 int arg2 ;
23869 PyObject * obj0 = 0 ;
23870 PyObject * obj1 = 0 ;
23871 char *kwnames[] = {
23872 (char *) "self",(char *) "percent", NULL
23873 };
23874
23875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23878 arg2 = (int) SWIG_AsInt(obj1);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 (arg1)->base_SetZoom(arg2);
23883
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 Py_INCREF(Py_None); resultobj = Py_None;
23888 return resultobj;
23889 fail:
23890 return NULL;
23891 }
23892
23893
23894 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23895 PyObject *resultobj;
23896 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23897 bool arg2 ;
23898 bool result;
23899 PyObject * obj0 = 0 ;
23900 PyObject * obj1 = 0 ;
23901 char *kwnames[] = {
23902 (char *) "self",(char *) "interactive", NULL
23903 };
23904
23905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23908 arg2 = (bool) SWIG_AsBool(obj1);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 result = (bool)(arg1)->base_Print(arg2);
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 {
23918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23919 }
23920 return resultobj;
23921 fail:
23922 return NULL;
23923 }
23924
23925
23926 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23927 PyObject *resultobj;
23928 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23929 PyObject * obj0 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23937 {
23938 PyThreadState* __tstate = wxPyBeginAllowThreads();
23939 (arg1)->base_DetermineScaling();
23940
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 Py_INCREF(Py_None); resultobj = Py_None;
23945 return resultobj;
23946 fail:
23947 return NULL;
23948 }
23949
23950
23951 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23952 PyObject *obj;
23953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23954 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23955 Py_INCREF(obj);
23956 return Py_BuildValue((char *)"");
23957 }
23958 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23961 wxFrame *arg2 = (wxFrame *) 0 ;
23962 wxString *arg3 = 0 ;
23963 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23964 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23965 wxSize const &arg5_defvalue = wxDefaultSize ;
23966 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23967 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23968 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23969 wxString *arg7 = (wxString *) &arg7_defvalue ;
23970 wxPyPreviewFrame *result;
23971 bool temp3 = False ;
23972 wxPoint temp4 ;
23973 wxSize temp5 ;
23974 bool temp7 = False ;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 PyObject * obj2 = 0 ;
23978 PyObject * obj3 = 0 ;
23979 PyObject * obj4 = 0 ;
23980 PyObject * obj5 = 0 ;
23981 PyObject * obj6 = 0 ;
23982 char *kwnames[] = {
23983 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23984 };
23985
23986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23991 {
23992 arg3 = wxString_in_helper(obj2);
23993 if (arg3 == NULL) SWIG_fail;
23994 temp3 = True;
23995 }
23996 if (obj3) {
23997 {
23998 arg4 = &temp4;
23999 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24000 }
24001 }
24002 if (obj4) {
24003 {
24004 arg5 = &temp5;
24005 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24006 }
24007 }
24008 if (obj5) {
24009 arg6 = (long) SWIG_AsLong(obj5);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 if (obj6) {
24013 {
24014 arg7 = wxString_in_helper(obj6);
24015 if (arg7 == NULL) SWIG_fail;
24016 temp7 = True;
24017 }
24018 }
24019 {
24020 PyThreadState* __tstate = wxPyBeginAllowThreads();
24021 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24022
24023 wxPyEndAllowThreads(__tstate);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 }
24026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24027 {
24028 if (temp3)
24029 delete arg3;
24030 }
24031 {
24032 if (temp7)
24033 delete arg7;
24034 }
24035 return resultobj;
24036 fail:
24037 {
24038 if (temp3)
24039 delete arg3;
24040 }
24041 {
24042 if (temp7)
24043 delete arg7;
24044 }
24045 return NULL;
24046 }
24047
24048
24049 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj;
24051 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24052 PyObject *arg2 = (PyObject *) 0 ;
24053 PyObject *arg3 = (PyObject *) 0 ;
24054 PyObject * obj0 = 0 ;
24055 PyObject * obj1 = 0 ;
24056 PyObject * obj2 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self",(char *) "self",(char *) "_class", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24064 arg2 = obj1;
24065 arg3 = obj2;
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 (arg1)->_setCallbackInfo(arg2,arg3);
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 Py_INCREF(Py_None); resultobj = Py_None;
24074 return resultobj;
24075 fail:
24076 return NULL;
24077 }
24078
24079
24080 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24081 PyObject *resultobj;
24082 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24083 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24084 PyObject * obj0 = 0 ;
24085 PyObject * obj1 = 0 ;
24086 char *kwnames[] = {
24087 (char *) "self",(char *) "canvas", NULL
24088 };
24089
24090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24095 {
24096 PyThreadState* __tstate = wxPyBeginAllowThreads();
24097 (arg1)->SetPreviewCanvas(arg2);
24098
24099 wxPyEndAllowThreads(__tstate);
24100 if (PyErr_Occurred()) SWIG_fail;
24101 }
24102 Py_INCREF(Py_None); resultobj = Py_None;
24103 return resultobj;
24104 fail:
24105 return NULL;
24106 }
24107
24108
24109 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24110 PyObject *resultobj;
24111 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24112 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24113 PyObject * obj0 = 0 ;
24114 PyObject * obj1 = 0 ;
24115 char *kwnames[] = {
24116 (char *) "self",(char *) "bar", NULL
24117 };
24118
24119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 (arg1)->SetControlBar(arg2);
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 Py_INCREF(Py_None); resultobj = Py_None;
24132 return resultobj;
24133 fail:
24134 return NULL;
24135 }
24136
24137
24138 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj;
24140 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24141 PyObject * obj0 = 0 ;
24142 char *kwnames[] = {
24143 (char *) "self", NULL
24144 };
24145
24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24149 {
24150 PyThreadState* __tstate = wxPyBeginAllowThreads();
24151 (arg1)->base_Initialize();
24152
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 Py_INCREF(Py_None); resultobj = Py_None;
24157 return resultobj;
24158 fail:
24159 return NULL;
24160 }
24161
24162
24163 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24164 PyObject *resultobj;
24165 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24166 PyObject * obj0 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24174 {
24175 PyThreadState* __tstate = wxPyBeginAllowThreads();
24176 (arg1)->base_CreateCanvas();
24177
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 Py_INCREF(Py_None); resultobj = Py_None;
24182 return resultobj;
24183 fail:
24184 return NULL;
24185 }
24186
24187
24188 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24191 PyObject * obj0 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 (arg1)->base_CreateControlBar();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 Py_INCREF(Py_None); resultobj = Py_None;
24207 return resultobj;
24208 fail:
24209 return NULL;
24210 }
24211
24212
24213 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24214 PyObject *obj;
24215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24216 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24217 Py_INCREF(obj);
24218 return Py_BuildValue((char *)"");
24219 }
24220 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj;
24222 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24223 long arg2 ;
24224 wxWindow *arg3 = (wxWindow *) 0 ;
24225 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24226 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24227 wxSize const &arg5_defvalue = wxDefaultSize ;
24228 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24229 long arg6 = (long) 0 ;
24230 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24231 wxString *arg7 = (wxString *) &arg7_defvalue ;
24232 wxPyPreviewControlBar *result;
24233 wxPoint temp4 ;
24234 wxSize temp5 ;
24235 bool temp7 = False ;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 PyObject * obj2 = 0 ;
24239 PyObject * obj3 = 0 ;
24240 PyObject * obj4 = 0 ;
24241 PyObject * obj5 = 0 ;
24242 PyObject * obj6 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24250 arg2 = (long) SWIG_AsLong(obj1);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24254 if (obj3) {
24255 {
24256 arg4 = &temp4;
24257 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24258 }
24259 }
24260 if (obj4) {
24261 {
24262 arg5 = &temp5;
24263 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24264 }
24265 }
24266 if (obj5) {
24267 arg6 = (long) SWIG_AsLong(obj5);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 if (obj6) {
24271 {
24272 arg7 = wxString_in_helper(obj6);
24273 if (arg7 == NULL) SWIG_fail;
24274 temp7 = True;
24275 }
24276 }
24277 {
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24280
24281 wxPyEndAllowThreads(__tstate);
24282 if (PyErr_Occurred()) SWIG_fail;
24283 }
24284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24285 {
24286 if (temp7)
24287 delete arg7;
24288 }
24289 return resultobj;
24290 fail:
24291 {
24292 if (temp7)
24293 delete arg7;
24294 }
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24302 PyObject *arg2 = (PyObject *) 0 ;
24303 PyObject *arg3 = (PyObject *) 0 ;
24304 PyObject * obj0 = 0 ;
24305 PyObject * obj1 = 0 ;
24306 PyObject * obj2 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self",(char *) "self",(char *) "_class", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24314 arg2 = obj1;
24315 arg3 = obj2;
24316 {
24317 PyThreadState* __tstate = wxPyBeginAllowThreads();
24318 (arg1)->_setCallbackInfo(arg2,arg3);
24319
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 Py_INCREF(Py_None); resultobj = Py_None;
24324 return resultobj;
24325 fail:
24326 return NULL;
24327 }
24328
24329
24330 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24331 PyObject *resultobj;
24332 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24333 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24334 PyObject * obj0 = 0 ;
24335 PyObject * obj1 = 0 ;
24336 char *kwnames[] = {
24337 (char *) "self",(char *) "preview", NULL
24338 };
24339
24340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 (arg1)->SetPrintPreview(arg2);
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 Py_INCREF(Py_None); resultobj = Py_None;
24353 return resultobj;
24354 fail:
24355 return NULL;
24356 }
24357
24358
24359 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24360 PyObject *resultobj;
24361 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24362 PyObject * obj0 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 (arg1)->base_CreateButtons();
24373
24374 wxPyEndAllowThreads(__tstate);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
24377 Py_INCREF(Py_None); resultobj = Py_None;
24378 return resultobj;
24379 fail:
24380 return NULL;
24381 }
24382
24383
24384 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24385 PyObject *resultobj;
24386 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24387 int arg2 ;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj1 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self",(char *) "zoom", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24397 arg2 = (int) SWIG_AsInt(obj1);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 {
24400 PyThreadState* __tstate = wxPyBeginAllowThreads();
24401 (arg1)->base_SetZoomControl(arg2);
24402
24403 wxPyEndAllowThreads(__tstate);
24404 if (PyErr_Occurred()) SWIG_fail;
24405 }
24406 Py_INCREF(Py_None); resultobj = Py_None;
24407 return resultobj;
24408 fail:
24409 return NULL;
24410 }
24411
24412
24413 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24414 PyObject *obj;
24415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24416 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24417 Py_INCREF(obj);
24418 return Py_BuildValue((char *)"");
24419 }
24420 static PyMethodDef SwigMethods[] = {
24421 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24426 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24432 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24440 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24441 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24442 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24449 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24452 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24458 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24463 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24467 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24473 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24486 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24497 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24501 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24505 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24510 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24525 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24540 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24552 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24559 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24560 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24582 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24590 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24602 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24608 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24617 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24623 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24628 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24634 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24638 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24656 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24682 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24690 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24699 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24701 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24710 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24713 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24720 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24738 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24742 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24747 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24751 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24767 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24770 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24772 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24776 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24785 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24794 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24800 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24815 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24822 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24826 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24850 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24874 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24898 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24944 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24976 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24980 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24981 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25014 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25019 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25030 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25053 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25055 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25061 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25071 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25072 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25095 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25096 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25105 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25113 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25119 { NULL, NULL }
25120 };
25121
25122
25123 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25124
25125 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25126 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25127 }
25128 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25130 }
25131 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25132 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25133 }
25134 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25135 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25136 }
25137 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25138 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25139 }
25140 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25141 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25142 }
25143 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25144 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25145 }
25146 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25147 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25148 }
25149 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25150 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25151 }
25152 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25154 }
25155 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25157 }
25158 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25159 return (void *)((wxEvent *) ((wxPyEvent *) x));
25160 }
25161 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25162 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25163 }
25164 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25165 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25166 }
25167 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25168 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25169 }
25170 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25171 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25172 }
25173 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25174 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25175 }
25176 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25177 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25178 }
25179 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25180 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25181 }
25182 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25183 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25184 }
25185 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25186 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25187 }
25188 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25189 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25190 }
25191 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25192 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25193 }
25194 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25195 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25196 }
25197 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25198 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25199 }
25200 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25201 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25202 }
25203 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25204 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25205 }
25206 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25207 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25208 }
25209 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25210 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25211 }
25212 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25213 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25214 }
25215 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25216 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25217 }
25218 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25220 }
25221 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25222 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25223 }
25224 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25225 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25226 }
25227 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25228 return (void *)((wxEvent *) ((wxShowEvent *) x));
25229 }
25230 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25231 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25232 }
25233 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25235 }
25236 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25238 }
25239 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25240 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25241 }
25242 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25243 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25244 }
25245 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25246 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25247 }
25248 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25249 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25250 }
25251 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25252 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25253 }
25254 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25256 }
25257 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25259 }
25260 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25261 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25262 }
25263 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25264 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25265 }
25266 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25267 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25268 }
25269 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25270 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25271 }
25272 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25273 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25274 }
25275 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25276 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25277 }
25278 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25280 }
25281 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25282 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25283 }
25284 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25285 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25286 }
25287 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25289 }
25290 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25292 }
25293 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25295 }
25296 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25297 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25298 }
25299 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25300 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25301 }
25302 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25303 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25304 }
25305 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25306 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25307 }
25308 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25309 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25310 }
25311 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25312 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25313 }
25314 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25315 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25316 }
25317 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25318 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25319 }
25320 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25321 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25322 }
25323 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25324 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25325 }
25326 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25327 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25328 }
25329 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25330 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25331 }
25332 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25333 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25334 }
25335 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25336 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25337 }
25338 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25339 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25340 }
25341 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25342 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25343 }
25344 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25346 }
25347 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25348 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25349 }
25350 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25351 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25352 }
25353 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25354 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25355 }
25356 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25357 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25358 }
25359 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25360 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25361 }
25362 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25363 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25364 }
25365 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25366 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25367 }
25368 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25369 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25370 }
25371 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25372 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25373 }
25374 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25375 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25376 }
25377 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25378 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25379 }
25380 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25381 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25382 }
25383 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25384 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25385 }
25386 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25387 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25388 }
25389 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25390 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25391 }
25392 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25393 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25394 }
25395 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25396 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25397 }
25398 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25400 }
25401 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25403 }
25404 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25405 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25406 }
25407 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25408 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25409 }
25410 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25411 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25412 }
25413 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25414 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25415 }
25416 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25417 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25418 }
25419 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25420 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25421 }
25422 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25423 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25424 }
25425 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25426 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25427 }
25428 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25429 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25430 }
25431 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25433 }
25434 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25436 }
25437 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25439 }
25440 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25442 }
25443 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) ((wxSizerItem *) x));
25445 }
25446 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25448 }
25449 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25450 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25451 }
25452 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25453 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25454 }
25455 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25456 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25457 }
25458 static void *_p_wxSizerTo_p_wxObject(void *x) {
25459 return (void *)((wxObject *) ((wxSizer *) x));
25460 }
25461 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25462 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25463 }
25464 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25466 }
25467 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25469 }
25470 static void *_p_wxEventTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) ((wxEvent *) x));
25472 }
25473 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) ((wxFontData *) x));
25475 }
25476 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) ((wxPrintData *) x));
25478 }
25479 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25481 }
25482 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25484 }
25485 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25487 }
25488 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25490 }
25491 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25493 }
25494 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25496 }
25497 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25499 }
25500 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25502 }
25503 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25505 }
25506 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25508 }
25509 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25511 }
25512 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25514 }
25515 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25517 }
25518 static void *_p_wxControlTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25520 }
25521 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25523 }
25524 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25526 }
25527 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) ((wxFSFile *) x));
25529 }
25530 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25532 }
25533 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25535 }
25536 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25538 }
25539 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) ((wxColourData *) x));
25541 }
25542 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25544 }
25545 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25547 }
25548 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25550 }
25551 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25553 }
25554 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25556 }
25557 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25559 }
25560 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25562 }
25563 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25565 }
25566 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25568 }
25569 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25571 }
25572 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25574 }
25575 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25577 }
25578 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) ((wxPrinter *) x));
25580 }
25581 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) ((wxMenuItem *) x));
25583 }
25584 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25586 }
25587 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25589 }
25590 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25592 }
25593 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25595 }
25596 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25598 }
25599 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25601 }
25602 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25604 }
25605 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25607 }
25608 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25610 }
25611 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25613 }
25614 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25616 }
25617 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25619 }
25620 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25622 }
25623 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25625 }
25626 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25628 }
25629 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25631 }
25632 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25634 }
25635 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25637 }
25638 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) ((wxImageHandler *) x));
25640 }
25641 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25643 }
25644 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) ((wxEvtHandler *) x));
25646 }
25647 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25649 }
25650 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25652 }
25653 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25655 }
25656 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25658 }
25659 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25661 }
25662 static void *_p_wxImageTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) ((wxImage *) x));
25664 }
25665 static void *_p_wxFrameTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25667 }
25668 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) ((wxPyPrintout *) x));
25670 }
25671 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25673 }
25674 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25676 }
25677 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25679 }
25680 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25682 }
25683 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25685 }
25686 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25688 }
25689 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25691 }
25692 static void *_p_wxWindowTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25694 }
25695 static void *_p_wxMenuTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25697 }
25698 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25700 }
25701 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25703 }
25704 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25706 }
25707 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25709 }
25710 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25712 }
25713 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25715 }
25716 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25718 }
25719 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25721 }
25722 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25724 }
25725 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25727 }
25728 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25730 }
25731 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25733 }
25734 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25736 }
25737 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25739 }
25740 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) ((wxPrintPreview *) x));
25742 }
25743 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25745 }
25746 static void *_p_wxPanelTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25748 }
25749 static void *_p_wxDialogTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25751 }
25752 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25754 }
25755 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25757 }
25758 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25760 }
25761 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25763 }
25764 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25766 }
25767 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) ((wxFileSystem *) x));
25769 }
25770 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25772 }
25773 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25775 }
25776 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25778 }
25779 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25781 }
25782 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25784 }
25785 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25787 }
25788 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25790 }
25791 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25793 }
25794 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25796 }
25797 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25799 }
25800 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25802 }
25803 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25805 }
25806 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25808 }
25809 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25811 }
25812 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25814 }
25815 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25817 }
25818 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25820 }
25821 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25823 }
25824 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25825 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25826 }
25827 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25828 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25829 }
25830 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25831 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25832 }
25833 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25834 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25835 }
25836 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25837 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25838 }
25839 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25840 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25841 }
25842 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25843 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25844 }
25845 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25846 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25847 }
25848 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25849 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25850 }
25851 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25852 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25853 }
25854 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25855 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25856 }
25857 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25858 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25859 }
25860 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25861 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25862 }
25863 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25864 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25865 }
25866 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25867 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25868 }
25869 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25870 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25871 }
25872 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25873 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25874 }
25875 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25876 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25877 }
25878 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25879 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25880 }
25881 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25882 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25883 }
25884 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25885 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25886 }
25887 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25888 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25889 }
25890 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25891 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25892 }
25893 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25894 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25895 }
25896 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25897 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25898 }
25899 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25900 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25901 }
25902 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25903 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25904 }
25905 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25906 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25907 }
25908 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25909 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25910 }
25911 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25912 return (void *)((wxWindow *) ((wxMenuBar *) x));
25913 }
25914 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25916 }
25917 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25919 }
25920 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25921 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25922 }
25923 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25924 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25925 }
25926 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25927 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25928 }
25929 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25930 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25931 }
25932 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25933 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25934 }
25935 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25936 return (void *)((wxWindow *) ((wxPanel *) x));
25937 }
25938 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25939 return (void *)((wxWindow *) ((wxStatusBar *) x));
25940 }
25941 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25942 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25943 }
25944 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25945 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25946 }
25947 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25948 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25949 }
25950 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25951 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25952 }
25953 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25954 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25955 }
25956 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25957 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25958 }
25959 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25960 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25961 }
25962 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25963 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25964 }
25965 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25966 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25967 }
25968 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25969 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25970 }
25971 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25972 return (void *)((wxWindow *) ((wxSashWindow *) x));
25973 }
25974 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25975 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25976 }
25977 static void *_p_wxControlTo_p_wxWindow(void *x) {
25978 return (void *)((wxWindow *) ((wxControl *) x));
25979 }
25980 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25981 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25982 }
25983 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25985 }
25986 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25988 }
25989 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25990 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25991 }
25992 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25993 return (void *)((wxWindow *) ((wxPyWindow *) x));
25994 }
25995 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25996 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25997 }
25998 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25999 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26000 }
26001 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26002 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26003 }
26004 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26005 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26006 }
26007 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26008 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26009 }
26010 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26011 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26012 }
26013 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26014 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26015 }
26016 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26017 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26018 }
26019 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26020 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26021 }
26022 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26023 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26024 }
26025 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26026 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26027 }
26028 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26029 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26030 }
26031 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26032 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26033 }
26034 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26035 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26036 }
26037 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26038 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26039 }
26040 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26041 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26042 }
26043 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26044 return (void *)((wxDialog *) ((wxColourDialog *) x));
26045 }
26046 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26047 return (void *)((wxDialog *) ((wxDirDialog *) x));
26048 }
26049 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26050 return (void *)((wxDialog *) ((wxFontDialog *) x));
26051 }
26052 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26053 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26054 }
26055 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26056 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26057 }
26058 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26059 return (void *)((wxDialog *) ((wxFileDialog *) x));
26060 }
26061 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26062 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26063 }
26064 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26065 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26066 }
26067 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26068 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26069 }
26070 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26071 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26072 }
26073 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26074 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26075 }
26076 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26077 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26078 }
26079 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26080 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26081 }
26082 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26083 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26084 }
26085 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26086 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26087 }
26088 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26089 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26090 }
26091 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26092 return (void *)((wxPanel *) ((wxPyPanel *) x));
26093 }
26094 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26095 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26096 }
26097 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26098 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26099 }
26100 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26101 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26102 }
26103 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26104 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26105 }
26106 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26107 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26108 }
26109 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26110 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26111 }
26112 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26113 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26114 }
26115 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26116 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26117 }
26118 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26119 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26120 }
26121 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26122 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26123 }
26124 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26125 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26126 }
26127 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26128 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26129 }
26130 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26131 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26132 }
26133 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26134 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26135 }
26136 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26137 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26138 }
26139 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}};
26140 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}};
26141 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}};
26142 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}};
26143 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}};
26144 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}};
26145 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}};
26146 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}};
26147 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}};
26148 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}};
26149 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}};
26150 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}};
26151 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}};
26152 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}};
26153 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}};
26154 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}};
26155 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}};
26156 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}};
26157 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}};
26158 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}};
26159 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}};
26160 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}};
26161 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}};
26162 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}};
26163 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}};
26164 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}};
26165 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}};
26166 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}};
26167 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}};
26168 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}};
26169 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}};
26170 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}};
26171 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}};
26172 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}};
26173 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}};
26174 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26175 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}};
26176 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}};
26177 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}};
26178 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}};
26179 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}};
26180 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}};
26181 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26182 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}};
26183 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}};
26184 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}};
26185 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}};
26186 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}};
26187 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}};
26188 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26189 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}};
26190 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}};
26191 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}};
26192 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}};
26193 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}};
26194 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}};
26195 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}};
26196 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}};
26197 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26198 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26199 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}};
26200 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26201 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26202 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}};
26203 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}};
26204 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}};
26205 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}};
26206 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}};
26207 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}};
26208 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}};
26209 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}};
26210 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}};
26211 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}};
26212 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}};
26213 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}};
26214 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}};
26215 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}};
26216 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26217 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}};
26218 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}};
26219 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}};
26220 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}};
26221 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}};
26222 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}};
26223 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}};
26224 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}};
26225
26226 static swig_type_info *swig_types_initial[] = {
26227 _swigt__p_wxQueryLayoutInfoEvent,
26228 _swigt__p_wxPreviewFrame,
26229 _swigt__p_wxPyPreviewFrame,
26230 _swigt__p_wxPyPanel,
26231 _swigt__p_wxMenu,
26232 _swigt__p_wxPrintData,
26233 _swigt__p_wxFontData,
26234 _swigt__p_wxEvent,
26235 _swigt__p_wxTaskBarIcon,
26236 _swigt__p_wxIconBundle,
26237 _swigt__p_wxLayoutAlgorithm,
26238 _swigt__p_wxFindDialogEvent,
26239 _swigt__p_wxPreviewCanvas,
26240 _swigt__p_wxFont,
26241 _swigt__p_wxSplitterEvent,
26242 _swigt__p_wxRegion,
26243 _swigt__p_wxFindReplaceData,
26244 _swigt__p_int,
26245 _swigt__p_wxSize,
26246 _swigt__p_wxDC,
26247 _swigt__p_wxIcon,
26248 _swigt__p_wxMDIChildFrame,
26249 _swigt__p_wxColourData,
26250 _swigt__p_wxNotifyEvent,
26251 _swigt__p_wxPyWindow,
26252 _swigt__p_wxSplashScreen,
26253 _swigt__p_wxFindReplaceDialog,
26254 _swigt__p_wxProgressDialog,
26255 _swigt__p_wxMessageDialog,
26256 _swigt__p_wxTextEntryDialog,
26257 _swigt__p_wxSingleChoiceDialog,
26258 _swigt__p_wxMultiChoiceDialog,
26259 _swigt__p_wxFileDialog,
26260 _swigt__p_wxPrinter,
26261 _swigt__p_wxArrayInt,
26262 _swigt__p_wxEvtHandler,
26263 _swigt__p_wxCalculateLayoutEvent,
26264 _swigt__p_wxPyHtmlListBox,
26265 _swigt__p_wxPyVListBox,
26266 _swigt__p_wxRect,
26267 _swigt__p_char,
26268 _swigt__p_wxMiniFrame,
26269 _swigt__p_wxFrame,
26270 _swigt__p_wxPyPrintout,
26271 _swigt__p_wxTaskBarIconEvent,
26272 _swigt__p_wxScrollWinEvent,
26273 _swigt__p_wxStatusBar,
26274 _swigt__p_wxMDIParentFrame,
26275 _swigt__p_wxPoint,
26276 _swigt__p_wxObject,
26277 _swigt__p_wxOutputStream,
26278 _swigt__p_unsigned_long,
26279 _swigt__p_wxPyScrolledWindow,
26280 _swigt__p_wxMDIClientWindow,
26281 _swigt__p_wxTipWindow,
26282 _swigt__p_wxSashLayoutWindow,
26283 _swigt__p_wxSplitterWindow,
26284 _swigt__p_wxPyVScrolledWindow,
26285 _swigt__p_wxPyPopupTransientWindow,
26286 _swigt__p_wxPopupWindow,
26287 _swigt__p_wxSashWindow,
26288 _swigt__p_wxTopLevelWindow,
26289 _swigt__p_wxWindow,
26290 _swigt__p_wxScrolledWindow,
26291 _swigt__p_wxSplashScreenWindow,
26292 _swigt__p_wxMenuBar,
26293 _swigt__p_wxPrintPreview,
26294 _swigt__p_wxSashEvent,
26295 _swigt__p_wxString,
26296 _swigt__p_wxPyPrintPreview,
26297 _swigt__p_wxFontDialog,
26298 _swigt__p_wxDirDialog,
26299 _swigt__p_wxColourDialog,
26300 _swigt__p_wxDialog,
26301 _swigt__p_wxPanel,
26302 _swigt__p_wxPageSetupDialog,
26303 _swigt__p_wxPrintDialog,
26304 _swigt__p_wxFileSystem,
26305 _swigt__p_wxBitmap,
26306 _swigt__p_wxCommandEvent,
26307 _swigt__p_wxPreviewControlBar,
26308 _swigt__p_wxPyPreviewControlBar,
26309 _swigt__p_wxColour,
26310 _swigt__p_wxToolBar,
26311 _swigt__p_wxPageSetupDialogData,
26312 _swigt__p_wxPrintDialogData,
26313 0
26314 };
26315
26316
26317 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26318
26319 static swig_const_info swig_const_table[] = {
26320 {0}};
26321
26322 #ifdef __cplusplus
26323 }
26324 #endif
26325
26326 #ifdef __cplusplus
26327 extern "C"
26328 #endif
26329 SWIGEXPORT(void) SWIG_init(void) {
26330 static PyObject *SWIG_globals = 0;
26331 static int typeinit = 0;
26332 PyObject *m, *d;
26333 int i;
26334 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26335 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26336 d = PyModule_GetDict(m);
26337
26338 if (!typeinit) {
26339 for (i = 0; swig_types_initial[i]; i++) {
26340 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26341 }
26342 typeinit = 1;
26343 }
26344 SWIG_InstallConstants(d,swig_const_table);
26345
26346 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26347 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26348 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26349 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26350 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26351 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26352 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26353 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26354 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26355 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26356 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26357 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26358 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26359 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26360 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26361 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26362 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26363 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26364 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26365 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26366 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26367 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26368 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26369 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26370 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26371 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26372 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26373 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26374 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26375 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26376 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26377 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26378 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26379 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26380 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26381 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26382 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26383 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26384 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26385 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26386 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26387 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26388 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26389 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26390 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26391 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26392 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26393 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26394 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26395 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26396 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26397 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26398 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26399 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26400 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26401 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26402 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26403 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26404 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26405 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26406 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26407 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26408 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26409 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26410 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26411 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26412 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26413 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26414 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26415 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26416 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26417 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26418 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26419 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26420 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26421 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26422 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26423 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26424 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26425 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26426 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26427 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26428 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26429 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26430 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26431 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26432 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26433 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26434 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26435 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26436 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26437 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26438 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26439
26440 // Map renamed classes back to their common name for OOR
26441 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26442 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26443 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26444
26445 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26446 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26447 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26448 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26449 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26450 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26451 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26452 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26453 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26454 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26455 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26456 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26457 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26458 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26459 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26460 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26461 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26462 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26463 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26464 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26465 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26466 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26467 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26468 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26469 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26470 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26471 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26472 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26473 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26474 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26475 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26476 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26477 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26478 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26479 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26480 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26481 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26482 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26483 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26484 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26485 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26486 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26487 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26488 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26489 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26490 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26491 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26492 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26493 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26494 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26495 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26496 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26497 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26498 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26499 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26500 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26501 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26502 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26503 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26504 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26505
26506 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26507
26508 }
26509