]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Sorted and added StaticBox, StaticLine
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxPrintData swig_types[5]
215 #define SWIGTYPE_p_wxFontData swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
231 #define SWIGTYPE_p_wxColourData swig_types[22]
232 #define SWIGTYPE_p_wxNotifyEvent swig_types[23]
233 #define SWIGTYPE_p_wxPyWindow swig_types[24]
234 #define SWIGTYPE_p_wxSplashScreen swig_types[25]
235 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
236 #define SWIGTYPE_p_wxProgressDialog swig_types[27]
237 #define SWIGTYPE_p_wxMessageDialog swig_types[28]
238 #define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
239 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
240 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxFileDialog swig_types[32]
242 #define SWIGTYPE_p_wxPrinter swig_types[33]
243 #define SWIGTYPE_p_wxArrayInt swig_types[34]
244 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
245 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
247 #define SWIGTYPE_p_wxPyVListBox swig_types[38]
248 #define SWIGTYPE_p_wxRect swig_types[39]
249 #define SWIGTYPE_p_char swig_types[40]
250 #define SWIGTYPE_p_wxMiniFrame swig_types[41]
251 #define SWIGTYPE_p_wxFrame swig_types[42]
252 #define SWIGTYPE_p_wxPyPrintout swig_types[43]
253 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
254 #define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
255 #define SWIGTYPE_p_wxStatusBar swig_types[46]
256 #define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
257 #define SWIGTYPE_p_wxPoint swig_types[48]
258 #define SWIGTYPE_p_wxObject swig_types[49]
259 #define SWIGTYPE_p_wxOutputStream swig_types[50]
260 #define SWIGTYPE_p_unsigned_long swig_types[51]
261 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
262 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
263 #define SWIGTYPE_p_wxTipWindow swig_types[54]
264 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
265 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
266 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[58]
268 #define SWIGTYPE_p_wxPopupWindow swig_types[59]
269 #define SWIGTYPE_p_wxSashWindow swig_types[60]
270 #define SWIGTYPE_p_wxTopLevelWindow swig_types[61]
271 #define SWIGTYPE_p_wxWindow swig_types[62]
272 #define SWIGTYPE_p_wxScrolledWindow swig_types[63]
273 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
274 #define SWIGTYPE_p_wxMenuBar swig_types[65]
275 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
276 #define SWIGTYPE_p_wxSashEvent swig_types[67]
277 #define SWIGTYPE_p_wxString swig_types[68]
278 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
279 #define SWIGTYPE_p_wxFontDialog swig_types[70]
280 #define SWIGTYPE_p_wxDirDialog swig_types[71]
281 #define SWIGTYPE_p_wxColourDialog swig_types[72]
282 #define SWIGTYPE_p_wxDialog swig_types[73]
283 #define SWIGTYPE_p_wxPanel swig_types[74]
284 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
285 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
286 #define SWIGTYPE_p_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 * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2438 PyObject *obj;
2439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2440 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2441 Py_INCREF(obj);
2442 return Py_BuildValue((char *)"");
2443 }
2444 static int _wrap_FrameNameStr_set(PyObject *_val) {
2445 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2446 return 1;
2447 }
2448
2449
2450 static PyObject *_wrap_FrameNameStr_get() {
2451 PyObject *pyobj;
2452
2453 {
2454 #if wxUSE_UNICODE
2455 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2456 #else
2457 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2458 #endif
2459 }
2460 return pyobj;
2461 }
2462
2463
2464 static int _wrap_DialogNameStr_set(PyObject *_val) {
2465 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2466 return 1;
2467 }
2468
2469
2470 static PyObject *_wrap_DialogNameStr_get() {
2471 PyObject *pyobj;
2472
2473 {
2474 #if wxUSE_UNICODE
2475 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2476 #else
2477 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2478 #endif
2479 }
2480 return pyobj;
2481 }
2482
2483
2484 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2485 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2486 return 1;
2487 }
2488
2489
2490 static PyObject *_wrap_StatusLineNameStr_get() {
2491 PyObject *pyobj;
2492
2493 {
2494 #if wxUSE_UNICODE
2495 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2496 #else
2497 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2498 #endif
2499 }
2500 return pyobj;
2501 }
2502
2503
2504 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2505 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2506 return 1;
2507 }
2508
2509
2510 static PyObject *_wrap_ToolBarNameStr_get() {
2511 PyObject *pyobj;
2512
2513 {
2514 #if wxUSE_UNICODE
2515 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2516 #else
2517 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2518 #endif
2519 }
2520 return pyobj;
2521 }
2522
2523
2524 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2525 PyObject *resultobj;
2526 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2527 bool arg2 = (bool) True ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "maximize", NULL
2532 };
2533
2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2537 if (obj1) {
2538 arg2 = (bool) SWIG_AsBool(obj1);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
2543 (arg1)->Maximize(arg2);
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
2548 Py_INCREF(Py_None); resultobj = Py_None;
2549 return resultobj;
2550 fail:
2551 return NULL;
2552 }
2553
2554
2555 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2556 PyObject *resultobj;
2557 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2558 PyObject * obj0 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 (arg1)->Restore();
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 Py_INCREF(Py_None); resultobj = Py_None;
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2583 bool arg2 = (bool) True ;
2584 PyObject * obj0 = 0 ;
2585 PyObject * obj1 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self",(char *) "iconize", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2593 if (obj1) {
2594 arg2 = (bool) SWIG_AsBool(obj1);
2595 if (PyErr_Occurred()) SWIG_fail;
2596 }
2597 {
2598 PyThreadState* __tstate = wxPyBeginAllowThreads();
2599 (arg1)->Iconize(arg2);
2600
2601 wxPyEndAllowThreads(__tstate);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 Py_INCREF(Py_None); resultobj = Py_None;
2605 return resultobj;
2606 fail:
2607 return NULL;
2608 }
2609
2610
2611 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2614 bool result;
2615 PyObject * obj0 = 0 ;
2616 char *kwnames[] = {
2617 (char *) "self", NULL
2618 };
2619
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 {
2631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2632 }
2633 return resultobj;
2634 fail:
2635 return NULL;
2636 }
2637
2638
2639 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject *resultobj;
2641 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2642 bool result;
2643 PyObject * obj0 = 0 ;
2644 char *kwnames[] = {
2645 (char *) "self", NULL
2646 };
2647
2648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2651 {
2652 PyThreadState* __tstate = wxPyBeginAllowThreads();
2653 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2654
2655 wxPyEndAllowThreads(__tstate);
2656 if (PyErr_Occurred()) SWIG_fail;
2657 }
2658 {
2659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2660 }
2661 return resultobj;
2662 fail:
2663 return NULL;
2664 }
2665
2666
2667 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2670 wxIcon result;
2671 PyObject * obj0 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 {
2687 wxIcon * resultptr;
2688 resultptr = new wxIcon((wxIcon &) result);
2689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2690 }
2691 return resultobj;
2692 fail:
2693 return NULL;
2694 }
2695
2696
2697 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject *resultobj;
2699 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2700 wxIcon *arg2 = 0 ;
2701 PyObject * obj0 = 0 ;
2702 PyObject * obj1 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self",(char *) "icon", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2711 SWIG_POINTER_EXCEPTION | 0)) == -1)
2712 SWIG_fail;
2713 if (arg2 == NULL) {
2714 PyErr_SetString(PyExc_TypeError,"null reference");
2715 SWIG_fail;
2716 }
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 (arg1)->SetIcon((wxIcon const &)*arg2);
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 Py_INCREF(Py_None); resultobj = Py_None;
2725 return resultobj;
2726 fail:
2727 return NULL;
2728 }
2729
2730
2731 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj;
2733 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2734 wxIconBundle *arg2 = 0 ;
2735 PyObject * obj0 = 0 ;
2736 PyObject * obj1 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self",(char *) "icons", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2745 SWIG_POINTER_EXCEPTION | 0)) == -1)
2746 SWIG_fail;
2747 if (arg2 == NULL) {
2748 PyErr_SetString(PyExc_TypeError,"null reference");
2749 SWIG_fail;
2750 }
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 Py_INCREF(Py_None); resultobj = Py_None;
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2768 bool arg2 ;
2769 long arg3 = (long) wxFULLSCREEN_ALL ;
2770 bool result;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 char *kwnames[] = {
2775 (char *) "self",(char *) "show",(char *) "style", NULL
2776 };
2777
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2781 arg2 = (bool) SWIG_AsBool(obj1);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 if (obj2) {
2784 arg3 = (long) SWIG_AsLong(obj2);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 {
2795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2796 }
2797 return resultobj;
2798 fail:
2799 return NULL;
2800 }
2801
2802
2803 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2804 PyObject *resultobj;
2805 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2806 bool result;
2807 PyObject * obj0 = 0 ;
2808 char *kwnames[] = {
2809 (char *) "self", NULL
2810 };
2811
2812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2815 {
2816 PyThreadState* __tstate = wxPyBeginAllowThreads();
2817 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2818
2819 wxPyEndAllowThreads(__tstate);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 }
2822 {
2823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2824 }
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2834 wxString *arg2 = 0 ;
2835 bool temp2 = False ;
2836 PyObject * obj0 = 0 ;
2837 PyObject * obj1 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "title", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2845 {
2846 arg2 = wxString_in_helper(obj1);
2847 if (arg2 == NULL) SWIG_fail;
2848 temp2 = True;
2849 }
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 (arg1)->SetTitle((wxString const &)*arg2);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 Py_INCREF(Py_None); resultobj = Py_None;
2858 {
2859 if (temp2)
2860 delete arg2;
2861 }
2862 return resultobj;
2863 fail:
2864 {
2865 if (temp2)
2866 delete arg2;
2867 }
2868 return NULL;
2869 }
2870
2871
2872 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject *resultobj;
2874 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2875 wxString result;
2876 PyObject * obj0 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 {
2892 #if wxUSE_UNICODE
2893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2894 #else
2895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2896 #endif
2897 }
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2907 wxRegion *arg2 = 0 ;
2908 bool result;
2909 PyObject * obj0 = 0 ;
2910 PyObject * obj1 = 0 ;
2911 char *kwnames[] = {
2912 (char *) "self",(char *) "region", NULL
2913 };
2914
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2919 SWIG_POINTER_EXCEPTION | 0)) == -1)
2920 SWIG_fail;
2921 if (arg2 == NULL) {
2922 PyErr_SetString(PyExc_TypeError,"null reference");
2923 SWIG_fail;
2924 }
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 {
2933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2934 }
2935 return resultobj;
2936 fail:
2937 return NULL;
2938 }
2939
2940
2941 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2942 PyObject *obj;
2943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2944 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2945 Py_INCREF(obj);
2946 return Py_BuildValue((char *)"");
2947 }
2948 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxWindow *arg1 = (wxWindow *) 0 ;
2951 int arg2 ;
2952 wxString *arg3 = 0 ;
2953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2955 wxSize const &arg5_defvalue = wxDefaultSize ;
2956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2957 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2958 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2959 wxString *arg7 = (wxString *) &arg7_defvalue ;
2960 wxFrame *result;
2961 bool temp3 = False ;
2962 wxPoint temp4 ;
2963 wxSize temp5 ;
2964 bool temp7 = False ;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 PyObject * obj2 = 0 ;
2968 PyObject * obj3 = 0 ;
2969 PyObject * obj4 = 0 ;
2970 PyObject * obj5 = 0 ;
2971 PyObject * obj6 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2979 arg2 = (int const) SWIG_AsInt(obj1);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 {
2982 arg3 = wxString_in_helper(obj2);
2983 if (arg3 == NULL) SWIG_fail;
2984 temp3 = True;
2985 }
2986 if (obj3) {
2987 {
2988 arg4 = &temp4;
2989 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2990 }
2991 }
2992 if (obj4) {
2993 {
2994 arg5 = &temp5;
2995 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2996 }
2997 }
2998 if (obj5) {
2999 arg6 = (long) SWIG_AsLong(obj5);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 if (obj6) {
3003 {
3004 arg7 = wxString_in_helper(obj6);
3005 if (arg7 == NULL) SWIG_fail;
3006 temp7 = True;
3007 }
3008 }
3009 {
3010 PyThreadState* __tstate = wxPyBeginAllowThreads();
3011 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3012
3013 wxPyEndAllowThreads(__tstate);
3014 if (PyErr_Occurred()) SWIG_fail;
3015 }
3016 {
3017 resultobj = wxPyMake_wxObject(result);
3018 }
3019 {
3020 if (temp3)
3021 delete arg3;
3022 }
3023 {
3024 if (temp7)
3025 delete arg7;
3026 }
3027 return resultobj;
3028 fail:
3029 {
3030 if (temp3)
3031 delete arg3;
3032 }
3033 {
3034 if (temp7)
3035 delete arg7;
3036 }
3037 return NULL;
3038 }
3039
3040
3041 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxFrame *result;
3044 char *kwnames[] = {
3045 NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3049 {
3050 PyThreadState* __tstate = wxPyBeginAllowThreads();
3051 result = (wxFrame *)new wxFrame();
3052
3053 wxPyEndAllowThreads(__tstate);
3054 if (PyErr_Occurred()) SWIG_fail;
3055 }
3056 {
3057 resultobj = wxPyMake_wxObject(result);
3058 }
3059 return resultobj;
3060 fail:
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxFrame *arg1 = (wxFrame *) 0 ;
3068 wxWindow *arg2 = (wxWindow *) 0 ;
3069 int arg3 ;
3070 wxString *arg4 = 0 ;
3071 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3072 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3073 wxSize const &arg6_defvalue = wxDefaultSize ;
3074 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3075 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3076 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3077 wxString *arg8 = (wxString *) &arg8_defvalue ;
3078 bool result;
3079 bool temp4 = False ;
3080 wxPoint temp5 ;
3081 wxSize temp6 ;
3082 bool temp8 = False ;
3083 PyObject * obj0 = 0 ;
3084 PyObject * obj1 = 0 ;
3085 PyObject * obj2 = 0 ;
3086 PyObject * obj3 = 0 ;
3087 PyObject * obj4 = 0 ;
3088 PyObject * obj5 = 0 ;
3089 PyObject * obj6 = 0 ;
3090 PyObject * obj7 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3100 arg3 = (int const) SWIG_AsInt(obj2);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 {
3103 arg4 = wxString_in_helper(obj3);
3104 if (arg4 == NULL) SWIG_fail;
3105 temp4 = True;
3106 }
3107 if (obj4) {
3108 {
3109 arg5 = &temp5;
3110 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3111 }
3112 }
3113 if (obj5) {
3114 {
3115 arg6 = &temp6;
3116 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3117 }
3118 }
3119 if (obj6) {
3120 arg7 = (long) SWIG_AsLong(obj6);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 if (obj7) {
3124 {
3125 arg8 = wxString_in_helper(obj7);
3126 if (arg8 == NULL) SWIG_fail;
3127 temp8 = True;
3128 }
3129 }
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 {
3138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3139 }
3140 {
3141 if (temp4)
3142 delete arg4;
3143 }
3144 {
3145 if (temp8)
3146 delete arg8;
3147 }
3148 return resultobj;
3149 fail:
3150 {
3151 if (temp4)
3152 delete arg4;
3153 }
3154 {
3155 if (temp8)
3156 delete arg8;
3157 }
3158 return NULL;
3159 }
3160
3161
3162 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3163 PyObject *resultobj;
3164 wxFrame *arg1 = (wxFrame *) 0 ;
3165 wxPoint result;
3166 PyObject * obj0 = 0 ;
3167 char *kwnames[] = {
3168 (char *) "self", NULL
3169 };
3170
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 {
3182 wxPoint * resultptr;
3183 resultptr = new wxPoint((wxPoint &) result);
3184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3185 }
3186 return resultobj;
3187 fail:
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj;
3194 wxFrame *arg1 = (wxFrame *) 0 ;
3195 PyObject * obj0 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->SendSizeEvent();
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxFrame *arg1 = (wxFrame *) 0 ;
3220 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3221 PyObject * obj0 = 0 ;
3222 PyObject * obj1 = 0 ;
3223 char *kwnames[] = {
3224 (char *) "self",(char *) "menubar", NULL
3225 };
3226
3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 (arg1)->SetMenuBar(arg2);
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 Py_INCREF(Py_None); resultobj = Py_None;
3240 return resultobj;
3241 fail:
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxFrame *arg1 = (wxFrame *) 0 ;
3249 wxMenuBar *result;
3250 PyObject * obj0 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) SWIG_fail;
3264 }
3265 {
3266 resultobj = wxPyMake_wxObject(result);
3267 }
3268 return resultobj;
3269 fail:
3270 return NULL;
3271 }
3272
3273
3274 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 wxFrame *arg1 = (wxFrame *) 0 ;
3277 int arg2 ;
3278 bool result;
3279 PyObject * obj0 = 0 ;
3280 PyObject * obj1 = 0 ;
3281 char *kwnames[] = {
3282 (char *) "self",(char *) "winid", NULL
3283 };
3284
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3288 arg2 = (int) SWIG_AsInt(obj1);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 result = (bool)(arg1)->ProcessCommand(arg2);
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 {
3298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3299 }
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxFrame *arg1 = (wxFrame *) 0 ;
3309 int arg2 = (int) 1 ;
3310 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3311 int arg4 = (int) 0 ;
3312 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3313 wxString *arg5 = (wxString *) &arg5_defvalue ;
3314 wxStatusBar *result;
3315 bool temp5 = False ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 PyObject * obj2 = 0 ;
3319 PyObject * obj3 = 0 ;
3320 PyObject * obj4 = 0 ;
3321 char *kwnames[] = {
3322 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3323 };
3324
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3328 if (obj1) {
3329 arg2 = (int) SWIG_AsInt(obj1);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 if (obj2) {
3333 arg3 = (long) SWIG_AsLong(obj2);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 if (obj3) {
3337 arg4 = (int) SWIG_AsInt(obj3);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 if (obj4) {
3341 {
3342 arg5 = wxString_in_helper(obj4);
3343 if (arg5 == NULL) SWIG_fail;
3344 temp5 = True;
3345 }
3346 }
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 {
3355 resultobj = wxPyMake_wxObject(result);
3356 }
3357 {
3358 if (temp5)
3359 delete arg5;
3360 }
3361 return resultobj;
3362 fail:
3363 {
3364 if (temp5)
3365 delete arg5;
3366 }
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxFrame *arg1 = (wxFrame *) 0 ;
3374 wxStatusBar *result;
3375 PyObject * obj0 = 0 ;
3376 char *kwnames[] = {
3377 (char *) "self", NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 {
3391 resultobj = wxPyMake_wxObject(result);
3392 }
3393 return resultobj;
3394 fail:
3395 return NULL;
3396 }
3397
3398
3399 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3400 PyObject *resultobj;
3401 wxFrame *arg1 = (wxFrame *) 0 ;
3402 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "statBar", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 (arg1)->SetStatusBar(arg2);
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 Py_INCREF(Py_None); resultobj = Py_None;
3422 return resultobj;
3423 fail:
3424 return NULL;
3425 }
3426
3427
3428 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxFrame *arg1 = (wxFrame *) 0 ;
3431 wxString *arg2 = 0 ;
3432 int arg3 = (int) 0 ;
3433 bool temp2 = False ;
3434 PyObject * obj0 = 0 ;
3435 PyObject * obj1 = 0 ;
3436 PyObject * obj2 = 0 ;
3437 char *kwnames[] = {
3438 (char *) "self",(char *) "text",(char *) "number", NULL
3439 };
3440
3441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3444 {
3445 arg2 = wxString_in_helper(obj1);
3446 if (arg2 == NULL) SWIG_fail;
3447 temp2 = True;
3448 }
3449 if (obj2) {
3450 arg3 = (int) SWIG_AsInt(obj2);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 Py_INCREF(Py_None); resultobj = Py_None;
3461 {
3462 if (temp2)
3463 delete arg2;
3464 }
3465 return resultobj;
3466 fail:
3467 {
3468 if (temp2)
3469 delete arg2;
3470 }
3471 return NULL;
3472 }
3473
3474
3475 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3476 PyObject *resultobj;
3477 wxFrame *arg1 = (wxFrame *) 0 ;
3478 int arg2 ;
3479 int *arg3 = (int *) 0 ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "self",(char *) "widths", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3489 {
3490 arg2 = PyList_Size(obj1);
3491 arg3 = int_LIST_helper(obj1);
3492 if (arg3 == NULL) SWIG_fail;
3493 }
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 Py_INCREF(Py_None); resultobj = Py_None;
3502 {
3503 if (arg3) delete [] arg3;
3504 }
3505 return resultobj;
3506 fail:
3507 {
3508 if (arg3) delete [] arg3;
3509 }
3510 return NULL;
3511 }
3512
3513
3514 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxFrame *arg1 = (wxFrame *) 0 ;
3517 wxString *arg2 = 0 ;
3518 int arg3 = (int) 0 ;
3519 bool temp2 = False ;
3520 PyObject * obj0 = 0 ;
3521 PyObject * obj1 = 0 ;
3522 PyObject * obj2 = 0 ;
3523 char *kwnames[] = {
3524 (char *) "self",(char *) "text",(char *) "number", NULL
3525 };
3526
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3530 {
3531 arg2 = wxString_in_helper(obj1);
3532 if (arg2 == NULL) SWIG_fail;
3533 temp2 = True;
3534 }
3535 if (obj2) {
3536 arg3 = (int) SWIG_AsInt(obj2);
3537 if (PyErr_Occurred()) SWIG_fail;
3538 }
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 Py_INCREF(Py_None); resultobj = Py_None;
3547 {
3548 if (temp2)
3549 delete arg2;
3550 }
3551 return resultobj;
3552 fail:
3553 {
3554 if (temp2)
3555 delete arg2;
3556 }
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxFrame *arg1 = (wxFrame *) 0 ;
3564 int arg2 = (int) 0 ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self",(char *) "number", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3574 if (obj1) {
3575 arg2 = (int) SWIG_AsInt(obj1);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 (arg1)->PopStatusText(arg2);
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 Py_INCREF(Py_None); resultobj = Py_None;
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxFrame *arg1 = (wxFrame *) 0 ;
3595 int arg2 ;
3596 PyObject * obj0 = 0 ;
3597 PyObject * obj1 = 0 ;
3598 char *kwnames[] = {
3599 (char *) "self",(char *) "n", NULL
3600 };
3601
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3605 arg2 = (int) SWIG_AsInt(obj1);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 (arg1)->SetStatusBarPane(arg2);
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
3614 Py_INCREF(Py_None); resultobj = Py_None;
3615 return resultobj;
3616 fail:
3617 return NULL;
3618 }
3619
3620
3621 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3622 PyObject *resultobj;
3623 wxFrame *arg1 = (wxFrame *) 0 ;
3624 int result;
3625 PyObject * obj0 = 0 ;
3626 char *kwnames[] = {
3627 (char *) "self", NULL
3628 };
3629
3630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3636
3637 wxPyEndAllowThreads(__tstate);
3638 if (PyErr_Occurred()) SWIG_fail;
3639 }
3640 resultobj = SWIG_FromInt((int)result);
3641 return resultobj;
3642 fail:
3643 return NULL;
3644 }
3645
3646
3647 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj;
3649 wxFrame *arg1 = (wxFrame *) 0 ;
3650 long arg2 = (long) -1 ;
3651 int arg3 = (int) -1 ;
3652 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3653 wxString *arg4 = (wxString *) &arg4_defvalue ;
3654 wxToolBar *result;
3655 bool temp4 = False ;
3656 PyObject * obj0 = 0 ;
3657 PyObject * obj1 = 0 ;
3658 PyObject * obj2 = 0 ;
3659 PyObject * obj3 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3667 if (obj1) {
3668 arg2 = (long) SWIG_AsLong(obj1);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 if (obj2) {
3672 arg3 = (int) SWIG_AsInt(obj2);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 if (obj3) {
3676 {
3677 arg4 = wxString_in_helper(obj3);
3678 if (arg4 == NULL) SWIG_fail;
3679 temp4 = True;
3680 }
3681 }
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 {
3690 resultobj = wxPyMake_wxObject(result);
3691 }
3692 {
3693 if (temp4)
3694 delete arg4;
3695 }
3696 return resultobj;
3697 fail:
3698 {
3699 if (temp4)
3700 delete arg4;
3701 }
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxFrame *arg1 = (wxFrame *) 0 ;
3709 wxToolBar *result;
3710 PyObject * obj0 = 0 ;
3711 char *kwnames[] = {
3712 (char *) "self", NULL
3713 };
3714
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
3725 {
3726 resultobj = wxPyMake_wxObject(result);
3727 }
3728 return resultobj;
3729 fail:
3730 return NULL;
3731 }
3732
3733
3734 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxFrame *arg1 = (wxFrame *) 0 ;
3737 wxToolBar *arg2 = (wxToolBar *) 0 ;
3738 PyObject * obj0 = 0 ;
3739 PyObject * obj1 = 0 ;
3740 char *kwnames[] = {
3741 (char *) "self",(char *) "toolbar", NULL
3742 };
3743
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 (arg1)->SetToolBar(arg2);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 Py_INCREF(Py_None); resultobj = Py_None;
3757 return resultobj;
3758 fail:
3759 return NULL;
3760 }
3761
3762
3763 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3764 PyObject *resultobj;
3765 wxFrame *arg1 = (wxFrame *) 0 ;
3766 wxString *arg2 = 0 ;
3767 bool arg3 ;
3768 bool temp2 = False ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 PyObject * obj2 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self",(char *) "text",(char *) "show", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3779 {
3780 arg2 = wxString_in_helper(obj1);
3781 if (arg2 == NULL) SWIG_fail;
3782 temp2 = True;
3783 }
3784 arg3 = (bool) SWIG_AsBool(obj2);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 Py_INCREF(Py_None); resultobj = Py_None;
3794 {
3795 if (temp2)
3796 delete arg2;
3797 }
3798 return resultobj;
3799 fail:
3800 {
3801 if (temp2)
3802 delete arg2;
3803 }
3804 return NULL;
3805 }
3806
3807
3808 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj;
3810 wxFrame *arg1 = (wxFrame *) 0 ;
3811 wxMenu *arg2 = (wxMenu *) NULL ;
3812 PyObject * obj0 = 0 ;
3813 PyObject * obj1 = 0 ;
3814 char *kwnames[] = {
3815 (char *) "self",(char *) "menu", NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3821 if (obj1) {
3822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 (arg1)->DoMenuUpdates(arg2);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 Py_INCREF(Py_None); resultobj = Py_None;
3833 return resultobj;
3834 fail:
3835 return NULL;
3836 }
3837
3838
3839 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3840 PyObject *obj;
3841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3842 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3843 Py_INCREF(obj);
3844 return Py_BuildValue((char *)"");
3845 }
3846 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxWindow *arg1 = (wxWindow *) 0 ;
3849 int arg2 ;
3850 wxString *arg3 = 0 ;
3851 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3852 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3853 wxSize const &arg5_defvalue = wxDefaultSize ;
3854 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3855 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3856 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3857 wxString *arg7 = (wxString *) &arg7_defvalue ;
3858 wxDialog *result;
3859 bool temp3 = False ;
3860 wxPoint temp4 ;
3861 wxSize temp5 ;
3862 bool temp7 = False ;
3863 PyObject * obj0 = 0 ;
3864 PyObject * obj1 = 0 ;
3865 PyObject * obj2 = 0 ;
3866 PyObject * obj3 = 0 ;
3867 PyObject * obj4 = 0 ;
3868 PyObject * obj5 = 0 ;
3869 PyObject * obj6 = 0 ;
3870 char *kwnames[] = {
3871 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3872 };
3873
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3877 arg2 = (int const) SWIG_AsInt(obj1);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 {
3880 arg3 = wxString_in_helper(obj2);
3881 if (arg3 == NULL) SWIG_fail;
3882 temp3 = True;
3883 }
3884 if (obj3) {
3885 {
3886 arg4 = &temp4;
3887 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3888 }
3889 }
3890 if (obj4) {
3891 {
3892 arg5 = &temp5;
3893 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3894 }
3895 }
3896 if (obj5) {
3897 arg6 = (long) SWIG_AsLong(obj5);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 if (obj6) {
3901 {
3902 arg7 = wxString_in_helper(obj6);
3903 if (arg7 == NULL) SWIG_fail;
3904 temp7 = True;
3905 }
3906 }
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3915 {
3916 if (temp3)
3917 delete arg3;
3918 }
3919 {
3920 if (temp7)
3921 delete arg7;
3922 }
3923 return resultobj;
3924 fail:
3925 {
3926 if (temp3)
3927 delete arg3;
3928 }
3929 {
3930 if (temp7)
3931 delete arg7;
3932 }
3933 return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxDialog *result;
3940 char *kwnames[] = {
3941 NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 result = (wxDialog *)new wxDialog();
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxDialog *arg1 = (wxDialog *) 0 ;
3962 wxWindow *arg2 = (wxWindow *) 0 ;
3963 int arg3 ;
3964 wxString *arg4 = 0 ;
3965 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3966 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3967 wxSize const &arg6_defvalue = wxDefaultSize ;
3968 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3969 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3970 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3971 wxString *arg8 = (wxString *) &arg8_defvalue ;
3972 bool result;
3973 bool temp4 = False ;
3974 wxPoint temp5 ;
3975 wxSize temp6 ;
3976 bool temp8 = False ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 PyObject * obj2 = 0 ;
3980 PyObject * obj3 = 0 ;
3981 PyObject * obj4 = 0 ;
3982 PyObject * obj5 = 0 ;
3983 PyObject * obj6 = 0 ;
3984 PyObject * obj7 = 0 ;
3985 char *kwnames[] = {
3986 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
3991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3994 arg3 = (int const) SWIG_AsInt(obj2);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 {
3997 arg4 = wxString_in_helper(obj3);
3998 if (arg4 == NULL) SWIG_fail;
3999 temp4 = True;
4000 }
4001 if (obj4) {
4002 {
4003 arg5 = &temp5;
4004 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4005 }
4006 }
4007 if (obj5) {
4008 {
4009 arg6 = &temp6;
4010 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4011 }
4012 }
4013 if (obj6) {
4014 arg7 = (long) SWIG_AsLong(obj6);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 if (obj7) {
4018 {
4019 arg8 = wxString_in_helper(obj7);
4020 if (arg8 == NULL) SWIG_fail;
4021 temp8 = True;
4022 }
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 {
4032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4033 }
4034 {
4035 if (temp4)
4036 delete arg4;
4037 }
4038 {
4039 if (temp8)
4040 delete arg8;
4041 }
4042 return resultobj;
4043 fail:
4044 {
4045 if (temp4)
4046 delete arg4;
4047 }
4048 {
4049 if (temp8)
4050 delete arg8;
4051 }
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxDialog *arg1 = (wxDialog *) 0 ;
4059 int arg2 ;
4060 PyObject * obj0 = 0 ;
4061 PyObject * obj1 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "returnCode", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4069 arg2 = (int) SWIG_AsInt(obj1);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 (arg1)->SetReturnCode(arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 Py_INCREF(Py_None); resultobj = Py_None;
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxDialog *arg1 = (wxDialog *) 0 ;
4088 int result;
4089 PyObject * obj0 = 0 ;
4090 char *kwnames[] = {
4091 (char *) "self", NULL
4092 };
4093
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 resultobj = SWIG_FromInt((int)result);
4105 return resultobj;
4106 fail:
4107 return NULL;
4108 }
4109
4110
4111 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxDialog *arg1 = (wxDialog *) 0 ;
4114 wxString *arg2 = 0 ;
4115 wxSizer *result;
4116 bool temp2 = False ;
4117 PyObject * obj0 = 0 ;
4118 PyObject * obj1 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "self",(char *) "message", NULL
4121 };
4122
4123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4126 {
4127 arg2 = wxString_in_helper(obj1);
4128 if (arg2 == NULL) SWIG_fail;
4129 temp2 = True;
4130 }
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 {
4139 resultobj = wxPyMake_wxSizer(result);
4140 }
4141 {
4142 if (temp2)
4143 delete arg2;
4144 }
4145 return resultobj;
4146 fail:
4147 {
4148 if (temp2)
4149 delete arg2;
4150 }
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 wxDialog *arg1 = (wxDialog *) 0 ;
4158 long arg2 ;
4159 wxSizer *result;
4160 PyObject * obj0 = 0 ;
4161 PyObject * obj1 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self",(char *) "flags", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4169 arg2 = (long) SWIG_AsLong(obj1);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4174
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 {
4179 resultobj = wxPyMake_wxSizer(result);
4180 }
4181 return resultobj;
4182 fail:
4183 return NULL;
4184 }
4185
4186
4187 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxDialog *arg1 = (wxDialog *) 0 ;
4190 bool result;
4191 PyObject * obj0 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (bool)((wxDialog const *)arg1)->IsModal();
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 {
4207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4208 }
4209 return resultobj;
4210 fail:
4211 return NULL;
4212 }
4213
4214
4215 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4216 PyObject *resultobj;
4217 wxDialog *arg1 = (wxDialog *) 0 ;
4218 int result;
4219 PyObject * obj0 = 0 ;
4220 char *kwnames[] = {
4221 (char *) "self", NULL
4222 };
4223
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (int)(arg1)->ShowModal();
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 resultobj = SWIG_FromInt((int)result);
4235 return resultobj;
4236 fail:
4237 return NULL;
4238 }
4239
4240
4241 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 wxDialog *arg1 = (wxDialog *) 0 ;
4244 int arg2 ;
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "retCode", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4254 arg2 = (int) SWIG_AsInt(obj1);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 {
4257 PyThreadState* __tstate = wxPyBeginAllowThreads();
4258 (arg1)->EndModal(arg2);
4259
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 Py_INCREF(Py_None); resultobj = Py_None;
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4271 PyObject *obj;
4272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4273 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4274 Py_INCREF(obj);
4275 return Py_BuildValue((char *)"");
4276 }
4277 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxWindow *arg1 = (wxWindow *) 0 ;
4280 int arg2 ;
4281 wxString *arg3 = 0 ;
4282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4284 wxSize const &arg5_defvalue = wxDefaultSize ;
4285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4286 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4287 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4288 wxString *arg7 = (wxString *) &arg7_defvalue ;
4289 wxMiniFrame *result;
4290 bool temp3 = False ;
4291 wxPoint temp4 ;
4292 wxSize temp5 ;
4293 bool temp7 = False ;
4294 PyObject * obj0 = 0 ;
4295 PyObject * obj1 = 0 ;
4296 PyObject * obj2 = 0 ;
4297 PyObject * obj3 = 0 ;
4298 PyObject * obj4 = 0 ;
4299 PyObject * obj5 = 0 ;
4300 PyObject * obj6 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4308 arg2 = (int const) SWIG_AsInt(obj1);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 {
4311 arg3 = wxString_in_helper(obj2);
4312 if (arg3 == NULL) SWIG_fail;
4313 temp3 = True;
4314 }
4315 if (obj3) {
4316 {
4317 arg4 = &temp4;
4318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4319 }
4320 }
4321 if (obj4) {
4322 {
4323 arg5 = &temp5;
4324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4325 }
4326 }
4327 if (obj5) {
4328 arg6 = (long) SWIG_AsLong(obj5);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 if (obj6) {
4332 {
4333 arg7 = wxString_in_helper(obj6);
4334 if (arg7 == NULL) SWIG_fail;
4335 temp7 = True;
4336 }
4337 }
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4346 {
4347 if (temp3)
4348 delete arg3;
4349 }
4350 {
4351 if (temp7)
4352 delete arg7;
4353 }
4354 return resultobj;
4355 fail:
4356 {
4357 if (temp3)
4358 delete arg3;
4359 }
4360 {
4361 if (temp7)
4362 delete arg7;
4363 }
4364 return NULL;
4365 }
4366
4367
4368 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4369 PyObject *resultobj;
4370 wxMiniFrame *result;
4371 char *kwnames[] = {
4372 NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 result = (wxMiniFrame *)new wxMiniFrame();
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4393 wxWindow *arg2 = (wxWindow *) 0 ;
4394 int arg3 ;
4395 wxString *arg4 = 0 ;
4396 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4397 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4398 wxSize const &arg6_defvalue = wxDefaultSize ;
4399 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4400 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4401 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4402 wxString *arg8 = (wxString *) &arg8_defvalue ;
4403 bool result;
4404 bool temp4 = False ;
4405 wxPoint temp5 ;
4406 wxSize temp6 ;
4407 bool temp8 = False ;
4408 PyObject * obj0 = 0 ;
4409 PyObject * obj1 = 0 ;
4410 PyObject * obj2 = 0 ;
4411 PyObject * obj3 = 0 ;
4412 PyObject * obj4 = 0 ;
4413 PyObject * obj5 = 0 ;
4414 PyObject * obj6 = 0 ;
4415 PyObject * obj7 = 0 ;
4416 char *kwnames[] = {
4417 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4418 };
4419
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4425 arg3 = (int const) SWIG_AsInt(obj2);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 {
4428 arg4 = wxString_in_helper(obj3);
4429 if (arg4 == NULL) SWIG_fail;
4430 temp4 = True;
4431 }
4432 if (obj4) {
4433 {
4434 arg5 = &temp5;
4435 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4436 }
4437 }
4438 if (obj5) {
4439 {
4440 arg6 = &temp6;
4441 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4442 }
4443 }
4444 if (obj6) {
4445 arg7 = (long) SWIG_AsLong(obj6);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 if (obj7) {
4449 {
4450 arg8 = wxString_in_helper(obj7);
4451 if (arg8 == NULL) SWIG_fail;
4452 temp8 = True;
4453 }
4454 }
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 {
4463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4464 }
4465 {
4466 if (temp4)
4467 delete arg4;
4468 }
4469 {
4470 if (temp8)
4471 delete arg8;
4472 }
4473 return resultobj;
4474 fail:
4475 {
4476 if (temp4)
4477 delete arg4;
4478 }
4479 {
4480 if (temp8)
4481 delete arg8;
4482 }
4483 return NULL;
4484 }
4485
4486
4487 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4488 PyObject *obj;
4489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4490 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4491 Py_INCREF(obj);
4492 return Py_BuildValue((char *)"");
4493 }
4494 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 wxBitmap *arg1 = 0 ;
4497 wxWindow *arg2 = (wxWindow *) 0 ;
4498 int arg3 ;
4499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4501 wxSize const &arg5_defvalue = wxDefaultSize ;
4502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4503 long arg6 = (long) wxNO_BORDER ;
4504 wxSplashScreenWindow *result;
4505 wxPoint temp4 ;
4506 wxSize temp5 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 PyObject * obj2 = 0 ;
4510 PyObject * obj3 = 0 ;
4511 PyObject * obj4 = 0 ;
4512 PyObject * obj5 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4519 SWIG_POINTER_EXCEPTION | 0)) == -1)
4520 SWIG_fail;
4521 if (arg1 == NULL) {
4522 PyErr_SetString(PyExc_TypeError,"null reference");
4523 SWIG_fail;
4524 }
4525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4527 arg3 = (int) SWIG_AsInt(obj2);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 if (obj3) {
4530 {
4531 arg4 = &temp4;
4532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4533 }
4534 }
4535 if (obj4) {
4536 {
4537 arg5 = &temp5;
4538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4539 }
4540 }
4541 if (obj5) {
4542 arg6 = (long) SWIG_AsLong(obj5);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4562 wxBitmap *arg2 = 0 ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "bitmap", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4573 SWIG_POINTER_EXCEPTION | 0)) == -1)
4574 SWIG_fail;
4575 if (arg2 == NULL) {
4576 PyErr_SetString(PyExc_TypeError,"null reference");
4577 SWIG_fail;
4578 }
4579 {
4580 PyThreadState* __tstate = wxPyBeginAllowThreads();
4581 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4582
4583 wxPyEndAllowThreads(__tstate);
4584 if (PyErr_Occurred()) SWIG_fail;
4585 }
4586 Py_INCREF(Py_None); resultobj = Py_None;
4587 return resultobj;
4588 fail:
4589 return NULL;
4590 }
4591
4592
4593 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject *resultobj;
4595 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4596 wxBitmap *result;
4597 PyObject * obj0 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "self", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 {
4608 wxBitmap &_result_ref = (arg1)->GetBitmap();
4609 result = (wxBitmap *) &_result_ref;
4610 }
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 {
4616 wxBitmap* resultptr = new wxBitmap(*result);
4617 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4618 }
4619 return resultobj;
4620 fail:
4621 return NULL;
4622 }
4623
4624
4625 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4626 PyObject *obj;
4627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4628 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4629 Py_INCREF(obj);
4630 return Py_BuildValue((char *)"");
4631 }
4632 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxBitmap *arg1 = 0 ;
4635 long arg2 ;
4636 int arg3 ;
4637 wxWindow *arg4 = (wxWindow *) 0 ;
4638 int arg5 ;
4639 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4640 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4641 wxSize const &arg7_defvalue = wxDefaultSize ;
4642 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4643 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4644 wxSplashScreen *result;
4645 wxPoint temp6 ;
4646 wxSize temp7 ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 PyObject * obj2 = 0 ;
4650 PyObject * obj3 = 0 ;
4651 PyObject * obj4 = 0 ;
4652 PyObject * obj5 = 0 ;
4653 PyObject * obj6 = 0 ;
4654 PyObject * obj7 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1)
4662 SWIG_fail;
4663 if (arg1 == NULL) {
4664 PyErr_SetString(PyExc_TypeError,"null reference");
4665 SWIG_fail;
4666 }
4667 arg2 = (long) SWIG_AsLong(obj1);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 arg3 = (int) SWIG_AsInt(obj2);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4673 arg5 = (int) SWIG_AsInt(obj4);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 if (obj5) {
4676 {
4677 arg6 = &temp6;
4678 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4679 }
4680 }
4681 if (obj6) {
4682 {
4683 arg7 = &temp7;
4684 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4685 }
4686 }
4687 if (obj7) {
4688 arg8 = (long) SWIG_AsLong(obj7);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4708 long result;
4709 PyObject * obj0 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "self", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_FromLong((long)result);
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4734 wxSplashScreenWindow *result;
4735 PyObject * obj0 = 0 ;
4736 char *kwnames[] = {
4737 (char *) "self", NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4760 int result;
4761 PyObject * obj0 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 resultobj = SWIG_FromInt((int)result);
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4784 PyObject *obj;
4785 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4786 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4787 Py_INCREF(obj);
4788 return Py_BuildValue((char *)"");
4789 }
4790 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxWindow *arg1 = (wxWindow *) 0 ;
4793 int arg2 = (int) -1 ;
4794 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4795 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4796 wxString *arg4 = (wxString *) &arg4_defvalue ;
4797 wxStatusBar *result;
4798 bool temp4 = False ;
4799 PyObject * obj0 = 0 ;
4800 PyObject * obj1 = 0 ;
4801 PyObject * obj2 = 0 ;
4802 PyObject * obj3 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4810 if (obj1) {
4811 arg2 = (int) SWIG_AsInt(obj1);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 if (obj2) {
4815 arg3 = (long) SWIG_AsLong(obj2);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 if (obj3) {
4819 {
4820 arg4 = wxString_in_helper(obj3);
4821 if (arg4 == NULL) SWIG_fail;
4822 temp4 = True;
4823 }
4824 }
4825 {
4826 PyThreadState* __tstate = wxPyBeginAllowThreads();
4827 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4828
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 resultobj = wxPyMake_wxObject(result);
4834 }
4835 {
4836 if (temp4)
4837 delete arg4;
4838 }
4839 return resultobj;
4840 fail:
4841 {
4842 if (temp4)
4843 delete arg4;
4844 }
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxStatusBar *result;
4852 char *kwnames[] = {
4853 NULL
4854 };
4855
4856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (wxStatusBar *)new wxStatusBar();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 {
4865 resultobj = wxPyMake_wxObject(result);
4866 }
4867 return resultobj;
4868 fail:
4869 return NULL;
4870 }
4871
4872
4873 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4876 wxWindow *arg2 = (wxWindow *) 0 ;
4877 int arg3 ;
4878 long arg4 = (long) wxST_SIZEGRIP ;
4879 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4880 wxString *arg5 = (wxString *) &arg5_defvalue ;
4881 bool result;
4882 bool temp5 = False ;
4883 PyObject * obj0 = 0 ;
4884 PyObject * obj1 = 0 ;
4885 PyObject * obj2 = 0 ;
4886 PyObject * obj3 = 0 ;
4887 PyObject * obj4 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4897 arg3 = (int) SWIG_AsInt(obj2);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 if (obj3) {
4900 arg4 = (long) SWIG_AsLong(obj3);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 if (obj4) {
4904 {
4905 arg5 = wxString_in_helper(obj4);
4906 if (arg5 == NULL) SWIG_fail;
4907 temp5 = True;
4908 }
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 {
4918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4919 }
4920 {
4921 if (temp5)
4922 delete arg5;
4923 }
4924 return resultobj;
4925 fail:
4926 {
4927 if (temp5)
4928 delete arg5;
4929 }
4930 return NULL;
4931 }
4932
4933
4934 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4937 int arg2 = (int) 1 ;
4938 PyObject * obj0 = 0 ;
4939 PyObject * obj1 = 0 ;
4940 char *kwnames[] = {
4941 (char *) "self",(char *) "number", NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4947 if (obj1) {
4948 arg2 = (int) SWIG_AsInt(obj1);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->SetFieldsCount(arg2);
4954
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 Py_INCREF(Py_None); resultobj = Py_None;
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4968 int result;
4969 PyObject * obj0 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
4976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 resultobj = SWIG_FromInt((int)result);
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4994 wxString *arg2 = 0 ;
4995 int arg3 = (int) 0 ;
4996 bool temp2 = False ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 PyObject * obj2 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "self",(char *) "text",(char *) "number", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5007 {
5008 arg2 = wxString_in_helper(obj1);
5009 if (arg2 == NULL) SWIG_fail;
5010 temp2 = True;
5011 }
5012 if (obj2) {
5013 arg3 = (int) SWIG_AsInt(obj2);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5019
5020 wxPyEndAllowThreads(__tstate);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 Py_INCREF(Py_None); resultobj = Py_None;
5024 {
5025 if (temp2)
5026 delete arg2;
5027 }
5028 return resultobj;
5029 fail:
5030 {
5031 if (temp2)
5032 delete arg2;
5033 }
5034 return NULL;
5035 }
5036
5037
5038 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj;
5040 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5041 int arg2 = (int) 0 ;
5042 wxString result;
5043 PyObject * obj0 = 0 ;
5044 PyObject * obj1 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "number", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5052 if (obj1) {
5053 arg2 = (int) SWIG_AsInt(obj1);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 {
5064 #if wxUSE_UNICODE
5065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5066 #else
5067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5068 #endif
5069 }
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5079 wxString *arg2 = 0 ;
5080 int arg3 = (int) 0 ;
5081 bool temp2 = False ;
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 PyObject * obj2 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "text",(char *) "number", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5092 {
5093 arg2 = wxString_in_helper(obj1);
5094 if (arg2 == NULL) SWIG_fail;
5095 temp2 = True;
5096 }
5097 if (obj2) {
5098 arg3 = (int) SWIG_AsInt(obj2);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 Py_INCREF(Py_None); resultobj = Py_None;
5109 {
5110 if (temp2)
5111 delete arg2;
5112 }
5113 return resultobj;
5114 fail:
5115 {
5116 if (temp2)
5117 delete arg2;
5118 }
5119 return NULL;
5120 }
5121
5122
5123 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5124 PyObject *resultobj;
5125 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5126 int arg2 = (int) 0 ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self",(char *) "number", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5136 if (obj1) {
5137 arg2 = (int) SWIG_AsInt(obj1);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 (arg1)->PopStatusText(arg2);
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 Py_INCREF(Py_None); resultobj = Py_None;
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5157 int arg2 ;
5158 int *arg3 = (int *) 0 ;
5159 PyObject * obj0 = 0 ;
5160 PyObject * obj1 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self",(char *) "widths", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5168 {
5169 arg2 = PyList_Size(obj1);
5170 arg3 = int_LIST_helper(obj1);
5171 if (arg3 == NULL) SWIG_fail;
5172 }
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 Py_INCREF(Py_None); resultobj = Py_None;
5181 {
5182 if (arg3) delete [] arg3;
5183 }
5184 return resultobj;
5185 fail:
5186 {
5187 if (arg3) delete [] arg3;
5188 }
5189 return NULL;
5190 }
5191
5192
5193 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5196 int arg2 ;
5197 wxRect result;
5198 PyObject * obj0 = 0 ;
5199 PyObject * obj1 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self",(char *) "i", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5207 arg2 = (int) SWIG_AsInt(obj1);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 result = wxStatusBar_GetFieldRect(arg1,arg2);
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 {
5217 wxRect * resultptr;
5218 resultptr = new wxRect((wxRect &) result);
5219 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5220 }
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5230 int arg2 ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self",(char *) "height", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5240 arg2 = (int) SWIG_AsInt(obj1);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 (arg1)->SetMinHeight(arg2);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 Py_INCREF(Py_None); resultobj = Py_None;
5250 return resultobj;
5251 fail:
5252 return NULL;
5253 }
5254
5255
5256 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj;
5258 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5259 int result;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 resultobj = SWIG_FromInt((int)result);
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5285 int result;
5286 PyObject * obj0 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 resultobj = SWIG_FromInt((int)result);
5302 return resultobj;
5303 fail:
5304 return NULL;
5305 }
5306
5307
5308 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5309 PyObject *obj;
5310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5311 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5312 Py_INCREF(obj);
5313 return Py_BuildValue((char *)"");
5314 }
5315 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5316 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5317 return 1;
5318 }
5319
5320
5321 static PyObject *_wrap_SplitterNameStr_get() {
5322 PyObject *pyobj;
5323
5324 {
5325 #if wxUSE_UNICODE
5326 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5327 #else
5328 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5329 #endif
5330 }
5331 return pyobj;
5332 }
5333
5334
5335 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxWindow *arg1 = (wxWindow *) 0 ;
5338 int arg2 = (int) -1 ;
5339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5341 wxSize const &arg4_defvalue = wxDefaultSize ;
5342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5343 long arg5 = (long) wxSP_3D ;
5344 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5345 wxString *arg6 = (wxString *) &arg6_defvalue ;
5346 wxSplitterWindow *result;
5347 wxPoint temp3 ;
5348 wxSize temp4 ;
5349 bool temp6 = False ;
5350 PyObject * obj0 = 0 ;
5351 PyObject * obj1 = 0 ;
5352 PyObject * obj2 = 0 ;
5353 PyObject * obj3 = 0 ;
5354 PyObject * obj4 = 0 ;
5355 PyObject * obj5 = 0 ;
5356 char *kwnames[] = {
5357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5358 };
5359
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5363 if (obj1) {
5364 arg2 = (int) SWIG_AsInt(obj1);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 if (obj2) {
5368 {
5369 arg3 = &temp3;
5370 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5371 }
5372 }
5373 if (obj3) {
5374 {
5375 arg4 = &temp4;
5376 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5377 }
5378 }
5379 if (obj4) {
5380 arg5 = (long) SWIG_AsLong(obj4);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 if (obj5) {
5384 {
5385 arg6 = wxString_in_helper(obj5);
5386 if (arg6 == NULL) SWIG_fail;
5387 temp6 = True;
5388 }
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
5397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5398 {
5399 if (temp6)
5400 delete arg6;
5401 }
5402 return resultobj;
5403 fail:
5404 {
5405 if (temp6)
5406 delete arg6;
5407 }
5408 return NULL;
5409 }
5410
5411
5412 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5413 PyObject *resultobj;
5414 wxSplitterWindow *result;
5415 char *kwnames[] = {
5416 NULL
5417 };
5418
5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = (wxSplitterWindow *)new wxSplitterWindow();
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5428 return resultobj;
5429 fail:
5430 return NULL;
5431 }
5432
5433
5434 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5435 PyObject *resultobj;
5436 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5437 wxWindow *arg2 = (wxWindow *) 0 ;
5438 int arg3 = (int) -1 ;
5439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5441 wxSize const &arg5_defvalue = wxDefaultSize ;
5442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5443 long arg6 = (long) wxSP_3D ;
5444 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5445 wxString *arg7 = (wxString *) &arg7_defvalue ;
5446 bool result;
5447 wxPoint temp4 ;
5448 wxSize temp5 ;
5449 bool temp7 = False ;
5450 PyObject * obj0 = 0 ;
5451 PyObject * obj1 = 0 ;
5452 PyObject * obj2 = 0 ;
5453 PyObject * obj3 = 0 ;
5454 PyObject * obj4 = 0 ;
5455 PyObject * obj5 = 0 ;
5456 PyObject * obj6 = 0 ;
5457 char *kwnames[] = {
5458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5459 };
5460
5461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5466 if (obj2) {
5467 arg3 = (int) SWIG_AsInt(obj2);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 if (obj3) {
5471 {
5472 arg4 = &temp4;
5473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5474 }
5475 }
5476 if (obj4) {
5477 {
5478 arg5 = &temp5;
5479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5480 }
5481 }
5482 if (obj5) {
5483 arg6 = (long) SWIG_AsLong(obj5);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 if (obj6) {
5487 {
5488 arg7 = wxString_in_helper(obj6);
5489 if (arg7 == NULL) SWIG_fail;
5490 temp7 = True;
5491 }
5492 }
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5502 }
5503 {
5504 if (temp7)
5505 delete arg7;
5506 }
5507 return resultobj;
5508 fail:
5509 {
5510 if (temp7)
5511 delete arg7;
5512 }
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5520 wxWindow *result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 {
5537 resultobj = wxPyMake_wxObject(result);
5538 }
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5548 wxWindow *result;
5549 PyObject * obj0 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 resultobj = wxPyMake_wxObject(result);
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5576 int arg2 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "mode", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5586 arg2 = (int) SWIG_AsInt(obj1);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 (arg1)->SetSplitMode(arg2);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 Py_INCREF(Py_None); resultobj = Py_None;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5605 int result;
5606 PyObject * obj0 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5614 {
5615 PyThreadState* __tstate = wxPyBeginAllowThreads();
5616 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5617
5618 wxPyEndAllowThreads(__tstate);
5619 if (PyErr_Occurred()) SWIG_fail;
5620 }
5621 resultobj = SWIG_FromInt((int)result);
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5631 wxWindow *arg2 = (wxWindow *) 0 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "window", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 (arg1)->Initialize(arg2);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 Py_INCREF(Py_None); resultobj = Py_None;
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5660 wxWindow *arg2 = (wxWindow *) 0 ;
5661 wxWindow *arg3 = (wxWindow *) 0 ;
5662 int arg4 = (int) 0 ;
5663 bool result;
5664 PyObject * obj0 = 0 ;
5665 PyObject * obj1 = 0 ;
5666 PyObject * obj2 = 0 ;
5667 PyObject * obj3 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5677 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5679 if (obj3) {
5680 arg4 = (int) SWIG_AsInt(obj3);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 {
5691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5692 }
5693 return resultobj;
5694 fail:
5695 return NULL;
5696 }
5697
5698
5699 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5702 wxWindow *arg2 = (wxWindow *) 0 ;
5703 wxWindow *arg3 = (wxWindow *) 0 ;
5704 int arg4 = (int) 0 ;
5705 bool result;
5706 PyObject * obj0 = 0 ;
5707 PyObject * obj1 = 0 ;
5708 PyObject * obj2 = 0 ;
5709 PyObject * obj3 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5719 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5721 if (obj3) {
5722 arg4 = (int) SWIG_AsInt(obj3);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 {
5733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5734 }
5735 return resultobj;
5736 fail:
5737 return NULL;
5738 }
5739
5740
5741 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5744 wxWindow *arg2 = (wxWindow *) NULL ;
5745 bool result;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "toRemove", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 if (obj1) {
5756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5758 }
5759 {
5760 PyThreadState* __tstate = wxPyBeginAllowThreads();
5761 result = (bool)(arg1)->Unsplit(arg2);
5762
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5768 }
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5778 wxWindow *arg2 = (wxWindow *) 0 ;
5779 wxWindow *arg3 = (wxWindow *) 0 ;
5780 bool result;
5781 PyObject * obj0 = 0 ;
5782 PyObject * obj1 = 0 ;
5783 PyObject * obj2 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5793 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 {
5803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5804 }
5805 return resultobj;
5806 fail:
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5814 PyObject * obj0 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 (arg1)->UpdateSize();
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 Py_INCREF(Py_None); resultobj = Py_None;
5830 return resultobj;
5831 fail:
5832 return NULL;
5833 }
5834
5835
5836 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj;
5838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5839 bool result;
5840 PyObject * obj0 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 {
5856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5857 }
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5867 int arg2 ;
5868 PyObject * obj0 = 0 ;
5869 PyObject * obj1 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "width", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5877 arg2 = (int) SWIG_AsInt(obj1);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetSashSize(arg2);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5896 int arg2 ;
5897 PyObject * obj0 = 0 ;
5898 PyObject * obj1 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self",(char *) "width", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 arg2 = (int) SWIG_AsInt(obj1);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 (arg1)->SetBorderSize(arg2);
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 Py_INCREF(Py_None); resultobj = Py_None;
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5925 int result;
5926 PyObject * obj0 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 resultobj = SWIG_FromInt((int)result);
5942 return resultobj;
5943 fail:
5944 return NULL;
5945 }
5946
5947
5948 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5951 int result;
5952 PyObject * obj0 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5963
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = SWIG_FromInt((int)result);
5968 return resultobj;
5969 fail:
5970 return NULL;
5971 }
5972
5973
5974 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj;
5976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5977 int arg2 ;
5978 bool arg3 = (bool) True ;
5979 PyObject * obj0 = 0 ;
5980 PyObject * obj1 = 0 ;
5981 PyObject * obj2 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self",(char *) "position",(char *) "redraw", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5989 arg2 = (int) SWIG_AsInt(obj1);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 if (obj2) {
5992 arg3 = (bool) SWIG_AsBool(obj2);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 (arg1)->SetSashPosition(arg2,arg3);
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
6002 Py_INCREF(Py_None); resultobj = Py_None;
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj;
6011 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6012 int result;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 resultobj = SWIG_FromInt((int)result);
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6038 int arg2 ;
6039 PyObject * obj0 = 0 ;
6040 PyObject * obj1 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "min", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 arg2 = (int) SWIG_AsInt(obj1);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 (arg1)->SetMinimumPaneSize(arg2);
6053
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 Py_INCREF(Py_None); resultobj = Py_None;
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject *resultobj;
6066 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6067 int result;
6068 PyObject * obj0 = 0 ;
6069 char *kwnames[] = {
6070 (char *) "self", NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = SWIG_FromInt((int)result);
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6093 int arg2 ;
6094 int arg3 ;
6095 int arg4 = (int) 5 ;
6096 bool result;
6097 PyObject * obj0 = 0 ;
6098 PyObject * obj1 = 0 ;
6099 PyObject * obj2 = 0 ;
6100 PyObject * obj3 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 arg2 = (int) SWIG_AsInt(obj1);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 arg3 = (int) SWIG_AsInt(obj2);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 if (obj3) {
6113 arg4 = (int) SWIG_AsInt(obj3);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 {
6124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6125 }
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6135 PyObject * obj0 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->SizeWindows();
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6160 bool arg2 ;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "needUpdating", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 arg2 = (bool) SWIG_AsBool(obj1);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetNeedUpdating(arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6189 bool result;
6190 PyObject * obj0 = 0 ;
6191 char *kwnames[] = {
6192 (char *) "self", NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 {
6206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6207 }
6208 return resultobj;
6209 fail:
6210 return NULL;
6211 }
6212
6213
6214 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6215 PyObject *obj;
6216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6218 Py_INCREF(obj);
6219 return Py_BuildValue((char *)"");
6220 }
6221 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6224 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6225 wxSplitterEvent *result;
6226 PyObject * obj0 = 0 ;
6227 PyObject * obj1 = 0 ;
6228 char *kwnames[] = {
6229 (char *) "type",(char *) "splitter", NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6233 if (obj0) {
6234 arg1 = (wxEventType) SWIG_AsInt(obj0);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 if (obj1) {
6238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6240 }
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6258 int arg2 ;
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 char *kwnames[] = {
6262 (char *) "self",(char *) "pos", NULL
6263 };
6264
6265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6268 arg2 = (int) SWIG_AsInt(obj1);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 (arg1)->SetSashPosition(arg2);
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 Py_INCREF(Py_None); resultobj = Py_None;
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj;
6286 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6287 int result;
6288 PyObject * obj0 = 0 ;
6289 char *kwnames[] = {
6290 (char *) "self", NULL
6291 };
6292
6293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = SWIG_FromInt((int)result);
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6313 wxWindow *result;
6314 PyObject * obj0 = 0 ;
6315 char *kwnames[] = {
6316 (char *) "self", NULL
6317 };
6318
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 {
6330 resultobj = wxPyMake_wxObject(result);
6331 }
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6341 int result;
6342 PyObject * obj0 = 0 ;
6343 char *kwnames[] = {
6344 (char *) "self", NULL
6345 };
6346
6347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 resultobj = SWIG_FromInt((int)result);
6358 return resultobj;
6359 fail:
6360 return NULL;
6361 }
6362
6363
6364 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6367 int result;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 resultobj = SWIG_FromInt((int)result);
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6391 PyObject *obj;
6392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6393 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6394 Py_INCREF(obj);
6395 return Py_BuildValue((char *)"");
6396 }
6397 static int _wrap_SashNameStr_set(PyObject *_val) {
6398 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6399 return 1;
6400 }
6401
6402
6403 static PyObject *_wrap_SashNameStr_get() {
6404 PyObject *pyobj;
6405
6406 {
6407 #if wxUSE_UNICODE
6408 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6409 #else
6410 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6411 #endif
6412 }
6413 return pyobj;
6414 }
6415
6416
6417 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6418 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6419 return 1;
6420 }
6421
6422
6423 static PyObject *_wrap_SashLayoutNameStr_get() {
6424 PyObject *pyobj;
6425
6426 {
6427 #if wxUSE_UNICODE
6428 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6429 #else
6430 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6431 #endif
6432 }
6433 return pyobj;
6434 }
6435
6436
6437 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxWindow *arg1 = (wxWindow *) 0 ;
6440 int arg2 ;
6441 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6442 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6443 wxSize const &arg4_defvalue = wxDefaultSize ;
6444 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6445 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6446 wxString const &arg6_defvalue = wxPySashNameStr ;
6447 wxString *arg6 = (wxString *) &arg6_defvalue ;
6448 wxSashWindow *result;
6449 wxPoint temp3 ;
6450 wxSize temp4 ;
6451 bool temp6 = False ;
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 PyObject * obj3 = 0 ;
6456 PyObject * obj4 = 0 ;
6457 PyObject * obj5 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6465 arg2 = (int) SWIG_AsInt(obj1);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 if (obj2) {
6468 {
6469 arg3 = &temp3;
6470 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6471 }
6472 }
6473 if (obj3) {
6474 {
6475 arg4 = &temp4;
6476 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6477 }
6478 }
6479 if (obj4) {
6480 arg5 = (long) SWIG_AsLong(obj4);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 if (obj5) {
6484 {
6485 arg6 = wxString_in_helper(obj5);
6486 if (arg6 == NULL) SWIG_fail;
6487 temp6 = True;
6488 }
6489 }
6490 {
6491 PyThreadState* __tstate = wxPyBeginAllowThreads();
6492 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6498 {
6499 if (temp6)
6500 delete arg6;
6501 }
6502 return resultobj;
6503 fail:
6504 {
6505 if (temp6)
6506 delete arg6;
6507 }
6508 return NULL;
6509 }
6510
6511
6512 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxSashWindow *result;
6515 char *kwnames[] = {
6516 NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 result = (wxSashWindow *)new wxSashWindow();
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj;
6536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6537 wxWindow *arg2 = (wxWindow *) 0 ;
6538 int arg3 ;
6539 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6540 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6541 wxSize const &arg5_defvalue = wxDefaultSize ;
6542 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6543 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6544 wxString const &arg7_defvalue = wxPySashNameStr ;
6545 wxString *arg7 = (wxString *) &arg7_defvalue ;
6546 bool result;
6547 wxPoint temp4 ;
6548 wxSize temp5 ;
6549 bool temp7 = False ;
6550 PyObject * obj0 = 0 ;
6551 PyObject * obj1 = 0 ;
6552 PyObject * obj2 = 0 ;
6553 PyObject * obj3 = 0 ;
6554 PyObject * obj4 = 0 ;
6555 PyObject * obj5 = 0 ;
6556 PyObject * obj6 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6566 arg3 = (int) SWIG_AsInt(obj2);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 if (obj3) {
6569 {
6570 arg4 = &temp4;
6571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6572 }
6573 }
6574 if (obj4) {
6575 {
6576 arg5 = &temp5;
6577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6578 }
6579 }
6580 if (obj5) {
6581 arg6 = (long) SWIG_AsLong(obj5);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 if (obj6) {
6585 {
6586 arg7 = wxString_in_helper(obj6);
6587 if (arg7 == NULL) SWIG_fail;
6588 temp7 = True;
6589 }
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6600 }
6601 {
6602 if (temp7)
6603 delete arg7;
6604 }
6605 return resultobj;
6606 fail:
6607 {
6608 if (temp7)
6609 delete arg7;
6610 }
6611 return NULL;
6612 }
6613
6614
6615 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6616 PyObject *resultobj;
6617 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6618 int arg2 ;
6619 bool arg3 ;
6620 PyObject * obj0 = 0 ;
6621 PyObject * obj1 = 0 ;
6622 PyObject * obj2 = 0 ;
6623 char *kwnames[] = {
6624 (char *) "self",(char *) "edge",(char *) "sash", NULL
6625 };
6626
6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6630 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6631 if (PyErr_Occurred()) SWIG_fail;
6632 arg3 = (bool) SWIG_AsBool(obj2);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 Py_INCREF(Py_None); resultobj = Py_None;
6642 return resultobj;
6643 fail:
6644 return NULL;
6645 }
6646
6647
6648 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj;
6650 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6651 int arg2 ;
6652 bool result;
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self",(char *) "edge", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6662 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 {
6672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6673 }
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6683 int arg2 ;
6684 bool arg3 ;
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687 PyObject * obj2 = 0 ;
6688 char *kwnames[] = {
6689 (char *) "self",(char *) "edge",(char *) "border", NULL
6690 };
6691
6692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6695 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 arg3 = (bool) SWIG_AsBool(obj2);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 Py_INCREF(Py_None); resultobj = Py_None;
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6716 int arg2 ;
6717 bool result;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self",(char *) "edge", NULL
6722 };
6723
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6727 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 {
6737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6738 }
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6748 int arg2 ;
6749 int result;
6750 PyObject * obj0 = 0 ;
6751 PyObject * obj1 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self",(char *) "edge", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6759 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_FromInt((int)result);
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6778 int arg2 ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "width", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6788 arg2 = (int) SWIG_AsInt(obj1);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 (arg1)->SetDefaultBorderSize(arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6807 int result;
6808 PyObject * obj0 = 0 ;
6809 char *kwnames[] = {
6810 (char *) "self", NULL
6811 };
6812
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = SWIG_FromInt((int)result);
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6833 int arg2 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "width", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6843 arg2 = (int) SWIG_AsInt(obj1);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 (arg1)->SetExtraBorderSize(arg2);
6848
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 Py_INCREF(Py_None); resultobj = Py_None;
6853 return resultobj;
6854 fail:
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6862 int result;
6863 PyObject * obj0 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 resultobj = SWIG_FromInt((int)result);
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6888 int arg2 ;
6889 PyObject * obj0 = 0 ;
6890 PyObject * obj1 = 0 ;
6891 char *kwnames[] = {
6892 (char *) "self",(char *) "min", NULL
6893 };
6894
6895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6898 arg2 = (int) SWIG_AsInt(obj1);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 (arg1)->SetMinimumSizeX(arg2);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 Py_INCREF(Py_None); resultobj = Py_None;
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6917 int arg2 ;
6918 PyObject * obj0 = 0 ;
6919 PyObject * obj1 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self",(char *) "min", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6927 arg2 = (int) SWIG_AsInt(obj1);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetMinimumSizeY(arg2);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6946 int result;
6947 PyObject * obj0 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_FromInt((int)result);
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6972 int result;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = SWIG_FromInt((int)result);
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6998 int arg2 ;
6999 PyObject * obj0 = 0 ;
7000 PyObject * obj1 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self",(char *) "max", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7008 arg2 = (int) SWIG_AsInt(obj1);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->SetMaximumSizeX(arg2);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 return resultobj;
7019 fail:
7020 return NULL;
7021 }
7022
7023
7024 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7025 PyObject *resultobj;
7026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7027 int arg2 ;
7028 PyObject * obj0 = 0 ;
7029 PyObject * obj1 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self",(char *) "max", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7037 arg2 = (int) SWIG_AsInt(obj1);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 (arg1)->SetMaximumSizeY(arg2);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 Py_INCREF(Py_None); resultobj = Py_None;
7047 return resultobj;
7048 fail:
7049 return NULL;
7050 }
7051
7052
7053 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7054 PyObject *resultobj;
7055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7056 int result;
7057 PyObject * obj0 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = SWIG_FromInt((int)result);
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7082 int result;
7083 PyObject * obj0 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 resultobj = SWIG_FromInt((int)result);
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7108 int arg2 ;
7109 int arg3 ;
7110 int arg4 = (int) 2 ;
7111 int result;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 PyObject * obj2 = 0 ;
7115 PyObject * obj3 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7123 arg2 = (int) SWIG_AsInt(obj1);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 arg3 = (int) SWIG_AsInt(obj2);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 if (obj3) {
7128 arg4 = (int) SWIG_AsInt(obj3);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = SWIG_FromInt((int)result);
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject *resultobj;
7147 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7148 PyObject * obj0 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->SizeWindows();
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 return resultobj;
7165 fail:
7166 return NULL;
7167 }
7168
7169
7170 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7171 PyObject *obj;
7172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7173 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7174 Py_INCREF(obj);
7175 return Py_BuildValue((char *)"");
7176 }
7177 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 int arg1 = (int) 0 ;
7180 int arg2 = (int) wxSASH_NONE ;
7181 wxSashEvent *result;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "id",(char *) "edge", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7189 if (obj0) {
7190 arg1 = (int) SWIG_AsInt(obj0);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 if (obj1) {
7194 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
7204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7214 int arg2 ;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "edge", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7224 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7229
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 Py_INCREF(Py_None); resultobj = Py_None;
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7243 int result;
7244 PyObject * obj0 = 0 ;
7245 char *kwnames[] = {
7246 (char *) "self", NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 resultobj = SWIG_FromInt((int)result);
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7269 wxRect *arg2 = 0 ;
7270 wxRect temp2 ;
7271 PyObject * obj0 = 0 ;
7272 PyObject * obj1 = 0 ;
7273 char *kwnames[] = {
7274 (char *) "self",(char *) "rect", NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7280 {
7281 arg2 = &temp2;
7282 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7283 }
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 (arg1)->SetDragRect((wxRect const &)*arg2);
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 Py_INCREF(Py_None); resultobj = Py_None;
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7301 wxRect result;
7302 PyObject * obj0 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = ((wxSashEvent const *)arg1)->GetDragRect();
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 {
7318 wxRect * resultptr;
7319 resultptr = new wxRect((wxRect &) result);
7320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7321 }
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7331 int arg2 ;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj1 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "status", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7360 int result;
7361 PyObject * obj0 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 resultobj = SWIG_FromInt((int)result);
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7384 PyObject *obj;
7385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7386 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7387 Py_INCREF(obj);
7388 return Py_BuildValue((char *)"");
7389 }
7390 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 int arg1 = (int) 0 ;
7393 wxQueryLayoutInfoEvent *result;
7394 PyObject * obj0 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "id", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7400 if (obj0) {
7401 arg1 = (int) SWIG_AsInt(obj0);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7421 int arg2 ;
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self",(char *) "length", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7431 arg2 = (int) SWIG_AsInt(obj1);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 (arg1)->SetRequestedLength(arg2);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7450 int result;
7451 PyObject * obj0 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 resultobj = SWIG_FromInt((int)result);
7467 return resultobj;
7468 fail:
7469 return NULL;
7470 }
7471
7472
7473 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject *resultobj;
7475 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7476 int arg2 ;
7477 PyObject * obj0 = 0 ;
7478 PyObject * obj1 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "self",(char *) "flags", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7486 arg2 = (int) SWIG_AsInt(obj1);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 (arg1)->SetFlags(arg2);
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 Py_INCREF(Py_None); resultobj = Py_None;
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7505 int result;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 resultobj = SWIG_FromInt((int)result);
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7531 wxSize *arg2 = 0 ;
7532 wxSize temp2 ;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "size", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 {
7543 arg2 = &temp2;
7544 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7545 }
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 (arg1)->SetSize((wxSize const &)*arg2);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 Py_INCREF(Py_None); resultobj = Py_None;
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7563 wxSize result;
7564 PyObject * obj0 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 {
7580 wxSize * resultptr;
7581 resultptr = new wxSize((wxSize &) result);
7582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7583 }
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7593 int arg2 ;
7594 PyObject * obj0 = 0 ;
7595 PyObject * obj1 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "self",(char *) "orient", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7603 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7622 int result;
7623 PyObject * obj0 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7631 {
7632 PyThreadState* __tstate = wxPyBeginAllowThreads();
7633 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7634
7635 wxPyEndAllowThreads(__tstate);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 }
7638 resultobj = SWIG_FromInt((int)result);
7639 return resultobj;
7640 fail:
7641 return NULL;
7642 }
7643
7644
7645 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7648 int arg2 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self",(char *) "align", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7658 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 Py_INCREF(Py_None); resultobj = Py_None;
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7677 int result;
7678 PyObject * obj0 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_FromInt((int)result);
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7701 PyObject *obj;
7702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7703 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7704 Py_INCREF(obj);
7705 return Py_BuildValue((char *)"");
7706 }
7707 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 int arg1 = (int) 0 ;
7710 wxCalculateLayoutEvent *result;
7711 PyObject * obj0 = 0 ;
7712 char *kwnames[] = {
7713 (char *) "id", NULL
7714 };
7715
7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7717 if (obj0) {
7718 arg1 = (int) SWIG_AsInt(obj0);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj;
7737 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7738 int arg2 ;
7739 PyObject * obj0 = 0 ;
7740 PyObject * obj1 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self",(char *) "flags", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7748 arg2 = (int) SWIG_AsInt(obj1);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 (arg1)->SetFlags(arg2);
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 Py_INCREF(Py_None); resultobj = Py_None;
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7767 int result;
7768 PyObject * obj0 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "self", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_FromInt((int)result);
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj;
7792 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7793 wxRect *arg2 = 0 ;
7794 wxRect temp2 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "rect", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 {
7805 arg2 = &temp2;
7806 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7807 }
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 (arg1)->SetRect((wxRect const &)*arg2);
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 Py_INCREF(Py_None); resultobj = Py_None;
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7825 wxRect result;
7826 PyObject * obj0 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 {
7842 wxRect * resultptr;
7843 resultptr = new wxRect((wxRect &) result);
7844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7845 }
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7853 PyObject *obj;
7854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7855 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7856 Py_INCREF(obj);
7857 return Py_BuildValue((char *)"");
7858 }
7859 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj;
7861 wxWindow *arg1 = (wxWindow *) 0 ;
7862 int arg2 ;
7863 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7864 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7865 wxSize const &arg4_defvalue = wxDefaultSize ;
7866 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7867 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7868 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7869 wxString *arg6 = (wxString *) &arg6_defvalue ;
7870 wxSashLayoutWindow *result;
7871 wxPoint temp3 ;
7872 wxSize temp4 ;
7873 bool temp6 = False ;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 PyObject * obj2 = 0 ;
7877 PyObject * obj3 = 0 ;
7878 PyObject * obj4 = 0 ;
7879 PyObject * obj5 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7887 arg2 = (int) SWIG_AsInt(obj1);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 if (obj2) {
7890 {
7891 arg3 = &temp3;
7892 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7893 }
7894 }
7895 if (obj3) {
7896 {
7897 arg4 = &temp4;
7898 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7899 }
7900 }
7901 if (obj4) {
7902 arg5 = (long) SWIG_AsLong(obj4);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 if (obj5) {
7906 {
7907 arg6 = wxString_in_helper(obj5);
7908 if (arg6 == NULL) SWIG_fail;
7909 temp6 = True;
7910 }
7911 }
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7920 {
7921 if (temp6)
7922 delete arg6;
7923 }
7924 return resultobj;
7925 fail:
7926 {
7927 if (temp6)
7928 delete arg6;
7929 }
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxSashLayoutWindow *result;
7937 char *kwnames[] = {
7938 NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
7950 return resultobj;
7951 fail:
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7959 wxWindow *arg2 = (wxWindow *) 0 ;
7960 int arg3 ;
7961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7963 wxSize const &arg5_defvalue = wxDefaultSize ;
7964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7965 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7966 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7967 wxString *arg7 = (wxString *) &arg7_defvalue ;
7968 bool result;
7969 wxPoint temp4 ;
7970 wxSize temp5 ;
7971 bool temp7 = False ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 PyObject * obj2 = 0 ;
7975 PyObject * obj3 = 0 ;
7976 PyObject * obj4 = 0 ;
7977 PyObject * obj5 = 0 ;
7978 PyObject * obj6 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
7985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7988 arg3 = (int) SWIG_AsInt(obj2);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 if (obj3) {
7991 {
7992 arg4 = &temp4;
7993 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7994 }
7995 }
7996 if (obj4) {
7997 {
7998 arg5 = &temp5;
7999 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8000 }
8001 }
8002 if (obj5) {
8003 arg6 = (long) SWIG_AsLong(obj5);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 if (obj6) {
8007 {
8008 arg7 = wxString_in_helper(obj6);
8009 if (arg7 == NULL) SWIG_fail;
8010 temp7 = True;
8011 }
8012 }
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 {
8021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8022 }
8023 {
8024 if (temp7)
8025 delete arg7;
8026 }
8027 return resultobj;
8028 fail:
8029 {
8030 if (temp7)
8031 delete arg7;
8032 }
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8040 int result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (int)(arg1)->GetAlignment();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 resultobj = SWIG_FromInt((int)result);
8057 return resultobj;
8058 fail:
8059 return NULL;
8060 }
8061
8062
8063 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj;
8065 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8066 int result;
8067 PyObject * obj0 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 result = (int)(arg1)->GetOrientation();
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 resultobj = SWIG_FromInt((int)result);
8083 return resultobj;
8084 fail:
8085 return NULL;
8086 }
8087
8088
8089 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8092 int arg2 ;
8093 PyObject * obj0 = 0 ;
8094 PyObject * obj1 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "alignment", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8102 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8121 wxSize *arg2 = 0 ;
8122 wxSize temp2 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "size", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8132 {
8133 arg2 = &temp2;
8134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8153 int arg2 ;
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "orientation", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8163 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 Py_INCREF(Py_None); resultobj = Py_None;
8173 return resultobj;
8174 fail:
8175 return NULL;
8176 }
8177
8178
8179 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8180 PyObject *obj;
8181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8182 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8183 Py_INCREF(obj);
8184 return Py_BuildValue((char *)"");
8185 }
8186 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj;
8188 wxLayoutAlgorithm *result;
8189 char *kwnames[] = {
8190 NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 delete arg1;
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 Py_INCREF(Py_None); resultobj = Py_None;
8227 return resultobj;
8228 fail:
8229 return NULL;
8230 }
8231
8232
8233 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8236 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8237 wxRect *arg3 = (wxRect *) NULL ;
8238 bool result;
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 PyObject * obj2 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "frame",(char *) "rect", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8251 if (obj2) {
8252 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 {
8263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8264 }
8265 return resultobj;
8266 fail:
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8274 wxFrame *arg2 = (wxFrame *) 0 ;
8275 wxWindow *arg3 = (wxWindow *) NULL ;
8276 bool result;
8277 PyObject * obj0 = 0 ;
8278 PyObject * obj1 = 0 ;
8279 PyObject * obj2 = 0 ;
8280 char *kwnames[] = {
8281 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8287 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 if (obj2) {
8290 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8292 }
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8302 }
8303 return resultobj;
8304 fail:
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8312 wxWindow *arg2 = (wxWindow *) 0 ;
8313 wxWindow *arg3 = (wxWindow *) NULL ;
8314 bool result;
8315 PyObject * obj0 = 0 ;
8316 PyObject * obj1 = 0 ;
8317 PyObject * obj2 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8327 if (obj2) {
8328 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 {
8339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8340 }
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8348 PyObject *obj;
8349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8350 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8351 Py_INCREF(obj);
8352 return Py_BuildValue((char *)"");
8353 }
8354 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxWindow *arg1 = (wxWindow *) 0 ;
8357 int arg2 = (int) wxBORDER_NONE ;
8358 wxPopupWindow *result;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 char *kwnames[] = {
8362 (char *) "parent",(char *) "flags", NULL
8363 };
8364
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8368 if (obj1) {
8369 arg2 = (int) SWIG_AsInt(obj1);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj;
8388 wxPopupWindow *result;
8389 char *kwnames[] = {
8390 NULL
8391 };
8392
8393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (wxPopupWindow *)new wxPopupWindow();
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8402 return resultobj;
8403 fail:
8404 return NULL;
8405 }
8406
8407
8408 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj;
8410 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8411 wxWindow *arg2 = (wxWindow *) 0 ;
8412 int arg3 = (int) wxBORDER_NONE ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 PyObject * obj2 = 0 ;
8417 char *kwnames[] = {
8418 (char *) "self",(char *) "parent",(char *) "flags", NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8424 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 if (obj2) {
8427 arg3 = (int) SWIG_AsInt(obj2);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (bool)(arg1)->Create(arg2,arg3);
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8439 }
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8449 wxPoint *arg2 = 0 ;
8450 wxSize *arg3 = 0 ;
8451 wxPoint temp2 ;
8452 wxSize temp3 ;
8453 PyObject * obj0 = 0 ;
8454 PyObject * obj1 = 0 ;
8455 PyObject * obj2 = 0 ;
8456 char *kwnames[] = {
8457 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8463 {
8464 arg2 = &temp2;
8465 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8466 }
8467 {
8468 arg3 = &temp3;
8469 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8486 PyObject *obj;
8487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8488 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8489 Py_INCREF(obj);
8490 return Py_BuildValue((char *)"");
8491 }
8492 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxWindow *arg1 = (wxWindow *) 0 ;
8495 int arg2 = (int) wxBORDER_NONE ;
8496 wxPyPopupTransientWindow *result;
8497 PyObject * obj0 = 0 ;
8498 PyObject * obj1 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "parent",(char *) "style", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8506 if (obj1) {
8507 arg2 = (int) SWIG_AsInt(obj1);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8518 return resultobj;
8519 fail:
8520 return NULL;
8521 }
8522
8523
8524 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxPyPopupTransientWindow *result;
8527 char *kwnames[] = {
8528 NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8549 PyObject *arg2 = (PyObject *) 0 ;
8550 PyObject *arg3 = (PyObject *) 0 ;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 PyObject * obj2 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self",(char *) "self",(char *) "_class", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8561 arg2 = obj1;
8562 arg3 = obj2;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 (arg1)->_setCallbackInfo(arg2,arg3);
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 Py_INCREF(Py_None); resultobj = Py_None;
8571 return resultobj;
8572 fail:
8573 return NULL;
8574 }
8575
8576
8577 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8580 wxWindow *arg2 = (wxWindow *) NULL ;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self",(char *) "focus", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8590 if (obj1) {
8591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 (arg1)->Popup(arg2);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8611 PyObject * obj0 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self", NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 (arg1)->Dismiss();
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
8626 Py_INCREF(Py_None); resultobj = Py_None;
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8634 PyObject *obj;
8635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8636 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8637 Py_INCREF(obj);
8638 return Py_BuildValue((char *)"");
8639 }
8640 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxWindow *arg1 = (wxWindow *) 0 ;
8643 wxString *arg2 = 0 ;
8644 int arg3 = (int) 100 ;
8645 wxRect *arg4 = (wxRect *) NULL ;
8646 wxTipWindow *result;
8647 bool temp2 = False ;
8648 PyObject * obj0 = 0 ;
8649 PyObject * obj1 = 0 ;
8650 PyObject * obj2 = 0 ;
8651 PyObject * obj3 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8659 {
8660 arg2 = wxString_in_helper(obj1);
8661 if (arg2 == NULL) SWIG_fail;
8662 temp2 = True;
8663 }
8664 if (obj2) {
8665 arg3 = (int) SWIG_AsInt(obj2);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 if (obj3) {
8669 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8680 {
8681 if (temp2)
8682 delete arg2;
8683 }
8684 return resultobj;
8685 fail:
8686 {
8687 if (temp2)
8688 delete arg2;
8689 }
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8697 wxRect *arg2 = 0 ;
8698 wxRect temp2 ;
8699 PyObject * obj0 = 0 ;
8700 PyObject * obj1 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self",(char *) "rectBound", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8708 {
8709 arg2 = &temp2;
8710 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8711 }
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->Close();
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8752 PyObject *obj;
8753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8754 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8755 Py_INCREF(obj);
8756 return Py_BuildValue((char *)"");
8757 }
8758 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxWindow *arg1 = (wxWindow *) 0 ;
8761 int arg2 = (int) wxID_ANY ;
8762 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8763 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8764 wxSize const &arg4_defvalue = wxDefaultSize ;
8765 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8766 long arg5 = (long) 0 ;
8767 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8768 wxString *arg6 = (wxString *) &arg6_defvalue ;
8769 wxPyVScrolledWindow *result;
8770 wxPoint temp3 ;
8771 wxSize temp4 ;
8772 bool temp6 = False ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 PyObject * obj2 = 0 ;
8776 PyObject * obj3 = 0 ;
8777 PyObject * obj4 = 0 ;
8778 PyObject * obj5 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8786 if (obj1) {
8787 arg2 = (int) SWIG_AsInt(obj1);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 if (obj2) {
8791 {
8792 arg3 = &temp3;
8793 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8794 }
8795 }
8796 if (obj3) {
8797 {
8798 arg4 = &temp4;
8799 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8800 }
8801 }
8802 if (obj4) {
8803 arg5 = (long) SWIG_AsLong(obj4);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 if (obj5) {
8807 {
8808 arg6 = wxString_in_helper(obj5);
8809 if (arg6 == NULL) SWIG_fail;
8810 temp6 = True;
8811 }
8812 }
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8821 {
8822 if (temp6)
8823 delete arg6;
8824 }
8825 return resultobj;
8826 fail:
8827 {
8828 if (temp6)
8829 delete arg6;
8830 }
8831 return NULL;
8832 }
8833
8834
8835 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxPyVScrolledWindow *result;
8838 char *kwnames[] = {
8839 NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8860 PyObject *arg2 = (PyObject *) 0 ;
8861 PyObject *arg3 = (PyObject *) 0 ;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 PyObject * obj2 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "self",(char *) "_class", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 arg2 = obj1;
8873 arg3 = obj2;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 (arg1)->_setCallbackInfo(arg2,arg3);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 Py_INCREF(Py_None); resultobj = Py_None;
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8891 wxWindow *arg2 = (wxWindow *) 0 ;
8892 int arg3 = (int) wxID_ANY ;
8893 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8894 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8895 wxSize const &arg5_defvalue = wxDefaultSize ;
8896 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8897 long arg6 = (long) 0 ;
8898 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8899 wxString *arg7 = (wxString *) &arg7_defvalue ;
8900 bool result;
8901 wxPoint temp4 ;
8902 wxSize temp5 ;
8903 bool temp7 = False ;
8904 PyObject * obj0 = 0 ;
8905 PyObject * obj1 = 0 ;
8906 PyObject * obj2 = 0 ;
8907 PyObject * obj3 = 0 ;
8908 PyObject * obj4 = 0 ;
8909 PyObject * obj5 = 0 ;
8910 PyObject * obj6 = 0 ;
8911 char *kwnames[] = {
8912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8913 };
8914
8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8920 if (obj2) {
8921 arg3 = (int) SWIG_AsInt(obj2);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 if (obj3) {
8925 {
8926 arg4 = &temp4;
8927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8928 }
8929 }
8930 if (obj4) {
8931 {
8932 arg5 = &temp5;
8933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8934 }
8935 }
8936 if (obj5) {
8937 arg6 = (long) SWIG_AsLong(obj5);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 if (obj6) {
8941 {
8942 arg7 = wxString_in_helper(obj6);
8943 if (arg7 == NULL) SWIG_fail;
8944 temp7 = True;
8945 }
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8956 }
8957 {
8958 if (temp7)
8959 delete arg7;
8960 }
8961 return resultobj;
8962 fail:
8963 {
8964 if (temp7)
8965 delete arg7;
8966 }
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8974 size_t arg2 ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self",(char *) "count", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
8983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8984 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->SetLineCount(arg2);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9003 size_t arg2 ;
9004 bool result;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "line", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (bool)(arg1)->ScrollToLine(arg2);
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 {
9024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9025 }
9026 return resultobj;
9027 fail:
9028 return NULL;
9029 }
9030
9031
9032 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9033 PyObject *resultobj;
9034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9035 int arg2 ;
9036 bool result;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self",(char *) "lines", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",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 = (int) SWIG_AsInt(obj1);
9047 if (PyErr_Occurred()) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (bool)(arg1)->ScrollLines(arg2);
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9067 int arg2 ;
9068 bool result;
9069 PyObject * obj0 = 0 ;
9070 PyObject * obj1 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self",(char *) "pages", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9078 arg2 = (int) SWIG_AsInt(obj1);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (bool)(arg1)->ScrollPages(arg2);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 {
9088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9089 }
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9099 size_t arg2 ;
9100 PyObject * obj0 = 0 ;
9101 PyObject * obj1 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self",(char *) "line", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9109 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 (arg1)->RefreshLine(arg2);
9114
9115 wxPyEndAllowThreads(__tstate);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 Py_INCREF(Py_None); resultobj = Py_None;
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9128 size_t arg2 ;
9129 size_t arg3 ;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 PyObject * obj2 = 0 ;
9133 char *kwnames[] = {
9134 (char *) "self",(char *) "from",(char *) "to", NULL
9135 };
9136
9137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9140 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 (arg1)->RefreshLines(arg2,arg3);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 Py_INCREF(Py_None); resultobj = Py_None;
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9159 PyObject *resultobj;
9160 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9161 int arg2 ;
9162 int arg3 ;
9163 int result;
9164 PyObject * obj0 = 0 ;
9165 PyObject * obj1 = 0 ;
9166 PyObject * obj2 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self",(char *) "x",(char *) "y", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9174 arg2 = (int) SWIG_AsInt(obj1);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 arg3 = (int) SWIG_AsInt(obj2);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9181
9182 wxPyEndAllowThreads(__tstate);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 }
9185 resultobj = SWIG_FromInt((int)result);
9186 return resultobj;
9187 fail:
9188 return NULL;
9189 }
9190
9191
9192 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9193 PyObject *resultobj;
9194 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9195 wxPoint *arg2 = 0 ;
9196 int result;
9197 wxPoint temp2 ;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char *kwnames[] = {
9201 (char *) "self",(char *) "pt", NULL
9202 };
9203
9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9207 {
9208 arg2 = &temp2;
9209 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_FromInt((int)result);
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9228 PyObject * obj0 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 {
9237 PyThreadState* __tstate = wxPyBeginAllowThreads();
9238 (arg1)->RefreshAll();
9239
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 Py_INCREF(Py_None); resultobj = Py_None;
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject *resultobj;
9252 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9253 size_t result;
9254 PyObject * obj0 = 0 ;
9255 char *kwnames[] = {
9256 (char *) "self", NULL
9257 };
9258
9259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9262 {
9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
9264 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9265
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9279 size_t result;
9280 PyObject * obj0 = 0 ;
9281 char *kwnames[] = {
9282 (char *) "self", NULL
9283 };
9284
9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9305 size_t result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9331 size_t arg2 ;
9332 bool result;
9333 PyObject * obj0 = 0 ;
9334 PyObject * obj1 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self",(char *) "line", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9342 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 {
9352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9353 }
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9361 PyObject *obj;
9362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9364 Py_INCREF(obj);
9365 return Py_BuildValue((char *)"");
9366 }
9367 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9368 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9369 return 1;
9370 }
9371
9372
9373 static PyObject *_wrap_VListBoxNameStr_get() {
9374 PyObject *pyobj;
9375
9376 {
9377 #if wxUSE_UNICODE
9378 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9379 #else
9380 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9381 #endif
9382 }
9383 return pyobj;
9384 }
9385
9386
9387 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxWindow *arg1 = (wxWindow *) 0 ;
9390 int arg2 = (int) wxID_ANY ;
9391 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9392 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9393 wxSize const &arg4_defvalue = wxDefaultSize ;
9394 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9395 long arg5 = (long) 0 ;
9396 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9397 wxString *arg6 = (wxString *) &arg6_defvalue ;
9398 wxPyVListBox *result;
9399 wxPoint temp3 ;
9400 wxSize temp4 ;
9401 bool temp6 = False ;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 PyObject * obj2 = 0 ;
9405 PyObject * obj3 = 0 ;
9406 PyObject * obj4 = 0 ;
9407 PyObject * obj5 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9415 if (obj1) {
9416 arg2 = (int) SWIG_AsInt(obj1);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 if (obj2) {
9420 {
9421 arg3 = &temp3;
9422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9423 }
9424 }
9425 if (obj3) {
9426 {
9427 arg4 = &temp4;
9428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9429 }
9430 }
9431 if (obj4) {
9432 arg5 = (long) SWIG_AsLong(obj4);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 if (obj5) {
9436 {
9437 arg6 = wxString_in_helper(obj5);
9438 if (arg6 == NULL) SWIG_fail;
9439 temp6 = True;
9440 }
9441 }
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9450 {
9451 if (temp6)
9452 delete arg6;
9453 }
9454 return resultobj;
9455 fail:
9456 {
9457 if (temp6)
9458 delete arg6;
9459 }
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxPyVListBox *result;
9467 char *kwnames[] = {
9468 NULL
9469 };
9470
9471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (wxPyVListBox *)new wxPyVListBox();
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9480 return resultobj;
9481 fail:
9482 return NULL;
9483 }
9484
9485
9486 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9489 PyObject *arg2 = (PyObject *) 0 ;
9490 PyObject *arg3 = (PyObject *) 0 ;
9491 PyObject * obj0 = 0 ;
9492 PyObject * obj1 = 0 ;
9493 PyObject * obj2 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self",(char *) "self",(char *) "_class", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9501 arg2 = obj1;
9502 arg3 = obj2;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 (arg1)->_setCallbackInfo(arg2,arg3);
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 Py_INCREF(Py_None); resultobj = Py_None;
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9520 wxWindow *arg2 = (wxWindow *) 0 ;
9521 int arg3 = (int) wxID_ANY ;
9522 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9523 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9524 wxSize const &arg5_defvalue = wxDefaultSize ;
9525 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9526 long arg6 = (long) 0 ;
9527 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9528 wxString *arg7 = (wxString *) &arg7_defvalue ;
9529 bool result;
9530 wxPoint temp4 ;
9531 wxSize temp5 ;
9532 bool temp7 = False ;
9533 PyObject * obj0 = 0 ;
9534 PyObject * obj1 = 0 ;
9535 PyObject * obj2 = 0 ;
9536 PyObject * obj3 = 0 ;
9537 PyObject * obj4 = 0 ;
9538 PyObject * obj5 = 0 ;
9539 PyObject * obj6 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9549 if (obj2) {
9550 arg3 = (int) SWIG_AsInt(obj2);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 if (obj3) {
9554 {
9555 arg4 = &temp4;
9556 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9557 }
9558 }
9559 if (obj4) {
9560 {
9561 arg5 = &temp5;
9562 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9563 }
9564 }
9565 if (obj5) {
9566 arg6 = (long) SWIG_AsLong(obj5);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 if (obj6) {
9570 {
9571 arg7 = wxString_in_helper(obj6);
9572 if (arg7 == NULL) SWIG_fail;
9573 temp7 = True;
9574 }
9575 }
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 {
9584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9585 }
9586 {
9587 if (temp7)
9588 delete arg7;
9589 }
9590 return resultobj;
9591 fail:
9592 {
9593 if (temp7)
9594 delete arg7;
9595 }
9596 return NULL;
9597 }
9598
9599
9600 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9603 size_t result;
9604 PyObject * obj0 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9629 bool result;
9630 PyObject * obj0 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9657 int result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_FromInt((int)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9683 size_t arg2 ;
9684 bool result;
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self",(char *) "item", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9694 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 {
9704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9705 }
9706 return resultobj;
9707 fail:
9708 return NULL;
9709 }
9710
9711
9712 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9715 size_t arg2 ;
9716 bool result;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "item", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9726 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9747 size_t result;
9748 PyObject * obj0 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj;
9772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9773 unsigned long *arg2 = 0 ;
9774 int result;
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9777 char *kwnames[] = {
9778 (char *) "self",(char *) "cookie", NULL
9779 };
9780
9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9785 SWIG_POINTER_EXCEPTION | 0)) == -1)
9786 SWIG_fail;
9787 if (arg2 == NULL) {
9788 PyErr_SetString(PyExc_TypeError,"null reference");
9789 SWIG_fail;
9790 }
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9794
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 resultobj = SWIG_FromInt((int)result);
9799 return resultobj;
9800 fail:
9801 return NULL;
9802 }
9803
9804
9805 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9808 unsigned long *arg2 = 0 ;
9809 int result;
9810 PyObject * obj0 = 0 ;
9811 PyObject * obj1 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "cookie", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9820 SWIG_POINTER_EXCEPTION | 0)) == -1)
9821 SWIG_fail;
9822 if (arg2 == NULL) {
9823 PyErr_SetString(PyExc_TypeError,"null reference");
9824 SWIG_fail;
9825 }
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 resultobj = SWIG_FromInt((int)result);
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9843 wxPoint result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = ((wxPyVListBox const *)arg1)->GetMargins();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 {
9860 wxPoint * resultptr;
9861 resultptr = new wxPoint((wxPoint &) result);
9862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9863 }
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9873 wxColour *result;
9874 PyObject * obj0 = 0 ;
9875 char *kwnames[] = {
9876 (char *) "self", NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 {
9885 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9886 result = (wxColour *) &_result_ref;
9887 }
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9902 size_t arg2 ;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self",(char *) "count", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9912 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 (arg1)->SetItemCount(arg2);
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 Py_INCREF(Py_None); resultobj = Py_None;
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->Clear();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9956 int arg2 ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self",(char *) "selection", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9966 arg2 = (int) SWIG_AsInt(obj1);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetSelection(arg2);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9985 size_t arg2 ;
9986 bool arg3 = (bool) True ;
9987 bool result;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 PyObject * obj2 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "self",(char *) "item",(char *) "select", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9998 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 if (obj2) {
10001 arg3 = (bool) SWIG_AsBool(obj2);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)(arg1)->Select(arg2,arg3);
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 {
10012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10013 }
10014 return resultobj;
10015 fail:
10016 return NULL;
10017 }
10018
10019
10020 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj;
10022 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10023 size_t arg2 ;
10024 size_t arg3 ;
10025 bool result;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 PyObject * obj2 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self",(char *) "from",(char *) "to", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10036 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 result = (bool)(arg1)->SelectRange(arg2,arg3);
10043
10044 wxPyEndAllowThreads(__tstate);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 {
10048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10049 }
10050 return resultobj;
10051 fail:
10052 return NULL;
10053 }
10054
10055
10056 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject *resultobj;
10058 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10059 size_t arg2 ;
10060 PyObject * obj0 = 0 ;
10061 PyObject * obj1 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self",(char *) "item", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 (arg1)->Toggle(arg2);
10074
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 Py_INCREF(Py_None); resultobj = Py_None;
10079 return resultobj;
10080 fail:
10081 return NULL;
10082 }
10083
10084
10085 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj;
10087 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10088 bool result;
10089 PyObject * obj0 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (bool)(arg1)->SelectAll();
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 {
10105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10106 }
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10116 bool result;
10117 PyObject * obj0 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 result = (bool)(arg1)->DeselectAll();
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 {
10133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10134 }
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj;
10143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10144 wxPoint *arg2 = 0 ;
10145 wxPoint temp2 ;
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj1 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self",(char *) "pt", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10155 {
10156 arg2 = &temp2;
10157 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10158 }
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 (arg1)->SetMargins((wxPoint const &)*arg2);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 Py_INCREF(Py_None); resultobj = Py_None;
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10174 PyObject *resultobj;
10175 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10176 int arg2 ;
10177 int arg3 ;
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
10180 PyObject * obj2 = 0 ;
10181 char *kwnames[] = {
10182 (char *) "self",(char *) "x",(char *) "y", NULL
10183 };
10184
10185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10188 arg2 = (int) SWIG_AsInt(obj1);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 arg3 = (int) SWIG_AsInt(obj2);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 {
10193 PyThreadState* __tstate = wxPyBeginAllowThreads();
10194 (arg1)->SetMargins(arg2,arg3);
10195
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 Py_INCREF(Py_None); resultobj = Py_None;
10200 return resultobj;
10201 fail:
10202 return NULL;
10203 }
10204
10205
10206 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj;
10208 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10209 wxColour *arg2 = 0 ;
10210 wxColour temp2 ;
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "col", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10220 {
10221 arg2 = &temp2;
10222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10223 }
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10239 PyObject *obj;
10240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10241 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10242 Py_INCREF(obj);
10243 return Py_BuildValue((char *)"");
10244 }
10245 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxWindow *arg1 = (wxWindow *) 0 ;
10248 int arg2 = (int) wxID_ANY ;
10249 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10250 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10251 wxSize const &arg4_defvalue = wxDefaultSize ;
10252 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10253 long arg5 = (long) 0 ;
10254 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10255 wxString *arg6 = (wxString *) &arg6_defvalue ;
10256 wxPyHtmlListBox *result;
10257 wxPoint temp3 ;
10258 wxSize temp4 ;
10259 bool temp6 = False ;
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 PyObject * obj2 = 0 ;
10263 PyObject * obj3 = 0 ;
10264 PyObject * obj4 = 0 ;
10265 PyObject * obj5 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 if (obj1) {
10274 arg2 = (int) SWIG_AsInt(obj1);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 if (obj2) {
10278 {
10279 arg3 = &temp3;
10280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10281 }
10282 }
10283 if (obj3) {
10284 {
10285 arg4 = &temp4;
10286 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10287 }
10288 }
10289 if (obj4) {
10290 arg5 = (long) SWIG_AsLong(obj4);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 if (obj5) {
10294 {
10295 arg6 = wxString_in_helper(obj5);
10296 if (arg6 == NULL) SWIG_fail;
10297 temp6 = True;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10303
10304 wxPyEndAllowThreads(__tstate);
10305 if (PyErr_Occurred()) SWIG_fail;
10306 }
10307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10308 {
10309 if (temp6)
10310 delete arg6;
10311 }
10312 return resultobj;
10313 fail:
10314 {
10315 if (temp6)
10316 delete arg6;
10317 }
10318 return NULL;
10319 }
10320
10321
10322 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxPyHtmlListBox *result;
10325 char *kwnames[] = {
10326 NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10347 PyObject *arg2 = (PyObject *) 0 ;
10348 PyObject *arg3 = (PyObject *) 0 ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 PyObject * obj2 = 0 ;
10352 char *kwnames[] = {
10353 (char *) "self",(char *) "self",(char *) "_class", NULL
10354 };
10355
10356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10359 arg2 = obj1;
10360 arg3 = obj2;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 (arg1)->_setCallbackInfo(arg2,arg3);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 Py_INCREF(Py_None); resultobj = Py_None;
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10378 wxWindow *arg2 = (wxWindow *) 0 ;
10379 int arg3 = (int) wxID_ANY ;
10380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10382 wxSize const &arg5_defvalue = wxDefaultSize ;
10383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10384 long arg6 = (long) 0 ;
10385 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10386 wxString *arg7 = (wxString *) &arg7_defvalue ;
10387 bool result;
10388 wxPoint temp4 ;
10389 wxSize temp5 ;
10390 bool temp7 = False ;
10391 PyObject * obj0 = 0 ;
10392 PyObject * obj1 = 0 ;
10393 PyObject * obj2 = 0 ;
10394 PyObject * obj3 = 0 ;
10395 PyObject * obj4 = 0 ;
10396 PyObject * obj5 = 0 ;
10397 PyObject * obj6 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10407 if (obj2) {
10408 arg3 = (int) SWIG_AsInt(obj2);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 if (obj3) {
10412 {
10413 arg4 = &temp4;
10414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10415 }
10416 }
10417 if (obj4) {
10418 {
10419 arg5 = &temp5;
10420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10421 }
10422 }
10423 if (obj5) {
10424 arg6 = (long) SWIG_AsLong(obj5);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 if (obj6) {
10428 {
10429 arg7 = wxString_in_helper(obj6);
10430 if (arg7 == NULL) SWIG_fail;
10431 temp7 = True;
10432 }
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 {
10442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10443 }
10444 {
10445 if (temp7)
10446 delete arg7;
10447 }
10448 return resultobj;
10449 fail:
10450 {
10451 if (temp7)
10452 delete arg7;
10453 }
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->RefreshAll();
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10486 size_t arg2 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 char *kwnames[] = {
10490 (char *) "self",(char *) "count", NULL
10491 };
10492
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10496 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 (arg1)->SetItemCount(arg2);
10501
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 Py_INCREF(Py_None); resultobj = Py_None;
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10515 wxFileSystem *result;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 {
10527 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10528 result = (wxFileSystem *) &_result_ref;
10529 }
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10542 PyObject *obj;
10543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10544 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10545 Py_INCREF(obj);
10546 return Py_BuildValue((char *)"");
10547 }
10548 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxTaskBarIcon *result;
10551 char *kwnames[] = {
10552 NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10573 PyObject * obj0 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "self", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 delete arg1;
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10598 PyObject * obj0 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 wxTaskBarIcon_Destroy(arg1);
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 Py_INCREF(Py_None); resultobj = Py_None;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10623 bool result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 {
10640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10641 }
10642 return resultobj;
10643 fail:
10644 return NULL;
10645 }
10646
10647
10648 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10649 PyObject *resultobj;
10650 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10651 bool result;
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 {
10668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10669 }
10670 return resultobj;
10671 fail:
10672 return NULL;
10673 }
10674
10675
10676 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10679 wxIcon *arg2 = 0 ;
10680 wxString const &arg3_defvalue = wxPyEmptyString ;
10681 wxString *arg3 = (wxString *) &arg3_defvalue ;
10682 bool result;
10683 bool temp3 = False ;
10684 PyObject * obj0 = 0 ;
10685 PyObject * obj1 = 0 ;
10686 PyObject * obj2 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10695 SWIG_POINTER_EXCEPTION | 0)) == -1)
10696 SWIG_fail;
10697 if (arg2 == NULL) {
10698 PyErr_SetString(PyExc_TypeError,"null reference");
10699 SWIG_fail;
10700 }
10701 if (obj2) {
10702 {
10703 arg3 = wxString_in_helper(obj2);
10704 if (arg3 == NULL) SWIG_fail;
10705 temp3 = True;
10706 }
10707 }
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 {
10716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10717 }
10718 {
10719 if (temp3)
10720 delete arg3;
10721 }
10722 return resultobj;
10723 fail:
10724 {
10725 if (temp3)
10726 delete arg3;
10727 }
10728 return NULL;
10729 }
10730
10731
10732 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj;
10734 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10735 bool result;
10736 PyObject * obj0 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 result = (bool)(arg1)->RemoveIcon();
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 {
10752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10753 }
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10763 wxMenu *arg2 = (wxMenu *) 0 ;
10764 bool result;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "menu", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (bool)(arg1)->PopupMenu(arg2);
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 {
10784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10785 }
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10793 PyObject *obj;
10794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10795 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10796 Py_INCREF(obj);
10797 return Py_BuildValue((char *)"");
10798 }
10799 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxEventType arg1 ;
10802 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10803 wxTaskBarIconEvent *result;
10804 PyObject * obj0 = 0 ;
10805 PyObject * obj1 = 0 ;
10806 char *kwnames[] = {
10807 (char *) "evtType",(char *) "tbIcon", NULL
10808 };
10809
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10811 arg1 = (wxEventType) SWIG_AsInt(obj0);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
10814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10815 {
10816 PyThreadState* __tstate = wxPyBeginAllowThreads();
10817 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10818
10819 wxPyEndAllowThreads(__tstate);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
10823 return resultobj;
10824 fail:
10825 return NULL;
10826 }
10827
10828
10829 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10830 PyObject *obj;
10831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10832 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10833 Py_INCREF(obj);
10834 return Py_BuildValue((char *)"");
10835 }
10836 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
10837 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10838 return 1;
10839 }
10840
10841
10842 static PyObject *_wrap_FileSelectorPromptStr_get() {
10843 PyObject *pyobj;
10844
10845 {
10846 #if wxUSE_UNICODE
10847 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10848 #else
10849 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10850 #endif
10851 }
10852 return pyobj;
10853 }
10854
10855
10856 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
10857 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10858 return 1;
10859 }
10860
10861
10862 static PyObject *_wrap_DirSelectorPromptStr_get() {
10863 PyObject *pyobj;
10864
10865 {
10866 #if wxUSE_UNICODE
10867 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10868 #else
10869 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10870 #endif
10871 }
10872 return pyobj;
10873 }
10874
10875
10876 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
10877 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10878 return 1;
10879 }
10880
10881
10882 static PyObject *_wrap_DirDialogNameStr_get() {
10883 PyObject *pyobj;
10884
10885 {
10886 #if wxUSE_UNICODE
10887 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10888 #else
10889 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10890 #endif
10891 }
10892 return pyobj;
10893 }
10894
10895
10896 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
10897 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10898 return 1;
10899 }
10900
10901
10902 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10903 PyObject *pyobj;
10904
10905 {
10906 #if wxUSE_UNICODE
10907 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10908 #else
10909 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10910 #endif
10911 }
10912 return pyobj;
10913 }
10914
10915
10916 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
10917 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10918 return 1;
10919 }
10920
10921
10922 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10923 PyObject *pyobj;
10924
10925 {
10926 #if wxUSE_UNICODE
10927 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10928 #else
10929 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10930 #endif
10931 }
10932 return pyobj;
10933 }
10934
10935
10936 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
10937 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10938 return 1;
10939 }
10940
10941
10942 static PyObject *_wrap_MessageBoxCaptionStr_get() {
10943 PyObject *pyobj;
10944
10945 {
10946 #if wxUSE_UNICODE
10947 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10948 #else
10949 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10950 #endif
10951 }
10952 return pyobj;
10953 }
10954
10955
10956 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxColourData *result;
10959 char *kwnames[] = {
10960 NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 result = (wxColourData *)new wxColourData();
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
10972 return resultobj;
10973 fail:
10974 return NULL;
10975 }
10976
10977
10978 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10979 PyObject *resultobj;
10980 wxColourData *arg1 = (wxColourData *) 0 ;
10981 PyObject * obj0 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 delete arg1;
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 Py_INCREF(Py_None); resultobj = Py_None;
10997 return resultobj;
10998 fail:
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxColourData *arg1 = (wxColourData *) 0 ;
11006 bool result;
11007 PyObject * obj0 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 result = (bool)(arg1)->GetChooseFull();
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 {
11023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11024 }
11025 return resultobj;
11026 fail:
11027 return NULL;
11028 }
11029
11030
11031 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj;
11033 wxColourData *arg1 = (wxColourData *) 0 ;
11034 wxColour result;
11035 PyObject * obj0 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 result = (arg1)->GetColour();
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 {
11051 wxColour * resultptr;
11052 resultptr = new wxColour((wxColour &) result);
11053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11054 }
11055 return resultobj;
11056 fail:
11057 return NULL;
11058 }
11059
11060
11061 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11062 PyObject *resultobj;
11063 wxColourData *arg1 = (wxColourData *) 0 ;
11064 int arg2 ;
11065 wxColour result;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self",(char *) "i", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11075 arg2 = (int) SWIG_AsInt(obj1);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (arg1)->GetCustomColour(arg2);
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 {
11085 wxColour * resultptr;
11086 resultptr = new wxColour((wxColour &) result);
11087 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11088 }
11089 return resultobj;
11090 fail:
11091 return NULL;
11092 }
11093
11094
11095 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11096 PyObject *resultobj;
11097 wxColourData *arg1 = (wxColourData *) 0 ;
11098 int arg2 ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self",(char *) "flag", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11108 arg2 = (int) SWIG_AsInt(obj1);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 (arg1)->SetChooseFull(arg2);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 Py_INCREF(Py_None); resultobj = Py_None;
11118 return resultobj;
11119 fail:
11120 return NULL;
11121 }
11122
11123
11124 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11125 PyObject *resultobj;
11126 wxColourData *arg1 = (wxColourData *) 0 ;
11127 wxColour *arg2 = 0 ;
11128 wxColour temp2 ;
11129 PyObject * obj0 = 0 ;
11130 PyObject * obj1 = 0 ;
11131 char *kwnames[] = {
11132 (char *) "self",(char *) "colour", NULL
11133 };
11134
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11138 {
11139 arg2 = &temp2;
11140 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11141 }
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 (arg1)->SetColour((wxColour const &)*arg2);
11145
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 Py_INCREF(Py_None); resultobj = Py_None;
11150 return resultobj;
11151 fail:
11152 return NULL;
11153 }
11154
11155
11156 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj;
11158 wxColourData *arg1 = (wxColourData *) 0 ;
11159 int arg2 ;
11160 wxColour *arg3 = 0 ;
11161 wxColour temp3 ;
11162 PyObject * obj0 = 0 ;
11163 PyObject * obj1 = 0 ;
11164 PyObject * obj2 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self",(char *) "i",(char *) "colour", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11172 arg2 = (int) SWIG_AsInt(obj1);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 {
11175 arg3 = &temp3;
11176 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11177 }
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 Py_INCREF(Py_None); resultobj = Py_None;
11186 return resultobj;
11187 fail:
11188 return NULL;
11189 }
11190
11191
11192 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11193 PyObject *obj;
11194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11195 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11196 Py_INCREF(obj);
11197 return Py_BuildValue((char *)"");
11198 }
11199 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxWindow *arg1 = (wxWindow *) 0 ;
11202 wxColourData *arg2 = (wxColourData *) NULL ;
11203 wxColourDialog *result;
11204 PyObject * obj0 = 0 ;
11205 PyObject * obj1 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "parent",(char *) "data", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11213 if (obj1) {
11214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11216 }
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) SWIG_fail;
11223 }
11224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11225 return resultobj;
11226 fail:
11227 return NULL;
11228 }
11229
11230
11231 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11234 wxColourData *result;
11235 PyObject * obj0 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 {
11246 wxColourData &_result_ref = (arg1)->GetColourData();
11247 result = (wxColourData *) &_result_ref;
11248 }
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11261 PyObject *obj;
11262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11263 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11264 Py_INCREF(obj);
11265 return Py_BuildValue((char *)"");
11266 }
11267 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11268 PyObject *resultobj;
11269 wxWindow *arg1 = (wxWindow *) 0 ;
11270 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11271 wxString *arg2 = (wxString *) &arg2_defvalue ;
11272 wxString const &arg3_defvalue = wxPyEmptyString ;
11273 wxString *arg3 = (wxString *) &arg3_defvalue ;
11274 long arg4 = (long) 0 ;
11275 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11276 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11277 wxSize const &arg6_defvalue = wxDefaultSize ;
11278 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11279 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11280 wxString *arg7 = (wxString *) &arg7_defvalue ;
11281 wxDirDialog *result;
11282 bool temp2 = False ;
11283 bool temp3 = False ;
11284 wxPoint temp5 ;
11285 wxSize temp6 ;
11286 bool temp7 = False ;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 PyObject * obj2 = 0 ;
11290 PyObject * obj3 = 0 ;
11291 PyObject * obj4 = 0 ;
11292 PyObject * obj5 = 0 ;
11293 PyObject * obj6 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11301 if (obj1) {
11302 {
11303 arg2 = wxString_in_helper(obj1);
11304 if (arg2 == NULL) SWIG_fail;
11305 temp2 = True;
11306 }
11307 }
11308 if (obj2) {
11309 {
11310 arg3 = wxString_in_helper(obj2);
11311 if (arg3 == NULL) SWIG_fail;
11312 temp3 = True;
11313 }
11314 }
11315 if (obj3) {
11316 arg4 = (long) SWIG_AsLong(obj3);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 if (obj4) {
11320 {
11321 arg5 = &temp5;
11322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11323 }
11324 }
11325 if (obj5) {
11326 {
11327 arg6 = &temp6;
11328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11329 }
11330 }
11331 if (obj6) {
11332 {
11333 arg7 = wxString_in_helper(obj6);
11334 if (arg7 == NULL) SWIG_fail;
11335 temp7 = True;
11336 }
11337 }
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11346 {
11347 if (temp2)
11348 delete arg2;
11349 }
11350 {
11351 if (temp3)
11352 delete arg3;
11353 }
11354 {
11355 if (temp7)
11356 delete arg7;
11357 }
11358 return resultobj;
11359 fail:
11360 {
11361 if (temp2)
11362 delete arg2;
11363 }
11364 {
11365 if (temp3)
11366 delete arg3;
11367 }
11368 {
11369 if (temp7)
11370 delete arg7;
11371 }
11372 return NULL;
11373 }
11374
11375
11376 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj;
11378 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11379 wxString result;
11380 PyObject * obj0 = 0 ;
11381 char *kwnames[] = {
11382 (char *) "self", NULL
11383 };
11384
11385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 result = (arg1)->GetPath();
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 {
11396 #if wxUSE_UNICODE
11397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11398 #else
11399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11400 #endif
11401 }
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11411 wxString result;
11412 PyObject * obj0 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "self", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11420 {
11421 PyThreadState* __tstate = wxPyBeginAllowThreads();
11422 result = (arg1)->GetMessage();
11423
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 {
11428 #if wxUSE_UNICODE
11429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11430 #else
11431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11432 #endif
11433 }
11434 return resultobj;
11435 fail:
11436 return NULL;
11437 }
11438
11439
11440 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11443 long result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 result = (long)(arg1)->GetStyle();
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 resultobj = SWIG_FromLong((long)result);
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11469 wxString *arg2 = 0 ;
11470 bool temp2 = False ;
11471 PyObject * obj0 = 0 ;
11472 PyObject * obj1 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self",(char *) "message", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11480 {
11481 arg2 = wxString_in_helper(obj1);
11482 if (arg2 == NULL) SWIG_fail;
11483 temp2 = True;
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetMessage((wxString const &)*arg2);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 {
11494 if (temp2)
11495 delete arg2;
11496 }
11497 return resultobj;
11498 fail:
11499 {
11500 if (temp2)
11501 delete arg2;
11502 }
11503 return NULL;
11504 }
11505
11506
11507 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11508 PyObject *resultobj;
11509 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11510 wxString *arg2 = 0 ;
11511 bool temp2 = False ;
11512 PyObject * obj0 = 0 ;
11513 PyObject * obj1 = 0 ;
11514 char *kwnames[] = {
11515 (char *) "self",(char *) "path", NULL
11516 };
11517
11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11521 {
11522 arg2 = wxString_in_helper(obj1);
11523 if (arg2 == NULL) SWIG_fail;
11524 temp2 = True;
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->SetPath((wxString const &)*arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 Py_INCREF(Py_None); resultobj = Py_None;
11534 {
11535 if (temp2)
11536 delete arg2;
11537 }
11538 return resultobj;
11539 fail:
11540 {
11541 if (temp2)
11542 delete arg2;
11543 }
11544 return NULL;
11545 }
11546
11547
11548 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11549 PyObject *obj;
11550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11551 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11552 Py_INCREF(obj);
11553 return Py_BuildValue((char *)"");
11554 }
11555 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxWindow *arg1 = (wxWindow *) 0 ;
11558 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11559 wxString *arg2 = (wxString *) &arg2_defvalue ;
11560 wxString const &arg3_defvalue = wxPyEmptyString ;
11561 wxString *arg3 = (wxString *) &arg3_defvalue ;
11562 wxString const &arg4_defvalue = wxPyEmptyString ;
11563 wxString *arg4 = (wxString *) &arg4_defvalue ;
11564 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11565 wxString *arg5 = (wxString *) &arg5_defvalue ;
11566 long arg6 = (long) 0 ;
11567 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11568 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11569 wxFileDialog *result;
11570 bool temp2 = False ;
11571 bool temp3 = False ;
11572 bool temp4 = False ;
11573 bool temp5 = False ;
11574 wxPoint temp7 ;
11575 PyObject * obj0 = 0 ;
11576 PyObject * obj1 = 0 ;
11577 PyObject * obj2 = 0 ;
11578 PyObject * obj3 = 0 ;
11579 PyObject * obj4 = 0 ;
11580 PyObject * obj5 = 0 ;
11581 PyObject * obj6 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11589 if (obj1) {
11590 {
11591 arg2 = wxString_in_helper(obj1);
11592 if (arg2 == NULL) SWIG_fail;
11593 temp2 = True;
11594 }
11595 }
11596 if (obj2) {
11597 {
11598 arg3 = wxString_in_helper(obj2);
11599 if (arg3 == NULL) SWIG_fail;
11600 temp3 = True;
11601 }
11602 }
11603 if (obj3) {
11604 {
11605 arg4 = wxString_in_helper(obj3);
11606 if (arg4 == NULL) SWIG_fail;
11607 temp4 = True;
11608 }
11609 }
11610 if (obj4) {
11611 {
11612 arg5 = wxString_in_helper(obj4);
11613 if (arg5 == NULL) SWIG_fail;
11614 temp5 = True;
11615 }
11616 }
11617 if (obj5) {
11618 arg6 = (long) SWIG_AsLong(obj5);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 if (obj6) {
11622 {
11623 arg7 = &temp7;
11624 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11625 }
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11635 {
11636 if (temp2)
11637 delete arg2;
11638 }
11639 {
11640 if (temp3)
11641 delete arg3;
11642 }
11643 {
11644 if (temp4)
11645 delete arg4;
11646 }
11647 {
11648 if (temp5)
11649 delete arg5;
11650 }
11651 return resultobj;
11652 fail:
11653 {
11654 if (temp2)
11655 delete arg2;
11656 }
11657 {
11658 if (temp3)
11659 delete arg3;
11660 }
11661 {
11662 if (temp4)
11663 delete arg4;
11664 }
11665 {
11666 if (temp5)
11667 delete arg5;
11668 }
11669 return NULL;
11670 }
11671
11672
11673 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj;
11675 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11676 wxString *arg2 = 0 ;
11677 bool temp2 = False ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "message", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11687 {
11688 arg2 = wxString_in_helper(obj1);
11689 if (arg2 == NULL) SWIG_fail;
11690 temp2 = True;
11691 }
11692 {
11693 PyThreadState* __tstate = wxPyBeginAllowThreads();
11694 (arg1)->SetMessage((wxString const &)*arg2);
11695
11696 wxPyEndAllowThreads(__tstate);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 Py_INCREF(Py_None); resultobj = Py_None;
11700 {
11701 if (temp2)
11702 delete arg2;
11703 }
11704 return resultobj;
11705 fail:
11706 {
11707 if (temp2)
11708 delete arg2;
11709 }
11710 return NULL;
11711 }
11712
11713
11714 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11717 wxString *arg2 = 0 ;
11718 bool temp2 = False ;
11719 PyObject * obj0 = 0 ;
11720 PyObject * obj1 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self",(char *) "path", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11728 {
11729 arg2 = wxString_in_helper(obj1);
11730 if (arg2 == NULL) SWIG_fail;
11731 temp2 = True;
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 (arg1)->SetPath((wxString const &)*arg2);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 Py_INCREF(Py_None); resultobj = Py_None;
11741 {
11742 if (temp2)
11743 delete arg2;
11744 }
11745 return resultobj;
11746 fail:
11747 {
11748 if (temp2)
11749 delete arg2;
11750 }
11751 return NULL;
11752 }
11753
11754
11755 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj;
11757 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11758 wxString *arg2 = 0 ;
11759 bool temp2 = False ;
11760 PyObject * obj0 = 0 ;
11761 PyObject * obj1 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self",(char *) "dir", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11769 {
11770 arg2 = wxString_in_helper(obj1);
11771 if (arg2 == NULL) SWIG_fail;
11772 temp2 = True;
11773 }
11774 {
11775 PyThreadState* __tstate = wxPyBeginAllowThreads();
11776 (arg1)->SetDirectory((wxString const &)*arg2);
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 Py_INCREF(Py_None); resultobj = Py_None;
11782 {
11783 if (temp2)
11784 delete arg2;
11785 }
11786 return resultobj;
11787 fail:
11788 {
11789 if (temp2)
11790 delete arg2;
11791 }
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11799 wxString *arg2 = 0 ;
11800 bool temp2 = False ;
11801 PyObject * obj0 = 0 ;
11802 PyObject * obj1 = 0 ;
11803 char *kwnames[] = {
11804 (char *) "self",(char *) "name", NULL
11805 };
11806
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11810 {
11811 arg2 = wxString_in_helper(obj1);
11812 if (arg2 == NULL) SWIG_fail;
11813 temp2 = True;
11814 }
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 (arg1)->SetFilename((wxString const &)*arg2);
11818
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 Py_INCREF(Py_None); resultobj = Py_None;
11823 {
11824 if (temp2)
11825 delete arg2;
11826 }
11827 return resultobj;
11828 fail:
11829 {
11830 if (temp2)
11831 delete arg2;
11832 }
11833 return NULL;
11834 }
11835
11836
11837 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11838 PyObject *resultobj;
11839 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11840 wxString *arg2 = 0 ;
11841 bool temp2 = False ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "wildCard", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11851 {
11852 arg2 = wxString_in_helper(obj1);
11853 if (arg2 == NULL) SWIG_fail;
11854 temp2 = True;
11855 }
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 (arg1)->SetWildcard((wxString const &)*arg2);
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 Py_INCREF(Py_None); resultobj = Py_None;
11864 {
11865 if (temp2)
11866 delete arg2;
11867 }
11868 return resultobj;
11869 fail:
11870 {
11871 if (temp2)
11872 delete arg2;
11873 }
11874 return NULL;
11875 }
11876
11877
11878 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11879 PyObject *resultobj;
11880 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11881 long arg2 ;
11882 PyObject * obj0 = 0 ;
11883 PyObject * obj1 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self",(char *) "style", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11891 arg2 = (long) SWIG_AsLong(obj1);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 (arg1)->SetStyle(arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 Py_INCREF(Py_None); resultobj = Py_None;
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11910 int arg2 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "filterIndex", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 arg2 = (int) SWIG_AsInt(obj1);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 (arg1)->SetFilterIndex(arg2);
11925
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 Py_INCREF(Py_None); resultobj = Py_None;
11930 return resultobj;
11931 fail:
11932 return NULL;
11933 }
11934
11935
11936 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11937 PyObject *resultobj;
11938 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11939 wxString result;
11940 PyObject * obj0 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "self", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = ((wxFileDialog const *)arg1)->GetMessage();
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 {
11956 #if wxUSE_UNICODE
11957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11958 #else
11959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11960 #endif
11961 }
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11971 wxString result;
11972 PyObject * obj0 = 0 ;
11973 char *kwnames[] = {
11974 (char *) "self", NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = ((wxFileDialog const *)arg1)->GetPath();
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 {
11988 #if wxUSE_UNICODE
11989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11990 #else
11991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11992 #endif
11993 }
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12003 wxString result;
12004 PyObject * obj0 = 0 ;
12005 char *kwnames[] = {
12006 (char *) "self", NULL
12007 };
12008
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = ((wxFileDialog const *)arg1)->GetDirectory();
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 {
12020 #if wxUSE_UNICODE
12021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12022 #else
12023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12024 #endif
12025 }
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12035 wxString result;
12036 PyObject * obj0 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = ((wxFileDialog const *)arg1)->GetFilename();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 {
12052 #if wxUSE_UNICODE
12053 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12054 #else
12055 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12056 #endif
12057 }
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12067 wxString result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = ((wxFileDialog const *)arg1)->GetWildcard();
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 {
12084 #if wxUSE_UNICODE
12085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12086 #else
12087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12088 #endif
12089 }
12090 return resultobj;
12091 fail:
12092 return NULL;
12093 }
12094
12095
12096 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj;
12098 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12099 long result;
12100 PyObject * obj0 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self", NULL
12103 };
12104
12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 resultobj = SWIG_FromLong((long)result);
12116 return resultobj;
12117 fail:
12118 return NULL;
12119 }
12120
12121
12122 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12125 int result;
12126 PyObject * obj0 = 0 ;
12127 char *kwnames[] = {
12128 (char *) "self", NULL
12129 };
12130
12131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 resultobj = SWIG_FromInt((int)result);
12142 return resultobj;
12143 fail:
12144 return NULL;
12145 }
12146
12147
12148 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12149 PyObject *resultobj;
12150 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12151 PyObject *result;
12152 PyObject * obj0 = 0 ;
12153 char *kwnames[] = {
12154 (char *) "self", NULL
12155 };
12156
12157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12160 {
12161 PyThreadState* __tstate = wxPyBeginAllowThreads();
12162 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12163
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 resultobj = result;
12168 return resultobj;
12169 fail:
12170 return NULL;
12171 }
12172
12173
12174 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12175 PyObject *resultobj;
12176 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12177 PyObject *result;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 resultobj = result;
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12201 PyObject *obj;
12202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12203 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12204 Py_INCREF(obj);
12205 return Py_BuildValue((char *)"");
12206 }
12207 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj;
12209 wxWindow *arg1 = (wxWindow *) 0 ;
12210 wxString *arg2 = 0 ;
12211 wxString *arg3 = 0 ;
12212 int arg4 = (int) 0 ;
12213 wxString *arg5 = (wxString *) 0 ;
12214 long arg6 = (long) wxCHOICEDLG_STYLE ;
12215 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12216 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12217 wxMultiChoiceDialog *result;
12218 bool temp2 = False ;
12219 bool temp3 = False ;
12220 wxPoint temp6 ;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
12223 PyObject * obj2 = 0 ;
12224 PyObject * obj3 = 0 ;
12225 PyObject * obj4 = 0 ;
12226 PyObject * obj5 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12234 {
12235 arg2 = wxString_in_helper(obj1);
12236 if (arg2 == NULL) SWIG_fail;
12237 temp2 = True;
12238 }
12239 {
12240 arg3 = wxString_in_helper(obj2);
12241 if (arg3 == NULL) SWIG_fail;
12242 temp3 = True;
12243 }
12244 if (obj3) {
12245 {
12246 arg4 = PyList_Size(obj3);
12247 arg5 = wxString_LIST_helper(obj3);
12248 if (arg5 == NULL) SWIG_fail;
12249 }
12250 }
12251 if (obj4) {
12252 arg6 = (long) SWIG_AsLong(obj4);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 if (obj5) {
12256 {
12257 arg7 = &temp6;
12258 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12259 }
12260 }
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12264
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12269 {
12270 if (temp2)
12271 delete arg2;
12272 }
12273 {
12274 if (temp3)
12275 delete arg3;
12276 }
12277 {
12278 if (arg5) delete [] arg5;
12279 }
12280 return resultobj;
12281 fail:
12282 {
12283 if (temp2)
12284 delete arg2;
12285 }
12286 {
12287 if (temp3)
12288 delete arg3;
12289 }
12290 {
12291 if (arg5) delete [] arg5;
12292 }
12293 return NULL;
12294 }
12295
12296
12297 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12298 PyObject *resultobj;
12299 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12300 wxArrayInt *arg2 = 0 ;
12301 bool temp2 = False ;
12302 PyObject * obj0 = 0 ;
12303 PyObject * obj1 = 0 ;
12304 char *kwnames[] = {
12305 (char *) "self",(char *) "selections", NULL
12306 };
12307
12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12311 {
12312 if (! PySequence_Check(obj1)) {
12313 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12314 SWIG_fail;
12315 }
12316 arg2 = new wxArrayInt;
12317 temp2 = True;
12318 int i, len=PySequence_Length(obj1);
12319 for (i=0; i<len; i++) {
12320 PyObject* item = PySequence_GetItem(obj1, i);
12321 PyObject* number = PyNumber_Int(item);
12322 arg2->Add(PyInt_AS_LONG(number));
12323 Py_DECREF(item);
12324 Py_DECREF(number);
12325 }
12326 }
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 Py_INCREF(Py_None); resultobj = Py_None;
12335 {
12336 if (temp2) delete arg2;
12337 }
12338 return resultobj;
12339 fail:
12340 {
12341 if (temp2) delete arg2;
12342 }
12343 return NULL;
12344 }
12345
12346
12347 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj;
12349 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12350 PyObject *result;
12351 PyObject * obj0 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "self", NULL
12354 };
12355
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 resultobj = result;
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12374 PyObject *obj;
12375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12376 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12377 Py_INCREF(obj);
12378 return Py_BuildValue((char *)"");
12379 }
12380 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxWindow *arg1 = (wxWindow *) 0 ;
12383 wxString *arg2 = 0 ;
12384 wxString *arg3 = 0 ;
12385 int arg4 ;
12386 wxString *arg5 = (wxString *) 0 ;
12387 long arg6 = (long) wxCHOICEDLG_STYLE ;
12388 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12389 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12390 wxSingleChoiceDialog *result;
12391 bool temp2 = False ;
12392 bool temp3 = False ;
12393 wxPoint temp6 ;
12394 PyObject * obj0 = 0 ;
12395 PyObject * obj1 = 0 ;
12396 PyObject * obj2 = 0 ;
12397 PyObject * obj3 = 0 ;
12398 PyObject * obj4 = 0 ;
12399 PyObject * obj5 = 0 ;
12400 char *kwnames[] = {
12401 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12407 {
12408 arg2 = wxString_in_helper(obj1);
12409 if (arg2 == NULL) SWIG_fail;
12410 temp2 = True;
12411 }
12412 {
12413 arg3 = wxString_in_helper(obj2);
12414 if (arg3 == NULL) SWIG_fail;
12415 temp3 = True;
12416 }
12417 {
12418 arg4 = PyList_Size(obj3);
12419 arg5 = wxString_LIST_helper(obj3);
12420 if (arg5 == NULL) SWIG_fail;
12421 }
12422 if (obj4) {
12423 arg6 = (long) SWIG_AsLong(obj4);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 if (obj5) {
12427 {
12428 arg7 = &temp6;
12429 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12430 }
12431 }
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12440 {
12441 if (temp2)
12442 delete arg2;
12443 }
12444 {
12445 if (temp3)
12446 delete arg3;
12447 }
12448 {
12449 if (arg5) delete [] arg5;
12450 }
12451 return resultobj;
12452 fail:
12453 {
12454 if (temp2)
12455 delete arg2;
12456 }
12457 {
12458 if (temp3)
12459 delete arg3;
12460 }
12461 {
12462 if (arg5) delete [] arg5;
12463 }
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12471 int result;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 result = (int)(arg1)->GetSelection();
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 resultobj = SWIG_FromInt((int)result);
12488 return resultobj;
12489 fail:
12490 return NULL;
12491 }
12492
12493
12494 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj;
12496 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12497 wxString result;
12498 PyObject * obj0 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 result = (arg1)->GetStringSelection();
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 {
12514 #if wxUSE_UNICODE
12515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12516 #else
12517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12518 #endif
12519 }
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12529 int arg2 ;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "sel", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12539 arg2 = (int) SWIG_AsInt(obj1);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 {
12542 PyThreadState* __tstate = wxPyBeginAllowThreads();
12543 (arg1)->SetSelection(arg2);
12544
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 Py_INCREF(Py_None); resultobj = Py_None;
12549 return resultobj;
12550 fail:
12551 return NULL;
12552 }
12553
12554
12555 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12556 PyObject *obj;
12557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12558 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12559 Py_INCREF(obj);
12560 return Py_BuildValue((char *)"");
12561 }
12562 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxWindow *arg1 = (wxWindow *) 0 ;
12565 wxString *arg2 = 0 ;
12566 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12567 wxString *arg3 = (wxString *) &arg3_defvalue ;
12568 wxString const &arg4_defvalue = wxPyEmptyString ;
12569 wxString *arg4 = (wxString *) &arg4_defvalue ;
12570 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12571 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12572 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12573 wxTextEntryDialog *result;
12574 bool temp2 = False ;
12575 bool temp3 = False ;
12576 bool temp4 = False ;
12577 wxPoint temp6 ;
12578 PyObject * obj0 = 0 ;
12579 PyObject * obj1 = 0 ;
12580 PyObject * obj2 = 0 ;
12581 PyObject * obj3 = 0 ;
12582 PyObject * obj4 = 0 ;
12583 PyObject * obj5 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12591 {
12592 arg2 = wxString_in_helper(obj1);
12593 if (arg2 == NULL) SWIG_fail;
12594 temp2 = True;
12595 }
12596 if (obj2) {
12597 {
12598 arg3 = wxString_in_helper(obj2);
12599 if (arg3 == NULL) SWIG_fail;
12600 temp3 = True;
12601 }
12602 }
12603 if (obj3) {
12604 {
12605 arg4 = wxString_in_helper(obj3);
12606 if (arg4 == NULL) SWIG_fail;
12607 temp4 = True;
12608 }
12609 }
12610 if (obj4) {
12611 arg5 = (long) SWIG_AsLong(obj4);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 if (obj5) {
12615 {
12616 arg6 = &temp6;
12617 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12618 }
12619 }
12620 {
12621 PyThreadState* __tstate = wxPyBeginAllowThreads();
12622 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12623
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12628 {
12629 if (temp2)
12630 delete arg2;
12631 }
12632 {
12633 if (temp3)
12634 delete arg3;
12635 }
12636 {
12637 if (temp4)
12638 delete arg4;
12639 }
12640 return resultobj;
12641 fail:
12642 {
12643 if (temp2)
12644 delete arg2;
12645 }
12646 {
12647 if (temp3)
12648 delete arg3;
12649 }
12650 {
12651 if (temp4)
12652 delete arg4;
12653 }
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12661 wxString result;
12662 PyObject * obj0 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "self", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 result = (arg1)->GetValue();
12673
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 {
12678 #if wxUSE_UNICODE
12679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12680 #else
12681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12682 #endif
12683 }
12684 return resultobj;
12685 fail:
12686 return NULL;
12687 }
12688
12689
12690 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12691 PyObject *resultobj;
12692 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12693 wxString *arg2 = 0 ;
12694 bool temp2 = False ;
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj1 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self",(char *) "value", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12704 {
12705 arg2 = wxString_in_helper(obj1);
12706 if (arg2 == NULL) SWIG_fail;
12707 temp2 = True;
12708 }
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 (arg1)->SetValue((wxString const &)*arg2);
12712
12713 wxPyEndAllowThreads(__tstate);
12714 if (PyErr_Occurred()) SWIG_fail;
12715 }
12716 Py_INCREF(Py_None); resultobj = Py_None;
12717 {
12718 if (temp2)
12719 delete arg2;
12720 }
12721 return resultobj;
12722 fail:
12723 {
12724 if (temp2)
12725 delete arg2;
12726 }
12727 return NULL;
12728 }
12729
12730
12731 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12732 PyObject *obj;
12733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12734 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12735 Py_INCREF(obj);
12736 return Py_BuildValue((char *)"");
12737 }
12738 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxFontData *result;
12741 char *kwnames[] = {
12742 NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxFontData *)new wxFontData();
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxFontData *arg1 = (wxFontData *) 0 ;
12763 PyObject * obj0 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 delete arg1;
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 Py_INCREF(Py_None); resultobj = Py_None;
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxFontData *arg1 = (wxFontData *) 0 ;
12788 bool arg2 ;
12789 PyObject * obj0 = 0 ;
12790 PyObject * obj1 = 0 ;
12791 char *kwnames[] = {
12792 (char *) "self",(char *) "enable", NULL
12793 };
12794
12795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12798 arg2 = (bool) SWIG_AsBool(obj1);
12799 if (PyErr_Occurred()) SWIG_fail;
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 (arg1)->EnableEffects(arg2);
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 Py_INCREF(Py_None); resultobj = Py_None;
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxFontData *arg1 = (wxFontData *) 0 ;
12817 bool result;
12818 PyObject * obj0 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (bool)(arg1)->GetAllowSymbols();
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 {
12834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12835 }
12836 return resultobj;
12837 fail:
12838 return NULL;
12839 }
12840
12841
12842 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxFontData *arg1 = (wxFontData *) 0 ;
12845 wxColour result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 result = (arg1)->GetColour();
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
12861 {
12862 wxColour * resultptr;
12863 resultptr = new wxColour((wxColour &) result);
12864 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
12865 }
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxFontData *arg1 = (wxFontData *) 0 ;
12875 wxFont result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (arg1)->GetChosenFont();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 {
12892 wxFont * resultptr;
12893 resultptr = new wxFont((wxFont &) result);
12894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12895 }
12896 return resultobj;
12897 fail:
12898 return NULL;
12899 }
12900
12901
12902 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12903 PyObject *resultobj;
12904 wxFontData *arg1 = (wxFontData *) 0 ;
12905 bool result;
12906 PyObject * obj0 = 0 ;
12907 char *kwnames[] = {
12908 (char *) "self", NULL
12909 };
12910
12911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 result = (bool)(arg1)->GetEnableEffects();
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 {
12922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12923 }
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxFontData *arg1 = (wxFontData *) 0 ;
12933 wxFont result;
12934 PyObject * obj0 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 result = (arg1)->GetInitialFont();
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 {
12950 wxFont * resultptr;
12951 resultptr = new wxFont((wxFont &) result);
12952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
12953 }
12954 return resultobj;
12955 fail:
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxFontData *arg1 = (wxFontData *) 0 ;
12963 bool result;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 result = (bool)(arg1)->GetShowHelp();
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 {
12980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12981 }
12982 return resultobj;
12983 fail:
12984 return NULL;
12985 }
12986
12987
12988 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj;
12990 wxFontData *arg1 = (wxFontData *) 0 ;
12991 bool arg2 ;
12992 PyObject * obj0 = 0 ;
12993 PyObject * obj1 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "allowSymbols", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13001 arg2 = (bool) SWIG_AsBool(obj1);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 (arg1)->SetAllowSymbols(arg2);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 Py_INCREF(Py_None); resultobj = Py_None;
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxFontData *arg1 = (wxFontData *) 0 ;
13020 wxFont *arg2 = 0 ;
13021 PyObject * obj0 = 0 ;
13022 PyObject * obj1 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self",(char *) "font", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1)
13032 SWIG_fail;
13033 if (arg2 == NULL) {
13034 PyErr_SetString(PyExc_TypeError,"null reference");
13035 SWIG_fail;
13036 }
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 (arg1)->SetChosenFont((wxFont const &)*arg2);
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 Py_INCREF(Py_None); resultobj = Py_None;
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxFontData *arg1 = (wxFontData *) 0 ;
13054 wxColour *arg2 = 0 ;
13055 wxColour temp2 ;
13056 PyObject * obj0 = 0 ;
13057 PyObject * obj1 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self",(char *) "colour", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13065 {
13066 arg2 = &temp2;
13067 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13068 }
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 (arg1)->SetColour((wxColour const &)*arg2);
13072
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 Py_INCREF(Py_None); resultobj = Py_None;
13077 return resultobj;
13078 fail:
13079 return NULL;
13080 }
13081
13082
13083 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13084 PyObject *resultobj;
13085 wxFontData *arg1 = (wxFontData *) 0 ;
13086 wxFont *arg2 = 0 ;
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
13089 char *kwnames[] = {
13090 (char *) "self",(char *) "font", NULL
13091 };
13092
13093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1)
13098 SWIG_fail;
13099 if (arg2 == NULL) {
13100 PyErr_SetString(PyExc_TypeError,"null reference");
13101 SWIG_fail;
13102 }
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 (arg1)->SetInitialFont((wxFont const &)*arg2);
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 Py_INCREF(Py_None); resultobj = Py_None;
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxFontData *arg1 = (wxFontData *) 0 ;
13120 int arg2 ;
13121 int arg3 ;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 PyObject * obj2 = 0 ;
13125 char *kwnames[] = {
13126 (char *) "self",(char *) "min",(char *) "max", NULL
13127 };
13128
13129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13132 arg2 = (int) SWIG_AsInt(obj1);
13133 if (PyErr_Occurred()) SWIG_fail;
13134 arg3 = (int) SWIG_AsInt(obj2);
13135 if (PyErr_Occurred()) SWIG_fail;
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->SetRange(arg2,arg3);
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxFontData *arg1 = (wxFontData *) 0 ;
13153 bool arg2 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "showHelp", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13163 arg2 = (bool) SWIG_AsBool(obj1);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 (arg1)->SetShowHelp(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 * FontData_swigregister(PyObject *self, PyObject *args) {
13180 PyObject *obj;
13181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13182 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13183 Py_INCREF(obj);
13184 return Py_BuildValue((char *)"");
13185 }
13186 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxWindow *arg1 = (wxWindow *) 0 ;
13189 wxFontData *arg2 = 0 ;
13190 wxFontDialog *result;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "parent",(char *) "data", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13201 SWIG_POINTER_EXCEPTION | 0)) == -1)
13202 SWIG_fail;
13203 if (arg2 == NULL) {
13204 PyErr_SetString(PyExc_TypeError,"null reference");
13205 SWIG_fail;
13206 }
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13215 return resultobj;
13216 fail:
13217 return NULL;
13218 }
13219
13220
13221 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13222 PyObject *resultobj;
13223 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13224 wxFontData *result;
13225 PyObject * obj0 = 0 ;
13226 char *kwnames[] = {
13227 (char *) "self", NULL
13228 };
13229
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 {
13236 wxFontData &_result_ref = (arg1)->GetFontData();
13237 result = (wxFontData *) &_result_ref;
13238 }
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
13243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13244 return resultobj;
13245 fail:
13246 return NULL;
13247 }
13248
13249
13250 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13251 PyObject *obj;
13252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13253 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13254 Py_INCREF(obj);
13255 return Py_BuildValue((char *)"");
13256 }
13257 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj;
13259 wxWindow *arg1 = (wxWindow *) 0 ;
13260 wxString *arg2 = 0 ;
13261 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13262 wxString *arg3 = (wxString *) &arg3_defvalue ;
13263 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13264 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13265 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13266 wxMessageDialog *result;
13267 bool temp2 = False ;
13268 bool temp3 = False ;
13269 wxPoint temp5 ;
13270 PyObject * obj0 = 0 ;
13271 PyObject * obj1 = 0 ;
13272 PyObject * obj2 = 0 ;
13273 PyObject * obj3 = 0 ;
13274 PyObject * obj4 = 0 ;
13275 char *kwnames[] = {
13276 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13277 };
13278
13279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13282 {
13283 arg2 = wxString_in_helper(obj1);
13284 if (arg2 == NULL) SWIG_fail;
13285 temp2 = True;
13286 }
13287 if (obj2) {
13288 {
13289 arg3 = wxString_in_helper(obj2);
13290 if (arg3 == NULL) SWIG_fail;
13291 temp3 = True;
13292 }
13293 }
13294 if (obj3) {
13295 arg4 = (long) SWIG_AsLong(obj3);
13296 if (PyErr_Occurred()) SWIG_fail;
13297 }
13298 if (obj4) {
13299 {
13300 arg5 = &temp5;
13301 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13302 }
13303 }
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13312 {
13313 if (temp2)
13314 delete arg2;
13315 }
13316 {
13317 if (temp3)
13318 delete arg3;
13319 }
13320 return resultobj;
13321 fail:
13322 {
13323 if (temp2)
13324 delete arg2;
13325 }
13326 {
13327 if (temp3)
13328 delete arg3;
13329 }
13330 return NULL;
13331 }
13332
13333
13334 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13335 PyObject *obj;
13336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13337 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13338 Py_INCREF(obj);
13339 return Py_BuildValue((char *)"");
13340 }
13341 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13342 PyObject *resultobj;
13343 wxString *arg1 = 0 ;
13344 wxString *arg2 = 0 ;
13345 int arg3 = (int) 100 ;
13346 wxWindow *arg4 = (wxWindow *) NULL ;
13347 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13348 wxProgressDialog *result;
13349 bool temp1 = False ;
13350 bool temp2 = False ;
13351 PyObject * obj0 = 0 ;
13352 PyObject * obj1 = 0 ;
13353 PyObject * obj2 = 0 ;
13354 PyObject * obj3 = 0 ;
13355 PyObject * obj4 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13361 {
13362 arg1 = wxString_in_helper(obj0);
13363 if (arg1 == NULL) SWIG_fail;
13364 temp1 = True;
13365 }
13366 {
13367 arg2 = wxString_in_helper(obj1);
13368 if (arg2 == NULL) SWIG_fail;
13369 temp2 = True;
13370 }
13371 if (obj2) {
13372 arg3 = (int) SWIG_AsInt(obj2);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 if (obj3) {
13376 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13378 }
13379 if (obj4) {
13380 arg5 = (int) SWIG_AsInt(obj4);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 {
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13386
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13391 {
13392 if (temp1)
13393 delete arg1;
13394 }
13395 {
13396 if (temp2)
13397 delete arg2;
13398 }
13399 return resultobj;
13400 fail:
13401 {
13402 if (temp1)
13403 delete arg1;
13404 }
13405 {
13406 if (temp2)
13407 delete arg2;
13408 }
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13416 int arg2 ;
13417 wxString const &arg3_defvalue = wxPyEmptyString ;
13418 wxString *arg3 = (wxString *) &arg3_defvalue ;
13419 bool result;
13420 bool temp3 = False ;
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj1 = 0 ;
13423 PyObject * obj2 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13431 arg2 = (int) SWIG_AsInt(obj1);
13432 if (PyErr_Occurred()) SWIG_fail;
13433 if (obj2) {
13434 {
13435 arg3 = wxString_in_helper(obj2);
13436 if (arg3 == NULL) SWIG_fail;
13437 temp3 = True;
13438 }
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 {
13448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13449 }
13450 {
13451 if (temp3)
13452 delete arg3;
13453 }
13454 return resultobj;
13455 fail:
13456 {
13457 if (temp3)
13458 delete arg3;
13459 }
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 (arg1)->Resume();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 Py_INCREF(Py_None); resultobj = Py_None;
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13490 PyObject *obj;
13491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13492 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13493 Py_INCREF(obj);
13494 return Py_BuildValue((char *)"");
13495 }
13496 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13499 int arg2 = (int) 0 ;
13500 wxFindDialogEvent *result;
13501 PyObject * obj0 = 0 ;
13502 PyObject * obj1 = 0 ;
13503 char *kwnames[] = {
13504 (char *) "commandType",(char *) "id", NULL
13505 };
13506
13507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13508 if (obj0) {
13509 arg1 = (wxEventType) SWIG_AsInt(obj0);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 if (obj1) {
13513 arg2 = (int) SWIG_AsInt(obj1);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13524 return resultobj;
13525 fail:
13526 return NULL;
13527 }
13528
13529
13530 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13533 int result;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (int)(arg1)->GetFlags();
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 resultobj = SWIG_FromInt((int)result);
13550 return resultobj;
13551 fail:
13552 return NULL;
13553 }
13554
13555
13556 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13559 wxString *result;
13560 PyObject * obj0 = 0 ;
13561 char *kwnames[] = {
13562 (char *) "self", NULL
13563 };
13564
13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 {
13571 wxString const &_result_ref = (arg1)->GetFindString();
13572 result = (wxString *) &_result_ref;
13573 }
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 {
13579 #if wxUSE_UNICODE
13580 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13581 #else
13582 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13583 #endif
13584 }
13585 return resultobj;
13586 fail:
13587 return NULL;
13588 }
13589
13590
13591 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13592 PyObject *resultobj;
13593 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13594 wxString *result;
13595 PyObject * obj0 = 0 ;
13596 char *kwnames[] = {
13597 (char *) "self", NULL
13598 };
13599
13600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 {
13606 wxString const &_result_ref = (arg1)->GetReplaceString();
13607 result = (wxString *) &_result_ref;
13608 }
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 {
13614 #if wxUSE_UNICODE
13615 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13616 #else
13617 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13618 #endif
13619 }
13620 return resultobj;
13621 fail:
13622 return NULL;
13623 }
13624
13625
13626 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13627 PyObject *resultobj;
13628 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13629 wxFindReplaceDialog *result;
13630 PyObject * obj0 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "self", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13655 int arg2 ;
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "flags", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13665 arg2 = (int) SWIG_AsInt(obj1);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 {
13668 PyThreadState* __tstate = wxPyBeginAllowThreads();
13669 (arg1)->SetFlags(arg2);
13670
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 Py_INCREF(Py_None); resultobj = Py_None;
13675 return resultobj;
13676 fail:
13677 return NULL;
13678 }
13679
13680
13681 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj;
13683 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13684 wxString *arg2 = 0 ;
13685 bool temp2 = False ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self",(char *) "str", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13695 {
13696 arg2 = wxString_in_helper(obj1);
13697 if (arg2 == NULL) SWIG_fail;
13698 temp2 = True;
13699 }
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 (arg1)->SetFindString((wxString const &)*arg2);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 Py_INCREF(Py_None); resultobj = Py_None;
13708 {
13709 if (temp2)
13710 delete arg2;
13711 }
13712 return resultobj;
13713 fail:
13714 {
13715 if (temp2)
13716 delete arg2;
13717 }
13718 return NULL;
13719 }
13720
13721
13722 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13723 PyObject *resultobj;
13724 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13725 wxString *arg2 = 0 ;
13726 bool temp2 = False ;
13727 PyObject * obj0 = 0 ;
13728 PyObject * obj1 = 0 ;
13729 char *kwnames[] = {
13730 (char *) "self",(char *) "str", NULL
13731 };
13732
13733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13736 {
13737 arg2 = wxString_in_helper(obj1);
13738 if (arg2 == NULL) SWIG_fail;
13739 temp2 = True;
13740 }
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 (arg1)->SetReplaceString((wxString const &)*arg2);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 Py_INCREF(Py_None); resultobj = Py_None;
13749 {
13750 if (temp2)
13751 delete arg2;
13752 }
13753 return resultobj;
13754 fail:
13755 {
13756 if (temp2)
13757 delete arg2;
13758 }
13759 return NULL;
13760 }
13761
13762
13763 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13764 PyObject *obj;
13765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13766 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13767 Py_INCREF(obj);
13768 return Py_BuildValue((char *)"");
13769 }
13770 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj;
13772 int arg1 = (int) 0 ;
13773 wxFindReplaceData *result;
13774 PyObject * obj0 = 0 ;
13775 char *kwnames[] = {
13776 (char *) "flags", NULL
13777 };
13778
13779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13780 if (obj0) {
13781 arg1 = (int) SWIG_AsInt(obj0);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13792 return resultobj;
13793 fail:
13794 return NULL;
13795 }
13796
13797
13798 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj;
13800 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13801 PyObject * obj0 = 0 ;
13802 char *kwnames[] = {
13803 (char *) "self", NULL
13804 };
13805
13806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 delete arg1;
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 Py_INCREF(Py_None); resultobj = Py_None;
13817 return resultobj;
13818 fail:
13819 return NULL;
13820 }
13821
13822
13823 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj;
13825 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13826 wxString *result;
13827 PyObject * obj0 = 0 ;
13828 char *kwnames[] = {
13829 (char *) "self", NULL
13830 };
13831
13832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 {
13838 wxString const &_result_ref = (arg1)->GetFindString();
13839 result = (wxString *) &_result_ref;
13840 }
13841
13842 wxPyEndAllowThreads(__tstate);
13843 if (PyErr_Occurred()) SWIG_fail;
13844 }
13845 {
13846 #if wxUSE_UNICODE
13847 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13848 #else
13849 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13850 #endif
13851 }
13852 return resultobj;
13853 fail:
13854 return NULL;
13855 }
13856
13857
13858 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj;
13860 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13861 wxString *result;
13862 PyObject * obj0 = 0 ;
13863 char *kwnames[] = {
13864 (char *) "self", NULL
13865 };
13866
13867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 {
13873 wxString const &_result_ref = (arg1)->GetReplaceString();
13874 result = (wxString *) &_result_ref;
13875 }
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 {
13881 #if wxUSE_UNICODE
13882 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13883 #else
13884 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13885 #endif
13886 }
13887 return resultobj;
13888 fail:
13889 return NULL;
13890 }
13891
13892
13893 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13894 PyObject *resultobj;
13895 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13896 int result;
13897 PyObject * obj0 = 0 ;
13898 char *kwnames[] = {
13899 (char *) "self", NULL
13900 };
13901
13902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 result = (int)(arg1)->GetFlags();
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 resultobj = SWIG_FromInt((int)result);
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13922 int arg2 ;
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self",(char *) "flags", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13932 arg2 = (int) SWIG_AsInt(obj1);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 (arg1)->SetFlags(arg2);
13937
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 Py_INCREF(Py_None); resultobj = Py_None;
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj;
13950 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13951 wxString *arg2 = 0 ;
13952 bool temp2 = False ;
13953 PyObject * obj0 = 0 ;
13954 PyObject * obj1 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self",(char *) "str", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
13961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13962 {
13963 arg2 = wxString_in_helper(obj1);
13964 if (arg2 == NULL) SWIG_fail;
13965 temp2 = True;
13966 }
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 (arg1)->SetFindString((wxString const &)*arg2);
13970
13971 wxPyEndAllowThreads(__tstate);
13972 if (PyErr_Occurred()) SWIG_fail;
13973 }
13974 Py_INCREF(Py_None); resultobj = Py_None;
13975 {
13976 if (temp2)
13977 delete arg2;
13978 }
13979 return resultobj;
13980 fail:
13981 {
13982 if (temp2)
13983 delete arg2;
13984 }
13985 return NULL;
13986 }
13987
13988
13989 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13990 PyObject *resultobj;
13991 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13992 wxString *arg2 = 0 ;
13993 bool temp2 = False ;
13994 PyObject * obj0 = 0 ;
13995 PyObject * obj1 = 0 ;
13996 char *kwnames[] = {
13997 (char *) "self",(char *) "str", NULL
13998 };
13999
14000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14003 {
14004 arg2 = wxString_in_helper(obj1);
14005 if (arg2 == NULL) SWIG_fail;
14006 temp2 = True;
14007 }
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 (arg1)->SetReplaceString((wxString const &)*arg2);
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 Py_INCREF(Py_None); resultobj = Py_None;
14016 {
14017 if (temp2)
14018 delete arg2;
14019 }
14020 return resultobj;
14021 fail:
14022 {
14023 if (temp2)
14024 delete arg2;
14025 }
14026 return NULL;
14027 }
14028
14029
14030 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14031 PyObject *obj;
14032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14033 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14034 Py_INCREF(obj);
14035 return Py_BuildValue((char *)"");
14036 }
14037 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14038 PyObject *resultobj;
14039 wxWindow *arg1 = (wxWindow *) 0 ;
14040 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14041 wxString *arg3 = 0 ;
14042 int arg4 = (int) 0 ;
14043 wxFindReplaceDialog *result;
14044 bool temp3 = False ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 PyObject * obj2 = 0 ;
14048 PyObject * obj3 = 0 ;
14049 char *kwnames[] = {
14050 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14051 };
14052
14053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14058 {
14059 arg3 = wxString_in_helper(obj2);
14060 if (arg3 == NULL) SWIG_fail;
14061 temp3 = True;
14062 }
14063 if (obj3) {
14064 arg4 = (int) SWIG_AsInt(obj3);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 {
14068 PyThreadState* __tstate = wxPyBeginAllowThreads();
14069 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14075 {
14076 if (temp3)
14077 delete arg3;
14078 }
14079 return resultobj;
14080 fail:
14081 {
14082 if (temp3)
14083 delete arg3;
14084 }
14085 return NULL;
14086 }
14087
14088
14089 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj;
14091 wxFindReplaceDialog *result;
14092 char *kwnames[] = {
14093 NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14100
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14105 return resultobj;
14106 fail:
14107 return NULL;
14108 }
14109
14110
14111 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14112 PyObject *resultobj;
14113 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14114 wxWindow *arg2 = (wxWindow *) 0 ;
14115 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14116 wxString *arg4 = 0 ;
14117 int arg5 = (int) 0 ;
14118 bool result;
14119 bool temp4 = False ;
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj1 = 0 ;
14122 PyObject * obj2 = 0 ;
14123 PyObject * obj3 = 0 ;
14124 PyObject * obj4 = 0 ;
14125 char *kwnames[] = {
14126 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14127 };
14128
14129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14134 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14136 {
14137 arg4 = wxString_in_helper(obj3);
14138 if (arg4 == NULL) SWIG_fail;
14139 temp4 = True;
14140 }
14141 if (obj4) {
14142 arg5 = (int) SWIG_AsInt(obj4);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 {
14153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14154 }
14155 {
14156 if (temp4)
14157 delete arg4;
14158 }
14159 return resultobj;
14160 fail:
14161 {
14162 if (temp4)
14163 delete arg4;
14164 }
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14172 wxFindReplaceData *result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (wxFindReplaceData *)(arg1)->GetData();
14184
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14189 return resultobj;
14190 fail:
14191 return NULL;
14192 }
14193
14194
14195 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14196 PyObject *resultobj;
14197 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14198 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14199 PyObject * obj0 = 0 ;
14200 PyObject * obj1 = 0 ;
14201 char *kwnames[] = {
14202 (char *) "self",(char *) "data", NULL
14203 };
14204
14205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14208 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14210 {
14211 PyThreadState* __tstate = wxPyBeginAllowThreads();
14212 (arg1)->SetData(arg2);
14213
14214 wxPyEndAllowThreads(__tstate);
14215 if (PyErr_Occurred()) SWIG_fail;
14216 }
14217 Py_INCREF(Py_None); resultobj = Py_None;
14218 return resultobj;
14219 fail:
14220 return NULL;
14221 }
14222
14223
14224 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14225 PyObject *obj;
14226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14227 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14228 Py_INCREF(obj);
14229 return Py_BuildValue((char *)"");
14230 }
14231 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14232 PyObject *resultobj;
14233 wxWindow *arg1 = (wxWindow *) 0 ;
14234 int arg2 ;
14235 wxString *arg3 = 0 ;
14236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14238 wxSize const &arg5_defvalue = wxDefaultSize ;
14239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14240 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14241 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14242 wxString *arg7 = (wxString *) &arg7_defvalue ;
14243 wxMDIParentFrame *result;
14244 bool temp3 = False ;
14245 wxPoint temp4 ;
14246 wxSize temp5 ;
14247 bool temp7 = False ;
14248 PyObject * obj0 = 0 ;
14249 PyObject * obj1 = 0 ;
14250 PyObject * obj2 = 0 ;
14251 PyObject * obj3 = 0 ;
14252 PyObject * obj4 = 0 ;
14253 PyObject * obj5 = 0 ;
14254 PyObject * obj6 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14262 arg2 = (int const) SWIG_AsInt(obj1);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 {
14265 arg3 = wxString_in_helper(obj2);
14266 if (arg3 == NULL) SWIG_fail;
14267 temp3 = True;
14268 }
14269 if (obj3) {
14270 {
14271 arg4 = &temp4;
14272 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14273 }
14274 }
14275 if (obj4) {
14276 {
14277 arg5 = &temp5;
14278 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14279 }
14280 }
14281 if (obj5) {
14282 arg6 = (long) SWIG_AsLong(obj5);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
14285 if (obj6) {
14286 {
14287 arg7 = wxString_in_helper(obj6);
14288 if (arg7 == NULL) SWIG_fail;
14289 temp7 = True;
14290 }
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14300 {
14301 if (temp3)
14302 delete arg3;
14303 }
14304 {
14305 if (temp7)
14306 delete arg7;
14307 }
14308 return resultobj;
14309 fail:
14310 {
14311 if (temp3)
14312 delete arg3;
14313 }
14314 {
14315 if (temp7)
14316 delete arg7;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxMDIParentFrame *result;
14325 char *kwnames[] = {
14326 NULL
14327 };
14328
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14347 wxWindow *arg2 = (wxWindow *) 0 ;
14348 int arg3 ;
14349 wxString *arg4 = 0 ;
14350 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14351 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14352 wxSize const &arg6_defvalue = wxDefaultSize ;
14353 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14354 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14355 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14356 wxString *arg8 = (wxString *) &arg8_defvalue ;
14357 bool result;
14358 bool temp4 = False ;
14359 wxPoint temp5 ;
14360 wxSize temp6 ;
14361 bool temp8 = False ;
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
14364 PyObject * obj2 = 0 ;
14365 PyObject * obj3 = 0 ;
14366 PyObject * obj4 = 0 ;
14367 PyObject * obj5 = 0 ;
14368 PyObject * obj6 = 0 ;
14369 PyObject * obj7 = 0 ;
14370 char *kwnames[] = {
14371 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14372 };
14373
14374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14379 arg3 = (int const) SWIG_AsInt(obj2);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 {
14382 arg4 = wxString_in_helper(obj3);
14383 if (arg4 == NULL) SWIG_fail;
14384 temp4 = True;
14385 }
14386 if (obj4) {
14387 {
14388 arg5 = &temp5;
14389 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14390 }
14391 }
14392 if (obj5) {
14393 {
14394 arg6 = &temp6;
14395 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14396 }
14397 }
14398 if (obj6) {
14399 arg7 = (long) SWIG_AsLong(obj6);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 if (obj7) {
14403 {
14404 arg8 = wxString_in_helper(obj7);
14405 if (arg8 == NULL) SWIG_fail;
14406 temp8 = True;
14407 }
14408 }
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 {
14417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14418 }
14419 {
14420 if (temp4)
14421 delete arg4;
14422 }
14423 {
14424 if (temp8)
14425 delete arg8;
14426 }
14427 return resultobj;
14428 fail:
14429 {
14430 if (temp4)
14431 delete arg4;
14432 }
14433 {
14434 if (temp8)
14435 delete arg8;
14436 }
14437 return NULL;
14438 }
14439
14440
14441 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj;
14443 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 (arg1)->ActivateNext();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 Py_INCREF(Py_None); resultobj = Py_None;
14460 return resultobj;
14461 fail:
14462 return NULL;
14463 }
14464
14465
14466 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj;
14468 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14477 {
14478 PyThreadState* __tstate = wxPyBeginAllowThreads();
14479 (arg1)->ActivatePrevious();
14480
14481 wxPyEndAllowThreads(__tstate);
14482 if (PyErr_Occurred()) SWIG_fail;
14483 }
14484 Py_INCREF(Py_None); resultobj = Py_None;
14485 return resultobj;
14486 fail:
14487 return NULL;
14488 }
14489
14490
14491 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14492 PyObject *resultobj;
14493 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 (arg1)->ArrangeIcons();
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 Py_INCREF(Py_None); resultobj = Py_None;
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14519 PyObject * obj0 = 0 ;
14520 char *kwnames[] = {
14521 (char *) "self", NULL
14522 };
14523
14524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 (arg1)->Cascade();
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 Py_INCREF(Py_None); resultobj = Py_None;
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14544 wxMDIChildFrame *result;
14545 PyObject * obj0 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 {
14561 resultobj = wxPyMake_wxObject(result);
14562 }
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14572 wxMDIClientWindow *result;
14573 PyObject * obj0 = 0 ;
14574 char *kwnames[] = {
14575 (char *) "self", NULL
14576 };
14577
14578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 {
14589 resultobj = wxPyMake_wxObject(result);
14590 }
14591 return resultobj;
14592 fail:
14593 return NULL;
14594 }
14595
14596
14597 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14600 wxWindow *result;
14601 PyObject * obj0 = 0 ;
14602 char *kwnames[] = {
14603 (char *) "self", NULL
14604 };
14605
14606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (wxWindow *)(arg1)->GetToolBar();
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 {
14617 resultobj = wxPyMake_wxObject(result);
14618 }
14619 return resultobj;
14620 fail:
14621 return NULL;
14622 }
14623
14624
14625 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14628 PyObject * obj0 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 (arg1)->Tile();
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 Py_INCREF(Py_None); resultobj = Py_None;
14644 return resultobj;
14645 fail:
14646 return NULL;
14647 }
14648
14649
14650 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14651 PyObject *obj;
14652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14653 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14654 Py_INCREF(obj);
14655 return Py_BuildValue((char *)"");
14656 }
14657 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14660 int arg2 ;
14661 wxString *arg3 = 0 ;
14662 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14663 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14664 wxSize const &arg5_defvalue = wxDefaultSize ;
14665 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14666 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14667 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14668 wxString *arg7 = (wxString *) &arg7_defvalue ;
14669 wxMDIChildFrame *result;
14670 bool temp3 = False ;
14671 wxPoint temp4 ;
14672 wxSize temp5 ;
14673 bool temp7 = False ;
14674 PyObject * obj0 = 0 ;
14675 PyObject * obj1 = 0 ;
14676 PyObject * obj2 = 0 ;
14677 PyObject * obj3 = 0 ;
14678 PyObject * obj4 = 0 ;
14679 PyObject * obj5 = 0 ;
14680 PyObject * obj6 = 0 ;
14681 char *kwnames[] = {
14682 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14688 arg2 = (int const) SWIG_AsInt(obj1);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 {
14691 arg3 = wxString_in_helper(obj2);
14692 if (arg3 == NULL) SWIG_fail;
14693 temp3 = True;
14694 }
14695 if (obj3) {
14696 {
14697 arg4 = &temp4;
14698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14699 }
14700 }
14701 if (obj4) {
14702 {
14703 arg5 = &temp5;
14704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14705 }
14706 }
14707 if (obj5) {
14708 arg6 = (long) SWIG_AsLong(obj5);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 if (obj6) {
14712 {
14713 arg7 = wxString_in_helper(obj6);
14714 if (arg7 == NULL) SWIG_fail;
14715 temp7 = True;
14716 }
14717 }
14718 {
14719 PyThreadState* __tstate = wxPyBeginAllowThreads();
14720 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14721
14722 wxPyEndAllowThreads(__tstate);
14723 if (PyErr_Occurred()) SWIG_fail;
14724 }
14725 {
14726 resultobj = wxPyMake_wxObject(result);
14727 }
14728 {
14729 if (temp3)
14730 delete arg3;
14731 }
14732 {
14733 if (temp7)
14734 delete arg7;
14735 }
14736 return resultobj;
14737 fail:
14738 {
14739 if (temp3)
14740 delete arg3;
14741 }
14742 {
14743 if (temp7)
14744 delete arg7;
14745 }
14746 return NULL;
14747 }
14748
14749
14750 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxMDIChildFrame *result;
14753 char *kwnames[] = {
14754 NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 {
14766 resultobj = wxPyMake_wxObject(result);
14767 }
14768 return resultobj;
14769 fail:
14770 return NULL;
14771 }
14772
14773
14774 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj;
14776 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14777 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14778 int arg3 ;
14779 wxString *arg4 = 0 ;
14780 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14781 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14782 wxSize const &arg6_defvalue = wxDefaultSize ;
14783 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14784 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14785 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14786 wxString *arg8 = (wxString *) &arg8_defvalue ;
14787 bool result;
14788 bool temp4 = False ;
14789 wxPoint temp5 ;
14790 wxSize temp6 ;
14791 bool temp8 = False ;
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 PyObject * obj2 = 0 ;
14795 PyObject * obj3 = 0 ;
14796 PyObject * obj4 = 0 ;
14797 PyObject * obj5 = 0 ;
14798 PyObject * obj6 = 0 ;
14799 PyObject * obj7 = 0 ;
14800 char *kwnames[] = {
14801 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14802 };
14803
14804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
14808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14809 arg3 = (int const) SWIG_AsInt(obj2);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 {
14812 arg4 = wxString_in_helper(obj3);
14813 if (arg4 == NULL) SWIG_fail;
14814 temp4 = True;
14815 }
14816 if (obj4) {
14817 {
14818 arg5 = &temp5;
14819 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14820 }
14821 }
14822 if (obj5) {
14823 {
14824 arg6 = &temp6;
14825 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14826 }
14827 }
14828 if (obj6) {
14829 arg7 = (long) SWIG_AsLong(obj6);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 if (obj7) {
14833 {
14834 arg8 = wxString_in_helper(obj7);
14835 if (arg8 == NULL) SWIG_fail;
14836 temp8 = True;
14837 }
14838 }
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14842
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 {
14847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14848 }
14849 {
14850 if (temp4)
14851 delete arg4;
14852 }
14853 {
14854 if (temp8)
14855 delete arg8;
14856 }
14857 return resultobj;
14858 fail:
14859 {
14860 if (temp4)
14861 delete arg4;
14862 }
14863 {
14864 if (temp8)
14865 delete arg8;
14866 }
14867 return NULL;
14868 }
14869
14870
14871 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj;
14873 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 (arg1)->Activate();
14885
14886 wxPyEndAllowThreads(__tstate);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 Py_INCREF(Py_None); resultobj = Py_None;
14890 return resultobj;
14891 fail:
14892 return NULL;
14893 }
14894
14895
14896 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14897 PyObject *resultobj;
14898 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14899 bool arg2 ;
14900 PyObject * obj0 = 0 ;
14901 PyObject * obj1 = 0 ;
14902 char *kwnames[] = {
14903 (char *) "self",(char *) "maximize", NULL
14904 };
14905
14906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14909 arg2 = (bool) SWIG_AsBool(obj1);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 {
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 (arg1)->Maximize(arg2);
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 Py_INCREF(Py_None); resultobj = Py_None;
14919 return resultobj;
14920 fail:
14921 return NULL;
14922 }
14923
14924
14925 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj;
14927 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14928 PyObject * obj0 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
14935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14936 {
14937 PyThreadState* __tstate = wxPyBeginAllowThreads();
14938 (arg1)->Restore();
14939
14940 wxPyEndAllowThreads(__tstate);
14941 if (PyErr_Occurred()) SWIG_fail;
14942 }
14943 Py_INCREF(Py_None); resultobj = Py_None;
14944 return resultobj;
14945 fail:
14946 return NULL;
14947 }
14948
14949
14950 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14951 PyObject *obj;
14952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14953 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14954 Py_INCREF(obj);
14955 return Py_BuildValue((char *)"");
14956 }
14957 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14960 long arg2 = (long) 0 ;
14961 wxMDIClientWindow *result;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "parent",(char *) "style", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14971 if (obj1) {
14972 arg2 = (long) SWIG_AsLong(obj1);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 {
14983 resultobj = wxPyMake_wxObject(result);
14984 }
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxMDIClientWindow *result;
14994 char *kwnames[] = {
14995 NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 {
15007 resultobj = wxPyMake_wxObject(result);
15008 }
15009 return resultobj;
15010 fail:
15011 return NULL;
15012 }
15013
15014
15015 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15018 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15019 long arg3 = (long) 0 ;
15020 bool result;
15021 PyObject * obj0 = 0 ;
15022 PyObject * obj1 = 0 ;
15023 PyObject * obj2 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "self",(char *) "parent",(char *) "style", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15033 if (obj2) {
15034 arg3 = (long) SWIG_AsLong(obj2);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (bool)(arg1)->Create(arg2,arg3);
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 {
15045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15046 }
15047 return resultobj;
15048 fail:
15049 return NULL;
15050 }
15051
15052
15053 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15054 PyObject *obj;
15055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15056 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15057 Py_INCREF(obj);
15058 return Py_BuildValue((char *)"");
15059 }
15060 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxWindow *arg1 = (wxWindow *) 0 ;
15063 int arg2 ;
15064 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15065 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15066 wxSize const &arg4_defvalue = wxDefaultSize ;
15067 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15068 long arg5 = (long) 0 ;
15069 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15070 wxString *arg6 = (wxString *) &arg6_defvalue ;
15071 wxPyWindow *result;
15072 wxPoint temp3 ;
15073 wxSize temp4 ;
15074 bool temp6 = False ;
15075 PyObject * obj0 = 0 ;
15076 PyObject * obj1 = 0 ;
15077 PyObject * obj2 = 0 ;
15078 PyObject * obj3 = 0 ;
15079 PyObject * obj4 = 0 ;
15080 PyObject * obj5 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 arg2 = (int const) SWIG_AsInt(obj1);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 if (obj2) {
15091 {
15092 arg3 = &temp3;
15093 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15094 }
15095 }
15096 if (obj3) {
15097 {
15098 arg4 = &temp4;
15099 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15100 }
15101 }
15102 if (obj4) {
15103 arg5 = (long) SWIG_AsLong(obj4);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 if (obj5) {
15107 {
15108 arg6 = wxString_in_helper(obj5);
15109 if (arg6 == NULL) SWIG_fail;
15110 temp6 = True;
15111 }
15112 }
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15121 {
15122 if (temp6)
15123 delete arg6;
15124 }
15125 return resultobj;
15126 fail:
15127 {
15128 if (temp6)
15129 delete arg6;
15130 }
15131 return NULL;
15132 }
15133
15134
15135 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj;
15137 wxPyWindow *result;
15138 char *kwnames[] = {
15139 NULL
15140 };
15141
15142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (wxPyWindow *)new wxPyWindow();
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15160 PyObject *arg2 = (PyObject *) 0 ;
15161 PyObject *arg3 = (PyObject *) 0 ;
15162 PyObject * obj0 = 0 ;
15163 PyObject * obj1 = 0 ;
15164 PyObject * obj2 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "self",(char *) "self",(char *) "_class", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15172 arg2 = obj1;
15173 arg3 = obj2;
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 (arg1)->_setCallbackInfo(arg2,arg3);
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 return resultobj;
15183 fail:
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15191 int arg2 ;
15192 int arg3 ;
15193 int arg4 ;
15194 int arg5 ;
15195 PyObject * obj0 = 0 ;
15196 PyObject * obj1 = 0 ;
15197 PyObject * obj2 = 0 ;
15198 PyObject * obj3 = 0 ;
15199 PyObject * obj4 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15207 arg2 = (int) SWIG_AsInt(obj1);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 arg3 = (int) SWIG_AsInt(obj2);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 arg4 = (int) SWIG_AsInt(obj3);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 arg5 = (int) SWIG_AsInt(obj4);
15214 if (PyErr_Occurred()) SWIG_fail;
15215 {
15216 PyThreadState* __tstate = wxPyBeginAllowThreads();
15217 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15218
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 Py_INCREF(Py_None); resultobj = Py_None;
15223 return resultobj;
15224 fail:
15225 return NULL;
15226 }
15227
15228
15229 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15230 PyObject *resultobj;
15231 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15232 int arg2 ;
15233 int arg3 ;
15234 int arg4 ;
15235 int arg5 ;
15236 int arg6 = (int) wxSIZE_AUTO ;
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
15239 PyObject * obj2 = 0 ;
15240 PyObject * obj3 = 0 ;
15241 PyObject * obj4 = 0 ;
15242 PyObject * obj5 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15250 arg2 = (int) SWIG_AsInt(obj1);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 arg3 = (int) SWIG_AsInt(obj2);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 arg4 = (int) SWIG_AsInt(obj3);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 arg5 = (int) SWIG_AsInt(obj4);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 if (obj5) {
15259 arg6 = (int) SWIG_AsInt(obj5);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 Py_INCREF(Py_None); resultobj = Py_None;
15270 return resultobj;
15271 fail:
15272 return NULL;
15273 }
15274
15275
15276 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15277 PyObject *resultobj;
15278 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15279 int arg2 ;
15280 int arg3 ;
15281 PyObject * obj0 = 0 ;
15282 PyObject * obj1 = 0 ;
15283 PyObject * obj2 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self",(char *) "width",(char *) "height", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15291 arg2 = (int) SWIG_AsInt(obj1);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 arg3 = (int) SWIG_AsInt(obj2);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 {
15296 PyThreadState* __tstate = wxPyBeginAllowThreads();
15297 (arg1)->base_DoSetClientSize(arg2,arg3);
15298
15299 wxPyEndAllowThreads(__tstate);
15300 if (PyErr_Occurred()) SWIG_fail;
15301 }
15302 Py_INCREF(Py_None); resultobj = Py_None;
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15312 int arg2 ;
15313 int arg3 ;
15314 PyObject * obj0 = 0 ;
15315 PyObject * obj1 = 0 ;
15316 PyObject * obj2 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self",(char *) "x",(char *) "y", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15324 arg2 = (int) SWIG_AsInt(obj1);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 arg3 = (int) SWIG_AsInt(obj2);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15331
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 Py_INCREF(Py_None); resultobj = Py_None;
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15345 int *arg2 = (int *) 0 ;
15346 int *arg3 = (int *) 0 ;
15347 int temp2 ;
15348 int temp3 ;
15349 PyObject * obj0 = 0 ;
15350 char *kwnames[] = {
15351 (char *) "self", NULL
15352 };
15353
15354 arg2 = &temp2;
15355 arg3 = &temp3;
15356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15362
15363 wxPyEndAllowThreads(__tstate);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 Py_INCREF(Py_None); resultobj = Py_None;
15367 {
15368 PyObject *o = PyInt_FromLong((long) (*arg2));
15369 resultobj = t_output_helper(resultobj,o);
15370 }
15371 {
15372 PyObject *o = PyInt_FromLong((long) (*arg3));
15373 resultobj = t_output_helper(resultobj,o);
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15384 int *arg2 = (int *) 0 ;
15385 int *arg3 = (int *) 0 ;
15386 int temp2 ;
15387 int temp3 ;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 arg2 = &temp2;
15394 arg3 = &temp3;
15395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 Py_INCREF(Py_None); resultobj = Py_None;
15406 {
15407 PyObject *o = PyInt_FromLong((long) (*arg2));
15408 resultobj = t_output_helper(resultobj,o);
15409 }
15410 {
15411 PyObject *o = PyInt_FromLong((long) (*arg3));
15412 resultobj = t_output_helper(resultobj,o);
15413 }
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15423 int *arg2 = (int *) 0 ;
15424 int *arg3 = (int *) 0 ;
15425 int temp2 ;
15426 int temp3 ;
15427 PyObject * obj0 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self", NULL
15430 };
15431
15432 arg2 = &temp2;
15433 arg3 = &temp3;
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 Py_INCREF(Py_None); resultobj = Py_None;
15445 {
15446 PyObject *o = PyInt_FromLong((long) (*arg2));
15447 resultobj = t_output_helper(resultobj,o);
15448 }
15449 {
15450 PyObject *o = PyInt_FromLong((long) (*arg3));
15451 resultobj = t_output_helper(resultobj,o);
15452 }
15453 return resultobj;
15454 fail:
15455 return NULL;
15456 }
15457
15458
15459 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15460 PyObject *resultobj;
15461 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15462 wxSize result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 {
15479 wxSize * resultptr;
15480 resultptr = new wxSize((wxSize &) result);
15481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15482 }
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15492 wxSize result;
15493 PyObject * obj0 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 {
15509 wxSize * resultptr;
15510 resultptr = new wxSize((wxSize &) result);
15511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15512 }
15513 return resultobj;
15514 fail:
15515 return NULL;
15516 }
15517
15518
15519 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj;
15521 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15522 PyObject * obj0 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 (arg1)->base_InitDialog();
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 Py_INCREF(Py_None); resultobj = Py_None;
15538 return resultobj;
15539 fail:
15540 return NULL;
15541 }
15542
15543
15544 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj;
15546 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15547 bool result;
15548 PyObject * obj0 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (bool)(arg1)->base_TransferDataToWindow();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 {
15564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15565 }
15566 return resultobj;
15567 fail:
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15575 bool result;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 result = (bool)(arg1)->base_TransferDataFromWindow();
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 {
15592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15593 }
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15603 bool result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 result = (bool)(arg1)->base_Validate();
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 {
15620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15621 }
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15631 bool result;
15632 PyObject * obj0 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 {
15648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15649 }
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15659 bool result;
15660 PyObject * obj0 = 0 ;
15661 char *kwnames[] = {
15662 (char *) "self", NULL
15663 };
15664
15665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15668 {
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15671
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 {
15676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15677 }
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15687 wxSize result;
15688 PyObject * obj0 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 {
15704 wxSize * resultptr;
15705 resultptr = new wxSize((wxSize &) result);
15706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15707 }
15708 return resultobj;
15709 fail:
15710 return NULL;
15711 }
15712
15713
15714 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15715 PyObject *resultobj;
15716 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15717 wxWindow *arg2 = (wxWindow *) 0 ;
15718 PyObject * obj0 = 0 ;
15719 PyObject * obj1 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self",(char *) "child", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 (arg1)->base_AddChild(arg2);
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 Py_INCREF(Py_None); resultobj = Py_None;
15737 return resultobj;
15738 fail:
15739 return NULL;
15740 }
15741
15742
15743 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15744 PyObject *resultobj;
15745 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15746 wxWindow *arg2 = (wxWindow *) 0 ;
15747 PyObject * obj0 = 0 ;
15748 PyObject * obj1 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self",(char *) "child", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 (arg1)->base_RemoveChild(arg2);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 Py_INCREF(Py_None); resultobj = Py_None;
15766 return resultobj;
15767 fail:
15768 return NULL;
15769 }
15770
15771
15772 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj;
15774 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15775 bool result;
15776 PyObject * obj0 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "self", NULL
15779 };
15780
15781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (bool)(arg1)->base_ShouldInheritColours();
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 {
15792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15793 }
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15803 wxColour *arg2 = 0 ;
15804 wxColour temp2 ;
15805 PyObject * obj0 = 0 ;
15806 PyObject * obj1 = 0 ;
15807 char *kwnames[] = {
15808 (char *) "self",(char *) "c", NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
15812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15814 {
15815 arg2 = &temp2;
15816 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15817 }
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
15821
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 Py_INCREF(Py_None); resultobj = Py_None;
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15833 PyObject *obj;
15834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15835 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15836 Py_INCREF(obj);
15837 return Py_BuildValue((char *)"");
15838 }
15839 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj;
15841 wxWindow *arg1 = (wxWindow *) 0 ;
15842 int arg2 ;
15843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15845 wxSize const &arg4_defvalue = wxDefaultSize ;
15846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15847 long arg5 = (long) 0 ;
15848 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15849 wxString *arg6 = (wxString *) &arg6_defvalue ;
15850 wxPyPanel *result;
15851 wxPoint temp3 ;
15852 wxSize temp4 ;
15853 bool temp6 = False ;
15854 PyObject * obj0 = 0 ;
15855 PyObject * obj1 = 0 ;
15856 PyObject * obj2 = 0 ;
15857 PyObject * obj3 = 0 ;
15858 PyObject * obj4 = 0 ;
15859 PyObject * obj5 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15867 arg2 = (int const) SWIG_AsInt(obj1);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 if (obj2) {
15870 {
15871 arg3 = &temp3;
15872 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15873 }
15874 }
15875 if (obj3) {
15876 {
15877 arg4 = &temp4;
15878 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15879 }
15880 }
15881 if (obj4) {
15882 arg5 = (long) SWIG_AsLong(obj4);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15885 if (obj5) {
15886 {
15887 arg6 = wxString_in_helper(obj5);
15888 if (arg6 == NULL) SWIG_fail;
15889 temp6 = True;
15890 }
15891 }
15892 {
15893 PyThreadState* __tstate = wxPyBeginAllowThreads();
15894 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15895
15896 wxPyEndAllowThreads(__tstate);
15897 if (PyErr_Occurred()) SWIG_fail;
15898 }
15899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15900 {
15901 if (temp6)
15902 delete arg6;
15903 }
15904 return resultobj;
15905 fail:
15906 {
15907 if (temp6)
15908 delete arg6;
15909 }
15910 return NULL;
15911 }
15912
15913
15914 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15915 PyObject *resultobj;
15916 wxPyPanel *result;
15917 char *kwnames[] = {
15918 NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (wxPyPanel *)new wxPyPanel();
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
15930 return resultobj;
15931 fail:
15932 return NULL;
15933 }
15934
15935
15936 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15939 PyObject *arg2 = (PyObject *) 0 ;
15940 PyObject *arg3 = (PyObject *) 0 ;
15941 PyObject * obj0 = 0 ;
15942 PyObject * obj1 = 0 ;
15943 PyObject * obj2 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self",(char *) "self",(char *) "_class", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 arg2 = obj1;
15952 arg3 = obj2;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->_setCallbackInfo(arg2,arg3);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964 }
15965
15966
15967 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15970 int arg2 ;
15971 int arg3 ;
15972 int arg4 ;
15973 int arg5 ;
15974 PyObject * obj0 = 0 ;
15975 PyObject * obj1 = 0 ;
15976 PyObject * obj2 = 0 ;
15977 PyObject * obj3 = 0 ;
15978 PyObject * obj4 = 0 ;
15979 char *kwnames[] = {
15980 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15981 };
15982
15983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
15985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15986 arg2 = (int) SWIG_AsInt(obj1);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 arg3 = (int) SWIG_AsInt(obj2);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 arg4 = (int) SWIG_AsInt(obj3);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 arg5 = (int) SWIG_AsInt(obj4);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 Py_INCREF(Py_None); resultobj = Py_None;
16002 return resultobj;
16003 fail:
16004 return NULL;
16005 }
16006
16007
16008 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16009 PyObject *resultobj;
16010 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16011 int arg2 ;
16012 int arg3 ;
16013 int arg4 ;
16014 int arg5 ;
16015 int arg6 = (int) wxSIZE_AUTO ;
16016 PyObject * obj0 = 0 ;
16017 PyObject * obj1 = 0 ;
16018 PyObject * obj2 = 0 ;
16019 PyObject * obj3 = 0 ;
16020 PyObject * obj4 = 0 ;
16021 PyObject * obj5 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 arg2 = (int) SWIG_AsInt(obj1);
16030 if (PyErr_Occurred()) SWIG_fail;
16031 arg3 = (int) SWIG_AsInt(obj2);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 arg4 = (int) SWIG_AsInt(obj3);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 arg5 = (int) SWIG_AsInt(obj4);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 if (obj5) {
16038 arg6 = (int) SWIG_AsInt(obj5);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16044
16045 wxPyEndAllowThreads(__tstate);
16046 if (PyErr_Occurred()) SWIG_fail;
16047 }
16048 Py_INCREF(Py_None); resultobj = Py_None;
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16058 int arg2 ;
16059 int arg3 ;
16060 PyObject * obj0 = 0 ;
16061 PyObject * obj1 = 0 ;
16062 PyObject * obj2 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self",(char *) "width",(char *) "height", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16070 arg2 = (int) SWIG_AsInt(obj1);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 arg3 = (int) SWIG_AsInt(obj2);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 (arg1)->base_DoSetClientSize(arg2,arg3);
16077
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 Py_INCREF(Py_None); resultobj = Py_None;
16082 return resultobj;
16083 fail:
16084 return NULL;
16085 }
16086
16087
16088 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16091 int arg2 ;
16092 int arg3 ;
16093 PyObject * obj0 = 0 ;
16094 PyObject * obj1 = 0 ;
16095 PyObject * obj2 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self",(char *) "x",(char *) "y", NULL
16098 };
16099
16100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16103 arg2 = (int) SWIG_AsInt(obj1);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 arg3 = (int) SWIG_AsInt(obj2);
16106 if (PyErr_Occurred()) SWIG_fail;
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 Py_INCREF(Py_None); resultobj = Py_None;
16115 return resultobj;
16116 fail:
16117 return NULL;
16118 }
16119
16120
16121 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16122 PyObject *resultobj;
16123 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16124 int *arg2 = (int *) 0 ;
16125 int *arg3 = (int *) 0 ;
16126 int temp2 ;
16127 int temp3 ;
16128 PyObject * obj0 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self", NULL
16131 };
16132
16133 arg2 = &temp2;
16134 arg3 = &temp3;
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 Py_INCREF(Py_None); resultobj = Py_None;
16146 {
16147 PyObject *o = PyInt_FromLong((long) (*arg2));
16148 resultobj = t_output_helper(resultobj,o);
16149 }
16150 {
16151 PyObject *o = PyInt_FromLong((long) (*arg3));
16152 resultobj = t_output_helper(resultobj,o);
16153 }
16154 return resultobj;
16155 fail:
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16163 int *arg2 = (int *) 0 ;
16164 int *arg3 = (int *) 0 ;
16165 int temp2 ;
16166 int temp3 ;
16167 PyObject * obj0 = 0 ;
16168 char *kwnames[] = {
16169 (char *) "self", NULL
16170 };
16171
16172 arg2 = &temp2;
16173 arg3 = &temp3;
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 Py_INCREF(Py_None); resultobj = Py_None;
16185 {
16186 PyObject *o = PyInt_FromLong((long) (*arg2));
16187 resultobj = t_output_helper(resultobj,o);
16188 }
16189 {
16190 PyObject *o = PyInt_FromLong((long) (*arg3));
16191 resultobj = t_output_helper(resultobj,o);
16192 }
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16202 int *arg2 = (int *) 0 ;
16203 int *arg3 = (int *) 0 ;
16204 int temp2 ;
16205 int temp3 ;
16206 PyObject * obj0 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self", NULL
16209 };
16210
16211 arg2 = &temp2;
16212 arg3 = &temp3;
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16219
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 Py_INCREF(Py_None); resultobj = Py_None;
16224 {
16225 PyObject *o = PyInt_FromLong((long) (*arg2));
16226 resultobj = t_output_helper(resultobj,o);
16227 }
16228 {
16229 PyObject *o = PyInt_FromLong((long) (*arg3));
16230 resultobj = t_output_helper(resultobj,o);
16231 }
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16241 wxSize result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 wxSize * resultptr;
16259 resultptr = new wxSize((wxSize &) result);
16260 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16261 }
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16271 wxSize result;
16272 PyObject * obj0 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 {
16288 wxSize * resultptr;
16289 resultptr = new wxSize((wxSize &) result);
16290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16291 }
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 (arg1)->base_InitDialog();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 Py_INCREF(Py_None); resultobj = Py_None;
16317 return resultobj;
16318 fail:
16319 return NULL;
16320 }
16321
16322
16323 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16324 PyObject *resultobj;
16325 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16326 bool result;
16327 PyObject * obj0 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = (bool)(arg1)->base_TransferDataToWindow();
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16344 }
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16354 bool result;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 result = (bool)(arg1)->base_TransferDataFromWindow();
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 {
16371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16372 }
16373 return resultobj;
16374 fail:
16375 return NULL;
16376 }
16377
16378
16379 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16380 PyObject *resultobj;
16381 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16382 bool result;
16383 PyObject * obj0 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = (bool)(arg1)->base_Validate();
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16400 }
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16410 bool result;
16411 PyObject * obj0 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 {
16427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16428 }
16429 return resultobj;
16430 fail:
16431 return NULL;
16432 }
16433
16434
16435 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj;
16437 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16438 bool result;
16439 PyObject * obj0 = 0 ;
16440 char *kwnames[] = {
16441 (char *) "self", NULL
16442 };
16443
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16447 {
16448 PyThreadState* __tstate = wxPyBeginAllowThreads();
16449 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16450
16451 wxPyEndAllowThreads(__tstate);
16452 if (PyErr_Occurred()) SWIG_fail;
16453 }
16454 {
16455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16456 }
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16466 wxSize result;
16467 PyObject * obj0 = 0 ;
16468 char *kwnames[] = {
16469 (char *) "self", NULL
16470 };
16471
16472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 {
16483 wxSize * resultptr;
16484 resultptr = new wxSize((wxSize &) result);
16485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16486 }
16487 return resultobj;
16488 fail:
16489 return NULL;
16490 }
16491
16492
16493 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16496 wxWindow *arg2 = (wxWindow *) 0 ;
16497 PyObject * obj0 = 0 ;
16498 PyObject * obj1 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "child", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 (arg1)->base_AddChild(arg2);
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 Py_INCREF(Py_None); resultobj = Py_None;
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16525 wxWindow *arg2 = (wxWindow *) 0 ;
16526 PyObject * obj0 = 0 ;
16527 PyObject * obj1 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self",(char *) "child", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->base_RemoveChild(arg2);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 Py_INCREF(Py_None); resultobj = Py_None;
16545 return resultobj;
16546 fail:
16547 return NULL;
16548 }
16549
16550
16551 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16554 bool result;
16555 PyObject * obj0 = 0 ;
16556 char *kwnames[] = {
16557 (char *) "self", NULL
16558 };
16559
16560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16563 {
16564 PyThreadState* __tstate = wxPyBeginAllowThreads();
16565 result = (bool)(arg1)->base_ShouldInheritColours();
16566
16567 wxPyEndAllowThreads(__tstate);
16568 if (PyErr_Occurred()) SWIG_fail;
16569 }
16570 {
16571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16572 }
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16582 wxColour *arg2 = 0 ;
16583 wxColour temp2 ;
16584 PyObject * obj0 = 0 ;
16585 PyObject * obj1 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self",(char *) "c", NULL
16588 };
16589
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16593 {
16594 arg2 = &temp2;
16595 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16596 }
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 Py_INCREF(Py_None); resultobj = Py_None;
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16612 PyObject *obj;
16613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16615 Py_INCREF(obj);
16616 return Py_BuildValue((char *)"");
16617 }
16618 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxWindow *arg1 = (wxWindow *) 0 ;
16621 int arg2 ;
16622 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16623 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16624 wxSize const &arg4_defvalue = wxDefaultSize ;
16625 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16626 long arg5 = (long) 0 ;
16627 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16628 wxString *arg6 = (wxString *) &arg6_defvalue ;
16629 wxPyScrolledWindow *result;
16630 wxPoint temp3 ;
16631 wxSize temp4 ;
16632 bool temp6 = False ;
16633 PyObject * obj0 = 0 ;
16634 PyObject * obj1 = 0 ;
16635 PyObject * obj2 = 0 ;
16636 PyObject * obj3 = 0 ;
16637 PyObject * obj4 = 0 ;
16638 PyObject * obj5 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16646 arg2 = (int const) SWIG_AsInt(obj1);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 if (obj2) {
16649 {
16650 arg3 = &temp3;
16651 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16652 }
16653 }
16654 if (obj3) {
16655 {
16656 arg4 = &temp4;
16657 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16658 }
16659 }
16660 if (obj4) {
16661 arg5 = (long) SWIG_AsLong(obj4);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 if (obj5) {
16665 {
16666 arg6 = wxString_in_helper(obj5);
16667 if (arg6 == NULL) SWIG_fail;
16668 temp6 = True;
16669 }
16670 }
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16679 {
16680 if (temp6)
16681 delete arg6;
16682 }
16683 return resultobj;
16684 fail:
16685 {
16686 if (temp6)
16687 delete arg6;
16688 }
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxPyScrolledWindow *result;
16696 char *kwnames[] = {
16697 NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16718 PyObject *arg2 = (PyObject *) 0 ;
16719 PyObject *arg3 = (PyObject *) 0 ;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 PyObject * obj2 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "self",(char *) "_class", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16730 arg2 = obj1;
16731 arg3 = obj2;
16732 {
16733 PyThreadState* __tstate = wxPyBeginAllowThreads();
16734 (arg1)->_setCallbackInfo(arg2,arg3);
16735
16736 wxPyEndAllowThreads(__tstate);
16737 if (PyErr_Occurred()) SWIG_fail;
16738 }
16739 Py_INCREF(Py_None); resultobj = Py_None;
16740 return resultobj;
16741 fail:
16742 return NULL;
16743 }
16744
16745
16746 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16749 int arg2 ;
16750 int arg3 ;
16751 int arg4 ;
16752 int arg5 ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 PyObject * obj2 = 0 ;
16756 PyObject * obj3 = 0 ;
16757 PyObject * obj4 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16765 arg2 = (int) SWIG_AsInt(obj1);
16766 if (PyErr_Occurred()) SWIG_fail;
16767 arg3 = (int) SWIG_AsInt(obj2);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 arg4 = (int) SWIG_AsInt(obj3);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 arg5 = (int) SWIG_AsInt(obj4);
16772 if (PyErr_Occurred()) SWIG_fail;
16773 {
16774 PyThreadState* __tstate = wxPyBeginAllowThreads();
16775 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16776
16777 wxPyEndAllowThreads(__tstate);
16778 if (PyErr_Occurred()) SWIG_fail;
16779 }
16780 Py_INCREF(Py_None); resultobj = Py_None;
16781 return resultobj;
16782 fail:
16783 return NULL;
16784 }
16785
16786
16787 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16788 PyObject *resultobj;
16789 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16790 int arg2 ;
16791 int arg3 ;
16792 int arg4 ;
16793 int arg5 ;
16794 int arg6 = (int) wxSIZE_AUTO ;
16795 PyObject * obj0 = 0 ;
16796 PyObject * obj1 = 0 ;
16797 PyObject * obj2 = 0 ;
16798 PyObject * obj3 = 0 ;
16799 PyObject * obj4 = 0 ;
16800 PyObject * obj5 = 0 ;
16801 char *kwnames[] = {
16802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16803 };
16804
16805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16808 arg2 = (int) SWIG_AsInt(obj1);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 arg3 = (int) SWIG_AsInt(obj2);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 arg4 = (int) SWIG_AsInt(obj3);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 arg5 = (int) SWIG_AsInt(obj4);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 if (obj5) {
16817 arg6 = (int) SWIG_AsInt(obj5);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 Py_INCREF(Py_None); resultobj = Py_None;
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16837 int arg2 ;
16838 int arg3 ;
16839 PyObject * obj0 = 0 ;
16840 PyObject * obj1 = 0 ;
16841 PyObject * obj2 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self",(char *) "width",(char *) "height", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16849 arg2 = (int) SWIG_AsInt(obj1);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 arg3 = (int) SWIG_AsInt(obj2);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 (arg1)->base_DoSetClientSize(arg2,arg3);
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 Py_INCREF(Py_None); resultobj = Py_None;
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16870 int arg2 ;
16871 int arg3 ;
16872 PyObject * obj0 = 0 ;
16873 PyObject * obj1 = 0 ;
16874 PyObject * obj2 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "x",(char *) "y", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16882 arg2 = (int) SWIG_AsInt(obj1);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 arg3 = (int) SWIG_AsInt(obj2);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 Py_INCREF(Py_None); resultobj = Py_None;
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16903 int *arg2 = (int *) 0 ;
16904 int *arg3 = (int *) 0 ;
16905 int temp2 ;
16906 int temp3 ;
16907 PyObject * obj0 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self", NULL
16910 };
16911
16912 arg2 = &temp2;
16913 arg3 = &temp3;
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
16915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 Py_INCREF(Py_None); resultobj = Py_None;
16925 {
16926 PyObject *o = PyInt_FromLong((long) (*arg2));
16927 resultobj = t_output_helper(resultobj,o);
16928 }
16929 {
16930 PyObject *o = PyInt_FromLong((long) (*arg3));
16931 resultobj = t_output_helper(resultobj,o);
16932 }
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj;
16941 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16942 int *arg2 = (int *) 0 ;
16943 int *arg3 = (int *) 0 ;
16944 int temp2 ;
16945 int temp3 ;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 arg2 = &temp2;
16952 arg3 = &temp3;
16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16956 {
16957 PyThreadState* __tstate = wxPyBeginAllowThreads();
16958 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
16959
16960 wxPyEndAllowThreads(__tstate);
16961 if (PyErr_Occurred()) SWIG_fail;
16962 }
16963 Py_INCREF(Py_None); resultobj = Py_None;
16964 {
16965 PyObject *o = PyInt_FromLong((long) (*arg2));
16966 resultobj = t_output_helper(resultobj,o);
16967 }
16968 {
16969 PyObject *o = PyInt_FromLong((long) (*arg3));
16970 resultobj = t_output_helper(resultobj,o);
16971 }
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16981 int *arg2 = (int *) 0 ;
16982 int *arg3 = (int *) 0 ;
16983 int temp2 ;
16984 int temp3 ;
16985 PyObject * obj0 = 0 ;
16986 char *kwnames[] = {
16987 (char *) "self", NULL
16988 };
16989
16990 arg2 = &temp2;
16991 arg3 = &temp3;
16992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
16993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
16998
16999 wxPyEndAllowThreads(__tstate);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 Py_INCREF(Py_None); resultobj = Py_None;
17003 {
17004 PyObject *o = PyInt_FromLong((long) (*arg2));
17005 resultobj = t_output_helper(resultobj,o);
17006 }
17007 {
17008 PyObject *o = PyInt_FromLong((long) (*arg3));
17009 resultobj = t_output_helper(resultobj,o);
17010 }
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17020 wxSize result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 {
17037 wxSize * resultptr;
17038 resultptr = new wxSize((wxSize &) result);
17039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17040 }
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17050 wxSize result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 {
17067 wxSize * resultptr;
17068 resultptr = new wxSize((wxSize &) result);
17069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17070 }
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17080 PyObject * obj0 = 0 ;
17081 char *kwnames[] = {
17082 (char *) "self", NULL
17083 };
17084
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 (arg1)->base_InitDialog();
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 Py_INCREF(Py_None); resultobj = Py_None;
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17105 bool result;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17114 {
17115 PyThreadState* __tstate = wxPyBeginAllowThreads();
17116 result = (bool)(arg1)->base_TransferDataToWindow();
17117
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 {
17122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17123 }
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17133 bool result;
17134 PyObject * obj0 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 result = (bool)(arg1)->base_TransferDataFromWindow();
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 {
17150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17151 }
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj;
17160 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17161 bool result;
17162 PyObject * obj0 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = (bool)(arg1)->base_Validate();
17173
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 {
17178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17179 }
17180 return resultobj;
17181 fail:
17182 return NULL;
17183 }
17184
17185
17186 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj;
17188 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17189 bool result;
17190 PyObject * obj0 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 {
17206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17207 }
17208 return resultobj;
17209 fail:
17210 return NULL;
17211 }
17212
17213
17214 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17215 PyObject *resultobj;
17216 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17217 bool result;
17218 PyObject * obj0 = 0 ;
17219 char *kwnames[] = {
17220 (char *) "self", NULL
17221 };
17222
17223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17229
17230 wxPyEndAllowThreads(__tstate);
17231 if (PyErr_Occurred()) SWIG_fail;
17232 }
17233 {
17234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17235 }
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17245 wxSize result;
17246 PyObject * obj0 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 {
17262 wxSize * resultptr;
17263 resultptr = new wxSize((wxSize &) result);
17264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17265 }
17266 return resultobj;
17267 fail:
17268 return NULL;
17269 }
17270
17271
17272 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17275 wxWindow *arg2 = (wxWindow *) 0 ;
17276 PyObject * obj0 = 0 ;
17277 PyObject * obj1 = 0 ;
17278 char *kwnames[] = {
17279 (char *) "self",(char *) "child", NULL
17280 };
17281
17282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17285 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 (arg1)->base_AddChild(arg2);
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 Py_INCREF(Py_None); resultobj = Py_None;
17295 return resultobj;
17296 fail:
17297 return NULL;
17298 }
17299
17300
17301 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17302 PyObject *resultobj;
17303 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17304 wxWindow *arg2 = (wxWindow *) 0 ;
17305 PyObject * obj0 = 0 ;
17306 PyObject * obj1 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "self",(char *) "child", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 (arg1)->base_RemoveChild(arg2);
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 Py_INCREF(Py_None); resultobj = Py_None;
17324 return resultobj;
17325 fail:
17326 return NULL;
17327 }
17328
17329
17330 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17333 bool result;
17334 PyObject * obj0 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (bool)(arg1)->base_ShouldInheritColours();
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 {
17350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17351 }
17352 return resultobj;
17353 fail:
17354 return NULL;
17355 }
17356
17357
17358 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17359 PyObject *resultobj;
17360 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17361 wxColour *arg2 = 0 ;
17362 wxColour temp2 ;
17363 PyObject * obj0 = 0 ;
17364 PyObject * obj1 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "self",(char *) "c", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17372 {
17373 arg2 = &temp2;
17374 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17375 }
17376 {
17377 PyThreadState* __tstate = wxPyBeginAllowThreads();
17378 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17379
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 Py_INCREF(Py_None); resultobj = Py_None;
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17391 PyObject *obj;
17392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17393 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17394 Py_INCREF(obj);
17395 return Py_BuildValue((char *)"");
17396 }
17397 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17398 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17399 return 1;
17400 }
17401
17402
17403 static PyObject *_wrap_PrintoutTitleStr_get() {
17404 PyObject *pyobj;
17405
17406 {
17407 #if wxUSE_UNICODE
17408 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17409 #else
17410 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17411 #endif
17412 }
17413 return pyobj;
17414 }
17415
17416
17417 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17418 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17419 return 1;
17420 }
17421
17422
17423 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17424 PyObject *pyobj;
17425
17426 {
17427 #if wxUSE_UNICODE
17428 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17429 #else
17430 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17431 #endif
17432 }
17433 return pyobj;
17434 }
17435
17436
17437 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17438 PyObject *resultobj;
17439 wxPrintData *result;
17440 char *kwnames[] = {
17441 NULL
17442 };
17443
17444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17445 {
17446 PyThreadState* __tstate = wxPyBeginAllowThreads();
17447 result = (wxPrintData *)new wxPrintData();
17448
17449 wxPyEndAllowThreads(__tstate);
17450 if (PyErr_Occurred()) SWIG_fail;
17451 }
17452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17453 return resultobj;
17454 fail:
17455 return NULL;
17456 }
17457
17458
17459 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17460 PyObject *resultobj;
17461 wxPrintData *arg1 = (wxPrintData *) 0 ;
17462 PyObject * obj0 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 delete arg1;
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 Py_INCREF(Py_None); resultobj = Py_None;
17478 return resultobj;
17479 fail:
17480 return NULL;
17481 }
17482
17483
17484 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxPrintData *arg1 = (wxPrintData *) 0 ;
17487 int result;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (int)(arg1)->GetNoCopies();
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 resultobj = SWIG_FromInt((int)result);
17504 return resultobj;
17505 fail:
17506 return NULL;
17507 }
17508
17509
17510 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxPrintData *arg1 = (wxPrintData *) 0 ;
17513 bool result;
17514 PyObject * obj0 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 result = (bool)(arg1)->GetCollate();
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 {
17530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17531 }
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxPrintData *arg1 = (wxPrintData *) 0 ;
17541 int result;
17542 PyObject * obj0 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "self", NULL
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 result = (int)(arg1)->GetOrientation();
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 resultobj = SWIG_FromInt((int)result);
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPrintData *arg1 = (wxPrintData *) 0 ;
17567 bool result;
17568 PyObject * obj0 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (bool)(arg1)->Ok();
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 {
17584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17585 }
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxPrintData *arg1 = (wxPrintData *) 0 ;
17595 wxString *result;
17596 PyObject * obj0 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 {
17607 wxString const &_result_ref = (arg1)->GetPrinterName();
17608 result = (wxString *) &_result_ref;
17609 }
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 {
17615 #if wxUSE_UNICODE
17616 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17617 #else
17618 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17619 #endif
17620 }
17621 return resultobj;
17622 fail:
17623 return NULL;
17624 }
17625
17626
17627 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxPrintData *arg1 = (wxPrintData *) 0 ;
17630 bool result;
17631 PyObject * obj0 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (bool)(arg1)->GetColour();
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17648 }
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPrintData *arg1 = (wxPrintData *) 0 ;
17658 int result;
17659 PyObject * obj0 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (int)(arg1)->GetDuplex();
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = SWIG_FromInt((int)result);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPrintData *arg1 = (wxPrintData *) 0 ;
17684 int result;
17685 PyObject * obj0 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (int)(arg1)->GetPaperId();
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 resultobj = SWIG_FromInt((int)result);
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxPrintData *arg1 = (wxPrintData *) 0 ;
17710 wxSize *result;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 {
17722 wxSize const &_result_ref = (arg1)->GetPaperSize();
17723 result = (wxSize *) &_result_ref;
17724 }
17725
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
17729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17730 return resultobj;
17731 fail:
17732 return NULL;
17733 }
17734
17735
17736 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17737 PyObject *resultobj;
17738 wxPrintData *arg1 = (wxPrintData *) 0 ;
17739 int result;
17740 PyObject * obj0 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 result = (int)(arg1)->GetQuality();
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 resultobj = SWIG_FromInt((int)result);
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPrintData *arg1 = (wxPrintData *) 0 ;
17765 int arg2 ;
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "v", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17775 arg2 = (int) SWIG_AsInt(obj1);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->SetNoCopies(arg2);
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 Py_INCREF(Py_None); resultobj = Py_None;
17785 return resultobj;
17786 fail:
17787 return NULL;
17788 }
17789
17790
17791 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj;
17793 wxPrintData *arg1 = (wxPrintData *) 0 ;
17794 bool arg2 ;
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self",(char *) "flag", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 arg2 = (bool) SWIG_AsBool(obj1);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 (arg1)->SetCollate(arg2);
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 Py_INCREF(Py_None); resultobj = Py_None;
17814 return resultobj;
17815 fail:
17816 return NULL;
17817 }
17818
17819
17820 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj;
17822 wxPrintData *arg1 = (wxPrintData *) 0 ;
17823 int arg2 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "orient", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 arg2 = (int) SWIG_AsInt(obj1);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 (arg1)->SetOrientation(arg2);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 Py_INCREF(Py_None); resultobj = Py_None;
17843 return resultobj;
17844 fail:
17845 return NULL;
17846 }
17847
17848
17849 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxPrintData *arg1 = (wxPrintData *) 0 ;
17852 wxString *arg2 = 0 ;
17853 bool temp2 = False ;
17854 PyObject * obj0 = 0 ;
17855 PyObject * obj1 = 0 ;
17856 char *kwnames[] = {
17857 (char *) "self",(char *) "name", NULL
17858 };
17859
17860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
17861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17863 {
17864 arg2 = wxString_in_helper(obj1);
17865 if (arg2 == NULL) SWIG_fail;
17866 temp2 = True;
17867 }
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 (arg1)->SetPrinterName((wxString const &)*arg2);
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 Py_INCREF(Py_None); resultobj = Py_None;
17876 {
17877 if (temp2)
17878 delete arg2;
17879 }
17880 return resultobj;
17881 fail:
17882 {
17883 if (temp2)
17884 delete arg2;
17885 }
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxPrintData *arg1 = (wxPrintData *) 0 ;
17893 bool arg2 ;
17894 PyObject * obj0 = 0 ;
17895 PyObject * obj1 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self",(char *) "colour", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
17901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17903 arg2 = (bool) SWIG_AsBool(obj1);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 (arg1)->SetColour(arg2);
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 Py_INCREF(Py_None); resultobj = Py_None;
17913 return resultobj;
17914 fail:
17915 return NULL;
17916 }
17917
17918
17919 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxPrintData *arg1 = (wxPrintData *) 0 ;
17922 int arg2 ;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 char *kwnames[] = {
17926 (char *) "self",(char *) "duplex", NULL
17927 };
17928
17929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
17930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17932 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 (arg1)->SetDuplex((wxDuplexMode )arg2);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 Py_INCREF(Py_None); resultobj = Py_None;
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPrintData *arg1 = (wxPrintData *) 0 ;
17951 int arg2 ;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "sizeId", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 (arg1)->SetPaperId((wxPaperSize )arg2);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPrintData *arg1 = (wxPrintData *) 0 ;
17980 wxSize *arg2 = 0 ;
17981 wxSize temp2 ;
17982 PyObject * obj0 = 0 ;
17983 PyObject * obj1 = 0 ;
17984 char *kwnames[] = {
17985 (char *) "self",(char *) "sz", NULL
17986 };
17987
17988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17991 {
17992 arg2 = &temp2;
17993 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17994 }
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 (arg1)->SetPaperSize((wxSize const &)*arg2);
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 Py_INCREF(Py_None); resultobj = Py_None;
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxPrintData *arg1 = (wxPrintData *) 0 ;
18012 int arg2 ;
18013 PyObject * obj0 = 0 ;
18014 PyObject * obj1 = 0 ;
18015 char *kwnames[] = {
18016 (char *) "self",(char *) "quality", NULL
18017 };
18018
18019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18022 arg2 = (int) SWIG_AsInt(obj1);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 (arg1)->SetQuality(arg2);
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 Py_INCREF(Py_None); resultobj = Py_None;
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPrintData *arg1 = (wxPrintData *) 0 ;
18041 wxString *result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 {
18053 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18054 result = (wxString *) &_result_ref;
18055 }
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 {
18061 #if wxUSE_UNICODE
18062 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18063 #else
18064 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18065 #endif
18066 }
18067 return resultobj;
18068 fail:
18069 return NULL;
18070 }
18071
18072
18073 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj;
18075 wxPrintData *arg1 = (wxPrintData *) 0 ;
18076 wxString *result;
18077 PyObject * obj0 = 0 ;
18078 char *kwnames[] = {
18079 (char *) "self", NULL
18080 };
18081
18082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 {
18088 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18089 result = (wxString *) &_result_ref;
18090 }
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 {
18096 #if wxUSE_UNICODE
18097 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18098 #else
18099 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18100 #endif
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPrintData *arg1 = (wxPrintData *) 0 ;
18111 wxString *result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 {
18123 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18124 result = (wxString *) &_result_ref;
18125 }
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 {
18131 #if wxUSE_UNICODE
18132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18133 #else
18134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18135 #endif
18136 }
18137 return resultobj;
18138 fail:
18139 return NULL;
18140 }
18141
18142
18143 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxPrintData *arg1 = (wxPrintData *) 0 ;
18146 wxString *result;
18147 PyObject * obj0 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 {
18158 wxString const &_result_ref = (arg1)->GetFilename();
18159 result = (wxString *) &_result_ref;
18160 }
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 {
18166 #if wxUSE_UNICODE
18167 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18168 #else
18169 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18170 #endif
18171 }
18172 return resultobj;
18173 fail:
18174 return NULL;
18175 }
18176
18177
18178 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj;
18180 wxPrintData *arg1 = (wxPrintData *) 0 ;
18181 wxString *result;
18182 PyObject * obj0 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18190 {
18191 PyThreadState* __tstate = wxPyBeginAllowThreads();
18192 {
18193 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18194 result = (wxString *) &_result_ref;
18195 }
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 {
18201 #if wxUSE_UNICODE
18202 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18203 #else
18204 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18205 #endif
18206 }
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPrintData *arg1 = (wxPrintData *) 0 ;
18216 double result;
18217 PyObject * obj0 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = (double)(arg1)->GetPrinterScaleX();
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 resultobj = SWIG_FromDouble((double)result);
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPrintData *arg1 = (wxPrintData *) 0 ;
18242 double result;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (double)(arg1)->GetPrinterScaleY();
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = SWIG_FromDouble((double)result);
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxPrintData *arg1 = (wxPrintData *) 0 ;
18268 long result;
18269 PyObject * obj0 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "self", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 result = (long)(arg1)->GetPrinterTranslateX();
18280
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 resultobj = SWIG_FromLong((long)result);
18285 return resultobj;
18286 fail:
18287 return NULL;
18288 }
18289
18290
18291 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18292 PyObject *resultobj;
18293 wxPrintData *arg1 = (wxPrintData *) 0 ;
18294 long result;
18295 PyObject * obj0 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",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 result = (long)(arg1)->GetPrinterTranslateY();
18306
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 resultobj = SWIG_FromLong((long)result);
18311 return resultobj;
18312 fail:
18313 return NULL;
18314 }
18315
18316
18317 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj;
18319 wxPrintData *arg1 = (wxPrintData *) 0 ;
18320 int result;
18321 PyObject * obj0 = 0 ;
18322 char *kwnames[] = {
18323 (char *) "self", NULL
18324 };
18325
18326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 result = (int)(arg1)->GetPrintMode();
18332
18333 wxPyEndAllowThreads(__tstate);
18334 if (PyErr_Occurred()) SWIG_fail;
18335 }
18336 resultobj = SWIG_FromInt((int)result);
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxPrintData *arg1 = (wxPrintData *) 0 ;
18346 wxString *arg2 = 0 ;
18347 bool temp2 = False ;
18348 PyObject * obj0 = 0 ;
18349 PyObject * obj1 = 0 ;
18350 char *kwnames[] = {
18351 (char *) "self",(char *) "command", NULL
18352 };
18353
18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18357 {
18358 arg2 = wxString_in_helper(obj1);
18359 if (arg2 == NULL) SWIG_fail;
18360 temp2 = True;
18361 }
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 {
18371 if (temp2)
18372 delete arg2;
18373 }
18374 return resultobj;
18375 fail:
18376 {
18377 if (temp2)
18378 delete arg2;
18379 }
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxPrintData *arg1 = (wxPrintData *) 0 ;
18387 wxString *arg2 = 0 ;
18388 bool temp2 = False ;
18389 PyObject * obj0 = 0 ;
18390 PyObject * obj1 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self",(char *) "options", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18398 {
18399 arg2 = wxString_in_helper(obj1);
18400 if (arg2 == NULL) SWIG_fail;
18401 temp2 = True;
18402 }
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 Py_INCREF(Py_None); resultobj = Py_None;
18411 {
18412 if (temp2)
18413 delete arg2;
18414 }
18415 return resultobj;
18416 fail:
18417 {
18418 if (temp2)
18419 delete arg2;
18420 }
18421 return NULL;
18422 }
18423
18424
18425 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
18427 wxPrintData *arg1 = (wxPrintData *) 0 ;
18428 wxString *arg2 = 0 ;
18429 bool temp2 = False ;
18430 PyObject * obj0 = 0 ;
18431 PyObject * obj1 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "command", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18439 {
18440 arg2 = wxString_in_helper(obj1);
18441 if (arg2 == NULL) SWIG_fail;
18442 temp2 = True;
18443 }
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 Py_INCREF(Py_None); resultobj = Py_None;
18452 {
18453 if (temp2)
18454 delete arg2;
18455 }
18456 return resultobj;
18457 fail:
18458 {
18459 if (temp2)
18460 delete arg2;
18461 }
18462 return NULL;
18463 }
18464
18465
18466 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxPrintData *arg1 = (wxPrintData *) 0 ;
18469 wxString *arg2 = 0 ;
18470 bool temp2 = False ;
18471 PyObject * obj0 = 0 ;
18472 PyObject * obj1 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self",(char *) "filename", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18480 {
18481 arg2 = wxString_in_helper(obj1);
18482 if (arg2 == NULL) SWIG_fail;
18483 temp2 = True;
18484 }
18485 {
18486 PyThreadState* __tstate = wxPyBeginAllowThreads();
18487 (arg1)->SetFilename((wxString const &)*arg2);
18488
18489 wxPyEndAllowThreads(__tstate);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 }
18492 Py_INCREF(Py_None); resultobj = Py_None;
18493 {
18494 if (temp2)
18495 delete arg2;
18496 }
18497 return resultobj;
18498 fail:
18499 {
18500 if (temp2)
18501 delete arg2;
18502 }
18503 return NULL;
18504 }
18505
18506
18507 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxPrintData *arg1 = (wxPrintData *) 0 ;
18510 wxString *arg2 = 0 ;
18511 bool temp2 = False ;
18512 PyObject * obj0 = 0 ;
18513 PyObject * obj1 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self",(char *) "path", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18521 {
18522 arg2 = wxString_in_helper(obj1);
18523 if (arg2 == NULL) SWIG_fail;
18524 temp2 = True;
18525 }
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 Py_INCREF(Py_None); resultobj = Py_None;
18534 {
18535 if (temp2)
18536 delete arg2;
18537 }
18538 return resultobj;
18539 fail:
18540 {
18541 if (temp2)
18542 delete arg2;
18543 }
18544 return NULL;
18545 }
18546
18547
18548 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18549 PyObject *resultobj;
18550 wxPrintData *arg1 = (wxPrintData *) 0 ;
18551 double arg2 ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 char *kwnames[] = {
18555 (char *) "self",(char *) "x", NULL
18556 };
18557
18558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18561 arg2 = (double) SWIG_AsDouble(obj1);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->SetPrinterScaleX(arg2);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 return resultobj;
18572 fail:
18573 return NULL;
18574 }
18575
18576
18577 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxPrintData *arg1 = (wxPrintData *) 0 ;
18580 double arg2 ;
18581 PyObject * obj0 = 0 ;
18582 PyObject * obj1 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "y", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18590 arg2 = (double) SWIG_AsDouble(obj1);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 (arg1)->SetPrinterScaleY(arg2);
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 Py_INCREF(Py_None); resultobj = Py_None;
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxPrintData *arg1 = (wxPrintData *) 0 ;
18609 double arg2 ;
18610 double arg3 ;
18611 PyObject * obj0 = 0 ;
18612 PyObject * obj1 = 0 ;
18613 PyObject * obj2 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self",(char *) "x",(char *) "y", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18621 arg2 = (double) SWIG_AsDouble(obj1);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 arg3 = (double) SWIG_AsDouble(obj2);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 (arg1)->SetPrinterScaling(arg2,arg3);
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 Py_INCREF(Py_None); resultobj = Py_None;
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPrintData *arg1 = (wxPrintData *) 0 ;
18642 long arg2 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "x", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18652 arg2 = (long) SWIG_AsLong(obj1);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 (arg1)->SetPrinterTranslateX(arg2);
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 Py_INCREF(Py_None); resultobj = Py_None;
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxPrintData *arg1 = (wxPrintData *) 0 ;
18671 long arg2 ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self",(char *) "y", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 arg2 = (long) SWIG_AsLong(obj1);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 (arg1)->SetPrinterTranslateY(arg2);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 Py_INCREF(Py_None); resultobj = Py_None;
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18698 PyObject *resultobj;
18699 wxPrintData *arg1 = (wxPrintData *) 0 ;
18700 long arg2 ;
18701 long arg3 ;
18702 PyObject * obj0 = 0 ;
18703 PyObject * obj1 = 0 ;
18704 PyObject * obj2 = 0 ;
18705 char *kwnames[] = {
18706 (char *) "self",(char *) "x",(char *) "y", NULL
18707 };
18708
18709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18712 arg2 = (long) SWIG_AsLong(obj1);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 arg3 = (long) SWIG_AsLong(obj2);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 (arg1)->SetPrinterTranslation(arg2,arg3);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 Py_INCREF(Py_None); resultobj = Py_None;
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxPrintData *arg1 = (wxPrintData *) 0 ;
18733 int arg2 ;
18734 PyObject * obj0 = 0 ;
18735 PyObject * obj1 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self",(char *) "printMode", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18743 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18744 if (PyErr_Occurred()) SWIG_fail;
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 (arg1)->SetPrintMode((wxPrintMode )arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 Py_INCREF(Py_None); resultobj = Py_None;
18753 return resultobj;
18754 fail:
18755 return NULL;
18756 }
18757
18758
18759 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPrintData *arg1 = (wxPrintData *) 0 ;
18762 wxOutputStream *result;
18763 PyObject * obj0 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18771 {
18772 PyThreadState* __tstate = wxPyBeginAllowThreads();
18773 result = (wxOutputStream *)(arg1)->GetOutputStream();
18774
18775 wxPyEndAllowThreads(__tstate);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18779 return resultobj;
18780 fail:
18781 return NULL;
18782 }
18783
18784
18785 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18786 PyObject *resultobj;
18787 wxPrintData *arg1 = (wxPrintData *) 0 ;
18788 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "outputstream", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
18799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->SetOutputStream(arg2);
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 Py_INCREF(Py_None); resultobj = Py_None;
18808 return resultobj;
18809 fail:
18810 return NULL;
18811 }
18812
18813
18814 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
18815 PyObject *obj;
18816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18817 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
18818 Py_INCREF(obj);
18819 return Py_BuildValue((char *)"");
18820 }
18821 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxPageSetupDialogData *result;
18824 char *kwnames[] = {
18825 NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
18832
18833 wxPyEndAllowThreads(__tstate);
18834 if (PyErr_Occurred()) SWIG_fail;
18835 }
18836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
18837 return resultobj;
18838 fail:
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18846 PyObject * obj0 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 delete arg1;
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 Py_INCREF(Py_None); resultobj = Py_None;
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18871 bool arg2 ;
18872 PyObject * obj0 = 0 ;
18873 PyObject * obj1 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self",(char *) "flag", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18881 arg2 = (bool) SWIG_AsBool(obj1);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 (arg1)->EnableHelp(arg2);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 Py_INCREF(Py_None); resultobj = Py_None;
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18900 bool arg2 ;
18901 PyObject * obj0 = 0 ;
18902 PyObject * obj1 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "flag", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18910 arg2 = (bool) SWIG_AsBool(obj1);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 {
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 (arg1)->EnableMargins(arg2);
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 Py_INCREF(Py_None); resultobj = Py_None;
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18929 bool arg2 ;
18930 PyObject * obj0 = 0 ;
18931 PyObject * obj1 = 0 ;
18932 char *kwnames[] = {
18933 (char *) "self",(char *) "flag", NULL
18934 };
18935
18936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
18937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18939 arg2 = (bool) SWIG_AsBool(obj1);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->EnableOrientation(arg2);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 return resultobj;
18950 fail:
18951 return NULL;
18952 }
18953
18954
18955 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj;
18957 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18958 bool arg2 ;
18959 PyObject * obj0 = 0 ;
18960 PyObject * obj1 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self",(char *) "flag", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18968 arg2 = (bool) SWIG_AsBool(obj1);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 (arg1)->EnablePaper(arg2);
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 Py_INCREF(Py_None); resultobj = Py_None;
18978 return resultobj;
18979 fail:
18980 return NULL;
18981 }
18982
18983
18984 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj;
18986 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18987 bool arg2 ;
18988 PyObject * obj0 = 0 ;
18989 PyObject * obj1 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self",(char *) "flag", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
18996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18997 arg2 = (bool) SWIG_AsBool(obj1);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->EnablePrinter(arg2);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19016 bool result;
19017 PyObject * obj0 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 result = (bool)(arg1)->GetDefaultMinMargins();
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 {
19033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19034 }
19035 return resultobj;
19036 fail:
19037 return NULL;
19038 }
19039
19040
19041 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj;
19043 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19044 bool result;
19045 PyObject * obj0 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 result = (bool)(arg1)->GetEnableMargins();
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 {
19061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19062 }
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19072 bool result;
19073 PyObject * obj0 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 result = (bool)(arg1)->GetEnableOrientation();
19084
19085 wxPyEndAllowThreads(__tstate);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 }
19088 {
19089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19090 }
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19100 bool result;
19101 PyObject * obj0 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 result = (bool)(arg1)->GetEnablePaper();
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 {
19117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19118 }
19119 return resultobj;
19120 fail:
19121 return NULL;
19122 }
19123
19124
19125 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19126 PyObject *resultobj;
19127 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19128 bool result;
19129 PyObject * obj0 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (bool)(arg1)->GetEnablePrinter();
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 {
19145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19146 }
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19156 bool result;
19157 PyObject * obj0 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19165 {
19166 PyThreadState* __tstate = wxPyBeginAllowThreads();
19167 result = (bool)(arg1)->GetEnableHelp();
19168
19169 wxPyEndAllowThreads(__tstate);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 }
19172 {
19173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19174 }
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19184 bool result;
19185 PyObject * obj0 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (bool)(arg1)->GetDefaultInfo();
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 {
19201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19202 }
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19212 wxPoint result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (arg1)->GetMarginTopLeft();
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 wxPoint * resultptr;
19230 resultptr = new wxPoint((wxPoint &) result);
19231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19242 wxPoint result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (arg1)->GetMarginBottomRight();
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 {
19259 wxPoint * resultptr;
19260 resultptr = new wxPoint((wxPoint &) result);
19261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19262 }
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19272 wxPoint result;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 result = (arg1)->GetMinMarginTopLeft();
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 {
19289 wxPoint * resultptr;
19290 resultptr = new wxPoint((wxPoint &) result);
19291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19292 }
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19302 wxPoint result;
19303 PyObject * obj0 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (arg1)->GetMinMarginBottomRight();
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 {
19319 wxPoint * resultptr;
19320 resultptr = new wxPoint((wxPoint &) result);
19321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19322 }
19323 return resultobj;
19324 fail:
19325 return NULL;
19326 }
19327
19328
19329 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19332 int result;
19333 PyObject * obj0 = 0 ;
19334 char *kwnames[] = {
19335 (char *) "self", NULL
19336 };
19337
19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",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 = (int)(arg1)->GetPaperId();
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 resultobj = SWIG_FromInt((int)result);
19349 return resultobj;
19350 fail:
19351 return NULL;
19352 }
19353
19354
19355 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19358 wxSize result;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19367 {
19368 PyThreadState* __tstate = wxPyBeginAllowThreads();
19369 result = (arg1)->GetPaperSize();
19370
19371 wxPyEndAllowThreads(__tstate);
19372 if (PyErr_Occurred()) SWIG_fail;
19373 }
19374 {
19375 wxSize * resultptr;
19376 resultptr = new wxSize((wxSize &) result);
19377 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19378 }
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19388 wxPrintData *result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 {
19400 wxPrintData &_result_ref = (arg1)->GetPrintData();
19401 result = (wxPrintData *) &_result_ref;
19402 }
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19417 bool result;
19418 PyObject * obj0 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19426 {
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 result = (bool)(arg1)->Ok();
19429
19430 wxPyEndAllowThreads(__tstate);
19431 if (PyErr_Occurred()) SWIG_fail;
19432 }
19433 {
19434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19435 }
19436 return resultobj;
19437 fail:
19438 return NULL;
19439 }
19440
19441
19442 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19445 bool arg2 ;
19446 PyObject * obj0 = 0 ;
19447 PyObject * obj1 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self",(char *) "flag", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19455 arg2 = (bool) SWIG_AsBool(obj1);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->SetDefaultInfo(arg2);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19474 bool arg2 ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "flag", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19484 arg2 = (bool) SWIG_AsBool(obj1);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 (arg1)->SetDefaultMinMargins(arg2);
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 Py_INCREF(Py_None); resultobj = Py_None;
19494 return resultobj;
19495 fail:
19496 return NULL;
19497 }
19498
19499
19500 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19501 PyObject *resultobj;
19502 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19503 wxPoint *arg2 = 0 ;
19504 wxPoint temp2 ;
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self",(char *) "pt", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19514 {
19515 arg2 = &temp2;
19516 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19517 }
19518 {
19519 PyThreadState* __tstate = wxPyBeginAllowThreads();
19520 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19521
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 Py_INCREF(Py_None); resultobj = Py_None;
19526 return resultobj;
19527 fail:
19528 return NULL;
19529 }
19530
19531
19532 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj;
19534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19535 wxPoint *arg2 = 0 ;
19536 wxPoint temp2 ;
19537 PyObject * obj0 = 0 ;
19538 PyObject * obj1 = 0 ;
19539 char *kwnames[] = {
19540 (char *) "self",(char *) "pt", NULL
19541 };
19542
19543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19546 {
19547 arg2 = &temp2;
19548 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19549 }
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19553
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 Py_INCREF(Py_None); resultobj = Py_None;
19558 return resultobj;
19559 fail:
19560 return NULL;
19561 }
19562
19563
19564 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19565 PyObject *resultobj;
19566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19567 wxPoint *arg2 = 0 ;
19568 wxPoint temp2 ;
19569 PyObject * obj0 = 0 ;
19570 PyObject * obj1 = 0 ;
19571 char *kwnames[] = {
19572 (char *) "self",(char *) "pt", NULL
19573 };
19574
19575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19578 {
19579 arg2 = &temp2;
19580 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19581 }
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 Py_INCREF(Py_None); resultobj = Py_None;
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj;
19598 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19599 wxPoint *arg2 = 0 ;
19600 wxPoint temp2 ;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "pt", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19610 {
19611 arg2 = &temp2;
19612 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19613 }
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 Py_INCREF(Py_None); resultobj = Py_None;
19622 return resultobj;
19623 fail:
19624 return NULL;
19625 }
19626
19627
19628 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19629 PyObject *resultobj;
19630 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19631 int arg2 ;
19632 PyObject * obj0 = 0 ;
19633 PyObject * obj1 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self",(char *) "id", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19641 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 (arg1)->SetPaperId((wxPaperSize )arg2);
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 Py_INCREF(Py_None); resultobj = Py_None;
19651 return resultobj;
19652 fail:
19653 return NULL;
19654 }
19655
19656
19657 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19660 wxSize *arg2 = 0 ;
19661 wxSize temp2 ;
19662 PyObject * obj0 = 0 ;
19663 PyObject * obj1 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self",(char *) "size", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19671 {
19672 arg2 = &temp2;
19673 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19674 }
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->SetPaperSize((wxSize const &)*arg2);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19692 wxPrintData *arg2 = 0 ;
19693 PyObject * obj0 = 0 ;
19694 PyObject * obj1 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "printData", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19703 SWIG_POINTER_EXCEPTION | 0)) == -1)
19704 SWIG_fail;
19705 if (arg2 == NULL) {
19706 PyErr_SetString(PyExc_TypeError,"null reference");
19707 SWIG_fail;
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 Py_INCREF(Py_None); resultobj = Py_None;
19717 return resultobj;
19718 fail:
19719 return NULL;
19720 }
19721
19722
19723 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19724 PyObject *obj;
19725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19726 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19727 Py_INCREF(obj);
19728 return Py_BuildValue((char *)"");
19729 }
19730 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19731 PyObject *resultobj;
19732 wxWindow *arg1 = (wxWindow *) 0 ;
19733 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19734 wxPageSetupDialog *result;
19735 PyObject * obj0 = 0 ;
19736 PyObject * obj1 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "parent",(char *) "data", NULL
19739 };
19740
19741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19744 if (obj1) {
19745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19747 }
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj;
19764 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19765 wxPageSetupDialogData *result;
19766 PyObject * obj0 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 {
19777 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19778 result = (wxPageSetupDialogData *) &_result_ref;
19779 }
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19794 int result;
19795 PyObject * obj0 = 0 ;
19796 char *kwnames[] = {
19797 (char *) "self", NULL
19798 };
19799
19800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
19801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 result = (int)(arg1)->ShowModal();
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 resultobj = SWIG_FromInt((int)result);
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
19818 PyObject *obj;
19819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19820 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
19821 Py_INCREF(obj);
19822 return Py_BuildValue((char *)"");
19823 }
19824 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
19825 PyObject *resultobj;
19826 wxPrintDialogData *result;
19827
19828 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (wxPrintDialogData *)new wxPrintDialogData();
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
19844 PyObject *resultobj;
19845 wxPrintData *arg1 = 0 ;
19846 wxPrintDialogData *result;
19847 PyObject * obj0 = 0 ;
19848
19849 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19851 SWIG_POINTER_EXCEPTION | 0)) == -1)
19852 SWIG_fail;
19853 if (arg1 == NULL) {
19854 PyErr_SetString(PyExc_TypeError,"null reference");
19855 SWIG_fail;
19856 }
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
19872 int argc;
19873 PyObject *argv[2];
19874 int ii;
19875
19876 argc = PyObject_Length(args);
19877 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19878 argv[ii] = PyTuple_GetItem(args,ii);
19879 }
19880 if (argc == 0) {
19881 return _wrap_new_PrintDialogData__SWIG_0(self,args);
19882 }
19883 if (argc == 1) {
19884 int _v;
19885 {
19886 void *ptr;
19887 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
19888 _v = 0;
19889 PyErr_Clear();
19890 } else {
19891 _v = 1;
19892 }
19893 }
19894 if (_v) {
19895 return _wrap_new_PrintDialogData__SWIG_1(self,args);
19896 }
19897 }
19898
19899 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19907 PyObject * obj0 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
19913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 delete arg1;
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926 }
19927
19928
19929 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19932 int result;
19933 PyObject * obj0 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
19939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 resultobj = SWIG_FromInt((int)result);
19949 return resultobj;
19950 fail:
19951 return NULL;
19952 }
19953
19954
19955 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19958 int result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
19965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
19974 resultobj = SWIG_FromInt((int)result);
19975 return resultobj;
19976 fail:
19977 return NULL;
19978 }
19979
19980
19981 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19982 PyObject *resultobj;
19983 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19984 int result;
19985 PyObject * obj0 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self", NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
19991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
19992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 resultobj = SWIG_FromInt((int)result);
20001 return resultobj;
20002 fail:
20003 return NULL;
20004 }
20005
20006
20007 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20010 int result;
20011 PyObject * obj0 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 resultobj = SWIG_FromInt((int)result);
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20036 int result;
20037 PyObject * obj0 = 0 ;
20038 char *kwnames[] = {
20039 (char *) "self", NULL
20040 };
20041
20042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 resultobj = SWIG_FromInt((int)result);
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20060 PyObject *resultobj;
20061 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20062 bool result;
20063 PyObject * obj0 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 {
20079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20080 }
20081 return resultobj;
20082 fail:
20083 return NULL;
20084 }
20085
20086
20087 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20088 PyObject *resultobj;
20089 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20090 bool result;
20091 PyObject * obj0 = 0 ;
20092 char *kwnames[] = {
20093 (char *) "self", NULL
20094 };
20095
20096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20102
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 {
20107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20108 }
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20118 bool result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 {
20135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20136 }
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20146 bool result;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20158
20159 wxPyEndAllowThreads(__tstate);
20160 if (PyErr_Occurred()) SWIG_fail;
20161 }
20162 {
20163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20164 }
20165 return resultobj;
20166 fail:
20167 return NULL;
20168 }
20169
20170
20171 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20172 PyObject *resultobj;
20173 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20174 bool result;
20175 PyObject * obj0 = 0 ;
20176 char *kwnames[] = {
20177 (char *) "self", NULL
20178 };
20179
20180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 {
20191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20192 }
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj;
20201 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20202 int arg2 ;
20203 PyObject * obj0 = 0 ;
20204 PyObject * obj1 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self",(char *) "v", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20212 arg2 = (int) SWIG_AsInt(obj1);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 (arg1)->SetFromPage(arg2);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 Py_INCREF(Py_None); resultobj = Py_None;
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20231 int arg2 ;
20232 PyObject * obj0 = 0 ;
20233 PyObject * obj1 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self",(char *) "v", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20241 arg2 = (int) SWIG_AsInt(obj1);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 {
20244 PyThreadState* __tstate = wxPyBeginAllowThreads();
20245 (arg1)->SetToPage(arg2);
20246
20247 wxPyEndAllowThreads(__tstate);
20248 if (PyErr_Occurred()) SWIG_fail;
20249 }
20250 Py_INCREF(Py_None); resultobj = Py_None;
20251 return resultobj;
20252 fail:
20253 return NULL;
20254 }
20255
20256
20257 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20260 int arg2 ;
20261 PyObject * obj0 = 0 ;
20262 PyObject * obj1 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self",(char *) "v", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20270 arg2 = (int) SWIG_AsInt(obj1);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->SetMinPage(arg2);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283 }
20284
20285
20286 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20289 int arg2 ;
20290 PyObject * obj0 = 0 ;
20291 PyObject * obj1 = 0 ;
20292 char *kwnames[] = {
20293 (char *) "self",(char *) "v", NULL
20294 };
20295
20296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20299 arg2 = (int) SWIG_AsInt(obj1);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 (arg1)->SetMaxPage(arg2);
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 Py_INCREF(Py_None); resultobj = Py_None;
20309 return resultobj;
20310 fail:
20311 return NULL;
20312 }
20313
20314
20315 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj;
20317 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20318 int arg2 ;
20319 PyObject * obj0 = 0 ;
20320 PyObject * obj1 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self",(char *) "v", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20328 arg2 = (int) SWIG_AsInt(obj1);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 (arg1)->SetNoCopies(arg2);
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 Py_INCREF(Py_None); resultobj = Py_None;
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20347 bool arg2 ;
20348 PyObject * obj0 = 0 ;
20349 PyObject * obj1 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self",(char *) "flag", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 arg2 = (bool) SWIG_AsBool(obj1);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 (arg1)->SetAllPages(arg2);
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 Py_INCREF(Py_None); resultobj = Py_None;
20367 return resultobj;
20368 fail:
20369 return NULL;
20370 }
20371
20372
20373 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj;
20375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20376 bool arg2 ;
20377 PyObject * obj0 = 0 ;
20378 PyObject * obj1 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self",(char *) "flag", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20386 arg2 = (bool) SWIG_AsBool(obj1);
20387 if (PyErr_Occurred()) SWIG_fail;
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
20390 (arg1)->SetSelection(arg2);
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 Py_INCREF(Py_None); resultobj = Py_None;
20396 return resultobj;
20397 fail:
20398 return NULL;
20399 }
20400
20401
20402 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20403 PyObject *resultobj;
20404 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20405 bool arg2 ;
20406 PyObject * obj0 = 0 ;
20407 PyObject * obj1 = 0 ;
20408 char *kwnames[] = {
20409 (char *) "self",(char *) "flag", NULL
20410 };
20411
20412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20415 arg2 = (bool) SWIG_AsBool(obj1);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 (arg1)->SetCollate(arg2);
20420
20421 wxPyEndAllowThreads(__tstate);
20422 if (PyErr_Occurred()) SWIG_fail;
20423 }
20424 Py_INCREF(Py_None); resultobj = Py_None;
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj;
20433 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20434 bool arg2 ;
20435 PyObject * obj0 = 0 ;
20436 PyObject * obj1 = 0 ;
20437 char *kwnames[] = {
20438 (char *) "self",(char *) "flag", NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20444 arg2 = (bool) SWIG_AsBool(obj1);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 (arg1)->SetPrintToFile(arg2);
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 Py_INCREF(Py_None); resultobj = Py_None;
20454 return resultobj;
20455 fail:
20456 return NULL;
20457 }
20458
20459
20460 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20463 bool arg2 ;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self",(char *) "flag", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20473 arg2 = (bool) SWIG_AsBool(obj1);
20474 if (PyErr_Occurred()) SWIG_fail;
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->SetSetupDialog(arg2);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20492 bool arg2 ;
20493 PyObject * obj0 = 0 ;
20494 PyObject * obj1 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self",(char *) "flag", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20502 arg2 = (bool) SWIG_AsBool(obj1);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 (arg1)->EnablePrintToFile(arg2);
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 Py_INCREF(Py_None); resultobj = Py_None;
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20521 bool arg2 ;
20522 PyObject * obj0 = 0 ;
20523 PyObject * obj1 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "flag", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20531 arg2 = (bool) SWIG_AsBool(obj1);
20532 if (PyErr_Occurred()) SWIG_fail;
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 (arg1)->EnableSelection(arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 Py_INCREF(Py_None); resultobj = Py_None;
20541 return resultobj;
20542 fail:
20543 return NULL;
20544 }
20545
20546
20547 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20550 bool arg2 ;
20551 PyObject * obj0 = 0 ;
20552 PyObject * obj1 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self",(char *) "flag", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20560 arg2 = (bool) SWIG_AsBool(obj1);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->EnablePageNumbers(arg2);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20579 bool arg2 ;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self",(char *) "flag", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20589 arg2 = (bool) SWIG_AsBool(obj1);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 (arg1)->EnableHelp(arg2);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 Py_INCREF(Py_None); resultobj = Py_None;
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20608 bool result;
20609 PyObject * obj0 = 0 ;
20610 char *kwnames[] = {
20611 (char *) "self", NULL
20612 };
20613
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 {
20625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20626 }
20627 return resultobj;
20628 fail:
20629 return NULL;
20630 }
20631
20632
20633 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20634 PyObject *resultobj;
20635 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20636 bool result;
20637 PyObject * obj0 = 0 ;
20638 char *kwnames[] = {
20639 (char *) "self", NULL
20640 };
20641
20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20645 {
20646 PyThreadState* __tstate = wxPyBeginAllowThreads();
20647 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 {
20653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20654 }
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20664 bool result;
20665 PyObject * obj0 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 {
20681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20682 }
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20692 bool result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 {
20709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20710 }
20711 return resultobj;
20712 fail:
20713 return NULL;
20714 }
20715
20716
20717 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20718 PyObject *resultobj;
20719 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20720 bool result;
20721 PyObject * obj0 = 0 ;
20722 char *kwnames[] = {
20723 (char *) "self", NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 {
20737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20738 }
20739 return resultobj;
20740 fail:
20741 return NULL;
20742 }
20743
20744
20745 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20746 PyObject *resultobj;
20747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20748 wxPrintData *result;
20749 PyObject * obj0 = 0 ;
20750 char *kwnames[] = {
20751 (char *) "self", NULL
20752 };
20753
20754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 {
20758 PyThreadState* __tstate = wxPyBeginAllowThreads();
20759 {
20760 wxPrintData &_result_ref = (arg1)->GetPrintData();
20761 result = (wxPrintData *) &_result_ref;
20762 }
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20777 wxPrintData *arg2 = 0 ;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "printData", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20788 SWIG_POINTER_EXCEPTION | 0)) == -1)
20789 SWIG_fail;
20790 if (arg2 == NULL) {
20791 PyErr_SetString(PyExc_TypeError,"null reference");
20792 SWIG_fail;
20793 }
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 Py_INCREF(Py_None); resultobj = Py_None;
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
20809 PyObject *obj;
20810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20811 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
20812 Py_INCREF(obj);
20813 return Py_BuildValue((char *)"");
20814 }
20815 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxWindow *arg1 = (wxWindow *) 0 ;
20818 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
20819 wxPrintDialog *result;
20820 PyObject * obj0 = 0 ;
20821 PyObject * obj1 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "parent",(char *) "data", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
20827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20829 if (obj1) {
20830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
20831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20832 }
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20850 wxPrintDialogData *result;
20851 PyObject * obj0 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20859 {
20860 PyThreadState* __tstate = wxPyBeginAllowThreads();
20861 {
20862 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20863 result = (wxPrintDialogData *) &_result_ref;
20864 }
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
20870 return resultobj;
20871 fail:
20872 return NULL;
20873 }
20874
20875
20876 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20879 wxDC *result;
20880 PyObject * obj0 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
20886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 result = (wxDC *)(arg1)->GetPrintDC();
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 {
20896 resultobj = wxPyMake_wxObject(result);
20897 }
20898 return resultobj;
20899 fail:
20900 return NULL;
20901 }
20902
20903
20904 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
20907 int result;
20908 PyObject * obj0 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
20914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
20915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 result = (int)(arg1)->ShowModal();
20919
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 resultobj = SWIG_FromInt((int)result);
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
20931 PyObject *obj;
20932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20933 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
20934 Py_INCREF(obj);
20935 return Py_BuildValue((char *)"");
20936 }
20937 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20938 PyObject *resultobj;
20939 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
20940 wxPrinter *result;
20941 PyObject * obj0 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "data", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
20947 if (obj0) {
20948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (wxPrinter *)new wxPrinter(arg1);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPrinter *arg1 = (wxPrinter *) 0 ;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
20975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 delete arg1;
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 Py_INCREF(Py_None); resultobj = Py_None;
20984 return resultobj;
20985 fail:
20986 return NULL;
20987 }
20988
20989
20990 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20991 PyObject *resultobj;
20992 wxPrinter *arg1 = (wxPrinter *) 0 ;
20993 wxWindow *arg2 = (wxWindow *) 0 ;
20994 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
20995 PyObject * obj0 = 0 ;
20996 PyObject * obj1 = 0 ;
20997 PyObject * obj2 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self",(char *) "parent",(char *) "printout", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 (arg1)->CreateAbortWindow(arg2,arg3);
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 Py_INCREF(Py_None); resultobj = Py_None;
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxPrinter *arg1 = (wxPrinter *) 0 ;
21026 wxPrintDialogData *result;
21027 PyObject * obj0 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 {
21038 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21039 result = (wxPrintDialogData *) &_result_ref;
21040 }
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPrinter *arg1 = (wxPrinter *) 0 ;
21055 wxWindow *arg2 = (wxWindow *) 0 ;
21056 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21057 int arg4 = (int) True ;
21058 bool result;
21059 PyObject * obj0 = 0 ;
21060 PyObject * obj1 = 0 ;
21061 PyObject * obj2 = 0 ;
21062 PyObject * obj3 = 0 ;
21063 char *kwnames[] = {
21064 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21065 };
21066
21067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21072 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21074 if (obj3) {
21075 arg4 = (int) SWIG_AsInt(obj3);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 {
21086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21087 }
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPrinter *arg1 = (wxPrinter *) 0 ;
21097 wxWindow *arg2 = (wxWindow *) 0 ;
21098 wxDC *result;
21099 PyObject * obj0 = 0 ;
21100 PyObject * obj1 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self",(char *) "parent", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21108 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (wxDC *)(arg1)->PrintDialog(arg2);
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 {
21118 resultobj = wxPyMake_wxObject(result);
21119 }
21120 return resultobj;
21121 fail:
21122 return NULL;
21123 }
21124
21125
21126 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 wxPrinter *arg1 = (wxPrinter *) 0 ;
21129 wxWindow *arg2 = (wxWindow *) 0 ;
21130 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21131 wxString *arg4 = 0 ;
21132 bool temp4 = False ;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj1 = 0 ;
21135 PyObject * obj2 = 0 ;
21136 PyObject * obj3 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21148 {
21149 arg4 = wxString_in_helper(obj3);
21150 if (arg4 == NULL) SWIG_fail;
21151 temp4 = True;
21152 }
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 Py_INCREF(Py_None); resultobj = Py_None;
21161 {
21162 if (temp4)
21163 delete arg4;
21164 }
21165 return resultobj;
21166 fail:
21167 {
21168 if (temp4)
21169 delete arg4;
21170 }
21171 return NULL;
21172 }
21173
21174
21175 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxPrinter *arg1 = (wxPrinter *) 0 ;
21178 wxWindow *arg2 = (wxWindow *) 0 ;
21179 bool result;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "parent", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21189 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 result = (bool)(arg1)->Setup(arg2);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 {
21199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21200 }
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPrinter *arg1 = (wxPrinter *) 0 ;
21210 bool result;
21211 PyObject * obj0 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 result = (bool)(arg1)->GetAbort();
21222
21223 wxPyEndAllowThreads(__tstate);
21224 if (PyErr_Occurred()) SWIG_fail;
21225 }
21226 {
21227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21228 }
21229 return resultobj;
21230 fail:
21231 return NULL;
21232 }
21233
21234
21235 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 int result;
21238 char *kwnames[] = {
21239 NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 result = (int)wxPrinter::GetLastError();
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 resultobj = SWIG_FromInt((int)result);
21251 return resultobj;
21252 fail:
21253 return NULL;
21254 }
21255
21256
21257 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21258 PyObject *obj;
21259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21260 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21261 Py_INCREF(obj);
21262 return Py_BuildValue((char *)"");
21263 }
21264 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21267 wxString *arg1 = (wxString *) &arg1_defvalue ;
21268 wxPyPrintout *result;
21269 bool temp1 = False ;
21270 PyObject * obj0 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "title", NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21276 if (obj0) {
21277 {
21278 arg1 = wxString_in_helper(obj0);
21279 if (arg1 == NULL) SWIG_fail;
21280 temp1 = True;
21281 }
21282 }
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21286
21287 wxPyEndAllowThreads(__tstate);
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 {
21291 resultobj = wxPyMake_wxObject(result);
21292 }
21293 {
21294 if (temp1)
21295 delete arg1;
21296 }
21297 return resultobj;
21298 fail:
21299 {
21300 if (temp1)
21301 delete arg1;
21302 }
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21310 PyObject *arg2 = (PyObject *) 0 ;
21311 PyObject *arg3 = (PyObject *) 0 ;
21312 PyObject * obj0 = 0 ;
21313 PyObject * obj1 = 0 ;
21314 PyObject * obj2 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "self",(char *) "_class", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21322 arg2 = obj1;
21323 arg3 = obj2;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 (arg1)->_setCallbackInfo(arg2,arg3);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 Py_INCREF(Py_None); resultobj = Py_None;
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21341 wxString result;
21342 PyObject * obj0 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = ((wxPyPrintout const *)arg1)->GetTitle();
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 {
21358 #if wxUSE_UNICODE
21359 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21360 #else
21361 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21362 #endif
21363 }
21364 return resultobj;
21365 fail:
21366 return NULL;
21367 }
21368
21369
21370 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21371 PyObject *resultobj;
21372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21373 wxDC *result;
21374 PyObject * obj0 = 0 ;
21375 char *kwnames[] = {
21376 (char *) "self", NULL
21377 };
21378
21379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 result = (wxDC *)(arg1)->GetDC();
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 {
21390 resultobj = wxPyMake_wxObject(result);
21391 }
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21401 wxDC *arg2 = (wxDC *) 0 ;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "dc", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 (arg1)->SetDC(arg2);
21416
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 Py_INCREF(Py_None); resultobj = Py_None;
21421 return resultobj;
21422 fail:
21423 return NULL;
21424 }
21425
21426
21427 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21430 int arg2 ;
21431 int arg3 ;
21432 PyObject * obj0 = 0 ;
21433 PyObject * obj1 = 0 ;
21434 PyObject * obj2 = 0 ;
21435 char *kwnames[] = {
21436 (char *) "self",(char *) "w",(char *) "h", NULL
21437 };
21438
21439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21442 arg2 = (int) SWIG_AsInt(obj1);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 arg3 = (int) SWIG_AsInt(obj2);
21445 if (PyErr_Occurred()) SWIG_fail;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 (arg1)->SetPageSizePixels(arg2,arg3);
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 Py_INCREF(Py_None); resultobj = Py_None;
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21463 int *arg2 = (int *) 0 ;
21464 int *arg3 = (int *) 0 ;
21465 int temp2 ;
21466 int temp3 ;
21467 PyObject * obj0 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self", NULL
21470 };
21471
21472 arg2 = &temp2;
21473 arg3 = &temp3;
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 (arg1)->GetPageSizePixels(arg2,arg3);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 Py_INCREF(Py_None); resultobj = Py_None;
21485 {
21486 PyObject *o = PyInt_FromLong((long) (*arg2));
21487 resultobj = t_output_helper(resultobj,o);
21488 }
21489 {
21490 PyObject *o = PyInt_FromLong((long) (*arg3));
21491 resultobj = t_output_helper(resultobj,o);
21492 }
21493 return resultobj;
21494 fail:
21495 return NULL;
21496 }
21497
21498
21499 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21500 PyObject *resultobj;
21501 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21502 int arg2 ;
21503 int arg3 ;
21504 PyObject * obj0 = 0 ;
21505 PyObject * obj1 = 0 ;
21506 PyObject * obj2 = 0 ;
21507 char *kwnames[] = {
21508 (char *) "self",(char *) "w",(char *) "h", NULL
21509 };
21510
21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21514 arg2 = (int) SWIG_AsInt(obj1);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 arg3 = (int) SWIG_AsInt(obj2);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 (arg1)->SetPageSizeMM(arg2,arg3);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21535 int *arg2 = (int *) 0 ;
21536 int *arg3 = (int *) 0 ;
21537 int temp2 ;
21538 int temp3 ;
21539 PyObject * obj0 = 0 ;
21540 char *kwnames[] = {
21541 (char *) "self", NULL
21542 };
21543
21544 arg2 = &temp2;
21545 arg3 = &temp3;
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 (arg1)->GetPageSizeMM(arg2,arg3);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 Py_INCREF(Py_None); resultobj = Py_None;
21557 {
21558 PyObject *o = PyInt_FromLong((long) (*arg2));
21559 resultobj = t_output_helper(resultobj,o);
21560 }
21561 {
21562 PyObject *o = PyInt_FromLong((long) (*arg3));
21563 resultobj = t_output_helper(resultobj,o);
21564 }
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21574 int arg2 ;
21575 int arg3 ;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 PyObject * obj2 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "x",(char *) "y", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21586 arg2 = (int) SWIG_AsInt(obj1);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 arg3 = (int) SWIG_AsInt(obj2);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 (arg1)->SetPPIScreen(arg2,arg3);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 Py_INCREF(Py_None); resultobj = Py_None;
21598 return resultobj;
21599 fail:
21600 return NULL;
21601 }
21602
21603
21604 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21605 PyObject *resultobj;
21606 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21607 int *arg2 = (int *) 0 ;
21608 int *arg3 = (int *) 0 ;
21609 int temp2 ;
21610 int temp3 ;
21611 PyObject * obj0 = 0 ;
21612 char *kwnames[] = {
21613 (char *) "self", NULL
21614 };
21615
21616 arg2 = &temp2;
21617 arg3 = &temp3;
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 (arg1)->GetPPIScreen(arg2,arg3);
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 Py_INCREF(Py_None); resultobj = Py_None;
21629 {
21630 PyObject *o = PyInt_FromLong((long) (*arg2));
21631 resultobj = t_output_helper(resultobj,o);
21632 }
21633 {
21634 PyObject *o = PyInt_FromLong((long) (*arg3));
21635 resultobj = t_output_helper(resultobj,o);
21636 }
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21644 PyObject *resultobj;
21645 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21646 int arg2 ;
21647 int arg3 ;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 PyObject * obj2 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self",(char *) "x",(char *) "y", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21658 arg2 = (int) SWIG_AsInt(obj1);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 arg3 = (int) SWIG_AsInt(obj2);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 (arg1)->SetPPIPrinter(arg2,arg3);
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
21669 Py_INCREF(Py_None); resultobj = Py_None;
21670 return resultobj;
21671 fail:
21672 return NULL;
21673 }
21674
21675
21676 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21677 PyObject *resultobj;
21678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21679 int *arg2 = (int *) 0 ;
21680 int *arg3 = (int *) 0 ;
21681 int temp2 ;
21682 int temp3 ;
21683 PyObject * obj0 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self", NULL
21686 };
21687
21688 arg2 = &temp2;
21689 arg3 = &temp3;
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 {
21694 PyThreadState* __tstate = wxPyBeginAllowThreads();
21695 (arg1)->GetPPIPrinter(arg2,arg3);
21696
21697 wxPyEndAllowThreads(__tstate);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 }
21700 Py_INCREF(Py_None); resultobj = Py_None;
21701 {
21702 PyObject *o = PyInt_FromLong((long) (*arg2));
21703 resultobj = t_output_helper(resultobj,o);
21704 }
21705 {
21706 PyObject *o = PyInt_FromLong((long) (*arg3));
21707 resultobj = t_output_helper(resultobj,o);
21708 }
21709 return resultobj;
21710 fail:
21711 return NULL;
21712 }
21713
21714
21715 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21716 PyObject *resultobj;
21717 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21718 bool result;
21719 PyObject * obj0 = 0 ;
21720 char *kwnames[] = {
21721 (char *) "self", NULL
21722 };
21723
21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 result = (bool)(arg1)->IsPreview();
21730
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 {
21735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21736 }
21737 return resultobj;
21738 fail:
21739 return NULL;
21740 }
21741
21742
21743 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21744 PyObject *resultobj;
21745 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21746 bool arg2 ;
21747 PyObject * obj0 = 0 ;
21748 PyObject * obj1 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self",(char *) "p", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21756 arg2 = (bool) SWIG_AsBool(obj1);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 (arg1)->SetIsPreview(arg2);
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 Py_INCREF(Py_None); resultobj = Py_None;
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21775 int arg2 ;
21776 int arg3 ;
21777 bool result;
21778 PyObject * obj0 = 0 ;
21779 PyObject * obj1 = 0 ;
21780 PyObject * obj2 = 0 ;
21781 char *kwnames[] = {
21782 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21783 };
21784
21785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21788 arg2 = (int) SWIG_AsInt(obj1);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 arg3 = (int) SWIG_AsInt(obj2);
21791 if (PyErr_Occurred()) SWIG_fail;
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21795
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 {
21800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21801 }
21802 return resultobj;
21803 fail:
21804 return NULL;
21805 }
21806
21807
21808 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21809 PyObject *resultobj;
21810 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21811 PyObject * obj0 = 0 ;
21812 char *kwnames[] = {
21813 (char *) "self", NULL
21814 };
21815
21816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
21817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 (arg1)->base_OnEndDocument();
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 Py_INCREF(Py_None); resultobj = Py_None;
21827 return resultobj;
21828 fail:
21829 return NULL;
21830 }
21831
21832
21833 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21836 PyObject * obj0 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->base_OnBeginPrinting();
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 return resultobj;
21853 fail:
21854 return NULL;
21855 }
21856
21857
21858 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21859 PyObject *resultobj;
21860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21861 PyObject * obj0 = 0 ;
21862 char *kwnames[] = {
21863 (char *) "self", NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
21867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 (arg1)->base_OnEndPrinting();
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 Py_INCREF(Py_None); resultobj = Py_None;
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21886 PyObject * obj0 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 (arg1)->base_OnPreparePrinting();
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 Py_INCREF(Py_None); resultobj = Py_None;
21902 return resultobj;
21903 fail:
21904 return NULL;
21905 }
21906
21907
21908 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21909 PyObject *resultobj;
21910 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21911 int arg2 ;
21912 bool result;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self",(char *) "page", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
21920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21922 arg2 = (int) SWIG_AsInt(obj1);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 result = (bool)(arg1)->base_HasPage(arg2);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21933 }
21934 return resultobj;
21935 fail:
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21943 int *arg2 = (int *) 0 ;
21944 int *arg3 = (int *) 0 ;
21945 int *arg4 = (int *) 0 ;
21946 int *arg5 = (int *) 0 ;
21947 int temp2 ;
21948 int temp3 ;
21949 int temp4 ;
21950 int temp5 ;
21951 PyObject * obj0 = 0 ;
21952 char *kwnames[] = {
21953 (char *) "self", NULL
21954 };
21955
21956 arg2 = &temp2;
21957 arg3 = &temp3;
21958 arg4 = &temp4;
21959 arg5 = &temp5;
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 Py_INCREF(Py_None); resultobj = Py_None;
21971 {
21972 PyObject *o = PyInt_FromLong((long) (*arg2));
21973 resultobj = t_output_helper(resultobj,o);
21974 }
21975 {
21976 PyObject *o = PyInt_FromLong((long) (*arg3));
21977 resultobj = t_output_helper(resultobj,o);
21978 }
21979 {
21980 PyObject *o = PyInt_FromLong((long) (*arg4));
21981 resultobj = t_output_helper(resultobj,o);
21982 }
21983 {
21984 PyObject *o = PyInt_FromLong((long) (*arg5));
21985 resultobj = t_output_helper(resultobj,o);
21986 }
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
21994 PyObject *obj;
21995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21996 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
21997 Py_INCREF(obj);
21998 return Py_BuildValue((char *)"");
21999 }
22000 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22003 wxWindow *arg2 = (wxWindow *) 0 ;
22004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22006 wxSize const &arg4_defvalue = wxDefaultSize ;
22007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22008 long arg5 = (long) 0 ;
22009 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22010 wxString *arg6 = (wxString *) &arg6_defvalue ;
22011 wxPreviewCanvas *result;
22012 wxPoint temp3 ;
22013 wxSize temp4 ;
22014 bool temp6 = False ;
22015 PyObject * obj0 = 0 ;
22016 PyObject * obj1 = 0 ;
22017 PyObject * obj2 = 0 ;
22018 PyObject * obj3 = 0 ;
22019 PyObject * obj4 = 0 ;
22020 PyObject * obj5 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22030 if (obj2) {
22031 {
22032 arg3 = &temp3;
22033 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22034 }
22035 }
22036 if (obj3) {
22037 {
22038 arg4 = &temp4;
22039 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22040 }
22041 }
22042 if (obj4) {
22043 arg5 = (long) SWIG_AsLong(obj4);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 if (obj5) {
22047 {
22048 arg6 = wxString_in_helper(obj5);
22049 if (arg6 == NULL) SWIG_fail;
22050 temp6 = True;
22051 }
22052 }
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22061 {
22062 if (temp6)
22063 delete arg6;
22064 }
22065 return resultobj;
22066 fail:
22067 {
22068 if (temp6)
22069 delete arg6;
22070 }
22071 return NULL;
22072 }
22073
22074
22075 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22076 PyObject *obj;
22077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22078 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22079 Py_INCREF(obj);
22080 return Py_BuildValue((char *)"");
22081 }
22082 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22083 PyObject *resultobj;
22084 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22085 wxFrame *arg2 = (wxFrame *) 0 ;
22086 wxString *arg3 = 0 ;
22087 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22088 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22089 wxSize const &arg5_defvalue = wxDefaultSize ;
22090 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22091 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22092 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22093 wxString *arg7 = (wxString *) &arg7_defvalue ;
22094 wxPreviewFrame *result;
22095 bool temp3 = False ;
22096 wxPoint temp4 ;
22097 wxSize temp5 ;
22098 bool temp7 = False ;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 PyObject * obj2 = 0 ;
22102 PyObject * obj3 = 0 ;
22103 PyObject * obj4 = 0 ;
22104 PyObject * obj5 = 0 ;
22105 PyObject * obj6 = 0 ;
22106 char *kwnames[] = {
22107 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22108 };
22109
22110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22115 {
22116 arg3 = wxString_in_helper(obj2);
22117 if (arg3 == NULL) SWIG_fail;
22118 temp3 = True;
22119 }
22120 if (obj3) {
22121 {
22122 arg4 = &temp4;
22123 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22124 }
22125 }
22126 if (obj4) {
22127 {
22128 arg5 = &temp5;
22129 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22130 }
22131 }
22132 if (obj5) {
22133 arg6 = (long) SWIG_AsLong(obj5);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 if (obj6) {
22137 {
22138 arg7 = wxString_in_helper(obj6);
22139 if (arg7 == NULL) SWIG_fail;
22140 temp7 = True;
22141 }
22142 }
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22146
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22151 {
22152 if (temp3)
22153 delete arg3;
22154 }
22155 {
22156 if (temp7)
22157 delete arg7;
22158 }
22159 return resultobj;
22160 fail:
22161 {
22162 if (temp3)
22163 delete arg3;
22164 }
22165 {
22166 if (temp7)
22167 delete arg7;
22168 }
22169 return NULL;
22170 }
22171
22172
22173 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22176 PyObject * obj0 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 (arg1)->Initialize();
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 Py_INCREF(Py_None); resultobj = Py_None;
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22201 PyObject * obj0 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 (arg1)->CreateControlBar();
22212
22213 wxPyEndAllowThreads(__tstate);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 Py_INCREF(Py_None); resultobj = Py_None;
22217 return resultobj;
22218 fail:
22219 return NULL;
22220 }
22221
22222
22223 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22224 PyObject *resultobj;
22225 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22226 PyObject * obj0 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22234 {
22235 PyThreadState* __tstate = wxPyBeginAllowThreads();
22236 (arg1)->CreateCanvas();
22237
22238 wxPyEndAllowThreads(__tstate);
22239 if (PyErr_Occurred()) SWIG_fail;
22240 }
22241 Py_INCREF(Py_None); resultobj = Py_None;
22242 return resultobj;
22243 fail:
22244 return NULL;
22245 }
22246
22247
22248 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22249 PyObject *resultobj;
22250 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22251 wxPreviewControlBar *result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22275 PyObject *obj;
22276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22277 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22278 Py_INCREF(obj);
22279 return Py_BuildValue((char *)"");
22280 }
22281 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22284 long arg2 ;
22285 wxWindow *arg3 = (wxWindow *) 0 ;
22286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22288 wxSize const &arg5_defvalue = wxDefaultSize ;
22289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22290 long arg6 = (long) wxTAB_TRAVERSAL ;
22291 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22292 wxString *arg7 = (wxString *) &arg7_defvalue ;
22293 wxPreviewControlBar *result;
22294 wxPoint temp4 ;
22295 wxSize temp5 ;
22296 bool temp7 = False ;
22297 PyObject * obj0 = 0 ;
22298 PyObject * obj1 = 0 ;
22299 PyObject * obj2 = 0 ;
22300 PyObject * obj3 = 0 ;
22301 PyObject * obj4 = 0 ;
22302 PyObject * obj5 = 0 ;
22303 PyObject * obj6 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22311 arg2 = (long) SWIG_AsLong(obj1);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22315 if (obj3) {
22316 {
22317 arg4 = &temp4;
22318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22319 }
22320 }
22321 if (obj4) {
22322 {
22323 arg5 = &temp5;
22324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22325 }
22326 }
22327 if (obj5) {
22328 arg6 = (long) SWIG_AsLong(obj5);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 if (obj6) {
22332 {
22333 arg7 = wxString_in_helper(obj6);
22334 if (arg7 == NULL) SWIG_fail;
22335 temp7 = True;
22336 }
22337 }
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22346 {
22347 if (temp7)
22348 delete arg7;
22349 }
22350 return resultobj;
22351 fail:
22352 {
22353 if (temp7)
22354 delete arg7;
22355 }
22356 return NULL;
22357 }
22358
22359
22360 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj;
22362 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22363 int result;
22364 PyObject * obj0 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (int)(arg1)->GetZoomControl();
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 resultobj = SWIG_FromInt((int)result);
22380 return resultobj;
22381 fail:
22382 return NULL;
22383 }
22384
22385
22386 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22387 PyObject *resultobj;
22388 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22389 int arg2 ;
22390 PyObject * obj0 = 0 ;
22391 PyObject * obj1 = 0 ;
22392 char *kwnames[] = {
22393 (char *) "self",(char *) "zoom", NULL
22394 };
22395
22396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22399 arg2 = (int) SWIG_AsInt(obj1);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 (arg1)->SetZoomControl(arg2);
22404
22405 wxPyEndAllowThreads(__tstate);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 }
22408 Py_INCREF(Py_None); resultobj = Py_None;
22409 return resultobj;
22410 fail:
22411 return NULL;
22412 }
22413
22414
22415 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22416 PyObject *resultobj;
22417 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22418 wxPrintPreview *result;
22419 PyObject * obj0 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "self", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22427 {
22428 PyThreadState* __tstate = wxPyBeginAllowThreads();
22429 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22430
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22435 return resultobj;
22436 fail:
22437 return NULL;
22438 }
22439
22440
22441 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22442 PyObject *resultobj;
22443 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22444 PyObject * obj0 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 (arg1)->OnNext();
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 Py_INCREF(Py_None); resultobj = Py_None;
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22469 PyObject * obj0 = 0 ;
22470 char *kwnames[] = {
22471 (char *) "self", NULL
22472 };
22473
22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->OnPrevious();
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 Py_INCREF(Py_None); resultobj = Py_None;
22485 return resultobj;
22486 fail:
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22494 PyObject * obj0 = 0 ;
22495 char *kwnames[] = {
22496 (char *) "self", NULL
22497 };
22498
22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 (arg1)->OnFirst();
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 Py_INCREF(Py_None); resultobj = Py_None;
22510 return resultobj;
22511 fail:
22512 return NULL;
22513 }
22514
22515
22516 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22519 PyObject * obj0 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 (arg1)->OnLast();
22530
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 Py_INCREF(Py_None); resultobj = Py_None;
22535 return resultobj;
22536 fail:
22537 return NULL;
22538 }
22539
22540
22541 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22542 PyObject *resultobj;
22543 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22544 PyObject * obj0 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->OnGoto();
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22567 PyObject *obj;
22568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22569 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22570 Py_INCREF(obj);
22571 return Py_BuildValue((char *)"");
22572 }
22573 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22574 PyObject *resultobj;
22575 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22576 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22577 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22578 wxPrintPreview *result;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 PyObject * obj2 = 0 ;
22582
22583 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22588 if (obj2) {
22589 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22591 }
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22600 return resultobj;
22601 fail:
22602 return NULL;
22603 }
22604
22605
22606 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22607 PyObject *resultobj;
22608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22609 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22610 wxPrintData *arg3 = (wxPrintData *) 0 ;
22611 wxPrintPreview *result;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 PyObject * obj2 = 0 ;
22615
22616 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22621 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22631 return resultobj;
22632 fail:
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22638 int argc;
22639 PyObject *argv[4];
22640 int ii;
22641
22642 argc = PyObject_Length(args);
22643 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22644 argv[ii] = PyTuple_GetItem(args,ii);
22645 }
22646 if ((argc >= 2) && (argc <= 3)) {
22647 int _v;
22648 {
22649 void *ptr;
22650 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22651 _v = 0;
22652 PyErr_Clear();
22653 } else {
22654 _v = 1;
22655 }
22656 }
22657 if (_v) {
22658 {
22659 void *ptr;
22660 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22661 _v = 0;
22662 PyErr_Clear();
22663 } else {
22664 _v = 1;
22665 }
22666 }
22667 if (_v) {
22668 if (argc <= 2) {
22669 return _wrap_new_PrintPreview__SWIG_0(self,args);
22670 }
22671 {
22672 void *ptr;
22673 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22674 _v = 0;
22675 PyErr_Clear();
22676 } else {
22677 _v = 1;
22678 }
22679 }
22680 if (_v) {
22681 return _wrap_new_PrintPreview__SWIG_0(self,args);
22682 }
22683 }
22684 }
22685 }
22686 if (argc == 3) {
22687 int _v;
22688 {
22689 void *ptr;
22690 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22691 _v = 0;
22692 PyErr_Clear();
22693 } else {
22694 _v = 1;
22695 }
22696 }
22697 if (_v) {
22698 {
22699 void *ptr;
22700 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22701 _v = 0;
22702 PyErr_Clear();
22703 } else {
22704 _v = 1;
22705 }
22706 }
22707 if (_v) {
22708 {
22709 void *ptr;
22710 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22711 _v = 0;
22712 PyErr_Clear();
22713 } else {
22714 _v = 1;
22715 }
22716 }
22717 if (_v) {
22718 return _wrap_new_PrintPreview__SWIG_1(self,args);
22719 }
22720 }
22721 }
22722 }
22723
22724 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22725 return NULL;
22726 }
22727
22728
22729 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj;
22731 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22732 int arg2 ;
22733 bool result;
22734 PyObject * obj0 = 0 ;
22735 PyObject * obj1 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "pageNum", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22743 arg2 = (int) SWIG_AsInt(obj1);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 result = (bool)(arg1)->SetCurrentPage(arg2);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 {
22753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22754 }
22755 return resultobj;
22756 fail:
22757 return NULL;
22758 }
22759
22760
22761 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22764 int result;
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (int)(arg1)->GetCurrentPage();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 resultobj = SWIG_FromInt((int)result);
22781 return resultobj;
22782 fail:
22783 return NULL;
22784 }
22785
22786
22787 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22790 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self",(char *) "printout", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 (arg1)->SetPrintout(arg2);
22805
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 Py_INCREF(Py_None); resultobj = Py_None;
22810 return resultobj;
22811 fail:
22812 return NULL;
22813 }
22814
22815
22816 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22817 PyObject *resultobj;
22818 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22819 wxPyPrintout *result;
22820 PyObject * obj0 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
22826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 result = (wxPyPrintout *)(arg1)->GetPrintout();
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 {
22836 resultobj = wxPyMake_wxObject(result);
22837 }
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj;
22846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22847 wxPyPrintout *result;
22848 PyObject * obj0 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
22854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 {
22864 resultobj = wxPyMake_wxObject(result);
22865 }
22866 return resultobj;
22867 fail:
22868 return NULL;
22869 }
22870
22871
22872 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22873 PyObject *resultobj;
22874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22875 wxFrame *arg2 = (wxFrame *) 0 ;
22876 PyObject * obj0 = 0 ;
22877 PyObject * obj1 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self",(char *) "frame", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
22883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22885 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 (arg1)->SetFrame(arg2);
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 Py_INCREF(Py_None); resultobj = Py_None;
22895 return resultobj;
22896 fail:
22897 return NULL;
22898 }
22899
22900
22901 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22902 PyObject *resultobj;
22903 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22904 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22905 PyObject * obj0 = 0 ;
22906 PyObject * obj1 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self",(char *) "canvas", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
22912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22914 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
22915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22916 {
22917 PyThreadState* __tstate = wxPyBeginAllowThreads();
22918 (arg1)->SetCanvas(arg2);
22919
22920 wxPyEndAllowThreads(__tstate);
22921 if (PyErr_Occurred()) SWIG_fail;
22922 }
22923 Py_INCREF(Py_None); resultobj = Py_None;
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22933 wxFrame *result;
22934 PyObject * obj0 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
22940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 result = (wxFrame *)(arg1)->GetFrame();
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 {
22950 resultobj = wxPyMake_wxObject(result);
22951 }
22952 return resultobj;
22953 fail:
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22961 wxPreviewCanvas *result;
22962 PyObject * obj0 = 0 ;
22963 char *kwnames[] = {
22964 (char *) "self", NULL
22965 };
22966
22967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
22968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22970 {
22971 PyThreadState* __tstate = wxPyBeginAllowThreads();
22972 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
22973
22974 wxPyEndAllowThreads(__tstate);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 }
22977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
22978 return resultobj;
22979 fail:
22980 return NULL;
22981 }
22982
22983
22984 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22985 PyObject *resultobj;
22986 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22987 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22988 wxDC *arg3 = 0 ;
22989 bool result;
22990 PyObject * obj0 = 0 ;
22991 PyObject * obj1 = 0 ;
22992 PyObject * obj2 = 0 ;
22993 char *kwnames[] = {
22994 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22995 };
22996
22997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23002 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23003 SWIG_POINTER_EXCEPTION | 0)) == -1)
23004 SWIG_fail;
23005 if (arg3 == NULL) {
23006 PyErr_SetString(PyExc_TypeError,"null reference");
23007 SWIG_fail;
23008 }
23009 {
23010 PyThreadState* __tstate = wxPyBeginAllowThreads();
23011 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23012
23013 wxPyEndAllowThreads(__tstate);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 {
23017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23018 }
23019 return resultobj;
23020 fail:
23021 return NULL;
23022 }
23023
23024
23025 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23026 PyObject *resultobj;
23027 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23028 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23029 wxDC *arg3 = 0 ;
23030 bool result;
23031 PyObject * obj0 = 0 ;
23032 PyObject * obj1 = 0 ;
23033 PyObject * obj2 = 0 ;
23034 char *kwnames[] = {
23035 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23036 };
23037
23038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23044 SWIG_POINTER_EXCEPTION | 0)) == -1)
23045 SWIG_fail;
23046 if (arg3 == NULL) {
23047 PyErr_SetString(PyExc_TypeError,"null reference");
23048 SWIG_fail;
23049 }
23050 {
23051 PyThreadState* __tstate = wxPyBeginAllowThreads();
23052 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23053
23054 wxPyEndAllowThreads(__tstate);
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 {
23058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23059 }
23060 return resultobj;
23061 fail:
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23069 int arg2 ;
23070 bool result;
23071 PyObject * obj0 = 0 ;
23072 PyObject * obj1 = 0 ;
23073 char *kwnames[] = {
23074 (char *) "self",(char *) "pageNum", NULL
23075 };
23076
23077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23080 arg2 = (int) SWIG_AsInt(obj1);
23081 if (PyErr_Occurred()) SWIG_fail;
23082 {
23083 PyThreadState* __tstate = wxPyBeginAllowThreads();
23084 result = (bool)(arg1)->RenderPage(arg2);
23085
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 {
23090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23091 }
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23101 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23102 PyObject * obj0 = 0 ;
23103 PyObject * obj1 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "canvas", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 (arg1)->AdjustScrollbars(arg2);
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 Py_INCREF(Py_None); resultobj = Py_None;
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23130 wxPrintDialogData *result;
23131 PyObject * obj0 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 {
23142 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23143 result = (wxPrintDialogData *) &_result_ref;
23144 }
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23159 int arg2 ;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 char *kwnames[] = {
23163 (char *) "self",(char *) "percent", NULL
23164 };
23165
23166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23169 arg2 = (int) SWIG_AsInt(obj1);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 (arg1)->SetZoom(arg2);
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 Py_INCREF(Py_None); resultobj = Py_None;
23179 return resultobj;
23180 fail:
23181 return NULL;
23182 }
23183
23184
23185 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23188 int result;
23189 PyObject * obj0 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 result = (int)(arg1)->GetZoom();
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
23204 resultobj = SWIG_FromInt((int)result);
23205 return resultobj;
23206 fail:
23207 return NULL;
23208 }
23209
23210
23211 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23212 PyObject *resultobj;
23213 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23214 int result;
23215 PyObject * obj0 = 0 ;
23216 char *kwnames[] = {
23217 (char *) "self", NULL
23218 };
23219
23220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23223 {
23224 PyThreadState* __tstate = wxPyBeginAllowThreads();
23225 result = (int)(arg1)->GetMaxPage();
23226
23227 wxPyEndAllowThreads(__tstate);
23228 if (PyErr_Occurred()) SWIG_fail;
23229 }
23230 resultobj = SWIG_FromInt((int)result);
23231 return resultobj;
23232 fail:
23233 return NULL;
23234 }
23235
23236
23237 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23238 PyObject *resultobj;
23239 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23240 int result;
23241 PyObject * obj0 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 result = (int)(arg1)->GetMinPage();
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 resultobj = SWIG_FromInt((int)result);
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23266 bool result;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 result = (bool)(arg1)->Ok();
23278
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 {
23283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23284 }
23285 return resultobj;
23286 fail:
23287 return NULL;
23288 }
23289
23290
23291 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23294 bool arg2 ;
23295 PyObject * obj0 = 0 ;
23296 PyObject * obj1 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self",(char *) "ok", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23304 arg2 = (bool) SWIG_AsBool(obj1);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 (arg1)->SetOk(arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 Py_INCREF(Py_None); resultobj = Py_None;
23314 return resultobj;
23315 fail:
23316 return NULL;
23317 }
23318
23319
23320 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj;
23322 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23323 bool arg2 ;
23324 bool result;
23325 PyObject * obj0 = 0 ;
23326 PyObject * obj1 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self",(char *) "interactive", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23334 arg2 = (bool) SWIG_AsBool(obj1);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 result = (bool)(arg1)->Print(arg2);
23339
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
23343 {
23344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23345 }
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23355 PyObject * obj0 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->DetermineScaling();
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374 }
23375
23376
23377 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23378 PyObject *obj;
23379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23380 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23381 Py_INCREF(obj);
23382 return Py_BuildValue((char *)"");
23383 }
23384 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23385 PyObject *resultobj;
23386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23387 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23388 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23389 wxPyPrintPreview *result;
23390 PyObject * obj0 = 0 ;
23391 PyObject * obj1 = 0 ;
23392 PyObject * obj2 = 0 ;
23393
23394 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23399 if (obj2) {
23400 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 }
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23418 PyObject *resultobj;
23419 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23420 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23421 wxPrintData *arg3 = (wxPrintData *) 0 ;
23422 wxPyPrintPreview *result;
23423 PyObject * obj0 = 0 ;
23424 PyObject * obj1 = 0 ;
23425 PyObject * obj2 = 0 ;
23426
23427 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23432 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23442 return resultobj;
23443 fail:
23444 return NULL;
23445 }
23446
23447
23448 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23449 int argc;
23450 PyObject *argv[4];
23451 int ii;
23452
23453 argc = PyObject_Length(args);
23454 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23455 argv[ii] = PyTuple_GetItem(args,ii);
23456 }
23457 if ((argc >= 2) && (argc <= 3)) {
23458 int _v;
23459 {
23460 void *ptr;
23461 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23462 _v = 0;
23463 PyErr_Clear();
23464 } else {
23465 _v = 1;
23466 }
23467 }
23468 if (_v) {
23469 {
23470 void *ptr;
23471 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23472 _v = 0;
23473 PyErr_Clear();
23474 } else {
23475 _v = 1;
23476 }
23477 }
23478 if (_v) {
23479 if (argc <= 2) {
23480 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23481 }
23482 {
23483 void *ptr;
23484 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23485 _v = 0;
23486 PyErr_Clear();
23487 } else {
23488 _v = 1;
23489 }
23490 }
23491 if (_v) {
23492 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23493 }
23494 }
23495 }
23496 }
23497 if (argc == 3) {
23498 int _v;
23499 {
23500 void *ptr;
23501 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23502 _v = 0;
23503 PyErr_Clear();
23504 } else {
23505 _v = 1;
23506 }
23507 }
23508 if (_v) {
23509 {
23510 void *ptr;
23511 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23512 _v = 0;
23513 PyErr_Clear();
23514 } else {
23515 _v = 1;
23516 }
23517 }
23518 if (_v) {
23519 {
23520 void *ptr;
23521 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23522 _v = 0;
23523 PyErr_Clear();
23524 } else {
23525 _v = 1;
23526 }
23527 }
23528 if (_v) {
23529 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23530 }
23531 }
23532 }
23533 }
23534
23535 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23536 return NULL;
23537 }
23538
23539
23540 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23541 PyObject *resultobj;
23542 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23543 PyObject *arg2 = (PyObject *) 0 ;
23544 PyObject *arg3 = (PyObject *) 0 ;
23545 PyObject * obj0 = 0 ;
23546 PyObject * obj1 = 0 ;
23547 PyObject * obj2 = 0 ;
23548 char *kwnames[] = {
23549 (char *) "self",(char *) "self",(char *) "_class", NULL
23550 };
23551
23552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23555 arg2 = obj1;
23556 arg3 = obj2;
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 (arg1)->_setCallbackInfo(arg2,arg3);
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 Py_INCREF(Py_None); resultobj = Py_None;
23565 return resultobj;
23566 fail:
23567 return NULL;
23568 }
23569
23570
23571 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23572 PyObject *resultobj;
23573 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23574 int arg2 ;
23575 bool result;
23576 PyObject * obj0 = 0 ;
23577 PyObject * obj1 = 0 ;
23578 char *kwnames[] = {
23579 (char *) "self",(char *) "pageNum", NULL
23580 };
23581
23582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23585 arg2 = (int) SWIG_AsInt(obj1);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 {
23595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23596 }
23597 return resultobj;
23598 fail:
23599 return NULL;
23600 }
23601
23602
23603 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23604 PyObject *resultobj;
23605 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23606 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23607 wxDC *arg3 = 0 ;
23608 bool result;
23609 PyObject * obj0 = 0 ;
23610 PyObject * obj1 = 0 ;
23611 PyObject * obj2 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23621 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23622 SWIG_POINTER_EXCEPTION | 0)) == -1)
23623 SWIG_fail;
23624 if (arg3 == NULL) {
23625 PyErr_SetString(PyExc_TypeError,"null reference");
23626 SWIG_fail;
23627 }
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
23630 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 {
23636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23637 }
23638 return resultobj;
23639 fail:
23640 return NULL;
23641 }
23642
23643
23644 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23645 PyObject *resultobj;
23646 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23647 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23648 wxDC *arg3 = 0 ;
23649 bool result;
23650 PyObject * obj0 = 0 ;
23651 PyObject * obj1 = 0 ;
23652 PyObject * obj2 = 0 ;
23653 char *kwnames[] = {
23654 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23655 };
23656
23657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23662 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1)
23664 SWIG_fail;
23665 if (arg3 == NULL) {
23666 PyErr_SetString(PyExc_TypeError,"null reference");
23667 SWIG_fail;
23668 }
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 {
23677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23678 }
23679 return resultobj;
23680 fail:
23681 return NULL;
23682 }
23683
23684
23685 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23688 int arg2 ;
23689 bool result;
23690 PyObject * obj0 = 0 ;
23691 PyObject * obj1 = 0 ;
23692 char *kwnames[] = {
23693 (char *) "self",(char *) "pageNum", NULL
23694 };
23695
23696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23699 arg2 = (int) SWIG_AsInt(obj1);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (bool)(arg1)->base_RenderPage(arg2);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 {
23709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23710 }
23711 return resultobj;
23712 fail:
23713 return NULL;
23714 }
23715
23716
23717 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23718 PyObject *resultobj;
23719 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23720 int arg2 ;
23721 PyObject * obj0 = 0 ;
23722 PyObject * obj1 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self",(char *) "percent", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23730 arg2 = (int) SWIG_AsInt(obj1);
23731 if (PyErr_Occurred()) SWIG_fail;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 (arg1)->base_SetZoom(arg2);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 Py_INCREF(Py_None); resultobj = Py_None;
23740 return resultobj;
23741 fail:
23742 return NULL;
23743 }
23744
23745
23746 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23747 PyObject *resultobj;
23748 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23749 bool arg2 ;
23750 bool result;
23751 PyObject * obj0 = 0 ;
23752 PyObject * obj1 = 0 ;
23753 char *kwnames[] = {
23754 (char *) "self",(char *) "interactive", NULL
23755 };
23756
23757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23760 arg2 = (bool) SWIG_AsBool(obj1);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 result = (bool)(arg1)->base_Print(arg2);
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 {
23770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23771 }
23772 return resultobj;
23773 fail:
23774 return NULL;
23775 }
23776
23777
23778 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23779 PyObject *resultobj;
23780 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23781 PyObject * obj0 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 (arg1)->base_DetermineScaling();
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 Py_INCREF(Py_None); resultobj = Py_None;
23797 return resultobj;
23798 fail:
23799 return NULL;
23800 }
23801
23802
23803 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
23804 PyObject *obj;
23805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23806 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
23807 Py_INCREF(obj);
23808 return Py_BuildValue((char *)"");
23809 }
23810 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23813 wxFrame *arg2 = (wxFrame *) 0 ;
23814 wxString *arg3 = 0 ;
23815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23817 wxSize const &arg5_defvalue = wxDefaultSize ;
23818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23819 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23820 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23821 wxString *arg7 = (wxString *) &arg7_defvalue ;
23822 wxPyPreviewFrame *result;
23823 bool temp3 = False ;
23824 wxPoint temp4 ;
23825 wxSize temp5 ;
23826 bool temp7 = False ;
23827 PyObject * obj0 = 0 ;
23828 PyObject * obj1 = 0 ;
23829 PyObject * obj2 = 0 ;
23830 PyObject * obj3 = 0 ;
23831 PyObject * obj4 = 0 ;
23832 PyObject * obj5 = 0 ;
23833 PyObject * obj6 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23843 {
23844 arg3 = wxString_in_helper(obj2);
23845 if (arg3 == NULL) SWIG_fail;
23846 temp3 = True;
23847 }
23848 if (obj3) {
23849 {
23850 arg4 = &temp4;
23851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23852 }
23853 }
23854 if (obj4) {
23855 {
23856 arg5 = &temp5;
23857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23858 }
23859 }
23860 if (obj5) {
23861 arg6 = (long) SWIG_AsLong(obj5);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 }
23864 if (obj6) {
23865 {
23866 arg7 = wxString_in_helper(obj6);
23867 if (arg7 == NULL) SWIG_fail;
23868 temp7 = True;
23869 }
23870 }
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
23879 {
23880 if (temp3)
23881 delete arg3;
23882 }
23883 {
23884 if (temp7)
23885 delete arg7;
23886 }
23887 return resultobj;
23888 fail:
23889 {
23890 if (temp3)
23891 delete arg3;
23892 }
23893 {
23894 if (temp7)
23895 delete arg7;
23896 }
23897 return NULL;
23898 }
23899
23900
23901 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23904 PyObject *arg2 = (PyObject *) 0 ;
23905 PyObject *arg3 = (PyObject *) 0 ;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj1 = 0 ;
23908 PyObject * obj2 = 0 ;
23909 char *kwnames[] = {
23910 (char *) "self",(char *) "self",(char *) "_class", NULL
23911 };
23912
23913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23916 arg2 = obj1;
23917 arg3 = obj2;
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 (arg1)->_setCallbackInfo(arg2,arg3);
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 Py_INCREF(Py_None); resultobj = Py_None;
23926 return resultobj;
23927 fail:
23928 return NULL;
23929 }
23930
23931
23932 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj;
23934 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23935 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23936 PyObject * obj0 = 0 ;
23937 PyObject * obj1 = 0 ;
23938 char *kwnames[] = {
23939 (char *) "self",(char *) "canvas", NULL
23940 };
23941
23942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
23943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 (arg1)->SetPreviewCanvas(arg2);
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 Py_INCREF(Py_None); resultobj = Py_None;
23955 return resultobj;
23956 fail:
23957 return NULL;
23958 }
23959
23960
23961 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
23962 PyObject *resultobj;
23963 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23964 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
23965 PyObject * obj0 = 0 ;
23966 PyObject * obj1 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self",(char *) "bar", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
23972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
23973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
23975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 (arg1)->SetControlBar(arg2);
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 Py_INCREF(Py_None); resultobj = Py_None;
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
23993 PyObject * obj0 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 (arg1)->base_Initialize();
24004
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 Py_INCREF(Py_None); resultobj = Py_None;
24009 return resultobj;
24010 fail:
24011 return NULL;
24012 }
24013
24014
24015 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24016 PyObject *resultobj;
24017 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24018 PyObject * obj0 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 (arg1)->base_CreateCanvas();
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 Py_INCREF(Py_None); resultobj = Py_None;
24034 return resultobj;
24035 fail:
24036 return NULL;
24037 }
24038
24039
24040 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24043 PyObject * obj0 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "self", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
24053 (arg1)->base_CreateControlBar();
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 Py_INCREF(Py_None); resultobj = Py_None;
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24066 PyObject *obj;
24067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24068 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24069 Py_INCREF(obj);
24070 return Py_BuildValue((char *)"");
24071 }
24072 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24075 long arg2 ;
24076 wxWindow *arg3 = (wxWindow *) 0 ;
24077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24079 wxSize const &arg5_defvalue = wxDefaultSize ;
24080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24081 long arg6 = (long) 0 ;
24082 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24083 wxString *arg7 = (wxString *) &arg7_defvalue ;
24084 wxPyPreviewControlBar *result;
24085 wxPoint temp4 ;
24086 wxSize temp5 ;
24087 bool temp7 = False ;
24088 PyObject * obj0 = 0 ;
24089 PyObject * obj1 = 0 ;
24090 PyObject * obj2 = 0 ;
24091 PyObject * obj3 = 0 ;
24092 PyObject * obj4 = 0 ;
24093 PyObject * obj5 = 0 ;
24094 PyObject * obj6 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 arg2 = (long) SWIG_AsLong(obj1);
24103 if (PyErr_Occurred()) SWIG_fail;
24104 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24106 if (obj3) {
24107 {
24108 arg4 = &temp4;
24109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24110 }
24111 }
24112 if (obj4) {
24113 {
24114 arg5 = &temp5;
24115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24116 }
24117 }
24118 if (obj5) {
24119 arg6 = (long) SWIG_AsLong(obj5);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 if (obj6) {
24123 {
24124 arg7 = wxString_in_helper(obj6);
24125 if (arg7 == NULL) SWIG_fail;
24126 temp7 = True;
24127 }
24128 }
24129 {
24130 PyThreadState* __tstate = wxPyBeginAllowThreads();
24131 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24132
24133 wxPyEndAllowThreads(__tstate);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24137 {
24138 if (temp7)
24139 delete arg7;
24140 }
24141 return resultobj;
24142 fail:
24143 {
24144 if (temp7)
24145 delete arg7;
24146 }
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24154 PyObject *arg2 = (PyObject *) 0 ;
24155 PyObject *arg3 = (PyObject *) 0 ;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 PyObject * obj2 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "self",(char *) "_class", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24166 arg2 = obj1;
24167 arg3 = obj2;
24168 {
24169 PyThreadState* __tstate = wxPyBeginAllowThreads();
24170 (arg1)->_setCallbackInfo(arg2,arg3);
24171
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 Py_INCREF(Py_None); resultobj = Py_None;
24176 return resultobj;
24177 fail:
24178 return NULL;
24179 }
24180
24181
24182 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj;
24184 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24185 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24186 PyObject * obj0 = 0 ;
24187 PyObject * obj1 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self",(char *) "preview", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24195 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24197 {
24198 PyThreadState* __tstate = wxPyBeginAllowThreads();
24199 (arg1)->SetPrintPreview(arg2);
24200
24201 wxPyEndAllowThreads(__tstate);
24202 if (PyErr_Occurred()) SWIG_fail;
24203 }
24204 Py_INCREF(Py_None); resultobj = Py_None;
24205 return resultobj;
24206 fail:
24207 return NULL;
24208 }
24209
24210
24211 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24212 PyObject *resultobj;
24213 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24214 PyObject * obj0 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 (arg1)->base_CreateButtons();
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 Py_INCREF(Py_None); resultobj = Py_None;
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24239 int arg2 ;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self",(char *) "zoom", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24249 arg2 = (int) SWIG_AsInt(obj1);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
24253 (arg1)->base_SetZoomControl(arg2);
24254
24255 wxPyEndAllowThreads(__tstate);
24256 if (PyErr_Occurred()) SWIG_fail;
24257 }
24258 Py_INCREF(Py_None); resultobj = Py_None;
24259 return resultobj;
24260 fail:
24261 return NULL;
24262 }
24263
24264
24265 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24266 PyObject *obj;
24267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24268 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24269 Py_INCREF(obj);
24270 return Py_BuildValue((char *)"");
24271 }
24272 static PyMethodDef SwigMethods[] = {
24273 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24274 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24275 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24276 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24277 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24278 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24279 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24280 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24281 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24282 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24283 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24284 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24285 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24286 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24287 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24288 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24289 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24290 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24291 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24292 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24293 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24294 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24295 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24296 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24297 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24298 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24299 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24300 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24301 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24302 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24303 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24304 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24305 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24306 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24307 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24308 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24309 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24310 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24311 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24312 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24313 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24314 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24315 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24316 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24317 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24318 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24319 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24320 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24321 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24322 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24323 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24324 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24325 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24326 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24327 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24328 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24329 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24330 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24331 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24332 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24333 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24334 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24335 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24336 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24337 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24338 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24339 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24340 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24341 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24342 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24343 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24344 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24345 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24346 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24347 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24348 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24349 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24350 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24351 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24352 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24353 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24354 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24355 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24356 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24357 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24358 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24359 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24360 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24361 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24362 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24363 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24364 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24365 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24366 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24367 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24368 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24369 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24370 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24371 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24372 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24373 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24374 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24375 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24376 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24377 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24378 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24379 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24380 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24381 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24382 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24383 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24384 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24385 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24386 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24387 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24388 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24389 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24390 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24391 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24392 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24393 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24394 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24395 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24396 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24397 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24398 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24399 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24400 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24401 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24402 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24403 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24404 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24405 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24406 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24407 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24408 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24409 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24410 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24411 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24412 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24413 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24414 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24415 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24416 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24417 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24418 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24419 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24420 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24421 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24422 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24423 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24424 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24425 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24426 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24427 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24428 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24429 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24430 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24431 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24432 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24433 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24434 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24435 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24436 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24437 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24438 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24439 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24440 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24441 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24442 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24443 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24444 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24445 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24446 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24447 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24448 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24449 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24450 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24451 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24452 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24453 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24454 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24455 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24456 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24457 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24458 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24459 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24460 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24461 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24462 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24463 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24464 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24465 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24466 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24467 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24468 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24469 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24470 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24471 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24472 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24473 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24474 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24478 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24480 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24484 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24488 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24495 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24496 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24502 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24506 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24516 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24532 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24540 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24549 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24551 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24552 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24556 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24560 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24563 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24565 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24570 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24581 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24588 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24592 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24597 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24601 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24609 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24616 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24617 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24620 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24622 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24626 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24635 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24644 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24650 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24662 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24669 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24673 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24697 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24721 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24745 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24791 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
24823 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
24827 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
24828 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
24861 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
24866 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
24877 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
24900 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
24902 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
24908 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
24918 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
24919 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
24942 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
24943 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
24952 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
24960 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
24966 { NULL, NULL }
24967 };
24968
24969
24970 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
24971
24972 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
24973 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24974 }
24975 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
24976 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
24977 }
24978 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
24979 return (void *)((wxEvent *) ((wxMenuEvent *) x));
24980 }
24981 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
24982 return (void *)((wxEvent *) ((wxCloseEvent *) x));
24983 }
24984 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
24985 return (void *)((wxEvent *) ((wxMouseEvent *) x));
24986 }
24987 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
24988 return (void *)((wxEvent *) ((wxEraseEvent *) x));
24989 }
24990 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
24991 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
24992 }
24993 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
24994 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
24995 }
24996 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
24997 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
24998 }
24999 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25000 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25001 }
25002 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25003 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25004 }
25005 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25006 return (void *)((wxEvent *) ((wxPyEvent *) x));
25007 }
25008 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25009 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25010 }
25011 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25012 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25013 }
25014 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25015 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25016 }
25017 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25018 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25019 }
25020 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25021 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25022 }
25023 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25024 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25025 }
25026 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25027 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25028 }
25029 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25030 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25031 }
25032 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25033 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25034 }
25035 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25036 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25037 }
25038 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25039 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25040 }
25041 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25042 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25043 }
25044 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25045 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25046 }
25047 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25048 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25049 }
25050 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25051 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25052 }
25053 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25054 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25055 }
25056 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25057 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25058 }
25059 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25060 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25061 }
25062 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25063 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25064 }
25065 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25067 }
25068 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25070 }
25071 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25072 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25073 }
25074 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25075 return (void *)((wxEvent *) ((wxShowEvent *) x));
25076 }
25077 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25078 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25079 }
25080 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25081 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25082 }
25083 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25084 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25085 }
25086 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25087 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25088 }
25089 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25090 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25091 }
25092 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25093 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25094 }
25095 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25096 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25097 }
25098 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25099 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25100 }
25101 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25103 }
25104 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25106 }
25107 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25108 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25109 }
25110 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25111 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25112 }
25113 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25114 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25115 }
25116 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25117 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25118 }
25119 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25120 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25121 }
25122 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25124 }
25125 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25127 }
25128 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25130 }
25131 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25133 }
25134 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25136 }
25137 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25139 }
25140 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25142 }
25143 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25145 }
25146 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25148 }
25149 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25150 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25151 }
25152 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25153 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25154 }
25155 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25157 }
25158 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25160 }
25161 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25162 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25163 }
25164 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25165 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25166 }
25167 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25168 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25169 }
25170 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25172 }
25173 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25174 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25175 }
25176 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25178 }
25179 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25181 }
25182 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25184 }
25185 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25187 }
25188 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25189 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25190 }
25191 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25193 }
25194 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25195 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25196 }
25197 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25198 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25199 }
25200 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25201 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25202 }
25203 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25205 }
25206 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25207 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25208 }
25209 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25210 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25211 }
25212 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25213 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25214 }
25215 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25216 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25217 }
25218 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25219 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25220 }
25221 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25223 }
25224 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25225 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25226 }
25227 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25228 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25229 }
25230 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25231 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25232 }
25233 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25234 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25235 }
25236 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25237 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25238 }
25239 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25241 }
25242 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25243 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25244 }
25245 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25246 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25247 }
25248 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25249 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25250 }
25251 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25252 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25253 }
25254 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25255 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25256 }
25257 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25258 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25259 }
25260 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25261 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25262 }
25263 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25264 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25265 }
25266 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25267 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25268 }
25269 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25270 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25271 }
25272 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25273 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25274 }
25275 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25276 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25277 }
25278 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25279 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25280 }
25281 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25283 }
25284 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25286 }
25287 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25288 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25289 }
25290 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25291 return (void *)((wxObject *) ((wxSizerItem *) x));
25292 }
25293 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25294 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25295 }
25296 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25297 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25298 }
25299 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25300 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25301 }
25302 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25303 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25304 }
25305 static void *_p_wxSizerTo_p_wxObject(void *x) {
25306 return (void *)((wxObject *) ((wxSizer *) x));
25307 }
25308 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25309 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25310 }
25311 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25313 }
25314 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25316 }
25317 static void *_p_wxEventTo_p_wxObject(void *x) {
25318 return (void *)((wxObject *) ((wxEvent *) x));
25319 }
25320 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25321 return (void *)((wxObject *) ((wxFontData *) x));
25322 }
25323 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25324 return (void *)((wxObject *) ((wxPrintData *) x));
25325 }
25326 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25327 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25328 }
25329 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25330 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25331 }
25332 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25333 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25334 }
25335 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25336 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25337 }
25338 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25339 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25340 }
25341 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25342 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25343 }
25344 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25345 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25346 }
25347 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25348 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25349 }
25350 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25351 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25352 }
25353 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25354 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25355 }
25356 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25357 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25358 }
25359 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25360 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25361 }
25362 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25364 }
25365 static void *_p_wxControlTo_p_wxObject(void *x) {
25366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25367 }
25368 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25369 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25370 }
25371 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25373 }
25374 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25375 return (void *)((wxObject *) ((wxFSFile *) x));
25376 }
25377 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25378 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25379 }
25380 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25381 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25382 }
25383 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25385 }
25386 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25387 return (void *)((wxObject *) ((wxColourData *) x));
25388 }
25389 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25390 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25391 }
25392 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25394 }
25395 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25397 }
25398 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25400 }
25401 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25403 }
25404 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25406 }
25407 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25409 }
25410 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25412 }
25413 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25415 }
25416 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25418 }
25419 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25421 }
25422 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25423 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25424 }
25425 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25426 return (void *)((wxObject *) ((wxPrinter *) x));
25427 }
25428 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25429 return (void *)((wxObject *) ((wxMenuItem *) x));
25430 }
25431 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25432 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25433 }
25434 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25436 }
25437 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25438 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25439 }
25440 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25441 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25442 }
25443 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25444 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25445 }
25446 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25447 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25448 }
25449 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25450 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25451 }
25452 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25453 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25454 }
25455 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25456 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25457 }
25458 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25459 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25460 }
25461 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25462 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25463 }
25464 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25465 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25466 }
25467 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25468 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25469 }
25470 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25471 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25472 }
25473 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25474 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25475 }
25476 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25477 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25478 }
25479 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25480 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25481 }
25482 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25484 }
25485 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) ((wxImageHandler *) x));
25487 }
25488 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25490 }
25491 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) ((wxEvtHandler *) x));
25493 }
25494 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25496 }
25497 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25499 }
25500 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25502 }
25503 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25505 }
25506 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25508 }
25509 static void *_p_wxImageTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) ((wxImage *) x));
25511 }
25512 static void *_p_wxFrameTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25514 }
25515 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) ((wxPyPrintout *) x));
25517 }
25518 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25520 }
25521 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25523 }
25524 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25526 }
25527 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25529 }
25530 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25532 }
25533 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25535 }
25536 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25538 }
25539 static void *_p_wxWindowTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25541 }
25542 static void *_p_wxMenuTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25544 }
25545 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25547 }
25548 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25550 }
25551 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25553 }
25554 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25556 }
25557 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25559 }
25560 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25562 }
25563 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25565 }
25566 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25568 }
25569 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25571 }
25572 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25574 }
25575 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25577 }
25578 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25580 }
25581 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25583 }
25584 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25586 }
25587 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) ((wxPrintPreview *) x));
25589 }
25590 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25592 }
25593 static void *_p_wxPanelTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25595 }
25596 static void *_p_wxDialogTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25598 }
25599 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25601 }
25602 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25604 }
25605 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25607 }
25608 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25610 }
25611 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25613 }
25614 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) ((wxFileSystem *) x));
25616 }
25617 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25619 }
25620 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25622 }
25623 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25625 }
25626 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25628 }
25629 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25631 }
25632 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25634 }
25635 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25637 }
25638 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25640 }
25641 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25643 }
25644 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25646 }
25647 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25649 }
25650 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25652 }
25653 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25655 }
25656 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25658 }
25659 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25661 }
25662 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25664 }
25665 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25667 }
25668 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25670 }
25671 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25672 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25673 }
25674 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25675 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25676 }
25677 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25678 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25679 }
25680 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25681 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25682 }
25683 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25684 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25685 }
25686 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25687 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25688 }
25689 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25690 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25691 }
25692 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25693 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25694 }
25695 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25696 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25697 }
25698 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25699 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25700 }
25701 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25702 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25703 }
25704 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25705 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25706 }
25707 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25708 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25709 }
25710 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25711 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25712 }
25713 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25714 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25715 }
25716 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25717 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25718 }
25719 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25720 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25721 }
25722 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25723 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25724 }
25725 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25726 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25727 }
25728 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25729 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25730 }
25731 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25732 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25733 }
25734 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25735 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25736 }
25737 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25738 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25739 }
25740 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25741 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25742 }
25743 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25744 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25745 }
25746 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25747 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25748 }
25749 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25750 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25751 }
25752 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25753 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25754 }
25755 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25756 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25757 }
25758 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25759 return (void *)((wxWindow *) ((wxMenuBar *) x));
25760 }
25761 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25763 }
25764 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25766 }
25767 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25769 }
25770 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25772 }
25773 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25775 }
25776 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25778 }
25779 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25780 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25781 }
25782 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25783 return (void *)((wxWindow *) ((wxPanel *) x));
25784 }
25785 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25786 return (void *)((wxWindow *) ((wxStatusBar *) x));
25787 }
25788 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25789 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25790 }
25791 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25792 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
25793 }
25794 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
25795 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25796 }
25797 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
25798 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25799 }
25800 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
25801 return (void *)((wxWindow *) ((wxPopupWindow *) x));
25802 }
25803 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
25804 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
25805 }
25806 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
25807 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
25808 }
25809 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
25810 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
25811 }
25812 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
25813 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
25814 }
25815 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
25816 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
25817 }
25818 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
25819 return (void *)((wxWindow *) ((wxSashWindow *) x));
25820 }
25821 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
25822 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25823 }
25824 static void *_p_wxControlTo_p_wxWindow(void *x) {
25825 return (void *)((wxWindow *) ((wxControl *) x));
25826 }
25827 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
25828 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25829 }
25830 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
25831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25832 }
25833 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
25834 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25835 }
25836 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
25837 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
25838 }
25839 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
25840 return (void *)((wxWindow *) ((wxPyWindow *) x));
25841 }
25842 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
25843 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25844 }
25845 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
25846 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25847 }
25848 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
25849 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25850 }
25851 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
25852 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
25853 }
25854 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
25855 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25856 }
25857 static void *_p_wxFrameTo_p_wxWindow(void *x) {
25858 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
25859 }
25860 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
25861 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25862 }
25863 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
25864 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25865 }
25866 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
25867 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25868 }
25869 static void *_p_wxDialogTo_p_wxWindow(void *x) {
25870 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
25871 }
25872 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
25873 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25874 }
25875 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
25876 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25877 }
25878 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
25879 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25880 }
25881 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
25882 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25883 }
25884 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
25885 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
25886 }
25887 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
25888 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
25889 }
25890 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
25891 return (void *)((wxDialog *) ((wxColourDialog *) x));
25892 }
25893 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
25894 return (void *)((wxDialog *) ((wxDirDialog *) x));
25895 }
25896 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
25897 return (void *)((wxDialog *) ((wxFontDialog *) x));
25898 }
25899 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
25900 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
25901 }
25902 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
25903 return (void *)((wxDialog *) ((wxPrintDialog *) x));
25904 }
25905 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
25906 return (void *)((wxDialog *) ((wxFileDialog *) x));
25907 }
25908 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
25909 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
25910 }
25911 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
25912 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
25913 }
25914 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
25915 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
25916 }
25917 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
25918 return (void *)((wxDialog *) ((wxMessageDialog *) x));
25919 }
25920 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
25921 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
25922 }
25923 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
25924 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
25925 }
25926 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
25927 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
25928 }
25929 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
25930 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25931 }
25932 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
25933 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25934 }
25935 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
25936 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25937 }
25938 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
25939 return (void *)((wxPanel *) ((wxPyPanel *) x));
25940 }
25941 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
25942 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
25943 }
25944 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
25945 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
25946 }
25947 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
25948 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25949 }
25950 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
25951 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
25952 }
25953 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
25954 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
25955 }
25956 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
25957 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
25958 }
25959 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
25960 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
25961 }
25962 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
25963 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
25964 }
25965 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
25966 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25967 }
25968 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
25969 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
25970 }
25971 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
25972 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
25973 }
25974 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
25975 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
25976 }
25977 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
25978 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
25979 }
25980 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
25981 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
25982 }
25983 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
25984 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25985 }
25986 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}};
25987 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}};
25988 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}};
25989 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}};
25990 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}};
25991 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}};
25992 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}};
25993 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}};
25994 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}};
25995 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}};
25996 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}};
25997 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}};
25998 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}};
25999 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}};
26000 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}};
26001 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}};
26002 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}};
26003 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}};
26004 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}};
26005 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}};
26006 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}};
26007 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}};
26008 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}};
26009 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}};
26010 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}};
26011 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}};
26012 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}};
26013 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}};
26014 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}};
26015 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}};
26016 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}};
26017 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}};
26018 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}};
26019 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}};
26020 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}};
26021 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}};
26022 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}};
26023 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}};
26024 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}};
26025 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}};
26026 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}};
26027 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}};
26028 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}};
26029 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}};
26030 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}};
26031 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}};
26032 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}};
26033 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}};
26034 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}};
26035 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}};
26036 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}};
26037 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}};
26038 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}};
26039 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}};
26040 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}};
26041 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}};
26042 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}};
26043 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}};
26044 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}};
26045 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}};
26046 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}};
26047 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}};
26048 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}};
26049 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}};
26050 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}};
26051 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}};
26052 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}};
26053 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}};
26054 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}};
26055 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}};
26056 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}};
26057 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}};
26058 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}};
26059 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}};
26060 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}};
26061 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}};
26062 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}};
26063 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}};
26064 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}};
26065 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}};
26066 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}};
26067 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}};
26068 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}};
26069 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}};
26070 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}};
26071 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}};
26072
26073 static swig_type_info *swig_types_initial[] = {
26074 _swigt__p_wxQueryLayoutInfoEvent,
26075 _swigt__p_wxPreviewFrame,
26076 _swigt__p_wxPyPreviewFrame,
26077 _swigt__p_wxPyPanel,
26078 _swigt__p_wxMenu,
26079 _swigt__p_wxPrintData,
26080 _swigt__p_wxFontData,
26081 _swigt__p_wxEvent,
26082 _swigt__p_wxTaskBarIcon,
26083 _swigt__p_wxIconBundle,
26084 _swigt__p_wxLayoutAlgorithm,
26085 _swigt__p_wxFindDialogEvent,
26086 _swigt__p_wxPreviewCanvas,
26087 _swigt__p_wxFont,
26088 _swigt__p_wxSplitterEvent,
26089 _swigt__p_wxRegion,
26090 _swigt__p_wxFindReplaceData,
26091 _swigt__p_int,
26092 _swigt__p_wxSize,
26093 _swigt__p_wxDC,
26094 _swigt__p_wxIcon,
26095 _swigt__p_wxMDIChildFrame,
26096 _swigt__p_wxColourData,
26097 _swigt__p_wxNotifyEvent,
26098 _swigt__p_wxPyWindow,
26099 _swigt__p_wxSplashScreen,
26100 _swigt__p_wxFindReplaceDialog,
26101 _swigt__p_wxProgressDialog,
26102 _swigt__p_wxMessageDialog,
26103 _swigt__p_wxTextEntryDialog,
26104 _swigt__p_wxSingleChoiceDialog,
26105 _swigt__p_wxMultiChoiceDialog,
26106 _swigt__p_wxFileDialog,
26107 _swigt__p_wxPrinter,
26108 _swigt__p_wxArrayInt,
26109 _swigt__p_wxEvtHandler,
26110 _swigt__p_wxCalculateLayoutEvent,
26111 _swigt__p_wxPyHtmlListBox,
26112 _swigt__p_wxPyVListBox,
26113 _swigt__p_wxRect,
26114 _swigt__p_char,
26115 _swigt__p_wxMiniFrame,
26116 _swigt__p_wxFrame,
26117 _swigt__p_wxPyPrintout,
26118 _swigt__p_wxTaskBarIconEvent,
26119 _swigt__p_wxScrollWinEvent,
26120 _swigt__p_wxStatusBar,
26121 _swigt__p_wxMDIParentFrame,
26122 _swigt__p_wxPoint,
26123 _swigt__p_wxObject,
26124 _swigt__p_wxOutputStream,
26125 _swigt__p_unsigned_long,
26126 _swigt__p_wxPyScrolledWindow,
26127 _swigt__p_wxMDIClientWindow,
26128 _swigt__p_wxTipWindow,
26129 _swigt__p_wxSashLayoutWindow,
26130 _swigt__p_wxSplitterWindow,
26131 _swigt__p_wxPyVScrolledWindow,
26132 _swigt__p_wxPyPopupTransientWindow,
26133 _swigt__p_wxPopupWindow,
26134 _swigt__p_wxSashWindow,
26135 _swigt__p_wxTopLevelWindow,
26136 _swigt__p_wxWindow,
26137 _swigt__p_wxScrolledWindow,
26138 _swigt__p_wxSplashScreenWindow,
26139 _swigt__p_wxMenuBar,
26140 _swigt__p_wxPrintPreview,
26141 _swigt__p_wxSashEvent,
26142 _swigt__p_wxString,
26143 _swigt__p_wxPyPrintPreview,
26144 _swigt__p_wxFontDialog,
26145 _swigt__p_wxDirDialog,
26146 _swigt__p_wxColourDialog,
26147 _swigt__p_wxDialog,
26148 _swigt__p_wxPanel,
26149 _swigt__p_wxPageSetupDialog,
26150 _swigt__p_wxPrintDialog,
26151 _swigt__p_wxFileSystem,
26152 _swigt__p_wxBitmap,
26153 _swigt__p_wxCommandEvent,
26154 _swigt__p_wxPreviewControlBar,
26155 _swigt__p_wxPyPreviewControlBar,
26156 _swigt__p_wxColour,
26157 _swigt__p_wxToolBar,
26158 _swigt__p_wxPageSetupDialogData,
26159 _swigt__p_wxPrintDialogData,
26160 0
26161 };
26162
26163
26164 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26165
26166 static swig_const_info swig_const_table[] = {
26167 {0}};
26168
26169 #ifdef __cplusplus
26170 }
26171 #endif
26172
26173 #ifdef __cplusplus
26174 extern "C"
26175 #endif
26176 SWIGEXPORT(void) SWIG_init(void) {
26177 static PyObject *SWIG_globals = 0;
26178 static int typeinit = 0;
26179 PyObject *m, *d;
26180 int i;
26181 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26182 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26183 d = PyModule_GetDict(m);
26184
26185 if (!typeinit) {
26186 for (i = 0; swig_types_initial[i]; i++) {
26187 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26188 }
26189 typeinit = 1;
26190 }
26191 SWIG_InstallConstants(d,swig_const_table);
26192
26193 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26194 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26195 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26196 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26197 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26198 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26199 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26200 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26201 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26202 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26203 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26204 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26205 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26206 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26207 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26208 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26209 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26210 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26211 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26212 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26213 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26214 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26215 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26216 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26217 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26218 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26219 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26220 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26221 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26222 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26223 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26224 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26225 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26226 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26227 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26228 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26229 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26230 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26231 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26232 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26233 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26234 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26235 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26236 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26237 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26238 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26239 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26240 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26241 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26242 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26243 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26244 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26245 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26246 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26247 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26248 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26249 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26250 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26251 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26252 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26253 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26254 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26255 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26256 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26257 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26258 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26259 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26260 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26261 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26262 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26263 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26264 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26265 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26266 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26267 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26268 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26269 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26270 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26271 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26272 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26273 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26274 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26275 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26276 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26277 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26278 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26279 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26280 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26281 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26282 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26283 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26284 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26285 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26286
26287 // Map renamed classes back to their common name for OOR
26288 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26289 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26290 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26291
26292 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26293 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26294 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26295 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26296 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26297 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26298 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26299 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26300 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26301 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26302 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26303 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26304 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26305 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26306 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26307 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26308 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26309 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26310 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26311 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26312 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26313 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26314 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26315 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26316 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26317 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26318 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26319 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26320 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26321 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26322 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26323 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26324 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26325 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26326 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26327 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26328 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26329 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26330 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26331 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26332 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26333 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26334 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26335 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26336 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26337 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26338 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26339 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26340 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26341 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26342 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26343 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26344 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26345 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26346 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26347 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26348 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26349 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26350 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26351 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26352
26353 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26354
26355 }
26356