]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
cc49318263ffc303168d496f9e5d8fab4f0daa37
[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_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream 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 PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
738 unsigned long cookie = 0;
739 int selected = self->GetFirstSelected(cookie);
740 bool blocked = wxPyBeginBlockThreads();
741 PyObject* tup = PyTuple_New(2);
742 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
743 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
744 wxPyEndBlockThreads(blocked);
745 return tup;
746 }
747 PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
748 int selected = self->GetNextSelected(cookie);
749 bool blocked = wxPyBeginBlockThreads();
750 PyObject* tup = PyTuple_New(2);
751 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
752 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
753 wxPyEndBlockThreads(blocked);
754 return tup;
755 }
756
757 #include <wx/htmllbox.h>
758
759
760 class wxPyHtmlListBox : public wxHtmlListBox
761 {
762 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
763 public:
764 wxPyHtmlListBox() : wxHtmlListBox() {}
765
766 wxPyHtmlListBox(wxWindow *parent,
767 wxWindowID id = wxID_ANY,
768 const wxPoint& pos = wxDefaultPosition,
769 const wxSize& size = wxDefaultSize,
770 long style = 0,
771 const wxString& name = wxPyVListBoxNameStr)
772 : wxHtmlListBox(parent, id, pos, size, style, name)
773 {}
774
775 // Overridable virtuals
776
777 // this method must be implemented in the derived class and should return
778 // the body (i.e. without <html>) of the HTML for the given item
779 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
780
781 // this function may be overridden to decorate HTML returned by OnGetItem()
782 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
783
784 // TODO:
785 // // this method allows to customize the selection appearance: it may be used
786 // // to specify the colour of the text which normally has the given colour
787 // // colFg when it is inside the selection
788 // //
789 // // by default, the original colour is not used at all and all text has the
790 // // same (default for this system) colour inside selection
791 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
792
793 // // this is the same as GetSelectedTextColour() but allows to customize the
794 // // background colour -- this is even more rarely used as you can change it
795 // // globally using SetSelectionBackground()
796 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
797
798
799 PYPRIVATE;
800 };
801
802
803 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
804
805 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
806 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
807
808
809
810
811
812 #ifdef __WXMAC__
813 // implement dummy classes and such for wxMac
814
815 class wxTaskBarIcon : public wxEvtHandler
816 {
817 public:
818 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
819 };
820
821
822 class wxTaskBarIconEvent : public wxEvent
823 {
824 public:
825 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
826 { wxPyRaiseNotImplemented(); }
827 virtual wxEvent* Clone() const { return NULL; }
828 };
829
830 enum {
831 wxEVT_TASKBAR_MOVE = 0,
832 wxEVT_TASKBAR_LEFT_DOWN = 0,
833 wxEVT_TASKBAR_LEFT_UP = 0,
834 wxEVT_TASKBAR_RIGHT_DOWN = 0,
835 wxEVT_TASKBAR_RIGHT_UP = 0,
836 wxEVT_TASKBAR_LEFT_DCLICK = 0,
837 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
838 };
839
840
841 #else
842 // // Otherwise make a class that can virtualize CreatePopupMenu
843 // class wxPyTaskBarIcon : public wxTaskBarIcon
844 // {
845 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
846 // public:
847 // wxPyTaskBarIcon() : wxTaskBarIcon()
848 // {}
849
850 // wxMenu* CreatePopupMenu() {
851 // wxMenu *rval = NULL;
852 // bool found;
853 // bool blocked = wxPyBeginBlockThreads();
854 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
855 // PyObject* ro;
856 // wxMenu* ptr;
857 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
858 // if (ro) {
859 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
860 // rval = ptr;
861 // Py_DECREF(ro);
862 // }
863 // }
864 // wxPyEndBlockThreads(blocked);
865 // if (! found)
866 // rval = wxTaskBarIcon::CreatePopupMenu();
867 // return rval;
868 // }
869
870 // PYPRIVATE;
871 // };
872
873 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
874
875 #endif
876
877 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
878
879 self->RemoveIcon();
880
881 }
882 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
883 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
884 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
885 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
886 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
887 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
888 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
889 wxArrayString arr;
890 self->GetFilenames(arr);
891 return wxArrayString2PyList_helper(arr);
892 }
893 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
894 wxArrayString arr;
895 self->GetPaths(arr);
896 return wxArrayString2PyList_helper(arr);
897 }
898 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
899 return wxArrayInt2PyList_helper(self->GetSelections());
900 }
901 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
902 return new wxSingleChoiceDialog(parent, message, caption,
903 choices, choices_array, NULL, style, pos);
904 }
905
906 #include <wx/mdi.h>
907
908 // C++ version of Python aware wxWindow
909 class wxPyWindow : public wxWindow
910 {
911 DECLARE_DYNAMIC_CLASS(wxPyWindow)
912 public:
913 wxPyWindow() : wxWindow() {}
914 wxPyWindow(wxWindow* parent, const wxWindowID id,
915 const wxPoint& pos = wxDefaultPosition,
916 const wxSize& size = wxDefaultSize,
917 long style = 0,
918 const wxString& name = wxPyPanelNameStr)
919 : wxWindow(parent, id, pos, size, style, name) {}
920
921 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
922
923 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
924 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
925 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
926 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
927
928 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
929 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
930 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
931
932 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
933 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
934
935 DEC_PYCALLBACK__(InitDialog);
936 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
937 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
938 DEC_PYCALLBACK_BOOL_(Validate);
939
940 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
941 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
942 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
943
944 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
945 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
946
947 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
948 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
949 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
950
951 PYPRIVATE;
952 };
953
954 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
955
956 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
957 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
958 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
959 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
960
961 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
962 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
963 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
964
965 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
966 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
967
968 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
969 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
970 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
971 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
972
973 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
974 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
975 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
976
977 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
978 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
979
980 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
981 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
982 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
983
984
985 // C++ version of Python aware wxPanel
986 class wxPyPanel : public wxPanel
987 {
988 DECLARE_DYNAMIC_CLASS(wxPyPanel)
989 public:
990 wxPyPanel() : wxPanel() {}
991 wxPyPanel(wxWindow* parent, const wxWindowID id,
992 const wxPoint& pos = wxDefaultPosition,
993 const wxSize& size = wxDefaultSize,
994 long style = 0,
995 const wxString& name = wxPyPanelNameStr)
996 : wxPanel(parent, id, pos, size, style, name) {}
997
998 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
999
1000
1001 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1002 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1003 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1004 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1005
1006 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1007 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1008 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1009
1010 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1011 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1012
1013 DEC_PYCALLBACK__(InitDialog);
1014 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1015 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1016 DEC_PYCALLBACK_BOOL_(Validate);
1017
1018 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1019 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1020 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1021
1022 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1023 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1024
1025 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1026 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1027 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1028
1029 PYPRIVATE;
1030 };
1031
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
1033
1034 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
1035 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
1036 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
1037 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
1038
1039 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
1040 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
1041 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
1042
1043 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
1044 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
1045
1046 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
1047 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
1048 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
1049 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
1050
1051 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
1052 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
1053 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1054
1055 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1056 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1057
1058 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1059 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1060 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1061
1062
1063 // C++ version of Python aware wxScrolledWindow
1064 class wxPyScrolledWindow : public wxScrolledWindow
1065 {
1066 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1067 public:
1068 wxPyScrolledWindow() : wxScrolledWindow() {}
1069 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1070 const wxPoint& pos = wxDefaultPosition,
1071 const wxSize& size = wxDefaultSize,
1072 long style = 0,
1073 const wxString& name = wxPyPanelNameStr)
1074 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1075
1076 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1077
1078 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1079 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1080 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1081 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1082
1083 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1084 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1085 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1086
1087 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1088 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1089
1090 DEC_PYCALLBACK__(InitDialog);
1091 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1092 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1093 DEC_PYCALLBACK_BOOL_(Validate);
1094
1095 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1096 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1097 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1098
1099 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1100 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1101
1102 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1103 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1104 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1105
1106 PYPRIVATE;
1107 };
1108
1109 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1110
1111 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1112 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1113 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1114 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1115
1116 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1117 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1118 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1119
1120 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1121 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1122
1123 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1124 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1125 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1126 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1127
1128 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1129 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1130 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1131
1132 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1133 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1134
1135 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1136 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1137 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1138
1139
1140
1141 #include "wx/wxPython/printfw.h"
1142
1143
1144 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1145 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1146
1147
1148
1149 // Since this one would be tough and ugly to do with the Macros...
1150 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1151 bool hadErr = False;
1152 bool found;
1153
1154 bool blocked = wxPyBeginBlockThreads();
1155 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1156 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1157 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1158 PyObject* val;
1159
1160 val = PyTuple_GetItem(result, 0);
1161 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1162 else hadErr = True;
1163
1164 val = PyTuple_GetItem(result, 1);
1165 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1166 else hadErr = True;
1167
1168 val = PyTuple_GetItem(result, 2);
1169 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1170 else hadErr = True;
1171
1172 val = PyTuple_GetItem(result, 3);
1173 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1174 else hadErr = True;
1175 }
1176 else
1177 hadErr = True;
1178
1179 if (hadErr) {
1180 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1181 PyErr_Print();
1182 }
1183 Py_DECREF(result);
1184 }
1185 wxPyEndBlockThreads(blocked);
1186 if (! found)
1187 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1188 }
1189
1190 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1191 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1192 }
1193
1194
1195 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1196 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1197 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1198 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1199 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1200 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1201 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1202
1203
1204
1205
1206
1207 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1208 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1209 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1210
1211
1212 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1213 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1214 bool rval=False; \
1215 bool found; \
1216 bool blocked = wxPyBeginBlockThreads(); \
1217 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1218 PyObject* win = wxPyMake_wxObject(a,false); \
1219 PyObject* dc = wxPyMake_wxObject(&b,false); \
1220 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1221 Py_DECREF(win); \
1222 Py_DECREF(dc); \
1223 } \
1224 wxPyEndBlockThreads(blocked); \
1225 if (! found) \
1226 rval = PCLASS::CBNAME(a, b); \
1227 return rval; \
1228 } \
1229 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1230 return PCLASS::CBNAME(a, b); \
1231 }
1232
1233
1234
1235
1236 class wxPyPrintPreview : public wxPrintPreview
1237 {
1238 DECLARE_CLASS(wxPyPrintPreview)
1239 public:
1240 wxPyPrintPreview(wxPyPrintout* printout,
1241 wxPyPrintout* printoutForPrinting,
1242 wxPrintDialogData* data=NULL)
1243 : wxPrintPreview(printout, printoutForPrinting, data)
1244 {}
1245 wxPyPrintPreview(wxPyPrintout* printout,
1246 wxPyPrintout* printoutForPrinting,
1247 wxPrintData* data=NULL)
1248 : wxPrintPreview(printout, printoutForPrinting, data)
1249 {}
1250
1251 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1252 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1253 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1254 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1255 DEC_PYCALLBACK_VOID_INT(SetZoom);
1256 DEC_PYCALLBACK_BOOL_BOOL(Print);
1257 DEC_PYCALLBACK_VOID_(DetermineScaling);
1258
1259 PYPRIVATE;
1260 };
1261
1262 // Stupid renamed classes... Fix this in 2.5...
1263 #if defined(__WXMSW__)
1264 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1265 #elif defined(__WXMAC__)
1266 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1267 #else
1268 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1269 #endif
1270
1271 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1272 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1273 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1274 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1275 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1276 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1277 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1278
1279
1280 class wxPyPreviewFrame : public wxPreviewFrame
1281 {
1282 DECLARE_CLASS(wxPyPreviewFrame);
1283 public:
1284 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1285 const wxString& title,
1286 const wxPoint& pos = wxDefaultPosition,
1287 const wxSize& size = wxDefaultSize,
1288 long style = wxDEFAULT_FRAME_STYLE,
1289 const wxString& name = wxPyFrameNameStr)
1290 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1291 {}
1292
1293 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1294 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1295
1296 DEC_PYCALLBACK_VOID_(Initialize);
1297 DEC_PYCALLBACK_VOID_(CreateCanvas);
1298 DEC_PYCALLBACK_VOID_(CreateControlBar);
1299
1300 PYPRIVATE;
1301 };
1302
1303 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1304
1305 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1306 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1307 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1308
1309
1310 class wxPyPreviewControlBar : public wxPreviewControlBar
1311 {
1312 DECLARE_CLASS(wxPyPreviewControlBar);
1313 public:
1314 wxPyPreviewControlBar(wxPrintPreview *preview,
1315 long buttons,
1316 wxWindow *parent,
1317 const wxPoint& pos = wxDefaultPosition,
1318 const wxSize& size = wxDefaultSize,
1319 long style = 0,
1320 const wxString& name = wxPyPanelNameStr)
1321 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1322 {}
1323
1324 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1325
1326 DEC_PYCALLBACK_VOID_(CreateButtons);
1327 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1328
1329 PYPRIVATE;
1330 };
1331
1332 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1333 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1334 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1335
1336 #ifdef __cplusplus
1337 extern "C" {
1338 #endif
1339 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 wxWindow *arg1 = (wxWindow *) 0 ;
1342 int arg2 = (int) (int)-1 ;
1343 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1344 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1345 wxSize const &arg4_defvalue = wxDefaultSize ;
1346 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1347 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1348 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1349 wxString *arg6 = (wxString *) &arg6_defvalue ;
1350 wxPanel *result;
1351 wxPoint temp3 ;
1352 wxSize temp4 ;
1353 bool temp6 = False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 PyObject * obj2 = 0 ;
1357 PyObject * obj3 = 0 ;
1358 PyObject * obj4 = 0 ;
1359 PyObject * obj5 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1367 if (obj1) {
1368 arg2 = (int const) SWIG_AsInt(obj1);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 if (obj2) {
1372 {
1373 arg3 = &temp3;
1374 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1375 }
1376 }
1377 if (obj3) {
1378 {
1379 arg4 = &temp4;
1380 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1381 }
1382 }
1383 if (obj4) {
1384 arg5 = (long) SWIG_AsLong(obj4);
1385 if (PyErr_Occurred()) SWIG_fail;
1386 }
1387 if (obj5) {
1388 {
1389 arg6 = wxString_in_helper(obj5);
1390 if (arg6 == NULL) SWIG_fail;
1391 temp6 = True;
1392 }
1393 }
1394 {
1395 if (!wxPyCheckForApp()) SWIG_fail;
1396 PyThreadState* __tstate = wxPyBeginAllowThreads();
1397 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1398
1399 wxPyEndAllowThreads(__tstate);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
1402 {
1403 resultobj = wxPyMake_wxObject(result, 1);
1404 }
1405 {
1406 if (temp6)
1407 delete arg6;
1408 }
1409 return resultobj;
1410 fail:
1411 {
1412 if (temp6)
1413 delete arg6;
1414 }
1415 return NULL;
1416 }
1417
1418
1419 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject *resultobj;
1421 wxPanel *result;
1422 char *kwnames[] = {
1423 NULL
1424 };
1425
1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1427 {
1428 if (!wxPyCheckForApp()) SWIG_fail;
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 result = (wxPanel *)new wxPanel();
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 {
1436 resultobj = wxPyMake_wxObject(result, 1);
1437 }
1438 return resultobj;
1439 fail:
1440 return NULL;
1441 }
1442
1443
1444 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1445 PyObject *resultobj;
1446 wxPanel *arg1 = (wxPanel *) 0 ;
1447 wxWindow *arg2 = (wxWindow *) 0 ;
1448 int arg3 = (int) (int)-1 ;
1449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1451 wxSize const &arg5_defvalue = wxDefaultSize ;
1452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1453 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1454 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1455 wxString *arg7 = (wxString *) &arg7_defvalue ;
1456 bool result;
1457 wxPoint temp4 ;
1458 wxSize temp5 ;
1459 bool temp7 = False ;
1460 PyObject * obj0 = 0 ;
1461 PyObject * obj1 = 0 ;
1462 PyObject * obj2 = 0 ;
1463 PyObject * obj3 = 0 ;
1464 PyObject * obj4 = 0 ;
1465 PyObject * obj5 = 0 ;
1466 PyObject * obj6 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1476 if (obj2) {
1477 arg3 = (int const) SWIG_AsInt(obj2);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 if (obj3) {
1481 {
1482 arg4 = &temp4;
1483 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1484 }
1485 }
1486 if (obj4) {
1487 {
1488 arg5 = &temp5;
1489 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1490 }
1491 }
1492 if (obj5) {
1493 arg6 = (long) SWIG_AsLong(obj5);
1494 if (PyErr_Occurred()) SWIG_fail;
1495 }
1496 if (obj6) {
1497 {
1498 arg7 = wxString_in_helper(obj6);
1499 if (arg7 == NULL) SWIG_fail;
1500 temp7 = True;
1501 }
1502 }
1503 {
1504 PyThreadState* __tstate = wxPyBeginAllowThreads();
1505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1506
1507 wxPyEndAllowThreads(__tstate);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 {
1511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1512 }
1513 {
1514 if (temp7)
1515 delete arg7;
1516 }
1517 return resultobj;
1518 fail:
1519 {
1520 if (temp7)
1521 delete arg7;
1522 }
1523 return NULL;
1524 }
1525
1526
1527 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1528 PyObject *resultobj;
1529 wxPanel *arg1 = (wxPanel *) 0 ;
1530 PyObject * obj0 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 (arg1)->InitDialog();
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 Py_INCREF(Py_None); resultobj = Py_None;
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1555 wxVisualAttributes result;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "variant", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1562 if (obj0) {
1563 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 {
1567 if (!wxPyCheckForApp()) SWIG_fail;
1568 PyThreadState* __tstate = wxPyBeginAllowThreads();
1569 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1570
1571 wxPyEndAllowThreads(__tstate);
1572 if (PyErr_Occurred()) SWIG_fail;
1573 }
1574 {
1575 wxVisualAttributes * resultptr;
1576 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1577 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1578 }
1579 return resultobj;
1580 fail:
1581 return NULL;
1582 }
1583
1584
1585 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1586 PyObject *obj;
1587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1588 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1589 Py_INCREF(obj);
1590 return Py_BuildValue((char *)"");
1591 }
1592 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxWindow *arg1 = (wxWindow *) 0 ;
1595 int arg2 = (int) (int)-1 ;
1596 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1597 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1598 wxSize const &arg4_defvalue = wxDefaultSize ;
1599 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1600 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1601 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1602 wxString *arg6 = (wxString *) &arg6_defvalue ;
1603 wxScrolledWindow *result;
1604 wxPoint temp3 ;
1605 wxSize temp4 ;
1606 bool temp6 = False ;
1607 PyObject * obj0 = 0 ;
1608 PyObject * obj1 = 0 ;
1609 PyObject * obj2 = 0 ;
1610 PyObject * obj3 = 0 ;
1611 PyObject * obj4 = 0 ;
1612 PyObject * obj5 = 0 ;
1613 char *kwnames[] = {
1614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1615 };
1616
1617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1620 if (obj1) {
1621 arg2 = (int const) SWIG_AsInt(obj1);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 }
1624 if (obj2) {
1625 {
1626 arg3 = &temp3;
1627 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1628 }
1629 }
1630 if (obj3) {
1631 {
1632 arg4 = &temp4;
1633 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1634 }
1635 }
1636 if (obj4) {
1637 arg5 = (long) SWIG_AsLong(obj4);
1638 if (PyErr_Occurred()) SWIG_fail;
1639 }
1640 if (obj5) {
1641 {
1642 arg6 = wxString_in_helper(obj5);
1643 if (arg6 == NULL) SWIG_fail;
1644 temp6 = True;
1645 }
1646 }
1647 {
1648 if (!wxPyCheckForApp()) SWIG_fail;
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 {
1656 resultobj = wxPyMake_wxObject(result, 1);
1657 }
1658 {
1659 if (temp6)
1660 delete arg6;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp6)
1666 delete arg6;
1667 }
1668 return NULL;
1669 }
1670
1671
1672 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *result;
1675 char *kwnames[] = {
1676 NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1680 {
1681 if (!wxPyCheckForApp()) SWIG_fail;
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = (wxScrolledWindow *)new wxScrolledWindow();
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 {
1689 resultobj = wxPyMake_wxObject(result, 1);
1690 }
1691 return resultobj;
1692 fail:
1693 return NULL;
1694 }
1695
1696
1697 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1700 wxWindow *arg2 = (wxWindow *) 0 ;
1701 int arg3 = (int) (int)-1 ;
1702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1704 wxSize const &arg5_defvalue = wxDefaultSize ;
1705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1706 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1707 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1708 wxString *arg7 = (wxString *) &arg7_defvalue ;
1709 bool result;
1710 wxPoint temp4 ;
1711 wxSize temp5 ;
1712 bool temp7 = False ;
1713 PyObject * obj0 = 0 ;
1714 PyObject * obj1 = 0 ;
1715 PyObject * obj2 = 0 ;
1716 PyObject * obj3 = 0 ;
1717 PyObject * obj4 = 0 ;
1718 PyObject * obj5 = 0 ;
1719 PyObject * obj6 = 0 ;
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1729 if (obj2) {
1730 arg3 = (int const) SWIG_AsInt(obj2);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 }
1733 if (obj3) {
1734 {
1735 arg4 = &temp4;
1736 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1737 }
1738 }
1739 if (obj4) {
1740 {
1741 arg5 = &temp5;
1742 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1743 }
1744 }
1745 if (obj5) {
1746 arg6 = (long) SWIG_AsLong(obj5);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 }
1749 if (obj6) {
1750 {
1751 arg7 = wxString_in_helper(obj6);
1752 if (arg7 == NULL) SWIG_fail;
1753 temp7 = True;
1754 }
1755 }
1756 {
1757 PyThreadState* __tstate = wxPyBeginAllowThreads();
1758 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1759
1760 wxPyEndAllowThreads(__tstate);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 {
1764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1765 }
1766 {
1767 if (temp7)
1768 delete arg7;
1769 }
1770 return resultobj;
1771 fail:
1772 {
1773 if (temp7)
1774 delete arg7;
1775 }
1776 return NULL;
1777 }
1778
1779
1780 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1781 PyObject *resultobj;
1782 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1783 int arg2 ;
1784 int arg3 ;
1785 int arg4 ;
1786 int arg5 ;
1787 int arg6 = (int) 0 ;
1788 int arg7 = (int) 0 ;
1789 bool arg8 = (bool) False ;
1790 PyObject * obj0 = 0 ;
1791 PyObject * obj1 = 0 ;
1792 PyObject * obj2 = 0 ;
1793 PyObject * obj3 = 0 ;
1794 PyObject * obj4 = 0 ;
1795 PyObject * obj5 = 0 ;
1796 PyObject * obj6 = 0 ;
1797 PyObject * obj7 = 0 ;
1798 char *kwnames[] = {
1799 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1800 };
1801
1802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) 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 arg4 = (int) SWIG_AsInt(obj3);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 arg5 = (int) SWIG_AsInt(obj4);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 if (obj5) {
1814 arg6 = (int) SWIG_AsInt(obj5);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 if (obj6) {
1818 arg7 = (int) SWIG_AsInt(obj6);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
1821 if (obj7) {
1822 arg8 = (bool) SWIG_AsBool(obj7);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 Py_INCREF(Py_None); resultobj = Py_None;
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1842 int arg2 ;
1843 int arg3 ;
1844 PyObject * obj0 = 0 ;
1845 PyObject * obj1 = 0 ;
1846 PyObject * obj2 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self",(char *) "x",(char *) "y", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 arg2 = (int) SWIG_AsInt(obj1);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 arg3 = (int) SWIG_AsInt(obj2);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 (arg1)->Scroll(arg2,arg3);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1875 int arg2 ;
1876 int result;
1877 PyObject * obj0 = 0 ;
1878 PyObject * obj1 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self",(char *) "orient", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1886 arg2 = (int) SWIG_AsInt(obj1);
1887 if (PyErr_Occurred()) SWIG_fail;
1888 {
1889 PyThreadState* __tstate = wxPyBeginAllowThreads();
1890 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1891
1892 wxPyEndAllowThreads(__tstate);
1893 if (PyErr_Occurred()) SWIG_fail;
1894 }
1895 resultobj = SWIG_FromInt((int)result);
1896 return resultobj;
1897 fail:
1898 return NULL;
1899 }
1900
1901
1902 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1903 PyObject *resultobj;
1904 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1905 int arg2 ;
1906 int arg3 ;
1907 PyObject * obj0 = 0 ;
1908 PyObject * obj1 = 0 ;
1909 PyObject * obj2 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1917 arg2 = (int) SWIG_AsInt(obj1);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 arg3 = (int) SWIG_AsInt(obj2);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 {
1922 PyThreadState* __tstate = wxPyBeginAllowThreads();
1923 (arg1)->SetScrollPageSize(arg2,arg3);
1924
1925 wxPyEndAllowThreads(__tstate);
1926 if (PyErr_Occurred()) SWIG_fail;
1927 }
1928 Py_INCREF(Py_None); resultobj = Py_None;
1929 return resultobj;
1930 fail:
1931 return NULL;
1932 }
1933
1934
1935 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject *resultobj;
1937 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1938 int arg2 ;
1939 int arg3 ;
1940 PyObject * obj0 = 0 ;
1941 PyObject * obj1 = 0 ;
1942 PyObject * obj2 = 0 ;
1943 char *kwnames[] = {
1944 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1950 arg2 = (int) SWIG_AsInt(obj1);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 arg3 = (int) SWIG_AsInt(obj2);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 (arg1)->SetScrollRate(arg2,arg3);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1971 int *arg2 = (int *) 0 ;
1972 int *arg3 = (int *) 0 ;
1973 int temp2 ;
1974 int temp3 ;
1975 PyObject * obj0 = 0 ;
1976 char *kwnames[] = {
1977 (char *) "self", NULL
1978 };
1979
1980 arg2 = &temp2;
1981 arg3 = &temp3;
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 {
1994 PyObject *o = PyInt_FromLong((long) (*arg2));
1995 resultobj = t_output_helper(resultobj,o);
1996 }
1997 {
1998 PyObject *o = PyInt_FromLong((long) (*arg3));
1999 resultobj = t_output_helper(resultobj,o);
2000 }
2001 return resultobj;
2002 fail:
2003 return NULL;
2004 }
2005
2006
2007 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
2008 PyObject *resultobj;
2009 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2010 bool arg2 ;
2011 bool arg3 ;
2012 PyObject * obj0 = 0 ;
2013 PyObject * obj1 = 0 ;
2014 PyObject * obj2 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2022 arg2 = (bool) SWIG_AsBool(obj1);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 arg3 = (bool) SWIG_AsBool(obj2);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 (arg1)->EnableScrolling(arg2,arg3);
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2033 Py_INCREF(Py_None); resultobj = Py_None;
2034 return resultobj;
2035 fail:
2036 return NULL;
2037 }
2038
2039
2040 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject *resultobj;
2042 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2043 int *arg2 = (int *) 0 ;
2044 int *arg3 = (int *) 0 ;
2045 int temp2 ;
2046 int temp3 ;
2047 PyObject * obj0 = 0 ;
2048 char *kwnames[] = {
2049 (char *) "self", NULL
2050 };
2051
2052 arg2 = &temp2;
2053 arg3 = &temp3;
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2057 {
2058 PyThreadState* __tstate = wxPyBeginAllowThreads();
2059 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
2060
2061 wxPyEndAllowThreads(__tstate);
2062 if (PyErr_Occurred()) SWIG_fail;
2063 }
2064 Py_INCREF(Py_None); resultobj = Py_None;
2065 {
2066 PyObject *o = PyInt_FromLong((long) (*arg2));
2067 resultobj = t_output_helper(resultobj,o);
2068 }
2069 {
2070 PyObject *o = PyInt_FromLong((long) (*arg3));
2071 resultobj = t_output_helper(resultobj,o);
2072 }
2073 return resultobj;
2074 fail:
2075 return NULL;
2076 }
2077
2078
2079 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2080 PyObject *resultobj;
2081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2082 double arg2 ;
2083 double arg3 ;
2084 PyObject * obj0 = 0 ;
2085 PyObject * obj1 = 0 ;
2086 PyObject * obj2 = 0 ;
2087 char *kwnames[] = {
2088 (char *) "self",(char *) "xs",(char *) "ys", NULL
2089 };
2090
2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2094 arg2 = (double) SWIG_AsDouble(obj1);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 arg3 = (double) SWIG_AsDouble(obj2);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 {
2099 PyThreadState* __tstate = wxPyBeginAllowThreads();
2100 (arg1)->SetScale(arg2,arg3);
2101
2102 wxPyEndAllowThreads(__tstate);
2103 if (PyErr_Occurred()) SWIG_fail;
2104 }
2105 Py_INCREF(Py_None); resultobj = Py_None;
2106 return resultobj;
2107 fail:
2108 return NULL;
2109 }
2110
2111
2112 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2113 PyObject *resultobj;
2114 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2115 double result;
2116 PyObject * obj0 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self", NULL
2119 };
2120
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
2126 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
2131 resultobj = SWIG_FromDouble((double)result);
2132 return resultobj;
2133 fail:
2134 return NULL;
2135 }
2136
2137
2138 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject *resultobj;
2140 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2141 double result;
2142 PyObject * obj0 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2150 {
2151 PyThreadState* __tstate = wxPyBeginAllowThreads();
2152 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2153
2154 wxPyEndAllowThreads(__tstate);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 resultobj = SWIG_FromDouble((double)result);
2158 return resultobj;
2159 fail:
2160 return NULL;
2161 }
2162
2163
2164 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2165 PyObject *resultobj;
2166 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2167 wxPoint *arg2 = 0 ;
2168 wxPoint result;
2169 wxPoint temp2 ;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2172
2173 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2176 {
2177 arg2 = &temp2;
2178 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2179 }
2180 {
2181 PyThreadState* __tstate = wxPyBeginAllowThreads();
2182 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2183
2184 wxPyEndAllowThreads(__tstate);
2185 if (PyErr_Occurred()) SWIG_fail;
2186 }
2187 {
2188 wxPoint * resultptr;
2189 resultptr = new wxPoint((wxPoint &) result);
2190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2191 }
2192 return resultobj;
2193 fail:
2194 return NULL;
2195 }
2196
2197
2198 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2199 PyObject *resultobj;
2200 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2201 int arg2 ;
2202 int arg3 ;
2203 int *arg4 = (int *) 0 ;
2204 int *arg5 = (int *) 0 ;
2205 int temp4 ;
2206 int temp5 ;
2207 PyObject * obj0 = 0 ;
2208 PyObject * obj1 = 0 ;
2209 PyObject * obj2 = 0 ;
2210
2211 arg4 = &temp4;
2212 arg5 = &temp5;
2213 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2216 arg2 = (int) SWIG_AsInt(obj1);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 arg3 = (int) SWIG_AsInt(obj2);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 Py_INCREF(Py_None); resultobj = Py_None;
2228 {
2229 PyObject *o = PyInt_FromLong((long) (*arg4));
2230 resultobj = t_output_helper(resultobj,o);
2231 }
2232 {
2233 PyObject *o = PyInt_FromLong((long) (*arg5));
2234 resultobj = t_output_helper(resultobj,o);
2235 }
2236 return resultobj;
2237 fail:
2238 return NULL;
2239 }
2240
2241
2242 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2243 int argc;
2244 PyObject *argv[4];
2245 int ii;
2246
2247 argc = PyObject_Length(args);
2248 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2249 argv[ii] = PyTuple_GetItem(args,ii);
2250 }
2251 if (argc == 2) {
2252 int _v;
2253 {
2254 void *ptr;
2255 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2256 _v = 0;
2257 PyErr_Clear();
2258 } else {
2259 _v = 1;
2260 }
2261 }
2262 if (_v) {
2263 {
2264 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2265 }
2266 if (_v) {
2267 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2268 }
2269 }
2270 }
2271 if (argc == 3) {
2272 int _v;
2273 {
2274 void *ptr;
2275 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2276 _v = 0;
2277 PyErr_Clear();
2278 } else {
2279 _v = 1;
2280 }
2281 }
2282 if (_v) {
2283 _v = SWIG_CheckInt(argv[1]);
2284 if (_v) {
2285 _v = SWIG_CheckInt(argv[2]);
2286 if (_v) {
2287 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2288 }
2289 }
2290 }
2291 }
2292
2293 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2294 return NULL;
2295 }
2296
2297
2298 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2299 PyObject *resultobj;
2300 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2301 wxPoint *arg2 = 0 ;
2302 wxPoint result;
2303 wxPoint temp2 ;
2304 PyObject * obj0 = 0 ;
2305 PyObject * obj1 = 0 ;
2306
2307 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2310 {
2311 arg2 = &temp2;
2312 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2313 }
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
2321 {
2322 wxPoint * resultptr;
2323 resultptr = new wxPoint((wxPoint &) result);
2324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2325 }
2326 return resultobj;
2327 fail:
2328 return NULL;
2329 }
2330
2331
2332 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2333 PyObject *resultobj;
2334 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2335 int arg2 ;
2336 int arg3 ;
2337 int *arg4 = (int *) 0 ;
2338 int *arg5 = (int *) 0 ;
2339 int temp4 ;
2340 int temp5 ;
2341 PyObject * obj0 = 0 ;
2342 PyObject * obj1 = 0 ;
2343 PyObject * obj2 = 0 ;
2344
2345 arg4 = &temp4;
2346 arg5 = &temp5;
2347 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2350 arg2 = (int) SWIG_AsInt(obj1);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 arg3 = (int) SWIG_AsInt(obj2);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 {
2363 PyObject *o = PyInt_FromLong((long) (*arg4));
2364 resultobj = t_output_helper(resultobj,o);
2365 }
2366 {
2367 PyObject *o = PyInt_FromLong((long) (*arg5));
2368 resultobj = t_output_helper(resultobj,o);
2369 }
2370 return resultobj;
2371 fail:
2372 return NULL;
2373 }
2374
2375
2376 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2377 int argc;
2378 PyObject *argv[4];
2379 int ii;
2380
2381 argc = PyObject_Length(args);
2382 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2383 argv[ii] = PyTuple_GetItem(args,ii);
2384 }
2385 if (argc == 2) {
2386 int _v;
2387 {
2388 void *ptr;
2389 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2390 _v = 0;
2391 PyErr_Clear();
2392 } else {
2393 _v = 1;
2394 }
2395 }
2396 if (_v) {
2397 {
2398 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2399 }
2400 if (_v) {
2401 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2402 }
2403 }
2404 }
2405 if (argc == 3) {
2406 int _v;
2407 {
2408 void *ptr;
2409 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2410 _v = 0;
2411 PyErr_Clear();
2412 } else {
2413 _v = 1;
2414 }
2415 }
2416 if (_v) {
2417 _v = SWIG_CheckInt(argv[1]);
2418 if (_v) {
2419 _v = SWIG_CheckInt(argv[2]);
2420 if (_v) {
2421 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2422 }
2423 }
2424 }
2425 }
2426
2427 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2428 return NULL;
2429 }
2430
2431
2432 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2433 PyObject *resultobj;
2434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2435 PyObject * obj0 = 0 ;
2436 char *kwnames[] = {
2437 (char *) "self", NULL
2438 };
2439
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 (arg1)->AdjustScrollbars();
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 Py_INCREF(Py_None); resultobj = Py_None;
2451 return resultobj;
2452 fail:
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2460 wxScrollWinEvent *arg2 = 0 ;
2461 int result;
2462 PyObject * obj0 = 0 ;
2463 PyObject * obj1 = 0 ;
2464 char *kwnames[] = {
2465 (char *) "self",(char *) "event", NULL
2466 };
2467
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2472 SWIG_POINTER_EXCEPTION | 0)) == -1)
2473 SWIG_fail;
2474 if (arg2 == NULL) {
2475 PyErr_SetString(PyExc_TypeError,"null reference");
2476 SWIG_fail;
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 result = (int)(arg1)->CalcScrollInc(*arg2);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 resultobj = SWIG_FromInt((int)result);
2486 return resultobj;
2487 fail:
2488 return NULL;
2489 }
2490
2491
2492 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject *resultobj;
2494 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2495 wxWindow *arg2 = (wxWindow *) 0 ;
2496 PyObject * obj0 = 0 ;
2497 PyObject * obj1 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "self",(char *) "target", NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2507 {
2508 PyThreadState* __tstate = wxPyBeginAllowThreads();
2509 (arg1)->SetTargetWindow(arg2);
2510
2511 wxPyEndAllowThreads(__tstate);
2512 if (PyErr_Occurred()) SWIG_fail;
2513 }
2514 Py_INCREF(Py_None); resultobj = Py_None;
2515 return resultobj;
2516 fail:
2517 return NULL;
2518 }
2519
2520
2521 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2522 PyObject *resultobj;
2523 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2524 wxWindow *result;
2525 PyObject * obj0 = 0 ;
2526 char *kwnames[] = {
2527 (char *) "self", NULL
2528 };
2529
2530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2533 {
2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
2535 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2536
2537 wxPyEndAllowThreads(__tstate);
2538 if (PyErr_Occurred()) SWIG_fail;
2539 }
2540 {
2541 resultobj = wxPyMake_wxObject(result, 0);
2542 }
2543 return resultobj;
2544 fail:
2545 return NULL;
2546 }
2547
2548
2549 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2550 PyObject *resultobj;
2551 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2552 wxVisualAttributes result;
2553 PyObject * obj0 = 0 ;
2554 char *kwnames[] = {
2555 (char *) "variant", NULL
2556 };
2557
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2559 if (obj0) {
2560 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 {
2564 if (!wxPyCheckForApp()) SWIG_fail;
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 wxVisualAttributes * resultptr;
2573 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2575 }
2576 return resultobj;
2577 fail:
2578 return NULL;
2579 }
2580
2581
2582 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2583 PyObject *obj;
2584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2585 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2586 Py_INCREF(obj);
2587 return Py_BuildValue((char *)"");
2588 }
2589 static int _wrap_FrameNameStr_set(PyObject *_val) {
2590 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2591 return 1;
2592 }
2593
2594
2595 static PyObject *_wrap_FrameNameStr_get() {
2596 PyObject *pyobj;
2597
2598 {
2599 #if wxUSE_UNICODE
2600 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2601 #else
2602 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2603 #endif
2604 }
2605 return pyobj;
2606 }
2607
2608
2609 static int _wrap_DialogNameStr_set(PyObject *_val) {
2610 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2611 return 1;
2612 }
2613
2614
2615 static PyObject *_wrap_DialogNameStr_get() {
2616 PyObject *pyobj;
2617
2618 {
2619 #if wxUSE_UNICODE
2620 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2621 #else
2622 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2623 #endif
2624 }
2625 return pyobj;
2626 }
2627
2628
2629 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2630 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2631 return 1;
2632 }
2633
2634
2635 static PyObject *_wrap_StatusLineNameStr_get() {
2636 PyObject *pyobj;
2637
2638 {
2639 #if wxUSE_UNICODE
2640 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2641 #else
2642 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2643 #endif
2644 }
2645 return pyobj;
2646 }
2647
2648
2649 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2650 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2651 return 1;
2652 }
2653
2654
2655 static PyObject *_wrap_ToolBarNameStr_get() {
2656 PyObject *pyobj;
2657
2658 {
2659 #if wxUSE_UNICODE
2660 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2661 #else
2662 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2663 #endif
2664 }
2665 return pyobj;
2666 }
2667
2668
2669 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2672 bool arg2 = (bool) True ;
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "maximize", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2682 if (obj1) {
2683 arg2 = (bool) SWIG_AsBool(obj1);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 (arg1)->Maximize(arg2);
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 Py_INCREF(Py_None); resultobj = Py_None;
2694 return resultobj;
2695 fail:
2696 return NULL;
2697 }
2698
2699
2700 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj;
2702 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2703 PyObject * obj0 = 0 ;
2704 char *kwnames[] = {
2705 (char *) "self", NULL
2706 };
2707
2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2711 {
2712 PyThreadState* __tstate = wxPyBeginAllowThreads();
2713 (arg1)->Restore();
2714
2715 wxPyEndAllowThreads(__tstate);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
2718 Py_INCREF(Py_None); resultobj = Py_None;
2719 return resultobj;
2720 fail:
2721 return NULL;
2722 }
2723
2724
2725 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2726 PyObject *resultobj;
2727 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2728 bool arg2 = (bool) True ;
2729 PyObject * obj0 = 0 ;
2730 PyObject * obj1 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self",(char *) "iconize", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2738 if (obj1) {
2739 arg2 = (bool) SWIG_AsBool(obj1);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 (arg1)->Iconize(arg2);
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2759 bool result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2768 {
2769 PyThreadState* __tstate = wxPyBeginAllowThreads();
2770 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2771
2772 wxPyEndAllowThreads(__tstate);
2773 if (PyErr_Occurred()) SWIG_fail;
2774 }
2775 {
2776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2777 }
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2787 bool result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 {
2804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2805 }
2806 return resultobj;
2807 fail:
2808 return NULL;
2809 }
2810
2811
2812 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2815 wxIcon result;
2816 PyObject * obj0 = 0 ;
2817 char *kwnames[] = {
2818 (char *) "self", NULL
2819 };
2820
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 {
2832 wxIcon * resultptr;
2833 resultptr = new wxIcon((wxIcon &) result);
2834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2835 }
2836 return resultobj;
2837 fail:
2838 return NULL;
2839 }
2840
2841
2842 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2845 wxIcon *arg2 = 0 ;
2846 PyObject * obj0 = 0 ;
2847 PyObject * obj1 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self",(char *) "icon", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2856 SWIG_POINTER_EXCEPTION | 0)) == -1)
2857 SWIG_fail;
2858 if (arg2 == NULL) {
2859 PyErr_SetString(PyExc_TypeError,"null reference");
2860 SWIG_fail;
2861 }
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 (arg1)->SetIcon((wxIcon const &)*arg2);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 Py_INCREF(Py_None); resultobj = Py_None;
2870 return resultobj;
2871 fail:
2872 return NULL;
2873 }
2874
2875
2876 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2877 PyObject *resultobj;
2878 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2879 wxIconBundle *arg2 = 0 ;
2880 PyObject * obj0 = 0 ;
2881 PyObject * obj1 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "self",(char *) "icons", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2889 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2890 SWIG_POINTER_EXCEPTION | 0)) == -1)
2891 SWIG_fail;
2892 if (arg2 == NULL) {
2893 PyErr_SetString(PyExc_TypeError,"null reference");
2894 SWIG_fail;
2895 }
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 }
2903 Py_INCREF(Py_None); resultobj = Py_None;
2904 return resultobj;
2905 fail:
2906 return NULL;
2907 }
2908
2909
2910 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2911 PyObject *resultobj;
2912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2913 bool arg2 ;
2914 long arg3 = (long) wxFULLSCREEN_ALL ;
2915 bool result;
2916 PyObject * obj0 = 0 ;
2917 PyObject * obj1 = 0 ;
2918 PyObject * obj2 = 0 ;
2919 char *kwnames[] = {
2920 (char *) "self",(char *) "show",(char *) "style", NULL
2921 };
2922
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2926 arg2 = (bool) SWIG_AsBool(obj1);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 if (obj2) {
2929 arg3 = (long) SWIG_AsLong(obj2);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 {
2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
2934 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2935
2936 wxPyEndAllowThreads(__tstate);
2937 if (PyErr_Occurred()) SWIG_fail;
2938 }
2939 {
2940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2941 }
2942 return resultobj;
2943 fail:
2944 return NULL;
2945 }
2946
2947
2948 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2949 PyObject *resultobj;
2950 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2951 bool result;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 {
2968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2969 }
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2979 wxString *arg2 = 0 ;
2980 bool temp2 = False ;
2981 PyObject * obj0 = 0 ;
2982 PyObject * obj1 = 0 ;
2983 char *kwnames[] = {
2984 (char *) "self",(char *) "title", NULL
2985 };
2986
2987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2990 {
2991 arg2 = wxString_in_helper(obj1);
2992 if (arg2 == NULL) SWIG_fail;
2993 temp2 = True;
2994 }
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->SetTitle((wxString const &)*arg2);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 {
3004 if (temp2)
3005 delete arg2;
3006 }
3007 return resultobj;
3008 fail:
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 return NULL;
3014 }
3015
3016
3017 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3020 wxString result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "self", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
3036 {
3037 #if wxUSE_UNICODE
3038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3039 #else
3040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3041 #endif
3042 }
3043 return resultobj;
3044 fail:
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3052 wxRegion *arg2 = 0 ;
3053 bool result;
3054 PyObject * obj0 = 0 ;
3055 PyObject * obj1 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self",(char *) "region", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3064 SWIG_POINTER_EXCEPTION | 0)) == -1)
3065 SWIG_fail;
3066 if (arg2 == NULL) {
3067 PyErr_SetString(PyExc_TypeError,"null reference");
3068 SWIG_fail;
3069 }
3070 {
3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
3072 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) SWIG_fail;
3076 }
3077 {
3078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3079 }
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3087 PyObject *obj;
3088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3089 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3090 Py_INCREF(obj);
3091 return Py_BuildValue((char *)"");
3092 }
3093 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxWindow *arg1 = (wxWindow *) 0 ;
3096 int arg2 = (int) (int)-1 ;
3097 wxString const &arg3_defvalue = wxPyEmptyString ;
3098 wxString *arg3 = (wxString *) &arg3_defvalue ;
3099 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3100 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3101 wxSize const &arg5_defvalue = wxDefaultSize ;
3102 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3103 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3104 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3105 wxString *arg7 = (wxString *) &arg7_defvalue ;
3106 wxFrame *result;
3107 bool temp3 = False ;
3108 wxPoint temp4 ;
3109 wxSize temp5 ;
3110 bool temp7 = False ;
3111 PyObject * obj0 = 0 ;
3112 PyObject * obj1 = 0 ;
3113 PyObject * obj2 = 0 ;
3114 PyObject * obj3 = 0 ;
3115 PyObject * obj4 = 0 ;
3116 PyObject * obj5 = 0 ;
3117 PyObject * obj6 = 0 ;
3118 char *kwnames[] = {
3119 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3125 if (obj1) {
3126 arg2 = (int const) SWIG_AsInt(obj1);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 if (obj2) {
3130 {
3131 arg3 = wxString_in_helper(obj2);
3132 if (arg3 == NULL) SWIG_fail;
3133 temp3 = True;
3134 }
3135 }
3136 if (obj3) {
3137 {
3138 arg4 = &temp4;
3139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3140 }
3141 }
3142 if (obj4) {
3143 {
3144 arg5 = &temp5;
3145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3146 }
3147 }
3148 if (obj5) {
3149 arg6 = (long) SWIG_AsLong(obj5);
3150 if (PyErr_Occurred()) SWIG_fail;
3151 }
3152 if (obj6) {
3153 {
3154 arg7 = wxString_in_helper(obj6);
3155 if (arg7 == NULL) SWIG_fail;
3156 temp7 = True;
3157 }
3158 }
3159 {
3160 if (!wxPyCheckForApp()) SWIG_fail;
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 {
3168 resultobj = wxPyMake_wxObject(result, 1);
3169 }
3170 {
3171 if (temp3)
3172 delete arg3;
3173 }
3174 {
3175 if (temp7)
3176 delete arg7;
3177 }
3178 return resultobj;
3179 fail:
3180 {
3181 if (temp3)
3182 delete arg3;
3183 }
3184 {
3185 if (temp7)
3186 delete arg7;
3187 }
3188 return NULL;
3189 }
3190
3191
3192 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject *resultobj;
3194 wxFrame *result;
3195 char *kwnames[] = {
3196 NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3200 {
3201 if (!wxPyCheckForApp()) SWIG_fail;
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (wxFrame *)new wxFrame();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 {
3209 resultobj = wxPyMake_wxObject(result, 1);
3210 }
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxFrame *arg1 = (wxFrame *) 0 ;
3220 wxWindow *arg2 = (wxWindow *) 0 ;
3221 int arg3 = (int) (int)-1 ;
3222 wxString const &arg4_defvalue = wxPyEmptyString ;
3223 wxString *arg4 = (wxString *) &arg4_defvalue ;
3224 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3225 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3226 wxSize const &arg6_defvalue = wxDefaultSize ;
3227 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3228 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3229 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3230 wxString *arg8 = (wxString *) &arg8_defvalue ;
3231 bool result;
3232 bool temp4 = False ;
3233 wxPoint temp5 ;
3234 wxSize temp6 ;
3235 bool temp8 = False ;
3236 PyObject * obj0 = 0 ;
3237 PyObject * obj1 = 0 ;
3238 PyObject * obj2 = 0 ;
3239 PyObject * obj3 = 0 ;
3240 PyObject * obj4 = 0 ;
3241 PyObject * obj5 = 0 ;
3242 PyObject * obj6 = 0 ;
3243 PyObject * obj7 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3253 if (obj2) {
3254 arg3 = (int const) SWIG_AsInt(obj2);
3255 if (PyErr_Occurred()) SWIG_fail;
3256 }
3257 if (obj3) {
3258 {
3259 arg4 = wxString_in_helper(obj3);
3260 if (arg4 == NULL) SWIG_fail;
3261 temp4 = True;
3262 }
3263 }
3264 if (obj4) {
3265 {
3266 arg5 = &temp5;
3267 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3268 }
3269 }
3270 if (obj5) {
3271 {
3272 arg6 = &temp6;
3273 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3274 }
3275 }
3276 if (obj6) {
3277 arg7 = (long) SWIG_AsLong(obj6);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 if (obj7) {
3281 {
3282 arg8 = wxString_in_helper(obj7);
3283 if (arg8 == NULL) SWIG_fail;
3284 temp8 = True;
3285 }
3286 }
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3290
3291 wxPyEndAllowThreads(__tstate);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 {
3295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3296 }
3297 {
3298 if (temp4)
3299 delete arg4;
3300 }
3301 {
3302 if (temp8)
3303 delete arg8;
3304 }
3305 return resultobj;
3306 fail:
3307 {
3308 if (temp4)
3309 delete arg4;
3310 }
3311 {
3312 if (temp8)
3313 delete arg8;
3314 }
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj;
3321 wxFrame *arg1 = (wxFrame *) 0 ;
3322 wxPoint result;
3323 PyObject * obj0 = 0 ;
3324 char *kwnames[] = {
3325 (char *) "self", NULL
3326 };
3327
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3331 {
3332 PyThreadState* __tstate = wxPyBeginAllowThreads();
3333 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3334
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 {
3339 wxPoint * resultptr;
3340 resultptr = new wxPoint((wxPoint &) result);
3341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3342 }
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxFrame *arg1 = (wxFrame *) 0 ;
3352 PyObject * obj0 = 0 ;
3353 char *kwnames[] = {
3354 (char *) "self", NULL
3355 };
3356
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 (arg1)->SendSizeEvent();
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371 }
3372
3373
3374 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxFrame *arg1 = (wxFrame *) 0 ;
3377 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3378 PyObject * obj0 = 0 ;
3379 PyObject * obj1 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "menubar", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 (arg1)->SetMenuBar(arg2);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 Py_INCREF(Py_None); resultobj = Py_None;
3397 return resultobj;
3398 fail:
3399 return NULL;
3400 }
3401
3402
3403 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3404 PyObject *resultobj;
3405 wxFrame *arg1 = (wxFrame *) 0 ;
3406 wxMenuBar *result;
3407 PyObject * obj0 = 0 ;
3408 char *kwnames[] = {
3409 (char *) "self", NULL
3410 };
3411
3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 {
3423 resultobj = wxPyMake_wxObject(result, 0);
3424 }
3425 return resultobj;
3426 fail:
3427 return NULL;
3428 }
3429
3430
3431 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3432 PyObject *resultobj;
3433 wxFrame *arg1 = (wxFrame *) 0 ;
3434 int arg2 ;
3435 bool result;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "winid", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 arg2 = (int) SWIG_AsInt(obj1);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 result = (bool)(arg1)->ProcessCommand(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 {
3455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3456 }
3457 return resultobj;
3458 fail:
3459 return NULL;
3460 }
3461
3462
3463 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject *resultobj;
3465 wxFrame *arg1 = (wxFrame *) 0 ;
3466 int arg2 = (int) 1 ;
3467 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3468 int arg4 = (int) 0 ;
3469 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3470 wxString *arg5 = (wxString *) &arg5_defvalue ;
3471 wxStatusBar *result;
3472 bool temp5 = False ;
3473 PyObject * obj0 = 0 ;
3474 PyObject * obj1 = 0 ;
3475 PyObject * obj2 = 0 ;
3476 PyObject * obj3 = 0 ;
3477 PyObject * obj4 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3485 if (obj1) {
3486 arg2 = (int) SWIG_AsInt(obj1);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 if (obj2) {
3490 arg3 = (long) SWIG_AsLong(obj2);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 if (obj3) {
3494 arg4 = (int) SWIG_AsInt(obj3);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 if (obj4) {
3498 {
3499 arg5 = wxString_in_helper(obj4);
3500 if (arg5 == NULL) SWIG_fail;
3501 temp5 = True;
3502 }
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512 resultobj = wxPyMake_wxObject(result, 0);
3513 }
3514 {
3515 if (temp5)
3516 delete arg5;
3517 }
3518 return resultobj;
3519 fail:
3520 {
3521 if (temp5)
3522 delete arg5;
3523 }
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxFrame *arg1 = (wxFrame *) 0 ;
3531 wxStatusBar *result;
3532 PyObject * obj0 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "self", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = wxPyMake_wxObject(result, 0);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxFrame *arg1 = (wxFrame *) 0 ;
3559 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3560 PyObject * obj0 = 0 ;
3561 PyObject * obj1 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self",(char *) "statBar", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3569 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 (arg1)->SetStatusBar(arg2);
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 Py_INCREF(Py_None); resultobj = Py_None;
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3586 PyObject *resultobj;
3587 wxFrame *arg1 = (wxFrame *) 0 ;
3588 wxString *arg2 = 0 ;
3589 int arg3 = (int) 0 ;
3590 bool temp2 = False ;
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj1 = 0 ;
3593 PyObject * obj2 = 0 ;
3594 char *kwnames[] = {
3595 (char *) "self",(char *) "text",(char *) "number", NULL
3596 };
3597
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3601 {
3602 arg2 = wxString_in_helper(obj1);
3603 if (arg2 == NULL) SWIG_fail;
3604 temp2 = True;
3605 }
3606 if (obj2) {
3607 arg3 = (int) SWIG_AsInt(obj2);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 {
3619 if (temp2)
3620 delete arg2;
3621 }
3622 return resultobj;
3623 fail:
3624 {
3625 if (temp2)
3626 delete arg2;
3627 }
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxFrame *arg1 = (wxFrame *) 0 ;
3635 int arg2 ;
3636 int *arg3 = (int *) 0 ;
3637 PyObject * obj0 = 0 ;
3638 PyObject * obj1 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self",(char *) "widths", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3646 {
3647 arg2 = PyList_Size(obj1);
3648 arg3 = int_LIST_helper(obj1);
3649 if (arg3 == NULL) SWIG_fail;
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 Py_INCREF(Py_None); resultobj = Py_None;
3659 {
3660 if (arg3) delete [] arg3;
3661 }
3662 return resultobj;
3663 fail:
3664 {
3665 if (arg3) delete [] arg3;
3666 }
3667 return NULL;
3668 }
3669
3670
3671 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3672 PyObject *resultobj;
3673 wxFrame *arg1 = (wxFrame *) 0 ;
3674 wxString *arg2 = 0 ;
3675 int arg3 = (int) 0 ;
3676 bool temp2 = False ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 PyObject * obj2 = 0 ;
3680 char *kwnames[] = {
3681 (char *) "self",(char *) "text",(char *) "number", NULL
3682 };
3683
3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3687 {
3688 arg2 = wxString_in_helper(obj1);
3689 if (arg2 == NULL) SWIG_fail;
3690 temp2 = True;
3691 }
3692 if (obj2) {
3693 arg3 = (int) SWIG_AsInt(obj2);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 Py_INCREF(Py_None); resultobj = Py_None;
3704 {
3705 if (temp2)
3706 delete arg2;
3707 }
3708 return resultobj;
3709 fail:
3710 {
3711 if (temp2)
3712 delete arg2;
3713 }
3714 return NULL;
3715 }
3716
3717
3718 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj;
3720 wxFrame *arg1 = (wxFrame *) 0 ;
3721 int arg2 = (int) 0 ;
3722 PyObject * obj0 = 0 ;
3723 PyObject * obj1 = 0 ;
3724 char *kwnames[] = {
3725 (char *) "self",(char *) "number", NULL
3726 };
3727
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3731 if (obj1) {
3732 arg2 = (int) SWIG_AsInt(obj1);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 (arg1)->PopStatusText(arg2);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 Py_INCREF(Py_None); resultobj = Py_None;
3743 return resultobj;
3744 fail:
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxFrame *arg1 = (wxFrame *) 0 ;
3752 int arg2 ;
3753 PyObject * obj0 = 0 ;
3754 PyObject * obj1 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self",(char *) "n", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3762 arg2 = (int) SWIG_AsInt(obj1);
3763 if (PyErr_Occurred()) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 (arg1)->SetStatusBarPane(arg2);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 Py_INCREF(Py_None); resultobj = Py_None;
3772 return resultobj;
3773 fail:
3774 return NULL;
3775 }
3776
3777
3778 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 wxFrame *arg1 = (wxFrame *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 resultobj = SWIG_FromInt((int)result);
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxFrame *arg1 = (wxFrame *) 0 ;
3807 long arg2 = (long) -1 ;
3808 int arg3 = (int) -1 ;
3809 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3810 wxString *arg4 = (wxString *) &arg4_defvalue ;
3811 wxToolBar *result;
3812 bool temp4 = False ;
3813 PyObject * obj0 = 0 ;
3814 PyObject * obj1 = 0 ;
3815 PyObject * obj2 = 0 ;
3816 PyObject * obj3 = 0 ;
3817 char *kwnames[] = {
3818 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3819 };
3820
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3824 if (obj1) {
3825 arg2 = (long) SWIG_AsLong(obj1);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 if (obj2) {
3829 arg3 = (int) SWIG_AsInt(obj2);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 if (obj3) {
3833 {
3834 arg4 = wxString_in_helper(obj3);
3835 if (arg4 == NULL) SWIG_fail;
3836 temp4 = True;
3837 }
3838 }
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 {
3847 resultobj = wxPyMake_wxObject(result, 0);
3848 }
3849 {
3850 if (temp4)
3851 delete arg4;
3852 }
3853 return resultobj;
3854 fail:
3855 {
3856 if (temp4)
3857 delete arg4;
3858 }
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxFrame *arg1 = (wxFrame *) 0 ;
3866 wxToolBar *result;
3867 PyObject * obj0 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 {
3883 resultobj = wxPyMake_wxObject(result, 0);
3884 }
3885 return resultobj;
3886 fail:
3887 return NULL;
3888 }
3889
3890
3891 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 wxFrame *arg1 = (wxFrame *) 0 ;
3894 wxToolBar *arg2 = (wxToolBar *) 0 ;
3895 PyObject * obj0 = 0 ;
3896 PyObject * obj1 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "self",(char *) "toolbar", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3904 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 (arg1)->SetToolBar(arg2);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 Py_INCREF(Py_None); resultobj = Py_None;
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 wxFrame *arg1 = (wxFrame *) 0 ;
3923 wxString *arg2 = 0 ;
3924 bool arg3 ;
3925 bool temp2 = False ;
3926 PyObject * obj0 = 0 ;
3927 PyObject * obj1 = 0 ;
3928 PyObject * obj2 = 0 ;
3929 char *kwnames[] = {
3930 (char *) "self",(char *) "text",(char *) "show", NULL
3931 };
3932
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3936 {
3937 arg2 = wxString_in_helper(obj1);
3938 if (arg2 == NULL) SWIG_fail;
3939 temp2 = True;
3940 }
3941 arg3 = (bool) SWIG_AsBool(obj2);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 {
3944 PyThreadState* __tstate = wxPyBeginAllowThreads();
3945 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3946
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 Py_INCREF(Py_None); resultobj = Py_None;
3951 {
3952 if (temp2)
3953 delete arg2;
3954 }
3955 return resultobj;
3956 fail:
3957 {
3958 if (temp2)
3959 delete arg2;
3960 }
3961 return NULL;
3962 }
3963
3964
3965 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxFrame *arg1 = (wxFrame *) 0 ;
3968 wxMenu *arg2 = (wxMenu *) NULL ;
3969 PyObject * obj0 = 0 ;
3970 PyObject * obj1 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "self",(char *) "menu", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3978 if (obj1) {
3979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3981 }
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 (arg1)->DoMenuUpdates(arg2);
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 Py_INCREF(Py_None); resultobj = Py_None;
3990 return resultobj;
3991 fail:
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3999 wxVisualAttributes result;
4000 PyObject * obj0 = 0 ;
4001 char *kwnames[] = {
4002 (char *) "variant", NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4006 if (obj0) {
4007 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 {
4019 wxVisualAttributes * resultptr;
4020 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4021 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4022 }
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4030 PyObject *obj;
4031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4032 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4033 Py_INCREF(obj);
4034 return Py_BuildValue((char *)"");
4035 }
4036 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 = (int) (int)-1 ;
4040 wxString const &arg3_defvalue = wxPyEmptyString ;
4041 wxString *arg3 = (wxString *) &arg3_defvalue ;
4042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4044 wxSize const &arg5_defvalue = wxDefaultSize ;
4045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4046 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4047 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4048 wxString *arg7 = (wxString *) &arg7_defvalue ;
4049 wxDialog *result;
4050 bool temp3 = False ;
4051 wxPoint temp4 ;
4052 wxSize temp5 ;
4053 bool temp7 = False ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 PyObject * obj6 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 if (obj1) {
4069 arg2 = (int const) SWIG_AsInt(obj1);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 if (obj2) {
4073 {
4074 arg3 = wxString_in_helper(obj2);
4075 if (arg3 == NULL) SWIG_fail;
4076 temp3 = True;
4077 }
4078 }
4079 if (obj3) {
4080 {
4081 arg4 = &temp4;
4082 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4083 }
4084 }
4085 if (obj4) {
4086 {
4087 arg5 = &temp5;
4088 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4089 }
4090 }
4091 if (obj5) {
4092 arg6 = (long) SWIG_AsLong(obj5);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 if (obj6) {
4096 {
4097 arg7 = wxString_in_helper(obj6);
4098 if (arg7 == NULL) SWIG_fail;
4099 temp7 = True;
4100 }
4101 }
4102 {
4103 if (!wxPyCheckForApp()) SWIG_fail;
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 {
4111 resultobj = wxPyMake_wxObject(result, 1);
4112 }
4113 {
4114 if (temp3)
4115 delete arg3;
4116 }
4117 {
4118 if (temp7)
4119 delete arg7;
4120 }
4121 return resultobj;
4122 fail:
4123 {
4124 if (temp3)
4125 delete arg3;
4126 }
4127 {
4128 if (temp7)
4129 delete arg7;
4130 }
4131 return NULL;
4132 }
4133
4134
4135 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxDialog *result;
4138 char *kwnames[] = {
4139 NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4143 {
4144 if (!wxPyCheckForApp()) SWIG_fail;
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (wxDialog *)new wxDialog();
4147
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 {
4152 resultobj = wxPyMake_wxObject(result, 1);
4153 }
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxDialog *arg1 = (wxDialog *) 0 ;
4163 wxWindow *arg2 = (wxWindow *) 0 ;
4164 int arg3 = (int) (int)-1 ;
4165 wxString const &arg4_defvalue = wxPyEmptyString ;
4166 wxString *arg4 = (wxString *) &arg4_defvalue ;
4167 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4168 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4169 wxSize const &arg6_defvalue = wxDefaultSize ;
4170 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4171 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4172 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4173 wxString *arg8 = (wxString *) &arg8_defvalue ;
4174 bool result;
4175 bool temp4 = False ;
4176 wxPoint temp5 ;
4177 wxSize temp6 ;
4178 bool temp8 = False ;
4179 PyObject * obj0 = 0 ;
4180 PyObject * obj1 = 0 ;
4181 PyObject * obj2 = 0 ;
4182 PyObject * obj3 = 0 ;
4183 PyObject * obj4 = 0 ;
4184 PyObject * obj5 = 0 ;
4185 PyObject * obj6 = 0 ;
4186 PyObject * obj7 = 0 ;
4187 char *kwnames[] = {
4188 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4189 };
4190
4191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4194 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4196 if (obj2) {
4197 arg3 = (int const) SWIG_AsInt(obj2);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 if (obj3) {
4201 {
4202 arg4 = wxString_in_helper(obj3);
4203 if (arg4 == NULL) SWIG_fail;
4204 temp4 = True;
4205 }
4206 }
4207 if (obj4) {
4208 {
4209 arg5 = &temp5;
4210 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4211 }
4212 }
4213 if (obj5) {
4214 {
4215 arg6 = &temp6;
4216 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4217 }
4218 }
4219 if (obj6) {
4220 arg7 = (long) SWIG_AsLong(obj6);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 if (obj7) {
4224 {
4225 arg8 = wxString_in_helper(obj7);
4226 if (arg8 == NULL) SWIG_fail;
4227 temp8 = True;
4228 }
4229 }
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4233
4234 wxPyEndAllowThreads(__tstate);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
4237 {
4238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4239 }
4240 {
4241 if (temp4)
4242 delete arg4;
4243 }
4244 {
4245 if (temp8)
4246 delete arg8;
4247 }
4248 return resultobj;
4249 fail:
4250 {
4251 if (temp4)
4252 delete arg4;
4253 }
4254 {
4255 if (temp8)
4256 delete arg8;
4257 }
4258 return NULL;
4259 }
4260
4261
4262 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj;
4264 wxDialog *arg1 = (wxDialog *) 0 ;
4265 int arg2 ;
4266 PyObject * obj0 = 0 ;
4267 PyObject * obj1 = 0 ;
4268 char *kwnames[] = {
4269 (char *) "self",(char *) "returnCode", NULL
4270 };
4271
4272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4275 arg2 = (int) SWIG_AsInt(obj1);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 (arg1)->SetReturnCode(arg2);
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 Py_INCREF(Py_None); resultobj = Py_None;
4285 return resultobj;
4286 fail:
4287 return NULL;
4288 }
4289
4290
4291 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject *resultobj;
4293 wxDialog *arg1 = (wxDialog *) 0 ;
4294 int result;
4295 PyObject * obj0 = 0 ;
4296 char *kwnames[] = {
4297 (char *) "self", NULL
4298 };
4299
4300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 resultobj = SWIG_FromInt((int)result);
4311 return resultobj;
4312 fail:
4313 return NULL;
4314 }
4315
4316
4317 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj;
4319 wxDialog *arg1 = (wxDialog *) 0 ;
4320 wxString *arg2 = 0 ;
4321 wxSizer *result;
4322 bool temp2 = False ;
4323 PyObject * obj0 = 0 ;
4324 PyObject * obj1 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self",(char *) "message", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4332 {
4333 arg2 = wxString_in_helper(obj1);
4334 if (arg2 == NULL) SWIG_fail;
4335 temp2 = True;
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 {
4345 resultobj = wxPyMake_wxSizer(result, 0);
4346 }
4347 {
4348 if (temp2)
4349 delete arg2;
4350 }
4351 return resultobj;
4352 fail:
4353 {
4354 if (temp2)
4355 delete arg2;
4356 }
4357 return NULL;
4358 }
4359
4360
4361 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxDialog *arg1 = (wxDialog *) 0 ;
4364 long arg2 ;
4365 wxSizer *result;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self",(char *) "flags", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4375 arg2 = (long) SWIG_AsLong(obj1);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 {
4385 resultobj = wxPyMake_wxSizer(result, 0);
4386 }
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj;
4395 wxDialog *arg1 = (wxDialog *) 0 ;
4396 bool result;
4397 PyObject * obj0 = 0 ;
4398 char *kwnames[] = {
4399 (char *) "self", NULL
4400 };
4401
4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4405 {
4406 PyThreadState* __tstate = wxPyBeginAllowThreads();
4407 result = (bool)((wxDialog const *)arg1)->IsModal();
4408
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 {
4413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4414 }
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj;
4423 wxDialog *arg1 = (wxDialog *) 0 ;
4424 int result;
4425 PyObject * obj0 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (int)(arg1)->ShowModal();
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = SWIG_FromInt((int)result);
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxDialog *arg1 = (wxDialog *) 0 ;
4450 int arg2 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 char *kwnames[] = {
4454 (char *) "self",(char *) "retCode", NULL
4455 };
4456
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4460 arg2 = (int) SWIG_AsInt(obj1);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 (arg1)->EndModal(arg2);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4479 wxVisualAttributes result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "variant", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4486 if (obj0) {
4487 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 {
4491 if (!wxPyCheckForApp()) SWIG_fail;
4492 PyThreadState* __tstate = wxPyBeginAllowThreads();
4493 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4494
4495 wxPyEndAllowThreads(__tstate);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4498 {
4499 wxVisualAttributes * resultptr;
4500 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4502 }
4503 return resultobj;
4504 fail:
4505 return NULL;
4506 }
4507
4508
4509 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4510 PyObject *obj;
4511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4512 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4513 Py_INCREF(obj);
4514 return Py_BuildValue((char *)"");
4515 }
4516 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxWindow *arg1 = (wxWindow *) 0 ;
4519 int arg2 = (int) (int)-1 ;
4520 wxString const &arg3_defvalue = wxPyEmptyString ;
4521 wxString *arg3 = (wxString *) &arg3_defvalue ;
4522 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4523 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4524 wxSize const &arg5_defvalue = wxDefaultSize ;
4525 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4526 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4527 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4528 wxString *arg7 = (wxString *) &arg7_defvalue ;
4529 wxMiniFrame *result;
4530 bool temp3 = False ;
4531 wxPoint temp4 ;
4532 wxSize temp5 ;
4533 bool temp7 = False ;
4534 PyObject * obj0 = 0 ;
4535 PyObject * obj1 = 0 ;
4536 PyObject * obj2 = 0 ;
4537 PyObject * obj3 = 0 ;
4538 PyObject * obj4 = 0 ;
4539 PyObject * obj5 = 0 ;
4540 PyObject * obj6 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4548 if (obj1) {
4549 arg2 = (int const) SWIG_AsInt(obj1);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 if (obj2) {
4553 {
4554 arg3 = wxString_in_helper(obj2);
4555 if (arg3 == NULL) SWIG_fail;
4556 temp3 = True;
4557 }
4558 }
4559 if (obj3) {
4560 {
4561 arg4 = &temp4;
4562 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4563 }
4564 }
4565 if (obj4) {
4566 {
4567 arg5 = &temp5;
4568 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4569 }
4570 }
4571 if (obj5) {
4572 arg6 = (long) SWIG_AsLong(obj5);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 if (obj6) {
4576 {
4577 arg7 = wxString_in_helper(obj6);
4578 if (arg7 == NULL) SWIG_fail;
4579 temp7 = True;
4580 }
4581 }
4582 {
4583 if (!wxPyCheckForApp()) SWIG_fail;
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4591 {
4592 if (temp3)
4593 delete arg3;
4594 }
4595 {
4596 if (temp7)
4597 delete arg7;
4598 }
4599 return resultobj;
4600 fail:
4601 {
4602 if (temp3)
4603 delete arg3;
4604 }
4605 {
4606 if (temp7)
4607 delete arg7;
4608 }
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxMiniFrame *result;
4616 char *kwnames[] = {
4617 NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4621 {
4622 if (!wxPyCheckForApp()) SWIG_fail;
4623 PyThreadState* __tstate = wxPyBeginAllowThreads();
4624 result = (wxMiniFrame *)new wxMiniFrame();
4625
4626 wxPyEndAllowThreads(__tstate);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4639 wxWindow *arg2 = (wxWindow *) 0 ;
4640 int arg3 = (int) (int)-1 ;
4641 wxString const &arg4_defvalue = wxPyEmptyString ;
4642 wxString *arg4 = (wxString *) &arg4_defvalue ;
4643 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4644 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4645 wxSize const &arg6_defvalue = wxDefaultSize ;
4646 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4647 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4648 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4649 wxString *arg8 = (wxString *) &arg8_defvalue ;
4650 bool result;
4651 bool temp4 = False ;
4652 wxPoint temp5 ;
4653 wxSize temp6 ;
4654 bool temp8 = False ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 PyObject * obj3 = 0 ;
4659 PyObject * obj4 = 0 ;
4660 PyObject * obj5 = 0 ;
4661 PyObject * obj6 = 0 ;
4662 PyObject * obj7 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4672 if (obj2) {
4673 arg3 = (int const) SWIG_AsInt(obj2);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 if (obj3) {
4677 {
4678 arg4 = wxString_in_helper(obj3);
4679 if (arg4 == NULL) SWIG_fail;
4680 temp4 = True;
4681 }
4682 }
4683 if (obj4) {
4684 {
4685 arg5 = &temp5;
4686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4687 }
4688 }
4689 if (obj5) {
4690 {
4691 arg6 = &temp6;
4692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4693 }
4694 }
4695 if (obj6) {
4696 arg7 = (long) SWIG_AsLong(obj6);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 if (obj7) {
4700 {
4701 arg8 = wxString_in_helper(obj7);
4702 if (arg8 == NULL) SWIG_fail;
4703 temp8 = True;
4704 }
4705 }
4706 {
4707 PyThreadState* __tstate = wxPyBeginAllowThreads();
4708 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4709
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 {
4714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4715 }
4716 {
4717 if (temp4)
4718 delete arg4;
4719 }
4720 {
4721 if (temp8)
4722 delete arg8;
4723 }
4724 return resultobj;
4725 fail:
4726 {
4727 if (temp4)
4728 delete arg4;
4729 }
4730 {
4731 if (temp8)
4732 delete arg8;
4733 }
4734 return NULL;
4735 }
4736
4737
4738 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4739 PyObject *obj;
4740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4741 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4742 Py_INCREF(obj);
4743 return Py_BuildValue((char *)"");
4744 }
4745 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxBitmap *arg1 = 0 ;
4748 wxWindow *arg2 = (wxWindow *) 0 ;
4749 int arg3 ;
4750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4752 wxSize const &arg5_defvalue = wxDefaultSize ;
4753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4754 long arg6 = (long) wxNO_BORDER ;
4755 wxSplashScreenWindow *result;
4756 wxPoint temp4 ;
4757 wxSize temp5 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 PyObject * obj3 = 0 ;
4762 PyObject * obj4 = 0 ;
4763 PyObject * obj5 = 0 ;
4764 char *kwnames[] = {
4765 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4766 };
4767
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4770 SWIG_POINTER_EXCEPTION | 0)) == -1)
4771 SWIG_fail;
4772 if (arg1 == NULL) {
4773 PyErr_SetString(PyExc_TypeError,"null reference");
4774 SWIG_fail;
4775 }
4776 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4778 arg3 = (int) SWIG_AsInt(obj2);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 if (obj3) {
4781 {
4782 arg4 = &temp4;
4783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4784 }
4785 }
4786 if (obj4) {
4787 {
4788 arg5 = &temp5;
4789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4790 }
4791 }
4792 if (obj5) {
4793 arg6 = (long) SWIG_AsLong(obj5);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797 if (!wxPyCheckForApp()) SWIG_fail;
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4814 wxBitmap *arg2 = 0 ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "bitmap", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4824 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1)
4826 SWIG_fail;
4827 if (arg2 == NULL) {
4828 PyErr_SetString(PyExc_TypeError,"null reference");
4829 SWIG_fail;
4830 }
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 Py_INCREF(Py_None); resultobj = Py_None;
4839 return resultobj;
4840 fail:
4841 return NULL;
4842 }
4843
4844
4845 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4848 wxBitmap *result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 {
4860 wxBitmap &_result_ref = (arg1)->GetBitmap();
4861 result = (wxBitmap *) &_result_ref;
4862 }
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 {
4868 wxBitmap* resultptr = new wxBitmap(*result);
4869 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4870 }
4871 return resultobj;
4872 fail:
4873 return NULL;
4874 }
4875
4876
4877 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4878 PyObject *obj;
4879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4880 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4881 Py_INCREF(obj);
4882 return Py_BuildValue((char *)"");
4883 }
4884 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxBitmap *arg1 = 0 ;
4887 long arg2 ;
4888 int arg3 ;
4889 wxWindow *arg4 = (wxWindow *) 0 ;
4890 int arg5 = (int) -1 ;
4891 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4892 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4893 wxSize const &arg7_defvalue = wxDefaultSize ;
4894 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4895 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4896 wxSplashScreen *result;
4897 wxPoint temp6 ;
4898 wxSize temp7 ;
4899 PyObject * obj0 = 0 ;
4900 PyObject * obj1 = 0 ;
4901 PyObject * obj2 = 0 ;
4902 PyObject * obj3 = 0 ;
4903 PyObject * obj4 = 0 ;
4904 PyObject * obj5 = 0 ;
4905 PyObject * obj6 = 0 ;
4906 PyObject * obj7 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1)
4914 SWIG_fail;
4915 if (arg1 == NULL) {
4916 PyErr_SetString(PyExc_TypeError,"null reference");
4917 SWIG_fail;
4918 }
4919 arg2 = (long) SWIG_AsLong(obj1);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 arg3 = (int) SWIG_AsInt(obj2);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4925 if (obj4) {
4926 arg5 = (int) SWIG_AsInt(obj4);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 if (obj5) {
4930 {
4931 arg6 = &temp6;
4932 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4933 }
4934 }
4935 if (obj6) {
4936 {
4937 arg7 = &temp7;
4938 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4939 }
4940 }
4941 if (obj7) {
4942 arg8 = (long) SWIG_AsLong(obj7);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 {
4946 if (!wxPyCheckForApp()) SWIG_fail;
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4963 long result;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4975
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 resultobj = SWIG_FromLong((long)result);
4980 return resultobj;
4981 fail:
4982 return NULL;
4983 }
4984
4985
4986 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4989 wxSplashScreenWindow *result;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
5006 return resultobj;
5007 fail:
5008 return NULL;
5009 }
5010
5011
5012 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
5015 int result;
5016 PyObject * obj0 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "self", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
5022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
5023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 resultobj = SWIG_FromInt((int)result);
5032 return resultobj;
5033 fail:
5034 return NULL;
5035 }
5036
5037
5038 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
5039 PyObject *obj;
5040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5041 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
5042 Py_INCREF(obj);
5043 return Py_BuildValue((char *)"");
5044 }
5045 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxWindow *arg1 = (wxWindow *) 0 ;
5048 int arg2 = (int) -1 ;
5049 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
5050 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5051 wxString *arg4 = (wxString *) &arg4_defvalue ;
5052 wxStatusBar *result;
5053 bool temp4 = False ;
5054 PyObject * obj0 = 0 ;
5055 PyObject * obj1 = 0 ;
5056 PyObject * obj2 = 0 ;
5057 PyObject * obj3 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5065 if (obj1) {
5066 arg2 = (int) SWIG_AsInt(obj1);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 if (obj2) {
5070 arg3 = (long) SWIG_AsLong(obj2);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 if (obj3) {
5074 {
5075 arg4 = wxString_in_helper(obj3);
5076 if (arg4 == NULL) SWIG_fail;
5077 temp4 = True;
5078 }
5079 }
5080 {
5081 if (!wxPyCheckForApp()) SWIG_fail;
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 {
5089 resultobj = wxPyMake_wxObject(result, 1);
5090 }
5091 {
5092 if (temp4)
5093 delete arg4;
5094 }
5095 return resultobj;
5096 fail:
5097 {
5098 if (temp4)
5099 delete arg4;
5100 }
5101 return NULL;
5102 }
5103
5104
5105 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5106 PyObject *resultobj;
5107 wxStatusBar *result;
5108 char *kwnames[] = {
5109 NULL
5110 };
5111
5112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5113 {
5114 if (!wxPyCheckForApp()) SWIG_fail;
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (wxStatusBar *)new wxStatusBar();
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = wxPyMake_wxObject(result, 1);
5123 }
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj;
5132 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5133 wxWindow *arg2 = (wxWindow *) 0 ;
5134 int arg3 = (int) -1 ;
5135 long arg4 = (long) wxST_SIZEGRIP ;
5136 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5137 wxString *arg5 = (wxString *) &arg5_defvalue ;
5138 bool result;
5139 bool temp5 = False ;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 PyObject * obj2 = 0 ;
5143 PyObject * obj3 = 0 ;
5144 PyObject * obj4 = 0 ;
5145 char *kwnames[] = {
5146 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5147 };
5148
5149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5152 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5154 if (obj2) {
5155 arg3 = (int) SWIG_AsInt(obj2);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 if (obj3) {
5159 arg4 = (long) SWIG_AsLong(obj3);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 if (obj4) {
5163 {
5164 arg5 = wxString_in_helper(obj4);
5165 if (arg5 == NULL) SWIG_fail;
5166 temp5 = True;
5167 }
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 {
5177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5178 }
5179 {
5180 if (temp5)
5181 delete arg5;
5182 }
5183 return resultobj;
5184 fail:
5185 {
5186 if (temp5)
5187 delete arg5;
5188 }
5189 return NULL;
5190 }
5191
5192
5193 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5196 int arg2 = (int) 1 ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "number", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 if (obj1) {
5207 arg2 = (int) SWIG_AsInt(obj1);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 (arg1)->SetFieldsCount(arg2);
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 Py_INCREF(Py_None); resultobj = Py_None;
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5227 int result;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_FromInt((int)result);
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5253 wxString *arg2 = 0 ;
5254 int arg3 = (int) 0 ;
5255 bool temp2 = False ;
5256 PyObject * obj0 = 0 ;
5257 PyObject * obj1 = 0 ;
5258 PyObject * obj2 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self",(char *) "text",(char *) "number", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5266 {
5267 arg2 = wxString_in_helper(obj1);
5268 if (arg2 == NULL) SWIG_fail;
5269 temp2 = True;
5270 }
5271 if (obj2) {
5272 arg3 = (int) SWIG_AsInt(obj2);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 Py_INCREF(Py_None); resultobj = Py_None;
5283 {
5284 if (temp2)
5285 delete arg2;
5286 }
5287 return resultobj;
5288 fail:
5289 {
5290 if (temp2)
5291 delete arg2;
5292 }
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5300 int arg2 = (int) 0 ;
5301 wxString result;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self",(char *) "number", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5311 if (obj1) {
5312 arg2 = (int) SWIG_AsInt(obj1);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 {
5323 #if wxUSE_UNICODE
5324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5325 #else
5326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5327 #endif
5328 }
5329 return resultobj;
5330 fail:
5331 return NULL;
5332 }
5333
5334
5335 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5338 wxString *arg2 = 0 ;
5339 int arg3 = (int) 0 ;
5340 bool temp2 = False ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 PyObject * obj2 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "text",(char *) "number", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5351 {
5352 arg2 = wxString_in_helper(obj1);
5353 if (arg2 == NULL) SWIG_fail;
5354 temp2 = True;
5355 }
5356 if (obj2) {
5357 arg3 = (int) SWIG_AsInt(obj2);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 Py_INCREF(Py_None); resultobj = Py_None;
5368 {
5369 if (temp2)
5370 delete arg2;
5371 }
5372 return resultobj;
5373 fail:
5374 {
5375 if (temp2)
5376 delete arg2;
5377 }
5378 return NULL;
5379 }
5380
5381
5382 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj;
5384 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5385 int arg2 = (int) 0 ;
5386 PyObject * obj0 = 0 ;
5387 PyObject * obj1 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "self",(char *) "number", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5395 if (obj1) {
5396 arg2 = (int) SWIG_AsInt(obj1);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 {
5400 PyThreadState* __tstate = wxPyBeginAllowThreads();
5401 (arg1)->PopStatusText(arg2);
5402
5403 wxPyEndAllowThreads(__tstate);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 Py_INCREF(Py_None); resultobj = Py_None;
5407 return resultobj;
5408 fail:
5409 return NULL;
5410 }
5411
5412
5413 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5414 PyObject *resultobj;
5415 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5416 int arg2 ;
5417 int *arg3 = (int *) 0 ;
5418 PyObject * obj0 = 0 ;
5419 PyObject * obj1 = 0 ;
5420 char *kwnames[] = {
5421 (char *) "self",(char *) "widths", NULL
5422 };
5423
5424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5427 {
5428 arg2 = PyList_Size(obj1);
5429 arg3 = int_LIST_helper(obj1);
5430 if (arg3 == NULL) SWIG_fail;
5431 }
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 Py_INCREF(Py_None); resultobj = Py_None;
5440 {
5441 if (arg3) delete [] arg3;
5442 }
5443 return resultobj;
5444 fail:
5445 {
5446 if (arg3) delete [] arg3;
5447 }
5448 return NULL;
5449 }
5450
5451
5452 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5455 int arg2 ;
5456 wxRect result;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self",(char *) "i", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5466 arg2 = (int) SWIG_AsInt(obj1);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 result = wxStatusBar_GetFieldRect(arg1,arg2);
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 {
5476 wxRect * resultptr;
5477 resultptr = new wxRect((wxRect &) result);
5478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5479 }
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5489 int arg2 ;
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self",(char *) "height", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5499 arg2 = (int) SWIG_AsInt(obj1);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 (arg1)->SetMinHeight(arg2);
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 Py_INCREF(Py_None); resultobj = Py_None;
5509 return resultobj;
5510 fail:
5511 return NULL;
5512 }
5513
5514
5515 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject *resultobj;
5517 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5518 int result;
5519 PyObject * obj0 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 resultobj = SWIG_FromInt((int)result);
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5544 int result;
5545 PyObject * obj0 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self", NULL
5548 };
5549
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 resultobj = SWIG_FromInt((int)result);
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj;
5569 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5570 wxVisualAttributes result;
5571 PyObject * obj0 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "variant", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5577 if (obj0) {
5578 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 {
5582 if (!wxPyCheckForApp()) SWIG_fail;
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 {
5590 wxVisualAttributes * resultptr;
5591 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5592 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5593 }
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5601 PyObject *obj;
5602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5603 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5604 Py_INCREF(obj);
5605 return Py_BuildValue((char *)"");
5606 }
5607 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5608 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5609 return 1;
5610 }
5611
5612
5613 static PyObject *_wrap_SplitterNameStr_get() {
5614 PyObject *pyobj;
5615
5616 {
5617 #if wxUSE_UNICODE
5618 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5619 #else
5620 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5621 #endif
5622 }
5623 return pyobj;
5624 }
5625
5626
5627 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxWindow *arg1 = (wxWindow *) 0 ;
5630 int arg2 = (int) -1 ;
5631 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5632 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5633 wxSize const &arg4_defvalue = wxDefaultSize ;
5634 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5635 long arg5 = (long) wxSP_3D ;
5636 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5637 wxString *arg6 = (wxString *) &arg6_defvalue ;
5638 wxSplitterWindow *result;
5639 wxPoint temp3 ;
5640 wxSize temp4 ;
5641 bool temp6 = False ;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj1 = 0 ;
5644 PyObject * obj2 = 0 ;
5645 PyObject * obj3 = 0 ;
5646 PyObject * obj4 = 0 ;
5647 PyObject * obj5 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5655 if (obj1) {
5656 arg2 = (int) SWIG_AsInt(obj1);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 if (obj2) {
5660 {
5661 arg3 = &temp3;
5662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5663 }
5664 }
5665 if (obj3) {
5666 {
5667 arg4 = &temp4;
5668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5669 }
5670 }
5671 if (obj4) {
5672 arg5 = (long) SWIG_AsLong(obj4);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 if (obj5) {
5676 {
5677 arg6 = wxString_in_helper(obj5);
5678 if (arg6 == NULL) SWIG_fail;
5679 temp6 = True;
5680 }
5681 }
5682 {
5683 if (!wxPyCheckForApp()) SWIG_fail;
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5691 {
5692 if (temp6)
5693 delete arg6;
5694 }
5695 return resultobj;
5696 fail:
5697 {
5698 if (temp6)
5699 delete arg6;
5700 }
5701 return NULL;
5702 }
5703
5704
5705 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5706 PyObject *resultobj;
5707 wxSplitterWindow *result;
5708 char *kwnames[] = {
5709 NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5713 {
5714 if (!wxPyCheckForApp()) SWIG_fail;
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = (wxSplitterWindow *)new wxSplitterWindow();
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj;
5730 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5731 wxWindow *arg2 = (wxWindow *) 0 ;
5732 int arg3 = (int) -1 ;
5733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5735 wxSize const &arg5_defvalue = wxDefaultSize ;
5736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5737 long arg6 = (long) wxSP_3D ;
5738 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5739 wxString *arg7 = (wxString *) &arg7_defvalue ;
5740 bool result;
5741 wxPoint temp4 ;
5742 wxSize temp5 ;
5743 bool temp7 = False ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 PyObject * obj2 = 0 ;
5747 PyObject * obj3 = 0 ;
5748 PyObject * obj4 = 0 ;
5749 PyObject * obj5 = 0 ;
5750 PyObject * obj6 = 0 ;
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5760 if (obj2) {
5761 arg3 = (int) SWIG_AsInt(obj2);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 if (obj3) {
5765 {
5766 arg4 = &temp4;
5767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5768 }
5769 }
5770 if (obj4) {
5771 {
5772 arg5 = &temp5;
5773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5774 }
5775 }
5776 if (obj5) {
5777 arg6 = (long) SWIG_AsLong(obj5);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 if (obj6) {
5781 {
5782 arg7 = wxString_in_helper(obj6);
5783 if (arg7 == NULL) SWIG_fail;
5784 temp7 = True;
5785 }
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5796 }
5797 {
5798 if (temp7)
5799 delete arg7;
5800 }
5801 return resultobj;
5802 fail:
5803 {
5804 if (temp7)
5805 delete arg7;
5806 }
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5814 wxWindow *result;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5826
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 {
5831 resultobj = wxPyMake_wxObject(result, 0);
5832 }
5833 return resultobj;
5834 fail:
5835 return NULL;
5836 }
5837
5838
5839 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5842 wxWindow *result;
5843 PyObject * obj0 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = wxPyMake_wxObject(result, 0);
5860 }
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5870 int arg2 ;
5871 PyObject * obj0 = 0 ;
5872 PyObject * obj1 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "mode", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5880 arg2 = (int) SWIG_AsInt(obj1);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 {
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 (arg1)->SetSplitMode(arg2);
5885
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 Py_INCREF(Py_None); resultobj = Py_None;
5890 return resultobj;
5891 fail:
5892 return NULL;
5893 }
5894
5895
5896 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5899 int result;
5900 PyObject * obj0 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5908 {
5909 PyThreadState* __tstate = wxPyBeginAllowThreads();
5910 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5911
5912 wxPyEndAllowThreads(__tstate);
5913 if (PyErr_Occurred()) SWIG_fail;
5914 }
5915 resultobj = SWIG_FromInt((int)result);
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5925 wxWindow *arg2 = (wxWindow *) 0 ;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self",(char *) "window", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 (arg1)->Initialize(arg2);
5940
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 Py_INCREF(Py_None); resultobj = Py_None;
5945 return resultobj;
5946 fail:
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5954 wxWindow *arg2 = (wxWindow *) 0 ;
5955 wxWindow *arg3 = (wxWindow *) 0 ;
5956 int arg4 = (int) 0 ;
5957 bool result;
5958 PyObject * obj0 = 0 ;
5959 PyObject * obj1 = 0 ;
5960 PyObject * obj2 = 0 ;
5961 PyObject * obj3 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5971 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5973 if (obj3) {
5974 arg4 = (int) SWIG_AsInt(obj3);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 {
5985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5986 }
5987 return resultobj;
5988 fail:
5989 return NULL;
5990 }
5991
5992
5993 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj;
5995 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5996 wxWindow *arg2 = (wxWindow *) 0 ;
5997 wxWindow *arg3 = (wxWindow *) 0 ;
5998 int arg4 = (int) 0 ;
5999 bool result;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 PyObject * obj2 = 0 ;
6003 PyObject * obj3 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6013 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6015 if (obj3) {
6016 arg4 = (int) SWIG_AsInt(obj3);
6017 if (PyErr_Occurred()) SWIG_fail;
6018 }
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 {
6027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6028 }
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6038 wxWindow *arg2 = (wxWindow *) NULL ;
6039 bool result;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "toRemove", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6049 if (obj1) {
6050 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (bool)(arg1)->Unsplit(arg2);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 {
6061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6062 }
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6072 wxWindow *arg2 = (wxWindow *) 0 ;
6073 wxWindow *arg3 = (wxWindow *) 0 ;
6074 bool result;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 PyObject * obj2 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6087 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 {
6097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6098 }
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6108 PyObject * obj0 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->UpdateSize();
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 Py_INCREF(Py_None); resultobj = Py_None;
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6133 bool result;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6142 {
6143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6144 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6145
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 {
6150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6151 }
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6161 int arg2 ;
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "self",(char *) "width", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6171 arg2 = (int) SWIG_AsInt(obj1);
6172 if (PyErr_Occurred()) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 (arg1)->SetSashSize(arg2);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 Py_INCREF(Py_None); resultobj = Py_None;
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6190 int arg2 ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "width", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6200 arg2 = (int) SWIG_AsInt(obj1);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 (arg1)->SetBorderSize(arg2);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 Py_INCREF(Py_None); resultobj = Py_None;
6210 return resultobj;
6211 fail:
6212 return NULL;
6213 }
6214
6215
6216 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6219 int result;
6220 PyObject * obj0 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 resultobj = SWIG_FromInt((int)result);
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6243 PyObject *resultobj;
6244 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6245 int result;
6246 PyObject * obj0 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "self", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_FromInt((int)result);
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6271 int arg2 ;
6272 bool arg3 = (bool) True ;
6273 PyObject * obj0 = 0 ;
6274 PyObject * obj1 = 0 ;
6275 PyObject * obj2 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "position",(char *) "redraw", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6283 arg2 = (int) SWIG_AsInt(obj1);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 if (obj2) {
6286 arg3 = (bool) SWIG_AsBool(obj2);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 (arg1)->SetSashPosition(arg2,arg3);
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 Py_INCREF(Py_None); resultobj = Py_None;
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6306 int result;
6307 PyObject * obj0 = 0 ;
6308 char *kwnames[] = {
6309 (char *) "self", NULL
6310 };
6311
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 resultobj = SWIG_FromInt((int)result);
6323 return resultobj;
6324 fail:
6325 return NULL;
6326 }
6327
6328
6329 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6330 PyObject *resultobj;
6331 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6332 int arg2 ;
6333 PyObject * obj0 = 0 ;
6334 PyObject * obj1 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self",(char *) "min", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6342 arg2 = (int) SWIG_AsInt(obj1);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 (arg1)->SetMinimumPaneSize(arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 Py_INCREF(Py_None); resultobj = Py_None;
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6361 int result;
6362 PyObject * obj0 = 0 ;
6363 char *kwnames[] = {
6364 (char *) "self", NULL
6365 };
6366
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 resultobj = SWIG_FromInt((int)result);
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6387 int arg2 ;
6388 int arg3 ;
6389 int arg4 = (int) 5 ;
6390 bool result;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 PyObject * obj2 = 0 ;
6394 PyObject * obj3 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6402 arg2 = (int) SWIG_AsInt(obj1);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 arg3 = (int) SWIG_AsInt(obj2);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 if (obj3) {
6407 arg4 = (int) SWIG_AsInt(obj3);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 {
6418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6419 }
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6429 PyObject * obj0 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 (arg1)->SizeWindows();
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 Py_INCREF(Py_None); resultobj = Py_None;
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj;
6453 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6454 bool arg2 ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
6457 char *kwnames[] = {
6458 (char *) "self",(char *) "needUpdating", NULL
6459 };
6460
6461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6464 arg2 = (bool) SWIG_AsBool(obj1);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 (arg1)->SetNeedUpdating(arg2);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 Py_INCREF(Py_None); resultobj = Py_None;
6474 return resultobj;
6475 fail:
6476 return NULL;
6477 }
6478
6479
6480 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj;
6482 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6483 bool result;
6484 PyObject * obj0 = 0 ;
6485 char *kwnames[] = {
6486 (char *) "self", NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 {
6500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6501 }
6502 return resultobj;
6503 fail:
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6509 PyObject *resultobj;
6510 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6511 wxVisualAttributes result;
6512 PyObject * obj0 = 0 ;
6513 char *kwnames[] = {
6514 (char *) "variant", NULL
6515 };
6516
6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6518 if (obj0) {
6519 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 {
6523 if (!wxPyCheckForApp()) SWIG_fail;
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 {
6531 wxVisualAttributes * resultptr;
6532 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6534 }
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6542 PyObject *obj;
6543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6544 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6545 Py_INCREF(obj);
6546 return Py_BuildValue((char *)"");
6547 }
6548 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6551 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6552 wxSplitterEvent *result;
6553 PyObject * obj0 = 0 ;
6554 PyObject * obj1 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "type",(char *) "splitter", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6560 if (obj0) {
6561 arg1 = (wxEventType) SWIG_AsInt(obj0);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 if (obj1) {
6565 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6567 }
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6585 int arg2 ;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self",(char *) "pos", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6595 arg2 = (int) SWIG_AsInt(obj1);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 (arg1)->SetSashPosition(arg2);
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 Py_INCREF(Py_None); resultobj = Py_None;
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj;
6613 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6614 int result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 resultobj = SWIG_FromInt((int)result);
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6640 wxWindow *result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 {
6657 resultobj = wxPyMake_wxObject(result, 0);
6658 }
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6668 int result;
6669 PyObject * obj0 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 resultobj = SWIG_FromInt((int)result);
6685 return resultobj;
6686 fail:
6687 return NULL;
6688 }
6689
6690
6691 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6692 PyObject *resultobj;
6693 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6694 int result;
6695 PyObject * obj0 = 0 ;
6696 char *kwnames[] = {
6697 (char *) "self", NULL
6698 };
6699
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 resultobj = SWIG_FromInt((int)result);
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6718 PyObject *obj;
6719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6720 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6721 Py_INCREF(obj);
6722 return Py_BuildValue((char *)"");
6723 }
6724 static int _wrap_SashNameStr_set(PyObject *_val) {
6725 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6726 return 1;
6727 }
6728
6729
6730 static PyObject *_wrap_SashNameStr_get() {
6731 PyObject *pyobj;
6732
6733 {
6734 #if wxUSE_UNICODE
6735 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6736 #else
6737 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6738 #endif
6739 }
6740 return pyobj;
6741 }
6742
6743
6744 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6745 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6746 return 1;
6747 }
6748
6749
6750 static PyObject *_wrap_SashLayoutNameStr_get() {
6751 PyObject *pyobj;
6752
6753 {
6754 #if wxUSE_UNICODE
6755 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6756 #else
6757 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6758 #endif
6759 }
6760 return pyobj;
6761 }
6762
6763
6764 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxWindow *arg1 = (wxWindow *) 0 ;
6767 int arg2 = (int) -1 ;
6768 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6769 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6770 wxSize const &arg4_defvalue = wxDefaultSize ;
6771 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6772 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6773 wxString const &arg6_defvalue = wxPySashNameStr ;
6774 wxString *arg6 = (wxString *) &arg6_defvalue ;
6775 wxSashWindow *result;
6776 wxPoint temp3 ;
6777 wxSize temp4 ;
6778 bool temp6 = False ;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 PyObject * obj2 = 0 ;
6782 PyObject * obj3 = 0 ;
6783 PyObject * obj4 = 0 ;
6784 PyObject * obj5 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6792 if (obj1) {
6793 arg2 = (int) SWIG_AsInt(obj1);
6794 if (PyErr_Occurred()) SWIG_fail;
6795 }
6796 if (obj2) {
6797 {
6798 arg3 = &temp3;
6799 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6800 }
6801 }
6802 if (obj3) {
6803 {
6804 arg4 = &temp4;
6805 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6806 }
6807 }
6808 if (obj4) {
6809 arg5 = (long) SWIG_AsLong(obj4);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 if (obj5) {
6813 {
6814 arg6 = wxString_in_helper(obj5);
6815 if (arg6 == NULL) SWIG_fail;
6816 temp6 = True;
6817 }
6818 }
6819 {
6820 if (!wxPyCheckForApp()) SWIG_fail;
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6828 {
6829 if (temp6)
6830 delete arg6;
6831 }
6832 return resultobj;
6833 fail:
6834 {
6835 if (temp6)
6836 delete arg6;
6837 }
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxSashWindow *result;
6845 char *kwnames[] = {
6846 NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6850 {
6851 if (!wxPyCheckForApp()) SWIG_fail;
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (wxSashWindow *)new wxSashWindow();
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6868 wxWindow *arg2 = (wxWindow *) 0 ;
6869 int arg3 = (int) -1 ;
6870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6872 wxSize const &arg5_defvalue = wxDefaultSize ;
6873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6874 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6875 wxString const &arg7_defvalue = wxPySashNameStr ;
6876 wxString *arg7 = (wxString *) &arg7_defvalue ;
6877 bool result;
6878 wxPoint temp4 ;
6879 wxSize temp5 ;
6880 bool temp7 = False ;
6881 PyObject * obj0 = 0 ;
6882 PyObject * obj1 = 0 ;
6883 PyObject * obj2 = 0 ;
6884 PyObject * obj3 = 0 ;
6885 PyObject * obj4 = 0 ;
6886 PyObject * obj5 = 0 ;
6887 PyObject * obj6 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 if (obj2) {
6898 arg3 = (int) SWIG_AsInt(obj2);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 if (obj3) {
6902 {
6903 arg4 = &temp4;
6904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6905 }
6906 }
6907 if (obj4) {
6908 {
6909 arg5 = &temp5;
6910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6911 }
6912 }
6913 if (obj5) {
6914 arg6 = (long) SWIG_AsLong(obj5);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 if (obj6) {
6918 {
6919 arg7 = wxString_in_helper(obj6);
6920 if (arg7 == NULL) SWIG_fail;
6921 temp7 = True;
6922 }
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 {
6932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6933 }
6934 {
6935 if (temp7)
6936 delete arg7;
6937 }
6938 return resultobj;
6939 fail:
6940 {
6941 if (temp7)
6942 delete arg7;
6943 }
6944 return NULL;
6945 }
6946
6947
6948 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj;
6950 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6951 int arg2 ;
6952 bool arg3 ;
6953 PyObject * obj0 = 0 ;
6954 PyObject * obj1 = 0 ;
6955 PyObject * obj2 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self",(char *) "edge",(char *) "sash", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6963 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 arg3 = (bool) SWIG_AsBool(obj2);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 Py_INCREF(Py_None); resultobj = Py_None;
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj;
6983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6984 int arg2 ;
6985 bool result;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "self",(char *) "edge", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6995 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 {
7005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7006 }
7007 return resultobj;
7008 fail:
7009 return NULL;
7010 }
7011
7012
7013 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7016 int arg2 ;
7017 bool arg3 ;
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 PyObject * obj2 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "edge",(char *) "border", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7028 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 arg3 = (bool) SWIG_AsBool(obj2);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 Py_INCREF(Py_None); resultobj = Py_None;
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7049 int arg2 ;
7050 bool result;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "edge", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7060 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 {
7070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7071 }
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7081 int arg2 ;
7082 int result;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "self",(char *) "edge", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7092 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 resultobj = SWIG_FromInt((int)result);
7102 return resultobj;
7103 fail:
7104 return NULL;
7105 }
7106
7107
7108 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7111 int arg2 ;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self",(char *) "width", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7121 arg2 = (int) SWIG_AsInt(obj1);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 (arg1)->SetDefaultBorderSize(arg2);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 Py_INCREF(Py_None); resultobj = Py_None;
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7140 int result;
7141 PyObject * obj0 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 resultobj = SWIG_FromInt((int)result);
7157 return resultobj;
7158 fail:
7159 return NULL;
7160 }
7161
7162
7163 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7166 int arg2 ;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "width", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 arg2 = (int) SWIG_AsInt(obj1);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 (arg1)->SetExtraBorderSize(arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 Py_INCREF(Py_None); resultobj = Py_None;
7186 return resultobj;
7187 fail:
7188 return NULL;
7189 }
7190
7191
7192 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7193 PyObject *resultobj;
7194 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7195 int result;
7196 PyObject * obj0 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 resultobj = SWIG_FromInt((int)result);
7212 return resultobj;
7213 fail:
7214 return NULL;
7215 }
7216
7217
7218 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7221 int arg2 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "min", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 arg2 = (int) SWIG_AsInt(obj1);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->SetMinimumSizeX(arg2);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244 }
7245
7246
7247 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7250 int arg2 ;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 char *kwnames[] = {
7254 (char *) "self",(char *) "min", NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7260 arg2 = (int) SWIG_AsInt(obj1);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 (arg1)->SetMinimumSizeY(arg2);
7265
7266 wxPyEndAllowThreads(__tstate);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
7269 Py_INCREF(Py_None); resultobj = Py_None;
7270 return resultobj;
7271 fail:
7272 return NULL;
7273 }
7274
7275
7276 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7279 int result;
7280 PyObject * obj0 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 resultobj = SWIG_FromInt((int)result);
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7305 int result;
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 resultobj = SWIG_FromInt((int)result);
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7331 int arg2 ;
7332 PyObject * obj0 = 0 ;
7333 PyObject * obj1 = 0 ;
7334 char *kwnames[] = {
7335 (char *) "self",(char *) "max", NULL
7336 };
7337
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7341 arg2 = (int) SWIG_AsInt(obj1);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->SetMaximumSizeX(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_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7360 int arg2 ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self",(char *) "max", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7370 arg2 = (int) SWIG_AsInt(obj1);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->SetMaximumSizeY(arg2);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7389 int result;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_FromInt((int)result);
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7415 int result;
7416 PyObject * obj0 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7424 {
7425 PyThreadState* __tstate = wxPyBeginAllowThreads();
7426 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7427
7428 wxPyEndAllowThreads(__tstate);
7429 if (PyErr_Occurred()) SWIG_fail;
7430 }
7431 resultobj = SWIG_FromInt((int)result);
7432 return resultobj;
7433 fail:
7434 return NULL;
7435 }
7436
7437
7438 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7439 PyObject *resultobj;
7440 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7441 int arg2 ;
7442 int arg3 ;
7443 int arg4 = (int) 2 ;
7444 int result;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 PyObject * obj2 = 0 ;
7448 PyObject * obj3 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 arg2 = (int) SWIG_AsInt(obj1);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 arg3 = (int) SWIG_AsInt(obj2);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 if (obj3) {
7461 arg4 = (int) SWIG_AsInt(obj3);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 resultobj = SWIG_FromInt((int)result);
7472 return resultobj;
7473 fail:
7474 return NULL;
7475 }
7476
7477
7478 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7479 PyObject *resultobj;
7480 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 (arg1)->SizeWindows();
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7504 PyObject *obj;
7505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7506 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7507 Py_INCREF(obj);
7508 return Py_BuildValue((char *)"");
7509 }
7510 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj;
7512 int arg1 = (int) 0 ;
7513 int arg2 = (int) wxSASH_NONE ;
7514 wxSashEvent *result;
7515 PyObject * obj0 = 0 ;
7516 PyObject * obj1 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "id",(char *) "edge", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7522 if (obj0) {
7523 arg1 = (int) SWIG_AsInt(obj0);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 if (obj1) {
7527 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7538 return resultobj;
7539 fail:
7540 return NULL;
7541 }
7542
7543
7544 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7547 int arg2 ;
7548 PyObject * obj0 = 0 ;
7549 PyObject * obj1 = 0 ;
7550 char *kwnames[] = {
7551 (char *) "self",(char *) "edge", NULL
7552 };
7553
7554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7557 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 Py_INCREF(Py_None); resultobj = Py_None;
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7576 int result;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 resultobj = SWIG_FromInt((int)result);
7593 return resultobj;
7594 fail:
7595 return NULL;
7596 }
7597
7598
7599 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7602 wxRect *arg2 = 0 ;
7603 wxRect temp2 ;
7604 PyObject * obj0 = 0 ;
7605 PyObject * obj1 = 0 ;
7606 char *kwnames[] = {
7607 (char *) "self",(char *) "rect", NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7613 {
7614 arg2 = &temp2;
7615 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SetDragRect((wxRect const &)*arg2);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7634 wxRect result;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 result = ((wxSashEvent const *)arg1)->GetDragRect();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 {
7651 wxRect * resultptr;
7652 resultptr = new wxRect((wxRect &) result);
7653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7654 }
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7664 int arg2 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self",(char *) "status", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7674 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 Py_INCREF(Py_None); resultobj = Py_None;
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7693 int result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 resultobj = SWIG_FromInt((int)result);
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7717 PyObject *obj;
7718 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7719 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7720 Py_INCREF(obj);
7721 return Py_BuildValue((char *)"");
7722 }
7723 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 int arg1 = (int) 0 ;
7726 wxQueryLayoutInfoEvent *result;
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "id", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7733 if (obj0) {
7734 arg1 = (int) SWIG_AsInt(obj0);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7745 return resultobj;
7746 fail:
7747 return NULL;
7748 }
7749
7750
7751 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7754 int arg2 ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "length", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7764 arg2 = (int) SWIG_AsInt(obj1);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->SetRequestedLength(arg2);
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 return resultobj;
7775 fail:
7776 return NULL;
7777 }
7778
7779
7780 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7783 int result;
7784 PyObject * obj0 = 0 ;
7785 char *kwnames[] = {
7786 (char *) "self", NULL
7787 };
7788
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 resultobj = SWIG_FromInt((int)result);
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7809 int arg2 ;
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "flags", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7819 arg2 = (int) SWIG_AsInt(obj1);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 (arg1)->SetFlags(arg2);
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 Py_INCREF(Py_None); resultobj = Py_None;
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7838 int result;
7839 PyObject * obj0 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 resultobj = SWIG_FromInt((int)result);
7855 return resultobj;
7856 fail:
7857 return NULL;
7858 }
7859
7860
7861 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7862 PyObject *resultobj;
7863 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7864 wxSize *arg2 = 0 ;
7865 wxSize temp2 ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "size", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7875 {
7876 arg2 = &temp2;
7877 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7878 }
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->SetSize((wxSize const &)*arg2);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 Py_INCREF(Py_None); resultobj = Py_None;
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7896 wxSize result;
7897 PyObject * obj0 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 {
7913 wxSize * resultptr;
7914 resultptr = new wxSize((wxSize &) result);
7915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7916 }
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7926 int arg2 ;
7927 PyObject * obj0 = 0 ;
7928 PyObject * obj1 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self",(char *) "orient", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7936 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 Py_INCREF(Py_None); resultobj = Py_None;
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7955 int result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 resultobj = SWIG_FromInt((int)result);
7972 return resultobj;
7973 fail:
7974 return NULL;
7975 }
7976
7977
7978 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7981 int arg2 ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "align", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7991 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
8010 int result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
8018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 resultobj = SWIG_FromInt((int)result);
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
8034 PyObject *obj;
8035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8036 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
8037 Py_INCREF(obj);
8038 return Py_BuildValue((char *)"");
8039 }
8040 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 int arg1 = (int) 0 ;
8043 wxCalculateLayoutEvent *result;
8044 PyObject * obj0 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "id", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
8050 if (obj0) {
8051 arg1 = (int) SWIG_AsInt(obj0);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8071 int arg2 ;
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self",(char *) "flags", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8081 arg2 = (int) SWIG_AsInt(obj1);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 (arg1)->SetFlags(arg2);
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 Py_INCREF(Py_None); resultobj = Py_None;
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8100 int result;
8101 PyObject * obj0 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "self", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 resultobj = SWIG_FromInt((int)result);
8117 return resultobj;
8118 fail:
8119 return NULL;
8120 }
8121
8122
8123 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8126 wxRect *arg2 = 0 ;
8127 wxRect temp2 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "rect", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8137 {
8138 arg2 = &temp2;
8139 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8140 }
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->SetRect((wxRect const &)*arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152 }
8153
8154
8155 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8158 wxRect result;
8159 PyObject * obj0 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 {
8175 wxRect * resultptr;
8176 resultptr = new wxRect((wxRect &) result);
8177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8178 }
8179 return resultobj;
8180 fail:
8181 return NULL;
8182 }
8183
8184
8185 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8186 PyObject *obj;
8187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8188 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8189 Py_INCREF(obj);
8190 return Py_BuildValue((char *)"");
8191 }
8192 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxWindow *arg1 = (wxWindow *) 0 ;
8195 int arg2 = (int) -1 ;
8196 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8197 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8198 wxSize const &arg4_defvalue = wxDefaultSize ;
8199 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8200 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8201 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8202 wxString *arg6 = (wxString *) &arg6_defvalue ;
8203 wxSashLayoutWindow *result;
8204 wxPoint temp3 ;
8205 wxSize temp4 ;
8206 bool temp6 = False ;
8207 PyObject * obj0 = 0 ;
8208 PyObject * obj1 = 0 ;
8209 PyObject * obj2 = 0 ;
8210 PyObject * obj3 = 0 ;
8211 PyObject * obj4 = 0 ;
8212 PyObject * obj5 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8220 if (obj1) {
8221 arg2 = (int) SWIG_AsInt(obj1);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 if (obj2) {
8225 {
8226 arg3 = &temp3;
8227 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8228 }
8229 }
8230 if (obj3) {
8231 {
8232 arg4 = &temp4;
8233 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8234 }
8235 }
8236 if (obj4) {
8237 arg5 = (long) SWIG_AsLong(obj4);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 }
8240 if (obj5) {
8241 {
8242 arg6 = wxString_in_helper(obj5);
8243 if (arg6 == NULL) SWIG_fail;
8244 temp6 = True;
8245 }
8246 }
8247 {
8248 if (!wxPyCheckForApp()) SWIG_fail;
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8256 {
8257 if (temp6)
8258 delete arg6;
8259 }
8260 return resultobj;
8261 fail:
8262 {
8263 if (temp6)
8264 delete arg6;
8265 }
8266 return NULL;
8267 }
8268
8269
8270 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxSashLayoutWindow *result;
8273 char *kwnames[] = {
8274 NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8278 {
8279 if (!wxPyCheckForApp()) SWIG_fail;
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8296 wxWindow *arg2 = (wxWindow *) 0 ;
8297 int arg3 = (int) -1 ;
8298 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8299 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8300 wxSize const &arg5_defvalue = wxDefaultSize ;
8301 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8302 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8303 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8304 wxString *arg7 = (wxString *) &arg7_defvalue ;
8305 bool result;
8306 wxPoint temp4 ;
8307 wxSize temp5 ;
8308 bool temp7 = False ;
8309 PyObject * obj0 = 0 ;
8310 PyObject * obj1 = 0 ;
8311 PyObject * obj2 = 0 ;
8312 PyObject * obj3 = 0 ;
8313 PyObject * obj4 = 0 ;
8314 PyObject * obj5 = 0 ;
8315 PyObject * obj6 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 if (obj2) {
8326 arg3 = (int) SWIG_AsInt(obj2);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 if (obj3) {
8330 {
8331 arg4 = &temp4;
8332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8333 }
8334 }
8335 if (obj4) {
8336 {
8337 arg5 = &temp5;
8338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8339 }
8340 }
8341 if (obj5) {
8342 arg6 = (long) SWIG_AsLong(obj5);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 if (obj6) {
8346 {
8347 arg7 = wxString_in_helper(obj6);
8348 if (arg7 == NULL) SWIG_fail;
8349 temp7 = True;
8350 }
8351 }
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) SWIG_fail;
8358 }
8359 {
8360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8361 }
8362 {
8363 if (temp7)
8364 delete arg7;
8365 }
8366 return resultobj;
8367 fail:
8368 {
8369 if (temp7)
8370 delete arg7;
8371 }
8372 return NULL;
8373 }
8374
8375
8376 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8377 PyObject *resultobj;
8378 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8379 int result;
8380 PyObject * obj0 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (int)(arg1)->GetAlignment();
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = SWIG_FromInt((int)result);
8396 return resultobj;
8397 fail:
8398 return NULL;
8399 }
8400
8401
8402 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8403 PyObject *resultobj;
8404 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8405 int result;
8406 PyObject * obj0 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (int)(arg1)->GetOrientation();
8417
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 resultobj = SWIG_FromInt((int)result);
8422 return resultobj;
8423 fail:
8424 return NULL;
8425 }
8426
8427
8428 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8431 int arg2 ;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "alignment", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8460 wxSize *arg2 = 0 ;
8461 wxSize temp2 ;
8462 PyObject * obj0 = 0 ;
8463 PyObject * obj1 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "size", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8471 {
8472 arg2 = &temp2;
8473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8474 }
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 Py_INCREF(Py_None); resultobj = Py_None;
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8492 int arg2 ;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 char *kwnames[] = {
8496 (char *) "self",(char *) "orientation", NULL
8497 };
8498
8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8502 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8503 if (PyErr_Occurred()) SWIG_fail;
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 return resultobj;
8513 fail:
8514 return NULL;
8515 }
8516
8517
8518 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8519 PyObject *obj;
8520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8522 Py_INCREF(obj);
8523 return Py_BuildValue((char *)"");
8524 }
8525 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 wxLayoutAlgorithm *result;
8528 char *kwnames[] = {
8529 NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8541 return resultobj;
8542 fail:
8543 return NULL;
8544 }
8545
8546
8547 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8550 PyObject * obj0 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8558 {
8559 PyThreadState* __tstate = wxPyBeginAllowThreads();
8560 delete arg1;
8561
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 Py_INCREF(Py_None); resultobj = Py_None;
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8575 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8576 wxRect *arg3 = (wxRect *) NULL ;
8577 bool result;
8578 PyObject * obj0 = 0 ;
8579 PyObject * obj1 = 0 ;
8580 PyObject * obj2 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self",(char *) "frame",(char *) "rect", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8590 if (obj2) {
8591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 {
8602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8603 }
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8613 wxFrame *arg2 = (wxFrame *) 0 ;
8614 wxWindow *arg3 = (wxWindow *) NULL ;
8615 bool result;
8616 PyObject * obj0 = 0 ;
8617 PyObject * obj1 = 0 ;
8618 PyObject * obj2 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8626 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8628 if (obj2) {
8629 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 {
8640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8641 }
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj;
8650 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8651 wxWindow *arg2 = (wxWindow *) 0 ;
8652 wxWindow *arg3 = (wxWindow *) NULL ;
8653 bool result;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8666 if (obj2) {
8667 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8669 }
8670 {
8671 PyThreadState* __tstate = wxPyBeginAllowThreads();
8672 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8673
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 {
8678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8679 }
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8687 PyObject *obj;
8688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8690 Py_INCREF(obj);
8691 return Py_BuildValue((char *)"");
8692 }
8693 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxWindow *arg1 = (wxWindow *) 0 ;
8696 int arg2 = (int) wxBORDER_NONE ;
8697 wxPopupWindow *result;
8698 PyObject * obj0 = 0 ;
8699 PyObject * obj1 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "parent",(char *) "flags", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8707 if (obj1) {
8708 arg2 = (int) SWIG_AsInt(obj1);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 {
8712 if (!wxPyCheckForApp()) SWIG_fail;
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxPopupWindow *result;
8729 char *kwnames[] = {
8730 NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8734 {
8735 if (!wxPyCheckForApp()) SWIG_fail;
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (wxPopupWindow *)new wxPopupWindow();
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8743 return resultobj;
8744 fail:
8745 return NULL;
8746 }
8747
8748
8749 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8750 PyObject *resultobj;
8751 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8752 wxWindow *arg2 = (wxWindow *) 0 ;
8753 int arg3 = (int) wxBORDER_NONE ;
8754 bool result;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 PyObject * obj2 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "parent",(char *) "flags", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8767 if (obj2) {
8768 arg3 = (int) SWIG_AsInt(obj2);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)(arg1)->Create(arg2,arg3);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 {
8779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8780 }
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8790 wxPoint *arg2 = 0 ;
8791 wxSize *arg3 = 0 ;
8792 wxPoint temp2 ;
8793 wxSize temp3 ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj2 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8804 {
8805 arg2 = &temp2;
8806 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8807 }
8808 {
8809 arg3 = &temp3;
8810 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 Py_INCREF(Py_None); resultobj = Py_None;
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8827 PyObject *obj;
8828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8829 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8830 Py_INCREF(obj);
8831 return Py_BuildValue((char *)"");
8832 }
8833 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8834 PyObject *resultobj;
8835 wxWindow *arg1 = (wxWindow *) 0 ;
8836 int arg2 = (int) wxBORDER_NONE ;
8837 wxPyPopupTransientWindow *result;
8838 PyObject * obj0 = 0 ;
8839 PyObject * obj1 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "parent",(char *) "style", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8847 if (obj1) {
8848 arg2 = (int) SWIG_AsInt(obj1);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 {
8852 if (!wxPyCheckForApp()) SWIG_fail;
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxPyPopupTransientWindow *result;
8869 char *kwnames[] = {
8870 NULL
8871 };
8872
8873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8874 {
8875 if (!wxPyCheckForApp()) SWIG_fail;
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8878
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8892 PyObject *arg2 = (PyObject *) 0 ;
8893 PyObject *arg3 = (PyObject *) 0 ;
8894 PyObject * obj0 = 0 ;
8895 PyObject * obj1 = 0 ;
8896 PyObject * obj2 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self",(char *) "self",(char *) "_class", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8904 arg2 = obj1;
8905 arg3 = obj2;
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->_setCallbackInfo(arg2,arg3);
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8923 wxWindow *arg2 = (wxWindow *) NULL ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "focus", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8933 if (obj1) {
8934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8936 }
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 (arg1)->Popup(arg2);
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 Py_INCREF(Py_None); resultobj = Py_None;
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8954 PyObject * obj0 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8962 {
8963 PyThreadState* __tstate = wxPyBeginAllowThreads();
8964 (arg1)->Dismiss();
8965
8966 wxPyEndAllowThreads(__tstate);
8967 if (PyErr_Occurred()) SWIG_fail;
8968 }
8969 Py_INCREF(Py_None); resultobj = Py_None;
8970 return resultobj;
8971 fail:
8972 return NULL;
8973 }
8974
8975
8976 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8977 PyObject *obj;
8978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8979 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8980 Py_INCREF(obj);
8981 return Py_BuildValue((char *)"");
8982 }
8983 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj;
8985 wxWindow *arg1 = (wxWindow *) 0 ;
8986 wxString *arg2 = 0 ;
8987 int arg3 = (int) 100 ;
8988 wxRect *arg4 = (wxRect *) NULL ;
8989 wxTipWindow *result;
8990 bool temp2 = False ;
8991 PyObject * obj0 = 0 ;
8992 PyObject * obj1 = 0 ;
8993 PyObject * obj2 = 0 ;
8994 PyObject * obj3 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9002 {
9003 arg2 = wxString_in_helper(obj1);
9004 if (arg2 == NULL) SWIG_fail;
9005 temp2 = True;
9006 }
9007 if (obj2) {
9008 arg3 = (int) SWIG_AsInt(obj2);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 if (obj3) {
9012 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
9013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9014 }
9015 {
9016 if (!wxPyCheckForApp()) SWIG_fail;
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
9024 {
9025 if (temp2)
9026 delete arg2;
9027 }
9028 return resultobj;
9029 fail:
9030 {
9031 if (temp2)
9032 delete arg2;
9033 }
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9041 wxRect *arg2 = 0 ;
9042 wxRect temp2 ;
9043 PyObject * obj0 = 0 ;
9044 PyObject * obj1 = 0 ;
9045 char *kwnames[] = {
9046 (char *) "self",(char *) "rectBound", NULL
9047 };
9048
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9052 {
9053 arg2 = &temp2;
9054 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9055 }
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->SetBoundingRect((wxRect const &)*arg2);
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 Py_INCREF(Py_None); resultobj = Py_None;
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->Close();
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9096 PyObject *obj;
9097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9098 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9099 Py_INCREF(obj);
9100 return Py_BuildValue((char *)"");
9101 }
9102 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxWindow *arg1 = (wxWindow *) 0 ;
9105 int arg2 = (int) wxID_ANY ;
9106 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9107 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9108 wxSize const &arg4_defvalue = wxDefaultSize ;
9109 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9110 long arg5 = (long) 0 ;
9111 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9112 wxString *arg6 = (wxString *) &arg6_defvalue ;
9113 wxPyVScrolledWindow *result;
9114 wxPoint temp3 ;
9115 wxSize temp4 ;
9116 bool temp6 = False ;
9117 PyObject * obj0 = 0 ;
9118 PyObject * obj1 = 0 ;
9119 PyObject * obj2 = 0 ;
9120 PyObject * obj3 = 0 ;
9121 PyObject * obj4 = 0 ;
9122 PyObject * obj5 = 0 ;
9123 char *kwnames[] = {
9124 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9125 };
9126
9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9130 if (obj1) {
9131 arg2 = (int) SWIG_AsInt(obj1);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 if (obj2) {
9135 {
9136 arg3 = &temp3;
9137 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9138 }
9139 }
9140 if (obj3) {
9141 {
9142 arg4 = &temp4;
9143 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9144 }
9145 }
9146 if (obj4) {
9147 arg5 = (long) SWIG_AsLong(obj4);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 if (obj5) {
9151 {
9152 arg6 = wxString_in_helper(obj5);
9153 if (arg6 == NULL) SWIG_fail;
9154 temp6 = True;
9155 }
9156 }
9157 {
9158 if (!wxPyCheckForApp()) SWIG_fail;
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9166 {
9167 if (temp6)
9168 delete arg6;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp6)
9174 delete arg6;
9175 }
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxPyVScrolledWindow *result;
9183 char *kwnames[] = {
9184 NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9188 {
9189 if (!wxPyCheckForApp()) SWIG_fail;
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj;
9205 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9206 PyObject *arg2 = (PyObject *) 0 ;
9207 PyObject *arg3 = (PyObject *) 0 ;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 PyObject * obj2 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self",(char *) "self",(char *) "_class", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9218 arg2 = obj1;
9219 arg3 = obj2;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 (arg1)->_setCallbackInfo(arg2,arg3);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 Py_INCREF(Py_None); resultobj = Py_None;
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9237 wxWindow *arg2 = (wxWindow *) 0 ;
9238 int arg3 = (int) wxID_ANY ;
9239 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9240 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9241 wxSize const &arg5_defvalue = wxDefaultSize ;
9242 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9243 long arg6 = (long) 0 ;
9244 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9245 wxString *arg7 = (wxString *) &arg7_defvalue ;
9246 bool result;
9247 wxPoint temp4 ;
9248 wxSize temp5 ;
9249 bool temp7 = False ;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 PyObject * obj2 = 0 ;
9253 PyObject * obj3 = 0 ;
9254 PyObject * obj4 = 0 ;
9255 PyObject * obj5 = 0 ;
9256 PyObject * obj6 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9266 if (obj2) {
9267 arg3 = (int) SWIG_AsInt(obj2);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 if (obj3) {
9271 {
9272 arg4 = &temp4;
9273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9274 }
9275 }
9276 if (obj4) {
9277 {
9278 arg5 = &temp5;
9279 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9280 }
9281 }
9282 if (obj5) {
9283 arg6 = (long) SWIG_AsLong(obj5);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 if (obj6) {
9287 {
9288 arg7 = wxString_in_helper(obj6);
9289 if (arg7 == NULL) SWIG_fail;
9290 temp7 = True;
9291 }
9292 }
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 {
9301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9302 }
9303 {
9304 if (temp7)
9305 delete arg7;
9306 }
9307 return resultobj;
9308 fail:
9309 {
9310 if (temp7)
9311 delete arg7;
9312 }
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9320 size_t arg2 ;
9321 PyObject * obj0 = 0 ;
9322 PyObject * obj1 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self",(char *) "count", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9330 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 (arg1)->SetLineCount(arg2);
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 Py_INCREF(Py_None); resultobj = Py_None;
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9349 size_t arg2 ;
9350 bool result;
9351 PyObject * obj0 = 0 ;
9352 PyObject * obj1 = 0 ;
9353 char *kwnames[] = {
9354 (char *) "self",(char *) "line", NULL
9355 };
9356
9357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9360 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 result = (bool)(arg1)->ScrollToLine(arg2);
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 {
9370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9371 }
9372 return resultobj;
9373 fail:
9374 return NULL;
9375 }
9376
9377
9378 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9381 int arg2 ;
9382 bool result;
9383 PyObject * obj0 = 0 ;
9384 PyObject * obj1 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self",(char *) "lines", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9392 arg2 = (int) SWIG_AsInt(obj1);
9393 if (PyErr_Occurred()) SWIG_fail;
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = (bool)(arg1)->ScrollLines(arg2);
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 {
9402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9403 }
9404 return resultobj;
9405 fail:
9406 return NULL;
9407 }
9408
9409
9410 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9413 int arg2 ;
9414 bool result;
9415 PyObject * obj0 = 0 ;
9416 PyObject * obj1 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "pages", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9424 arg2 = (int) SWIG_AsInt(obj1);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (bool)(arg1)->ScrollPages(arg2);
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 {
9434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9435 }
9436 return resultobj;
9437 fail:
9438 return NULL;
9439 }
9440
9441
9442 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9445 size_t arg2 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "line", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9455 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 (arg1)->RefreshLine(arg2);
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9474 size_t arg2 ;
9475 size_t arg3 ;
9476 PyObject * obj0 = 0 ;
9477 PyObject * obj1 = 0 ;
9478 PyObject * obj2 = 0 ;
9479 char *kwnames[] = {
9480 (char *) "self",(char *) "from",(char *) "to", NULL
9481 };
9482
9483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9486 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 (arg1)->RefreshLines(arg2,arg3);
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 Py_INCREF(Py_None); resultobj = Py_None;
9498 return resultobj;
9499 fail:
9500 return NULL;
9501 }
9502
9503
9504 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9505 PyObject *resultobj;
9506 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9507 int arg2 ;
9508 int arg3 ;
9509 int result;
9510 PyObject * obj0 = 0 ;
9511 PyObject * obj1 = 0 ;
9512 PyObject * obj2 = 0 ;
9513 char *kwnames[] = {
9514 (char *) "self",(char *) "x",(char *) "y", NULL
9515 };
9516
9517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9520 arg2 = (int) SWIG_AsInt(obj1);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 arg3 = (int) SWIG_AsInt(obj2);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 resultobj = SWIG_FromInt((int)result);
9532 return resultobj;
9533 fail:
9534 return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9541 wxPoint *arg2 = 0 ;
9542 int result;
9543 wxPoint temp2 ;
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self",(char *) "pt", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9553 {
9554 arg2 = &temp2;
9555 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9556 }
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 resultobj = SWIG_FromInt((int)result);
9565 return resultobj;
9566 fail:
9567 return NULL;
9568 }
9569
9570
9571 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9574 PyObject * obj0 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 (arg1)->RefreshAll();
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 Py_INCREF(Py_None); resultobj = Py_None;
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9599 size_t result;
9600 PyObject * obj0 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9625 size_t result;
9626 PyObject * obj0 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9634 {
9635 PyThreadState* __tstate = wxPyBeginAllowThreads();
9636 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9637
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9651 size_t result;
9652 PyObject * obj0 = 0 ;
9653 char *kwnames[] = {
9654 (char *) "self", NULL
9655 };
9656
9657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9663
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9668 return resultobj;
9669 fail:
9670 return NULL;
9671 }
9672
9673
9674 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9675 PyObject *resultobj;
9676 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9677 size_t arg2 ;
9678 bool result;
9679 PyObject * obj0 = 0 ;
9680 PyObject * obj1 = 0 ;
9681 char *kwnames[] = {
9682 (char *) "self",(char *) "line", NULL
9683 };
9684
9685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9688 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 {
9698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9699 }
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9707 PyObject *obj;
9708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9709 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9710 Py_INCREF(obj);
9711 return Py_BuildValue((char *)"");
9712 }
9713 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9714 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9715 return 1;
9716 }
9717
9718
9719 static PyObject *_wrap_VListBoxNameStr_get() {
9720 PyObject *pyobj;
9721
9722 {
9723 #if wxUSE_UNICODE
9724 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9725 #else
9726 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9727 #endif
9728 }
9729 return pyobj;
9730 }
9731
9732
9733 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxWindow *arg1 = (wxWindow *) 0 ;
9736 int arg2 = (int) wxID_ANY ;
9737 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9738 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9739 wxSize const &arg4_defvalue = wxDefaultSize ;
9740 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9741 long arg5 = (long) 0 ;
9742 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9743 wxString *arg6 = (wxString *) &arg6_defvalue ;
9744 wxPyVListBox *result;
9745 wxPoint temp3 ;
9746 wxSize temp4 ;
9747 bool temp6 = False ;
9748 PyObject * obj0 = 0 ;
9749 PyObject * obj1 = 0 ;
9750 PyObject * obj2 = 0 ;
9751 PyObject * obj3 = 0 ;
9752 PyObject * obj4 = 0 ;
9753 PyObject * obj5 = 0 ;
9754 char *kwnames[] = {
9755 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9756 };
9757
9758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9761 if (obj1) {
9762 arg2 = (int) SWIG_AsInt(obj1);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 if (obj2) {
9766 {
9767 arg3 = &temp3;
9768 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9769 }
9770 }
9771 if (obj3) {
9772 {
9773 arg4 = &temp4;
9774 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9775 }
9776 }
9777 if (obj4) {
9778 arg5 = (long) SWIG_AsLong(obj4);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 if (obj5) {
9782 {
9783 arg6 = wxString_in_helper(obj5);
9784 if (arg6 == NULL) SWIG_fail;
9785 temp6 = True;
9786 }
9787 }
9788 {
9789 if (!wxPyCheckForApp()) SWIG_fail;
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9797 {
9798 if (temp6)
9799 delete arg6;
9800 }
9801 return resultobj;
9802 fail:
9803 {
9804 if (temp6)
9805 delete arg6;
9806 }
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxPyVListBox *result;
9814 char *kwnames[] = {
9815 NULL
9816 };
9817
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9819 {
9820 if (!wxPyCheckForApp()) SWIG_fail;
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (wxPyVListBox *)new wxPyVListBox();
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9837 PyObject *arg2 = (PyObject *) 0 ;
9838 PyObject *arg3 = (PyObject *) 0 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "self",(char *) "_class", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9849 arg2 = obj1;
9850 arg3 = obj2;
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 (arg1)->_setCallbackInfo(arg2,arg3);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 Py_INCREF(Py_None); resultobj = Py_None;
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj;
9867 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9868 wxWindow *arg2 = (wxWindow *) 0 ;
9869 int arg3 = (int) wxID_ANY ;
9870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9872 wxSize const &arg5_defvalue = wxDefaultSize ;
9873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9874 long arg6 = (long) 0 ;
9875 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9876 wxString *arg7 = (wxString *) &arg7_defvalue ;
9877 bool result;
9878 wxPoint temp4 ;
9879 wxSize temp5 ;
9880 bool temp7 = False ;
9881 PyObject * obj0 = 0 ;
9882 PyObject * obj1 = 0 ;
9883 PyObject * obj2 = 0 ;
9884 PyObject * obj3 = 0 ;
9885 PyObject * obj4 = 0 ;
9886 PyObject * obj5 = 0 ;
9887 PyObject * obj6 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 if (obj2) {
9898 arg3 = (int) SWIG_AsInt(obj2);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 if (obj3) {
9902 {
9903 arg4 = &temp4;
9904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9905 }
9906 }
9907 if (obj4) {
9908 {
9909 arg5 = &temp5;
9910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9911 }
9912 }
9913 if (obj5) {
9914 arg6 = (long) SWIG_AsLong(obj5);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 if (obj6) {
9918 {
9919 arg7 = wxString_in_helper(obj6);
9920 if (arg7 == NULL) SWIG_fail;
9921 temp7 = True;
9922 }
9923 }
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
9926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 {
9932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9933 }
9934 {
9935 if (temp7)
9936 delete arg7;
9937 }
9938 return resultobj;
9939 fail:
9940 {
9941 if (temp7)
9942 delete arg7;
9943 }
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9951 size_t result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9968 return resultobj;
9969 fail:
9970 return NULL;
9971 }
9972
9973
9974 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9977 bool result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9986 {
9987 PyThreadState* __tstate = wxPyBeginAllowThreads();
9988 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9989
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 {
9994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9995 }
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10005 int result;
10006 PyObject * obj0 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
10012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 resultobj = SWIG_FromInt((int)result);
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10031 size_t arg2 ;
10032 bool result;
10033 PyObject * obj0 = 0 ;
10034 PyObject * obj1 = 0 ;
10035 char *kwnames[] = {
10036 (char *) "self",(char *) "item", NULL
10037 };
10038
10039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
10040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10042 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 {
10052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10053 }
10054 return resultobj;
10055 fail:
10056 return NULL;
10057 }
10058
10059
10060 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj;
10062 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10063 size_t arg2 ;
10064 bool result;
10065 PyObject * obj0 = 0 ;
10066 PyObject * obj1 = 0 ;
10067 char *kwnames[] = {
10068 (char *) "self",(char *) "item", NULL
10069 };
10070
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
10072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10074 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 {
10084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10085 }
10086 return resultobj;
10087 fail:
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10095 size_t result;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10121 PyObject *result;
10122 PyObject * obj0 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 resultobj = result;
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10147 unsigned long arg2 ;
10148 PyObject *result;
10149 PyObject * obj0 = 0 ;
10150 PyObject * obj1 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self",(char *) "cookie", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10158 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 resultobj = result;
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10177 wxPoint result;
10178 PyObject * obj0 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = ((wxPyVListBox const *)arg1)->GetMargins();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 {
10194 wxPoint * resultptr;
10195 resultptr = new wxPoint((wxPoint &) result);
10196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10197 }
10198 return resultobj;
10199 fail:
10200 return NULL;
10201 }
10202
10203
10204 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10207 wxColour *result;
10208 PyObject * obj0 = 0 ;
10209 char *kwnames[] = {
10210 (char *) "self", NULL
10211 };
10212
10213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 {
10219 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10220 result = (wxColour *) &_result_ref;
10221 }
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10236 size_t arg2 ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 char *kwnames[] = {
10240 (char *) "self",(char *) "count", NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10246 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 (arg1)->SetItemCount(arg2);
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 Py_INCREF(Py_None); resultobj = Py_None;
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj;
10264 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 (arg1)->Clear();
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 Py_INCREF(Py_None); resultobj = Py_None;
10281 return resultobj;
10282 fail:
10283 return NULL;
10284 }
10285
10286
10287 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10290 int arg2 ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj1 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self",(char *) "selection", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10300 arg2 = (int) SWIG_AsInt(obj1);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 {
10303 PyThreadState* __tstate = wxPyBeginAllowThreads();
10304 (arg1)->SetSelection(arg2);
10305
10306 wxPyEndAllowThreads(__tstate);
10307 if (PyErr_Occurred()) SWIG_fail;
10308 }
10309 Py_INCREF(Py_None); resultobj = Py_None;
10310 return resultobj;
10311 fail:
10312 return NULL;
10313 }
10314
10315
10316 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10317 PyObject *resultobj;
10318 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10319 size_t arg2 ;
10320 bool arg3 = (bool) True ;
10321 bool result;
10322 PyObject * obj0 = 0 ;
10323 PyObject * obj1 = 0 ;
10324 PyObject * obj2 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "item",(char *) "select", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10332 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 if (obj2) {
10335 arg3 = (bool) SWIG_AsBool(obj2);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (bool)(arg1)->Select(arg2,arg3);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 {
10346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10347 }
10348 return resultobj;
10349 fail:
10350 return NULL;
10351 }
10352
10353
10354 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj;
10356 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10357 size_t arg2 ;
10358 size_t arg3 ;
10359 bool result;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 PyObject * obj2 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self",(char *) "from",(char *) "to", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10370 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 result = (bool)(arg1)->SelectRange(arg2,arg3);
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 {
10382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10383 }
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10393 size_t arg2 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "item", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10403 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->Toggle(arg2);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10422 bool result;
10423 PyObject * obj0 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (bool)(arg1)->SelectAll();
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 {
10439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10440 }
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10450 bool result;
10451 PyObject * obj0 = 0 ;
10452 char *kwnames[] = {
10453 (char *) "self", NULL
10454 };
10455
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 result = (bool)(arg1)->DeselectAll();
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 {
10467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10478 wxPoint *arg2 = 0 ;
10479 wxPoint temp2 ;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self",(char *) "pt", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10489 {
10490 arg2 = &temp2;
10491 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10492 }
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->SetMargins((wxPoint const &)*arg2);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 return resultobj;
10502 fail:
10503 return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10510 int arg2 ;
10511 int arg3 ;
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 PyObject * obj2 = 0 ;
10515 char *kwnames[] = {
10516 (char *) "self",(char *) "x",(char *) "y", NULL
10517 };
10518
10519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10522 arg2 = (int) SWIG_AsInt(obj1);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 arg3 = (int) SWIG_AsInt(obj2);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 (arg1)->SetMargins(arg2,arg3);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10543 wxColour *arg2 = 0 ;
10544 wxColour temp2 ;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self",(char *) "col", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10554 {
10555 arg2 = &temp2;
10556 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10557 }
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 Py_INCREF(Py_None); resultobj = Py_None;
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10573 PyObject *obj;
10574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10575 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10576 Py_INCREF(obj);
10577 return Py_BuildValue((char *)"");
10578 }
10579 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxWindow *arg1 = (wxWindow *) 0 ;
10582 int arg2 = (int) wxID_ANY ;
10583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10585 wxSize const &arg4_defvalue = wxDefaultSize ;
10586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10587 long arg5 = (long) 0 ;
10588 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10589 wxString *arg6 = (wxString *) &arg6_defvalue ;
10590 wxPyHtmlListBox *result;
10591 wxPoint temp3 ;
10592 wxSize temp4 ;
10593 bool temp6 = False ;
10594 PyObject * obj0 = 0 ;
10595 PyObject * obj1 = 0 ;
10596 PyObject * obj2 = 0 ;
10597 PyObject * obj3 = 0 ;
10598 PyObject * obj4 = 0 ;
10599 PyObject * obj5 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10607 if (obj1) {
10608 arg2 = (int) SWIG_AsInt(obj1);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 if (obj2) {
10612 {
10613 arg3 = &temp3;
10614 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10615 }
10616 }
10617 if (obj3) {
10618 {
10619 arg4 = &temp4;
10620 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10621 }
10622 }
10623 if (obj4) {
10624 arg5 = (long) SWIG_AsLong(obj4);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 if (obj5) {
10628 {
10629 arg6 = wxString_in_helper(obj5);
10630 if (arg6 == NULL) SWIG_fail;
10631 temp6 = True;
10632 }
10633 }
10634 {
10635 if (!wxPyCheckForApp()) SWIG_fail;
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10643 {
10644 if (temp6)
10645 delete arg6;
10646 }
10647 return resultobj;
10648 fail:
10649 {
10650 if (temp6)
10651 delete arg6;
10652 }
10653 return NULL;
10654 }
10655
10656
10657 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10658 PyObject *resultobj;
10659 wxPyHtmlListBox *result;
10660 char *kwnames[] = {
10661 NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10665 {
10666 if (!wxPyCheckForApp()) SWIG_fail;
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10683 PyObject *arg2 = (PyObject *) 0 ;
10684 PyObject *arg3 = (PyObject *) 0 ;
10685 PyObject * obj0 = 0 ;
10686 PyObject * obj1 = 0 ;
10687 PyObject * obj2 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self",(char *) "self",(char *) "_class", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10695 arg2 = obj1;
10696 arg3 = obj2;
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 (arg1)->_setCallbackInfo(arg2,arg3);
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 Py_INCREF(Py_None); resultobj = Py_None;
10705 return resultobj;
10706 fail:
10707 return NULL;
10708 }
10709
10710
10711 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj;
10713 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10714 wxWindow *arg2 = (wxWindow *) 0 ;
10715 int arg3 = (int) wxID_ANY ;
10716 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10717 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10718 wxSize const &arg5_defvalue = wxDefaultSize ;
10719 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10720 long arg6 = (long) 0 ;
10721 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10722 wxString *arg7 = (wxString *) &arg7_defvalue ;
10723 bool result;
10724 wxPoint temp4 ;
10725 wxSize temp5 ;
10726 bool temp7 = False ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 PyObject * obj2 = 0 ;
10730 PyObject * obj3 = 0 ;
10731 PyObject * obj4 = 0 ;
10732 PyObject * obj5 = 0 ;
10733 PyObject * obj6 = 0 ;
10734 char *kwnames[] = {
10735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10736 };
10737
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10743 if (obj2) {
10744 arg3 = (int) SWIG_AsInt(obj2);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 if (obj3) {
10748 {
10749 arg4 = &temp4;
10750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10751 }
10752 }
10753 if (obj4) {
10754 {
10755 arg5 = &temp5;
10756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10757 }
10758 }
10759 if (obj5) {
10760 arg6 = (long) SWIG_AsLong(obj5);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 if (obj6) {
10764 {
10765 arg7 = wxString_in_helper(obj6);
10766 if (arg7 == NULL) SWIG_fail;
10767 temp7 = True;
10768 }
10769 }
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 {
10778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10779 }
10780 {
10781 if (temp7)
10782 delete arg7;
10783 }
10784 return resultobj;
10785 fail:
10786 {
10787 if (temp7)
10788 delete arg7;
10789 }
10790 return NULL;
10791 }
10792
10793
10794 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10797 PyObject * obj0 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->RefreshAll();
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10822 size_t arg2 ;
10823 PyObject * obj0 = 0 ;
10824 PyObject * obj1 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self",(char *) "count", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10832 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 (arg1)->SetItemCount(arg2);
10837
10838 wxPyEndAllowThreads(__tstate);
10839 if (PyErr_Occurred()) SWIG_fail;
10840 }
10841 Py_INCREF(Py_None); resultobj = Py_None;
10842 return resultobj;
10843 fail:
10844 return NULL;
10845 }
10846
10847
10848 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10849 PyObject *resultobj;
10850 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10851 wxFileSystem *result;
10852 PyObject * obj0 = 0 ;
10853 char *kwnames[] = {
10854 (char *) "self", NULL
10855 };
10856
10857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 {
10863 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10864 result = (wxFileSystem *) &_result_ref;
10865 }
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10871 return resultobj;
10872 fail:
10873 return NULL;
10874 }
10875
10876
10877 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10878 PyObject *obj;
10879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10880 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10881 Py_INCREF(obj);
10882 return Py_BuildValue((char *)"");
10883 }
10884 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10885 PyObject *resultobj;
10886 wxTaskBarIcon *result;
10887 char *kwnames[] = {
10888 NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10892 {
10893 if (!wxPyCheckForApp()) SWIG_fail;
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10896
10897 wxPyEndAllowThreads(__tstate);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
10900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj;
10909 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10910 PyObject * obj0 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "self", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 delete arg1;
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 Py_INCREF(Py_None); resultobj = Py_None;
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10935 PyObject * obj0 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 wxTaskBarIcon_Destroy(arg1);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 Py_INCREF(Py_None); resultobj = Py_None;
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10960 bool result;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 {
10977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10978 }
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10988 bool result;
10989 PyObject * obj0 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 {
11005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11006 }
11007 return resultobj;
11008 fail:
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11016 wxIcon *arg2 = 0 ;
11017 wxString const &arg3_defvalue = wxPyEmptyString ;
11018 wxString *arg3 = (wxString *) &arg3_defvalue ;
11019 bool result;
11020 bool temp3 = False ;
11021 PyObject * obj0 = 0 ;
11022 PyObject * obj1 = 0 ;
11023 PyObject * obj2 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
11032 SWIG_POINTER_EXCEPTION | 0)) == -1)
11033 SWIG_fail;
11034 if (arg2 == NULL) {
11035 PyErr_SetString(PyExc_TypeError,"null reference");
11036 SWIG_fail;
11037 }
11038 if (obj2) {
11039 {
11040 arg3 = wxString_in_helper(obj2);
11041 if (arg3 == NULL) SWIG_fail;
11042 temp3 = True;
11043 }
11044 }
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 {
11053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11054 }
11055 {
11056 if (temp3)
11057 delete arg3;
11058 }
11059 return resultobj;
11060 fail:
11061 {
11062 if (temp3)
11063 delete arg3;
11064 }
11065 return NULL;
11066 }
11067
11068
11069 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11072 bool result;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 result = (bool)(arg1)->RemoveIcon();
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 {
11089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11090 }
11091 return resultobj;
11092 fail:
11093 return NULL;
11094 }
11095
11096
11097 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11100 wxMenu *arg2 = (wxMenu *) 0 ;
11101 bool result;
11102 PyObject * obj0 = 0 ;
11103 PyObject * obj1 = 0 ;
11104 char *kwnames[] = {
11105 (char *) "self",(char *) "menu", NULL
11106 };
11107
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (bool)(arg1)->PopupMenu(arg2);
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 {
11121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11122 }
11123 return resultobj;
11124 fail:
11125 return NULL;
11126 }
11127
11128
11129 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11130 PyObject *obj;
11131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11132 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11133 Py_INCREF(obj);
11134 return Py_BuildValue((char *)"");
11135 }
11136 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11137 PyObject *resultobj;
11138 wxEventType arg1 ;
11139 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11140 wxTaskBarIconEvent *result;
11141 PyObject * obj0 = 0 ;
11142 PyObject * obj1 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "evtType",(char *) "tbIcon", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11148 arg1 = (wxEventType) SWIG_AsInt(obj0);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11155
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11167 PyObject *obj;
11168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11169 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11170 Py_INCREF(obj);
11171 return Py_BuildValue((char *)"");
11172 }
11173 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11174 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11175 return 1;
11176 }
11177
11178
11179 static PyObject *_wrap_FileSelectorPromptStr_get() {
11180 PyObject *pyobj;
11181
11182 {
11183 #if wxUSE_UNICODE
11184 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11185 #else
11186 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11187 #endif
11188 }
11189 return pyobj;
11190 }
11191
11192
11193 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11194 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11195 return 1;
11196 }
11197
11198
11199 static PyObject *_wrap_DirSelectorPromptStr_get() {
11200 PyObject *pyobj;
11201
11202 {
11203 #if wxUSE_UNICODE
11204 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11205 #else
11206 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11207 #endif
11208 }
11209 return pyobj;
11210 }
11211
11212
11213 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11214 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11215 return 1;
11216 }
11217
11218
11219 static PyObject *_wrap_DirDialogNameStr_get() {
11220 PyObject *pyobj;
11221
11222 {
11223 #if wxUSE_UNICODE
11224 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11225 #else
11226 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11227 #endif
11228 }
11229 return pyobj;
11230 }
11231
11232
11233 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11234 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11235 return 1;
11236 }
11237
11238
11239 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11240 PyObject *pyobj;
11241
11242 {
11243 #if wxUSE_UNICODE
11244 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11245 #else
11246 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11247 #endif
11248 }
11249 return pyobj;
11250 }
11251
11252
11253 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11254 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11255 return 1;
11256 }
11257
11258
11259 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11260 PyObject *pyobj;
11261
11262 {
11263 #if wxUSE_UNICODE
11264 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11265 #else
11266 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11267 #endif
11268 }
11269 return pyobj;
11270 }
11271
11272
11273 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11274 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11275 return 1;
11276 }
11277
11278
11279 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11280 PyObject *pyobj;
11281
11282 {
11283 #if wxUSE_UNICODE
11284 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11285 #else
11286 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11287 #endif
11288 }
11289 return pyobj;
11290 }
11291
11292
11293 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxColourData *result;
11296 char *kwnames[] = {
11297 NULL
11298 };
11299
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (wxColourData *)new wxColourData();
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11316 PyObject *resultobj;
11317 wxColourData *arg1 = (wxColourData *) 0 ;
11318 PyObject * obj0 = 0 ;
11319 char *kwnames[] = {
11320 (char *) "self", NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 delete arg1;
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 Py_INCREF(Py_None); resultobj = Py_None;
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxColourData *arg1 = (wxColourData *) 0 ;
11343 bool result;
11344 PyObject * obj0 = 0 ;
11345 char *kwnames[] = {
11346 (char *) "self", NULL
11347 };
11348
11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (bool)(arg1)->GetChooseFull();
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 {
11360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11361 }
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11369 PyObject *resultobj;
11370 wxColourData *arg1 = (wxColourData *) 0 ;
11371 wxColour result;
11372 PyObject * obj0 = 0 ;
11373 char *kwnames[] = {
11374 (char *) "self", NULL
11375 };
11376
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 result = (arg1)->GetColour();
11383
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 {
11388 wxColour * resultptr;
11389 resultptr = new wxColour((wxColour &) result);
11390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11391 }
11392 return resultobj;
11393 fail:
11394 return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxColourData *arg1 = (wxColourData *) 0 ;
11401 int arg2 ;
11402 wxColour result;
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self",(char *) "i", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11412 arg2 = (int) SWIG_AsInt(obj1);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (arg1)->GetCustomColour(arg2);
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 {
11422 wxColour * resultptr;
11423 resultptr = new wxColour((wxColour &) result);
11424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11425 }
11426 return resultobj;
11427 fail:
11428 return NULL;
11429 }
11430
11431
11432 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject *resultobj;
11434 wxColourData *arg1 = (wxColourData *) 0 ;
11435 int arg2 ;
11436 PyObject * obj0 = 0 ;
11437 PyObject * obj1 = 0 ;
11438 char *kwnames[] = {
11439 (char *) "self",(char *) "flag", NULL
11440 };
11441
11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11445 arg2 = (int) SWIG_AsInt(obj1);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 (arg1)->SetChooseFull(arg2);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 Py_INCREF(Py_None); resultobj = Py_None;
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxColourData *arg1 = (wxColourData *) 0 ;
11464 wxColour *arg2 = 0 ;
11465 wxColour temp2 ;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468 char *kwnames[] = {
11469 (char *) "self",(char *) "colour", NULL
11470 };
11471
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11475 {
11476 arg2 = &temp2;
11477 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11478 }
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 (arg1)->SetColour((wxColour const &)*arg2);
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 Py_INCREF(Py_None); resultobj = Py_None;
11487 return resultobj;
11488 fail:
11489 return NULL;
11490 }
11491
11492
11493 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxColourData *arg1 = (wxColourData *) 0 ;
11496 int arg2 ;
11497 wxColour *arg3 = 0 ;
11498 wxColour temp3 ;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 PyObject * obj2 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self",(char *) "i",(char *) "colour", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11509 arg2 = (int) SWIG_AsInt(obj1);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 {
11512 arg3 = &temp3;
11513 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11514 }
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 Py_INCREF(Py_None); resultobj = Py_None;
11523 return resultobj;
11524 fail:
11525 return NULL;
11526 }
11527
11528
11529 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11530 PyObject *obj;
11531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11532 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11533 Py_INCREF(obj);
11534 return Py_BuildValue((char *)"");
11535 }
11536 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11537 PyObject *resultobj;
11538 wxWindow *arg1 = (wxWindow *) 0 ;
11539 wxColourData *arg2 = (wxColourData *) NULL ;
11540 wxColourDialog *result;
11541 PyObject * obj0 = 0 ;
11542 PyObject * obj1 = 0 ;
11543 char *kwnames[] = {
11544 (char *) "parent",(char *) "data", NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11550 if (obj1) {
11551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11553 }
11554 {
11555 if (!wxPyCheckForApp()) SWIG_fail;
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11572 wxColourData *result;
11573 PyObject * obj0 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 {
11584 wxColourData &_result_ref = (arg1)->GetColourData();
11585 result = (wxColourData *) &_result_ref;
11586 }
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11599 PyObject *obj;
11600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11601 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11602 Py_INCREF(obj);
11603 return Py_BuildValue((char *)"");
11604 }
11605 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11606 PyObject *resultobj;
11607 wxWindow *arg1 = (wxWindow *) 0 ;
11608 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11609 wxString *arg2 = (wxString *) &arg2_defvalue ;
11610 wxString const &arg3_defvalue = wxPyEmptyString ;
11611 wxString *arg3 = (wxString *) &arg3_defvalue ;
11612 long arg4 = (long) 0 ;
11613 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11614 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11615 wxSize const &arg6_defvalue = wxDefaultSize ;
11616 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11617 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11618 wxString *arg7 = (wxString *) &arg7_defvalue ;
11619 wxDirDialog *result;
11620 bool temp2 = False ;
11621 bool temp3 = False ;
11622 wxPoint temp5 ;
11623 wxSize temp6 ;
11624 bool temp7 = False ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 PyObject * obj2 = 0 ;
11628 PyObject * obj3 = 0 ;
11629 PyObject * obj4 = 0 ;
11630 PyObject * obj5 = 0 ;
11631 PyObject * obj6 = 0 ;
11632 char *kwnames[] = {
11633 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11634 };
11635
11636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11639 if (obj1) {
11640 {
11641 arg2 = wxString_in_helper(obj1);
11642 if (arg2 == NULL) SWIG_fail;
11643 temp2 = True;
11644 }
11645 }
11646 if (obj2) {
11647 {
11648 arg3 = wxString_in_helper(obj2);
11649 if (arg3 == NULL) SWIG_fail;
11650 temp3 = True;
11651 }
11652 }
11653 if (obj3) {
11654 arg4 = (long) SWIG_AsLong(obj3);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 if (obj4) {
11658 {
11659 arg5 = &temp5;
11660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11661 }
11662 }
11663 if (obj5) {
11664 {
11665 arg6 = &temp6;
11666 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11667 }
11668 }
11669 if (obj6) {
11670 {
11671 arg7 = wxString_in_helper(obj6);
11672 if (arg7 == NULL) SWIG_fail;
11673 temp7 = True;
11674 }
11675 }
11676 {
11677 if (!wxPyCheckForApp()) SWIG_fail;
11678 PyThreadState* __tstate = wxPyBeginAllowThreads();
11679 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11680
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11685 {
11686 if (temp2)
11687 delete arg2;
11688 }
11689 {
11690 if (temp3)
11691 delete arg3;
11692 }
11693 {
11694 if (temp7)
11695 delete arg7;
11696 }
11697 return resultobj;
11698 fail:
11699 {
11700 if (temp2)
11701 delete arg2;
11702 }
11703 {
11704 if (temp3)
11705 delete arg3;
11706 }
11707 {
11708 if (temp7)
11709 delete arg7;
11710 }
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11718 wxString result;
11719 PyObject * obj0 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 {
11728 PyThreadState* __tstate = wxPyBeginAllowThreads();
11729 result = (arg1)->GetPath();
11730
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 {
11735 #if wxUSE_UNICODE
11736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11737 #else
11738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11739 #endif
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11750 wxString result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (arg1)->GetMessage();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
11767 #if wxUSE_UNICODE
11768 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11769 #else
11770 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11771 #endif
11772 }
11773 return resultobj;
11774 fail:
11775 return NULL;
11776 }
11777
11778
11779 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11780 PyObject *resultobj;
11781 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11782 long result;
11783 PyObject * obj0 = 0 ;
11784 char *kwnames[] = {
11785 (char *) "self", NULL
11786 };
11787
11788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11791 {
11792 PyThreadState* __tstate = wxPyBeginAllowThreads();
11793 result = (long)(arg1)->GetStyle();
11794
11795 wxPyEndAllowThreads(__tstate);
11796 if (PyErr_Occurred()) SWIG_fail;
11797 }
11798 resultobj = SWIG_FromLong((long)result);
11799 return resultobj;
11800 fail:
11801 return NULL;
11802 }
11803
11804
11805 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11806 PyObject *resultobj;
11807 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11808 wxString *arg2 = 0 ;
11809 bool temp2 = False ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj1 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self",(char *) "message", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11819 {
11820 arg2 = wxString_in_helper(obj1);
11821 if (arg2 == NULL) SWIG_fail;
11822 temp2 = True;
11823 }
11824 {
11825 PyThreadState* __tstate = wxPyBeginAllowThreads();
11826 (arg1)->SetMessage((wxString const &)*arg2);
11827
11828 wxPyEndAllowThreads(__tstate);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 Py_INCREF(Py_None); resultobj = Py_None;
11832 {
11833 if (temp2)
11834 delete arg2;
11835 }
11836 return resultobj;
11837 fail:
11838 {
11839 if (temp2)
11840 delete arg2;
11841 }
11842 return NULL;
11843 }
11844
11845
11846 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject *resultobj;
11848 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11849 wxString *arg2 = 0 ;
11850 bool temp2 = False ;
11851 PyObject * obj0 = 0 ;
11852 PyObject * obj1 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "path", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11860 {
11861 arg2 = wxString_in_helper(obj1);
11862 if (arg2 == NULL) SWIG_fail;
11863 temp2 = True;
11864 }
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 (arg1)->SetPath((wxString const &)*arg2);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 {
11874 if (temp2)
11875 delete arg2;
11876 }
11877 return resultobj;
11878 fail:
11879 {
11880 if (temp2)
11881 delete arg2;
11882 }
11883 return NULL;
11884 }
11885
11886
11887 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11888 PyObject *obj;
11889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11890 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11891 Py_INCREF(obj);
11892 return Py_BuildValue((char *)"");
11893 }
11894 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxWindow *arg1 = (wxWindow *) 0 ;
11897 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11898 wxString *arg2 = (wxString *) &arg2_defvalue ;
11899 wxString const &arg3_defvalue = wxPyEmptyString ;
11900 wxString *arg3 = (wxString *) &arg3_defvalue ;
11901 wxString const &arg4_defvalue = wxPyEmptyString ;
11902 wxString *arg4 = (wxString *) &arg4_defvalue ;
11903 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11904 wxString *arg5 = (wxString *) &arg5_defvalue ;
11905 long arg6 = (long) 0 ;
11906 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11907 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11908 wxFileDialog *result;
11909 bool temp2 = False ;
11910 bool temp3 = False ;
11911 bool temp4 = False ;
11912 bool temp5 = False ;
11913 wxPoint temp7 ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 PyObject * obj2 = 0 ;
11917 PyObject * obj3 = 0 ;
11918 PyObject * obj4 = 0 ;
11919 PyObject * obj5 = 0 ;
11920 PyObject * obj6 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11928 if (obj1) {
11929 {
11930 arg2 = wxString_in_helper(obj1);
11931 if (arg2 == NULL) SWIG_fail;
11932 temp2 = True;
11933 }
11934 }
11935 if (obj2) {
11936 {
11937 arg3 = wxString_in_helper(obj2);
11938 if (arg3 == NULL) SWIG_fail;
11939 temp3 = True;
11940 }
11941 }
11942 if (obj3) {
11943 {
11944 arg4 = wxString_in_helper(obj3);
11945 if (arg4 == NULL) SWIG_fail;
11946 temp4 = True;
11947 }
11948 }
11949 if (obj4) {
11950 {
11951 arg5 = wxString_in_helper(obj4);
11952 if (arg5 == NULL) SWIG_fail;
11953 temp5 = True;
11954 }
11955 }
11956 if (obj5) {
11957 arg6 = (long) SWIG_AsLong(obj5);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 if (obj6) {
11961 {
11962 arg7 = &temp7;
11963 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11964 }
11965 }
11966 {
11967 if (!wxPyCheckForApp()) SWIG_fail;
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11975 {
11976 if (temp2)
11977 delete arg2;
11978 }
11979 {
11980 if (temp3)
11981 delete arg3;
11982 }
11983 {
11984 if (temp4)
11985 delete arg4;
11986 }
11987 {
11988 if (temp5)
11989 delete arg5;
11990 }
11991 return resultobj;
11992 fail:
11993 {
11994 if (temp2)
11995 delete arg2;
11996 }
11997 {
11998 if (temp3)
11999 delete arg3;
12000 }
12001 {
12002 if (temp4)
12003 delete arg4;
12004 }
12005 {
12006 if (temp5)
12007 delete arg5;
12008 }
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12016 wxString *arg2 = 0 ;
12017 bool temp2 = False ;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "message", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12027 {
12028 arg2 = wxString_in_helper(obj1);
12029 if (arg2 == NULL) SWIG_fail;
12030 temp2 = True;
12031 }
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 (arg1)->SetMessage((wxString const &)*arg2);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 Py_INCREF(Py_None); resultobj = Py_None;
12040 {
12041 if (temp2)
12042 delete arg2;
12043 }
12044 return resultobj;
12045 fail:
12046 {
12047 if (temp2)
12048 delete arg2;
12049 }
12050 return NULL;
12051 }
12052
12053
12054 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12057 wxString *arg2 = 0 ;
12058 bool temp2 = False ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self",(char *) "path", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12068 {
12069 arg2 = wxString_in_helper(obj1);
12070 if (arg2 == NULL) SWIG_fail;
12071 temp2 = True;
12072 }
12073 {
12074 PyThreadState* __tstate = wxPyBeginAllowThreads();
12075 (arg1)->SetPath((wxString const &)*arg2);
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 Py_INCREF(Py_None); resultobj = Py_None;
12081 {
12082 if (temp2)
12083 delete arg2;
12084 }
12085 return resultobj;
12086 fail:
12087 {
12088 if (temp2)
12089 delete arg2;
12090 }
12091 return NULL;
12092 }
12093
12094
12095 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12096 PyObject *resultobj;
12097 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12098 wxString *arg2 = 0 ;
12099 bool temp2 = False ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 char *kwnames[] = {
12103 (char *) "self",(char *) "dir", NULL
12104 };
12105
12106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12109 {
12110 arg2 = wxString_in_helper(obj1);
12111 if (arg2 == NULL) SWIG_fail;
12112 temp2 = True;
12113 }
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 (arg1)->SetDirectory((wxString const &)*arg2);
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 Py_INCREF(Py_None); resultobj = Py_None;
12122 {
12123 if (temp2)
12124 delete arg2;
12125 }
12126 return resultobj;
12127 fail:
12128 {
12129 if (temp2)
12130 delete arg2;
12131 }
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12139 wxString *arg2 = 0 ;
12140 bool temp2 = False ;
12141 PyObject * obj0 = 0 ;
12142 PyObject * obj1 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self",(char *) "name", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12150 {
12151 arg2 = wxString_in_helper(obj1);
12152 if (arg2 == NULL) SWIG_fail;
12153 temp2 = True;
12154 }
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetFilename((wxString const &)*arg2);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 Py_INCREF(Py_None); resultobj = Py_None;
12163 {
12164 if (temp2)
12165 delete arg2;
12166 }
12167 return resultobj;
12168 fail:
12169 {
12170 if (temp2)
12171 delete arg2;
12172 }
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12180 wxString *arg2 = 0 ;
12181 bool temp2 = False ;
12182 PyObject * obj0 = 0 ;
12183 PyObject * obj1 = 0 ;
12184 char *kwnames[] = {
12185 (char *) "self",(char *) "wildCard", NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12191 {
12192 arg2 = wxString_in_helper(obj1);
12193 if (arg2 == NULL) SWIG_fail;
12194 temp2 = True;
12195 }
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->SetWildcard((wxString const &)*arg2);
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 Py_INCREF(Py_None); resultobj = Py_None;
12204 {
12205 if (temp2)
12206 delete arg2;
12207 }
12208 return resultobj;
12209 fail:
12210 {
12211 if (temp2)
12212 delete arg2;
12213 }
12214 return NULL;
12215 }
12216
12217
12218 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12219 PyObject *resultobj;
12220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12221 long arg2 ;
12222 PyObject * obj0 = 0 ;
12223 PyObject * obj1 = 0 ;
12224 char *kwnames[] = {
12225 (char *) "self",(char *) "style", NULL
12226 };
12227
12228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12231 arg2 = (long) SWIG_AsLong(obj1);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 (arg1)->SetStyle(arg2);
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 Py_INCREF(Py_None); resultobj = Py_None;
12241 return resultobj;
12242 fail:
12243 return NULL;
12244 }
12245
12246
12247 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12248 PyObject *resultobj;
12249 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12250 int arg2 ;
12251 PyObject * obj0 = 0 ;
12252 PyObject * obj1 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self",(char *) "filterIndex", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12260 arg2 = (int) SWIG_AsInt(obj1);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 {
12263 PyThreadState* __tstate = wxPyBeginAllowThreads();
12264 (arg1)->SetFilterIndex(arg2);
12265
12266 wxPyEndAllowThreads(__tstate);
12267 if (PyErr_Occurred()) SWIG_fail;
12268 }
12269 Py_INCREF(Py_None); resultobj = Py_None;
12270 return resultobj;
12271 fail:
12272 return NULL;
12273 }
12274
12275
12276 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12277 PyObject *resultobj;
12278 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12279 wxString result;
12280 PyObject * obj0 = 0 ;
12281 char *kwnames[] = {
12282 (char *) "self", NULL
12283 };
12284
12285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 result = ((wxFileDialog const *)arg1)->GetMessage();
12291
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 {
12296 #if wxUSE_UNICODE
12297 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12298 #else
12299 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12300 #endif
12301 }
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12311 wxString result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 result = ((wxFileDialog const *)arg1)->GetPath();
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 {
12328 #if wxUSE_UNICODE
12329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12330 #else
12331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12332 #endif
12333 }
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12343 wxString result;
12344 PyObject * obj0 = 0 ;
12345 char *kwnames[] = {
12346 (char *) "self", NULL
12347 };
12348
12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = ((wxFileDialog const *)arg1)->GetDirectory();
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 {
12360 #if wxUSE_UNICODE
12361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12362 #else
12363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12364 #endif
12365 }
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12375 wxString result;
12376 PyObject * obj0 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "self", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 result = ((wxFileDialog const *)arg1)->GetFilename();
12387
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 {
12392 #if wxUSE_UNICODE
12393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12394 #else
12395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12396 #endif
12397 }
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj;
12406 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12407 wxString result;
12408 PyObject * obj0 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 result = ((wxFileDialog const *)arg1)->GetWildcard();
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 {
12424 #if wxUSE_UNICODE
12425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12426 #else
12427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12428 #endif
12429 }
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12439 long result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_FromLong((long)result);
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12465 int result;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_FromInt((int)result);
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12491 PyObject *result;
12492 PyObject * obj0 = 0 ;
12493 char *kwnames[] = {
12494 (char *) "self", NULL
12495 };
12496
12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = result;
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12517 PyObject *result;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 resultobj = result;
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12541 PyObject *obj;
12542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12543 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12544 Py_INCREF(obj);
12545 return Py_BuildValue((char *)"");
12546 }
12547 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12548 PyObject *resultobj;
12549 wxWindow *arg1 = (wxWindow *) 0 ;
12550 wxString *arg2 = 0 ;
12551 wxString *arg3 = 0 ;
12552 int arg4 = (int) 0 ;
12553 wxString *arg5 = (wxString *) NULL ;
12554 long arg6 = (long) wxCHOICEDLG_STYLE ;
12555 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12556 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12557 wxMultiChoiceDialog *result;
12558 bool temp2 = False ;
12559 bool temp3 = False ;
12560 wxPoint temp6 ;
12561 PyObject * obj0 = 0 ;
12562 PyObject * obj1 = 0 ;
12563 PyObject * obj2 = 0 ;
12564 PyObject * obj3 = 0 ;
12565 PyObject * obj4 = 0 ;
12566 PyObject * obj5 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12574 {
12575 arg2 = wxString_in_helper(obj1);
12576 if (arg2 == NULL) SWIG_fail;
12577 temp2 = True;
12578 }
12579 {
12580 arg3 = wxString_in_helper(obj2);
12581 if (arg3 == NULL) SWIG_fail;
12582 temp3 = True;
12583 }
12584 if (obj3) {
12585 {
12586 arg4 = PyList_Size(obj3);
12587 arg5 = wxString_LIST_helper(obj3);
12588 if (arg5 == NULL) SWIG_fail;
12589 }
12590 }
12591 if (obj4) {
12592 arg6 = (long) SWIG_AsLong(obj4);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 if (obj5) {
12596 {
12597 arg7 = &temp6;
12598 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12599 }
12600 }
12601 {
12602 if (!wxPyCheckForApp()) SWIG_fail;
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12610 {
12611 if (temp2)
12612 delete arg2;
12613 }
12614 {
12615 if (temp3)
12616 delete arg3;
12617 }
12618 {
12619 if (arg5) delete [] arg5;
12620 }
12621 return resultobj;
12622 fail:
12623 {
12624 if (temp2)
12625 delete arg2;
12626 }
12627 {
12628 if (temp3)
12629 delete arg3;
12630 }
12631 {
12632 if (arg5) delete [] arg5;
12633 }
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12641 wxArrayInt *arg2 = 0 ;
12642 bool temp2 = False ;
12643 PyObject * obj0 = 0 ;
12644 PyObject * obj1 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self",(char *) "selections", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12652 {
12653 if (! PySequence_Check(obj1)) {
12654 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12655 SWIG_fail;
12656 }
12657 arg2 = new wxArrayInt;
12658 temp2 = True;
12659 int i, len=PySequence_Length(obj1);
12660 for (i=0; i<len; i++) {
12661 PyObject* item = PySequence_GetItem(obj1, i);
12662 PyObject* number = PyNumber_Int(item);
12663 arg2->Add(PyInt_AS_LONG(number));
12664 Py_DECREF(item);
12665 Py_DECREF(number);
12666 }
12667 }
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 Py_INCREF(Py_None); resultobj = Py_None;
12676 {
12677 if (temp2) delete arg2;
12678 }
12679 return resultobj;
12680 fail:
12681 {
12682 if (temp2) delete arg2;
12683 }
12684 return NULL;
12685 }
12686
12687
12688 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj;
12690 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12691 PyObject *result;
12692 PyObject * obj0 = 0 ;
12693 char *kwnames[] = {
12694 (char *) "self", NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 resultobj = result;
12708 return resultobj;
12709 fail:
12710 return NULL;
12711 }
12712
12713
12714 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12715 PyObject *obj;
12716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12717 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12718 Py_INCREF(obj);
12719 return Py_BuildValue((char *)"");
12720 }
12721 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12722 PyObject *resultobj;
12723 wxWindow *arg1 = (wxWindow *) 0 ;
12724 wxString *arg2 = 0 ;
12725 wxString *arg3 = 0 ;
12726 int arg4 ;
12727 wxString *arg5 = (wxString *) 0 ;
12728 long arg6 = (long) wxCHOICEDLG_STYLE ;
12729 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12730 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12731 wxSingleChoiceDialog *result;
12732 bool temp2 = False ;
12733 bool temp3 = False ;
12734 wxPoint temp6 ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 PyObject * obj3 = 0 ;
12739 PyObject * obj4 = 0 ;
12740 PyObject * obj5 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12748 {
12749 arg2 = wxString_in_helper(obj1);
12750 if (arg2 == NULL) SWIG_fail;
12751 temp2 = True;
12752 }
12753 {
12754 arg3 = wxString_in_helper(obj2);
12755 if (arg3 == NULL) SWIG_fail;
12756 temp3 = True;
12757 }
12758 {
12759 arg4 = PyList_Size(obj3);
12760 arg5 = wxString_LIST_helper(obj3);
12761 if (arg5 == NULL) SWIG_fail;
12762 }
12763 if (obj4) {
12764 arg6 = (long) SWIG_AsLong(obj4);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 if (obj5) {
12768 {
12769 arg7 = &temp6;
12770 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12771 }
12772 }
12773 {
12774 if (!wxPyCheckForApp()) SWIG_fail;
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12782 {
12783 if (temp2)
12784 delete arg2;
12785 }
12786 {
12787 if (temp3)
12788 delete arg3;
12789 }
12790 {
12791 if (arg5) delete [] arg5;
12792 }
12793 return resultobj;
12794 fail:
12795 {
12796 if (temp2)
12797 delete arg2;
12798 }
12799 {
12800 if (temp3)
12801 delete arg3;
12802 }
12803 {
12804 if (arg5) delete [] arg5;
12805 }
12806 return NULL;
12807 }
12808
12809
12810 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12811 PyObject *resultobj;
12812 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12813 int result;
12814 PyObject * obj0 = 0 ;
12815 char *kwnames[] = {
12816 (char *) "self", NULL
12817 };
12818
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 result = (int)(arg1)->GetSelection();
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 resultobj = SWIG_FromInt((int)result);
12830 return resultobj;
12831 fail:
12832 return NULL;
12833 }
12834
12835
12836 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12837 PyObject *resultobj;
12838 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12839 wxString result;
12840 PyObject * obj0 = 0 ;
12841 char *kwnames[] = {
12842 (char *) "self", NULL
12843 };
12844
12845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12848 {
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 result = (arg1)->GetStringSelection();
12851
12852 wxPyEndAllowThreads(__tstate);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 {
12856 #if wxUSE_UNICODE
12857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12858 #else
12859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12860 #endif
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12871 int arg2 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 char *kwnames[] = {
12875 (char *) "self",(char *) "sel", NULL
12876 };
12877
12878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12881 arg2 = (int) SWIG_AsInt(obj1);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 (arg1)->SetSelection(arg2);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 Py_INCREF(Py_None); resultobj = Py_None;
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12898 PyObject *obj;
12899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12900 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12901 Py_INCREF(obj);
12902 return Py_BuildValue((char *)"");
12903 }
12904 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj;
12906 wxWindow *arg1 = (wxWindow *) 0 ;
12907 wxString *arg2 = 0 ;
12908 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12909 wxString *arg3 = (wxString *) &arg3_defvalue ;
12910 wxString const &arg4_defvalue = wxPyEmptyString ;
12911 wxString *arg4 = (wxString *) &arg4_defvalue ;
12912 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12913 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12914 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12915 wxTextEntryDialog *result;
12916 bool temp2 = False ;
12917 bool temp3 = False ;
12918 bool temp4 = False ;
12919 wxPoint temp6 ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 PyObject * obj2 = 0 ;
12923 PyObject * obj3 = 0 ;
12924 PyObject * obj4 = 0 ;
12925 PyObject * obj5 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12933 {
12934 arg2 = wxString_in_helper(obj1);
12935 if (arg2 == NULL) SWIG_fail;
12936 temp2 = True;
12937 }
12938 if (obj2) {
12939 {
12940 arg3 = wxString_in_helper(obj2);
12941 if (arg3 == NULL) SWIG_fail;
12942 temp3 = True;
12943 }
12944 }
12945 if (obj3) {
12946 {
12947 arg4 = wxString_in_helper(obj3);
12948 if (arg4 == NULL) SWIG_fail;
12949 temp4 = True;
12950 }
12951 }
12952 if (obj4) {
12953 arg5 = (long) SWIG_AsLong(obj4);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 if (obj5) {
12957 {
12958 arg6 = &temp6;
12959 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12960 }
12961 }
12962 {
12963 if (!wxPyCheckForApp()) SWIG_fail;
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12971 {
12972 if (temp2)
12973 delete arg2;
12974 }
12975 {
12976 if (temp3)
12977 delete arg3;
12978 }
12979 {
12980 if (temp4)
12981 delete arg4;
12982 }
12983 return resultobj;
12984 fail:
12985 {
12986 if (temp2)
12987 delete arg2;
12988 }
12989 {
12990 if (temp3)
12991 delete arg3;
12992 }
12993 {
12994 if (temp4)
12995 delete arg4;
12996 }
12997 return NULL;
12998 }
12999
13000
13001 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13004 wxString result;
13005 PyObject * obj0 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 result = (arg1)->GetValue();
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 {
13021 #if wxUSE_UNICODE
13022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13023 #else
13024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13025 #endif
13026 }
13027 return resultobj;
13028 fail:
13029 return NULL;
13030 }
13031
13032
13033 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj;
13035 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
13036 wxString *arg2 = 0 ;
13037 bool temp2 = False ;
13038 PyObject * obj0 = 0 ;
13039 PyObject * obj1 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self",(char *) "value", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
13045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13047 {
13048 arg2 = wxString_in_helper(obj1);
13049 if (arg2 == NULL) SWIG_fail;
13050 temp2 = True;
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 (arg1)->SetValue((wxString const &)*arg2);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 Py_INCREF(Py_None); resultobj = Py_None;
13060 {
13061 if (temp2)
13062 delete arg2;
13063 }
13064 return resultobj;
13065 fail:
13066 {
13067 if (temp2)
13068 delete arg2;
13069 }
13070 return NULL;
13071 }
13072
13073
13074 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
13075 PyObject *obj;
13076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13077 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13078 Py_INCREF(obj);
13079 return Py_BuildValue((char *)"");
13080 }
13081 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13082 PyObject *resultobj;
13083 wxFontData *result;
13084 char *kwnames[] = {
13085 NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (wxFontData *)new wxFontData();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxFontData *arg1 = (wxFontData *) 0 ;
13106 PyObject * obj0 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 delete arg1;
13117
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 Py_INCREF(Py_None); resultobj = Py_None;
13122 return resultobj;
13123 fail:
13124 return NULL;
13125 }
13126
13127
13128 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13129 PyObject *resultobj;
13130 wxFontData *arg1 = (wxFontData *) 0 ;
13131 bool arg2 ;
13132 PyObject * obj0 = 0 ;
13133 PyObject * obj1 = 0 ;
13134 char *kwnames[] = {
13135 (char *) "self",(char *) "enable", NULL
13136 };
13137
13138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13141 arg2 = (bool) SWIG_AsBool(obj1);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 (arg1)->EnableEffects(arg2);
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 Py_INCREF(Py_None); resultobj = Py_None;
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxFontData *arg1 = (wxFontData *) 0 ;
13160 bool result;
13161 PyObject * obj0 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (bool)(arg1)->GetAllowSymbols();
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 {
13177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13178 }
13179 return resultobj;
13180 fail:
13181 return NULL;
13182 }
13183
13184
13185 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxFontData *arg1 = (wxFontData *) 0 ;
13188 wxColour result;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (arg1)->GetColour();
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 {
13205 wxColour * resultptr;
13206 resultptr = new wxColour((wxColour &) result);
13207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13208 }
13209 return resultobj;
13210 fail:
13211 return NULL;
13212 }
13213
13214
13215 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13216 PyObject *resultobj;
13217 wxFontData *arg1 = (wxFontData *) 0 ;
13218 wxFont result;
13219 PyObject * obj0 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (arg1)->GetChosenFont();
13230
13231 wxPyEndAllowThreads(__tstate);
13232 if (PyErr_Occurred()) SWIG_fail;
13233 }
13234 {
13235 wxFont * resultptr;
13236 resultptr = new wxFont((wxFont &) result);
13237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13238 }
13239 return resultobj;
13240 fail:
13241 return NULL;
13242 }
13243
13244
13245 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13246 PyObject *resultobj;
13247 wxFontData *arg1 = (wxFontData *) 0 ;
13248 bool result;
13249 PyObject * obj0 = 0 ;
13250 char *kwnames[] = {
13251 (char *) "self", NULL
13252 };
13253
13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (bool)(arg1)->GetEnableEffects();
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 {
13265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13266 }
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxFontData *arg1 = (wxFontData *) 0 ;
13276 wxFont result;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (arg1)->GetInitialFont();
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 {
13293 wxFont * resultptr;
13294 resultptr = new wxFont((wxFont &) result);
13295 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13296 }
13297 return resultobj;
13298 fail:
13299 return NULL;
13300 }
13301
13302
13303 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxFontData *arg1 = (wxFontData *) 0 ;
13306 bool result;
13307 PyObject * obj0 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 result = (bool)(arg1)->GetShowHelp();
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 {
13323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13324 }
13325 return resultobj;
13326 fail:
13327 return NULL;
13328 }
13329
13330
13331 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13332 PyObject *resultobj;
13333 wxFontData *arg1 = (wxFontData *) 0 ;
13334 bool arg2 ;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self",(char *) "allowSymbols", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13344 arg2 = (bool) SWIG_AsBool(obj1);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 (arg1)->SetAllowSymbols(arg2);
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 Py_INCREF(Py_None); resultobj = Py_None;
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxFontData *arg1 = (wxFontData *) 0 ;
13363 wxFont *arg2 = 0 ;
13364 PyObject * obj0 = 0 ;
13365 PyObject * obj1 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "self",(char *) "font", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13374 SWIG_POINTER_EXCEPTION | 0)) == -1)
13375 SWIG_fail;
13376 if (arg2 == NULL) {
13377 PyErr_SetString(PyExc_TypeError,"null reference");
13378 SWIG_fail;
13379 }
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 (arg1)->SetChosenFont((wxFont const &)*arg2);
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 Py_INCREF(Py_None); resultobj = Py_None;
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxFontData *arg1 = (wxFontData *) 0 ;
13397 wxColour *arg2 = 0 ;
13398 wxColour temp2 ;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self",(char *) "colour", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13408 {
13409 arg2 = &temp2;
13410 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13411 }
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 (arg1)->SetColour((wxColour const &)*arg2);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 Py_INCREF(Py_None); resultobj = Py_None;
13420 return resultobj;
13421 fail:
13422 return NULL;
13423 }
13424
13425
13426 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxFontData *arg1 = (wxFontData *) 0 ;
13429 wxFont *arg2 = 0 ;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "font", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1)
13441 SWIG_fail;
13442 if (arg2 == NULL) {
13443 PyErr_SetString(PyExc_TypeError,"null reference");
13444 SWIG_fail;
13445 }
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 (arg1)->SetInitialFont((wxFont const &)*arg2);
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 Py_INCREF(Py_None); resultobj = Py_None;
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxFontData *arg1 = (wxFontData *) 0 ;
13463 int arg2 ;
13464 int arg3 ;
13465 PyObject * obj0 = 0 ;
13466 PyObject * obj1 = 0 ;
13467 PyObject * obj2 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self",(char *) "min",(char *) "max", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13475 arg2 = (int) SWIG_AsInt(obj1);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 arg3 = (int) SWIG_AsInt(obj2);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 (arg1)->SetRange(arg2,arg3);
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 Py_INCREF(Py_None); resultobj = Py_None;
13487 return resultobj;
13488 fail:
13489 return NULL;
13490 }
13491
13492
13493 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxFontData *arg1 = (wxFontData *) 0 ;
13496 bool arg2 ;
13497 PyObject * obj0 = 0 ;
13498 PyObject * obj1 = 0 ;
13499 char *kwnames[] = {
13500 (char *) "self",(char *) "showHelp", NULL
13501 };
13502
13503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13506 arg2 = (bool) SWIG_AsBool(obj1);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 (arg1)->SetShowHelp(arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 Py_INCREF(Py_None); resultobj = Py_None;
13516 return resultobj;
13517 fail:
13518 return NULL;
13519 }
13520
13521
13522 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13523 PyObject *obj;
13524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13525 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13526 Py_INCREF(obj);
13527 return Py_BuildValue((char *)"");
13528 }
13529 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13530 PyObject *resultobj;
13531 wxWindow *arg1 = (wxWindow *) 0 ;
13532 wxFontData *arg2 = 0 ;
13533 wxFontDialog *result;
13534 PyObject * obj0 = 0 ;
13535 PyObject * obj1 = 0 ;
13536 char *kwnames[] = {
13537 (char *) "parent",(char *) "data", NULL
13538 };
13539
13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13544 SWIG_POINTER_EXCEPTION | 0)) == -1)
13545 SWIG_fail;
13546 if (arg2 == NULL) {
13547 PyErr_SetString(PyExc_TypeError,"null reference");
13548 SWIG_fail;
13549 }
13550 {
13551 if (!wxPyCheckForApp()) SWIG_fail;
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13568 wxFontData *result;
13569 PyObject * obj0 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 {
13580 wxFontData &_result_ref = (arg1)->GetFontData();
13581 result = (wxFontData *) &_result_ref;
13582 }
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13588 return resultobj;
13589 fail:
13590 return NULL;
13591 }
13592
13593
13594 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13595 PyObject *obj;
13596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13597 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13598 Py_INCREF(obj);
13599 return Py_BuildValue((char *)"");
13600 }
13601 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxWindow *arg1 = (wxWindow *) 0 ;
13604 wxString *arg2 = 0 ;
13605 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13606 wxString *arg3 = (wxString *) &arg3_defvalue ;
13607 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13608 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13609 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13610 wxMessageDialog *result;
13611 bool temp2 = False ;
13612 bool temp3 = False ;
13613 wxPoint temp5 ;
13614 PyObject * obj0 = 0 ;
13615 PyObject * obj1 = 0 ;
13616 PyObject * obj2 = 0 ;
13617 PyObject * obj3 = 0 ;
13618 PyObject * obj4 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13626 {
13627 arg2 = wxString_in_helper(obj1);
13628 if (arg2 == NULL) SWIG_fail;
13629 temp2 = True;
13630 }
13631 if (obj2) {
13632 {
13633 arg3 = wxString_in_helper(obj2);
13634 if (arg3 == NULL) SWIG_fail;
13635 temp3 = True;
13636 }
13637 }
13638 if (obj3) {
13639 arg4 = (long) SWIG_AsLong(obj3);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
13642 if (obj4) {
13643 {
13644 arg5 = &temp5;
13645 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13646 }
13647 }
13648 {
13649 if (!wxPyCheckForApp()) SWIG_fail;
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13657 {
13658 if (temp2)
13659 delete arg2;
13660 }
13661 {
13662 if (temp3)
13663 delete arg3;
13664 }
13665 return resultobj;
13666 fail:
13667 {
13668 if (temp2)
13669 delete arg2;
13670 }
13671 {
13672 if (temp3)
13673 delete arg3;
13674 }
13675 return NULL;
13676 }
13677
13678
13679 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13680 PyObject *obj;
13681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13682 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13683 Py_INCREF(obj);
13684 return Py_BuildValue((char *)"");
13685 }
13686 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj;
13688 wxString *arg1 = 0 ;
13689 wxString *arg2 = 0 ;
13690 int arg3 = (int) 100 ;
13691 wxWindow *arg4 = (wxWindow *) NULL ;
13692 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13693 wxProgressDialog *result;
13694 bool temp1 = False ;
13695 bool temp2 = False ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj2 = 0 ;
13699 PyObject * obj3 = 0 ;
13700 PyObject * obj4 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13706 {
13707 arg1 = wxString_in_helper(obj0);
13708 if (arg1 == NULL) SWIG_fail;
13709 temp1 = True;
13710 }
13711 {
13712 arg2 = wxString_in_helper(obj1);
13713 if (arg2 == NULL) SWIG_fail;
13714 temp2 = True;
13715 }
13716 if (obj2) {
13717 arg3 = (int) SWIG_AsInt(obj2);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 if (obj3) {
13721 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13723 }
13724 if (obj4) {
13725 arg5 = (int) SWIG_AsInt(obj4);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 {
13729 if (!wxPyCheckForApp()) SWIG_fail;
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13737 {
13738 if (temp1)
13739 delete arg1;
13740 }
13741 {
13742 if (temp2)
13743 delete arg2;
13744 }
13745 return resultobj;
13746 fail:
13747 {
13748 if (temp1)
13749 delete arg1;
13750 }
13751 {
13752 if (temp2)
13753 delete arg2;
13754 }
13755 return NULL;
13756 }
13757
13758
13759 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13762 int arg2 ;
13763 wxString const &arg3_defvalue = wxPyEmptyString ;
13764 wxString *arg3 = (wxString *) &arg3_defvalue ;
13765 bool result;
13766 bool temp3 = False ;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 PyObject * obj2 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13777 arg2 = (int) SWIG_AsInt(obj1);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 if (obj2) {
13780 {
13781 arg3 = wxString_in_helper(obj2);
13782 if (arg3 == NULL) SWIG_fail;
13783 temp3 = True;
13784 }
13785 }
13786 {
13787 PyThreadState* __tstate = wxPyBeginAllowThreads();
13788 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13789
13790 wxPyEndAllowThreads(__tstate);
13791 if (PyErr_Occurred()) SWIG_fail;
13792 }
13793 {
13794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13795 }
13796 {
13797 if (temp3)
13798 delete arg3;
13799 }
13800 return resultobj;
13801 fail:
13802 {
13803 if (temp3)
13804 delete arg3;
13805 }
13806 return NULL;
13807 }
13808
13809
13810 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13813 PyObject * obj0 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 (arg1)->Resume();
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 Py_INCREF(Py_None); resultobj = Py_None;
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13836 PyObject *obj;
13837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13838 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13839 Py_INCREF(obj);
13840 return Py_BuildValue((char *)"");
13841 }
13842 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj;
13844 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13845 int arg2 = (int) 0 ;
13846 wxFindDialogEvent *result;
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "commandType",(char *) "id", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13854 if (obj0) {
13855 arg1 = (wxEventType) SWIG_AsInt(obj0);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 if (obj1) {
13859 arg2 = (int) SWIG_AsInt(obj1);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13865
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13870 return resultobj;
13871 fail:
13872 return NULL;
13873 }
13874
13875
13876 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13879 int result;
13880 PyObject * obj0 = 0 ;
13881 char *kwnames[] = {
13882 (char *) "self", NULL
13883 };
13884
13885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 result = (int)(arg1)->GetFlags();
13891
13892 wxPyEndAllowThreads(__tstate);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 }
13895 resultobj = SWIG_FromInt((int)result);
13896 return resultobj;
13897 fail:
13898 return NULL;
13899 }
13900
13901
13902 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13905 wxString *result;
13906 PyObject * obj0 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "self", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 {
13917 wxString const &_result_ref = (arg1)->GetFindString();
13918 result = (wxString *) &_result_ref;
13919 }
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
13924 {
13925 #if wxUSE_UNICODE
13926 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13927 #else
13928 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13929 #endif
13930 }
13931 return resultobj;
13932 fail:
13933 return NULL;
13934 }
13935
13936
13937 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13938 PyObject *resultobj;
13939 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13940 wxString *result;
13941 PyObject * obj0 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 {
13952 wxString const &_result_ref = (arg1)->GetReplaceString();
13953 result = (wxString *) &_result_ref;
13954 }
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 {
13960 #if wxUSE_UNICODE
13961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13962 #else
13963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13964 #endif
13965 }
13966 return resultobj;
13967 fail:
13968 return NULL;
13969 }
13970
13971
13972 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13975 wxFindReplaceDialog *result;
13976 PyObject * obj0 = 0 ;
13977 char *kwnames[] = {
13978 (char *) "self", NULL
13979 };
13980
13981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13987
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
13991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13992 return resultobj;
13993 fail:
13994 return NULL;
13995 }
13996
13997
13998 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj;
14000 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14001 int arg2 ;
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
14004 char *kwnames[] = {
14005 (char *) "self",(char *) "flags", NULL
14006 };
14007
14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14011 arg2 = (int) SWIG_AsInt(obj1);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 (arg1)->SetFlags(arg2);
14016
14017 wxPyEndAllowThreads(__tstate);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 Py_INCREF(Py_None); resultobj = Py_None;
14021 return resultobj;
14022 fail:
14023 return NULL;
14024 }
14025
14026
14027 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj;
14029 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14030 wxString *arg2 = 0 ;
14031 bool temp2 = False ;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self",(char *) "str", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14041 {
14042 arg2 = wxString_in_helper(obj1);
14043 if (arg2 == NULL) SWIG_fail;
14044 temp2 = True;
14045 }
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 (arg1)->SetFindString((wxString const &)*arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 Py_INCREF(Py_None); resultobj = Py_None;
14054 {
14055 if (temp2)
14056 delete arg2;
14057 }
14058 return resultobj;
14059 fail:
14060 {
14061 if (temp2)
14062 delete arg2;
14063 }
14064 return NULL;
14065 }
14066
14067
14068 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14071 wxString *arg2 = 0 ;
14072 bool temp2 = False ;
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self",(char *) "str", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14082 {
14083 arg2 = wxString_in_helper(obj1);
14084 if (arg2 == NULL) SWIG_fail;
14085 temp2 = True;
14086 }
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->SetReplaceString((wxString const &)*arg2);
14090
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 Py_INCREF(Py_None); resultobj = Py_None;
14095 {
14096 if (temp2)
14097 delete arg2;
14098 }
14099 return resultobj;
14100 fail:
14101 {
14102 if (temp2)
14103 delete arg2;
14104 }
14105 return NULL;
14106 }
14107
14108
14109 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14110 PyObject *obj;
14111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14112 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14113 Py_INCREF(obj);
14114 return Py_BuildValue((char *)"");
14115 }
14116 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj;
14118 int arg1 = (int) 0 ;
14119 wxFindReplaceData *result;
14120 PyObject * obj0 = 0 ;
14121 char *kwnames[] = {
14122 (char *) "flags", NULL
14123 };
14124
14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14126 if (obj0) {
14127 arg1 = (int) SWIG_AsInt(obj0);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14147 PyObject * obj0 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 delete arg1;
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 Py_INCREF(Py_None); resultobj = Py_None;
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14172 wxString *result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 {
14184 wxString const &_result_ref = (arg1)->GetFindString();
14185 result = (wxString *) &_result_ref;
14186 }
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 {
14192 #if wxUSE_UNICODE
14193 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14194 #else
14195 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14196 #endif
14197 }
14198 return resultobj;
14199 fail:
14200 return NULL;
14201 }
14202
14203
14204 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14207 wxString *result;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 {
14219 wxString const &_result_ref = (arg1)->GetReplaceString();
14220 result = (wxString *) &_result_ref;
14221 }
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 {
14227 #if wxUSE_UNICODE
14228 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14229 #else
14230 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14231 #endif
14232 }
14233 return resultobj;
14234 fail:
14235 return NULL;
14236 }
14237
14238
14239 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14242 int result;
14243 PyObject * obj0 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 result = (int)(arg1)->GetFlags();
14254
14255 wxPyEndAllowThreads(__tstate);
14256 if (PyErr_Occurred()) SWIG_fail;
14257 }
14258 resultobj = SWIG_FromInt((int)result);
14259 return resultobj;
14260 fail:
14261 return NULL;
14262 }
14263
14264
14265 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14268 int arg2 ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "self",(char *) "flags", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14278 arg2 = (int) SWIG_AsInt(obj1);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 (arg1)->SetFlags(arg2);
14283
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 Py_INCREF(Py_None); resultobj = Py_None;
14288 return resultobj;
14289 fail:
14290 return NULL;
14291 }
14292
14293
14294 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj;
14296 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14297 wxString *arg2 = 0 ;
14298 bool temp2 = False ;
14299 PyObject * obj0 = 0 ;
14300 PyObject * obj1 = 0 ;
14301 char *kwnames[] = {
14302 (char *) "self",(char *) "str", NULL
14303 };
14304
14305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14308 {
14309 arg2 = wxString_in_helper(obj1);
14310 if (arg2 == NULL) SWIG_fail;
14311 temp2 = True;
14312 }
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 (arg1)->SetFindString((wxString const &)*arg2);
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 {
14322 if (temp2)
14323 delete arg2;
14324 }
14325 return resultobj;
14326 fail:
14327 {
14328 if (temp2)
14329 delete arg2;
14330 }
14331 return NULL;
14332 }
14333
14334
14335 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj;
14337 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14338 wxString *arg2 = 0 ;
14339 bool temp2 = False ;
14340 PyObject * obj0 = 0 ;
14341 PyObject * obj1 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self",(char *) "str", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14349 {
14350 arg2 = wxString_in_helper(obj1);
14351 if (arg2 == NULL) SWIG_fail;
14352 temp2 = True;
14353 }
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 (arg1)->SetReplaceString((wxString const &)*arg2);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 Py_INCREF(Py_None); resultobj = Py_None;
14362 {
14363 if (temp2)
14364 delete arg2;
14365 }
14366 return resultobj;
14367 fail:
14368 {
14369 if (temp2)
14370 delete arg2;
14371 }
14372 return NULL;
14373 }
14374
14375
14376 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14377 PyObject *obj;
14378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14379 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14380 Py_INCREF(obj);
14381 return Py_BuildValue((char *)"");
14382 }
14383 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxWindow *arg1 = (wxWindow *) 0 ;
14386 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14387 wxString *arg3 = 0 ;
14388 int arg4 = (int) 0 ;
14389 wxFindReplaceDialog *result;
14390 bool temp3 = False ;
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 PyObject * obj2 = 0 ;
14394 PyObject * obj3 = 0 ;
14395 char *kwnames[] = {
14396 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14397 };
14398
14399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14404 {
14405 arg3 = wxString_in_helper(obj2);
14406 if (arg3 == NULL) SWIG_fail;
14407 temp3 = True;
14408 }
14409 if (obj3) {
14410 arg4 = (int) SWIG_AsInt(obj3);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 {
14414 if (!wxPyCheckForApp()) SWIG_fail;
14415 PyThreadState* __tstate = wxPyBeginAllowThreads();
14416 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14417
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14422 {
14423 if (temp3)
14424 delete arg3;
14425 }
14426 return resultobj;
14427 fail:
14428 {
14429 if (temp3)
14430 delete arg3;
14431 }
14432 return NULL;
14433 }
14434
14435
14436 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxFindReplaceDialog *result;
14439 char *kwnames[] = {
14440 NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14444 {
14445 if (!wxPyCheckForApp()) SWIG_fail;
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14453 return resultobj;
14454 fail:
14455 return NULL;
14456 }
14457
14458
14459 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14462 wxWindow *arg2 = (wxWindow *) 0 ;
14463 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14464 wxString *arg4 = 0 ;
14465 int arg5 = (int) 0 ;
14466 bool result;
14467 bool temp4 = False ;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 PyObject * obj2 = 0 ;
14471 PyObject * obj3 = 0 ;
14472 PyObject * obj4 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14482 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14484 {
14485 arg4 = wxString_in_helper(obj3);
14486 if (arg4 == NULL) SWIG_fail;
14487 temp4 = True;
14488 }
14489 if (obj4) {
14490 arg5 = (int) SWIG_AsInt(obj4);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 {
14501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14502 }
14503 {
14504 if (temp4)
14505 delete arg4;
14506 }
14507 return resultobj;
14508 fail:
14509 {
14510 if (temp4)
14511 delete arg4;
14512 }
14513 return NULL;
14514 }
14515
14516
14517 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj;
14519 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14520 wxFindReplaceData *result;
14521 PyObject * obj0 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "self", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 result = (wxFindReplaceData *)(arg1)->GetData();
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14546 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "data", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 (arg1)->SetData(arg2);
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 Py_INCREF(Py_None); resultobj = Py_None;
14566 return resultobj;
14567 fail:
14568 return NULL;
14569 }
14570
14571
14572 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14573 PyObject *obj;
14574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14575 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14576 Py_INCREF(obj);
14577 return Py_BuildValue((char *)"");
14578 }
14579 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxWindow *arg1 = (wxWindow *) 0 ;
14582 int arg2 = (int) (int)-1 ;
14583 wxString const &arg3_defvalue = wxPyEmptyString ;
14584 wxString *arg3 = (wxString *) &arg3_defvalue ;
14585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14587 wxSize const &arg5_defvalue = wxDefaultSize ;
14588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14589 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14590 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14591 wxString *arg7 = (wxString *) &arg7_defvalue ;
14592 wxMDIParentFrame *result;
14593 bool temp3 = False ;
14594 wxPoint temp4 ;
14595 wxSize temp5 ;
14596 bool temp7 = False ;
14597 PyObject * obj0 = 0 ;
14598 PyObject * obj1 = 0 ;
14599 PyObject * obj2 = 0 ;
14600 PyObject * obj3 = 0 ;
14601 PyObject * obj4 = 0 ;
14602 PyObject * obj5 = 0 ;
14603 PyObject * obj6 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14611 if (obj1) {
14612 arg2 = (int const) SWIG_AsInt(obj1);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 if (obj2) {
14616 {
14617 arg3 = wxString_in_helper(obj2);
14618 if (arg3 == NULL) SWIG_fail;
14619 temp3 = True;
14620 }
14621 }
14622 if (obj3) {
14623 {
14624 arg4 = &temp4;
14625 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14626 }
14627 }
14628 if (obj4) {
14629 {
14630 arg5 = &temp5;
14631 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14632 }
14633 }
14634 if (obj5) {
14635 arg6 = (long) SWIG_AsLong(obj5);
14636 if (PyErr_Occurred()) SWIG_fail;
14637 }
14638 if (obj6) {
14639 {
14640 arg7 = wxString_in_helper(obj6);
14641 if (arg7 == NULL) SWIG_fail;
14642 temp7 = True;
14643 }
14644 }
14645 {
14646 if (!wxPyCheckForApp()) SWIG_fail;
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14649
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14654 {
14655 if (temp3)
14656 delete arg3;
14657 }
14658 {
14659 if (temp7)
14660 delete arg7;
14661 }
14662 return resultobj;
14663 fail:
14664 {
14665 if (temp3)
14666 delete arg3;
14667 }
14668 {
14669 if (temp7)
14670 delete arg7;
14671 }
14672 return NULL;
14673 }
14674
14675
14676 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14677 PyObject *resultobj;
14678 wxMDIParentFrame *result;
14679 char *kwnames[] = {
14680 NULL
14681 };
14682
14683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14684 {
14685 if (!wxPyCheckForApp()) SWIG_fail;
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14702 wxWindow *arg2 = (wxWindow *) 0 ;
14703 int arg3 = (int) (int)-1 ;
14704 wxString const &arg4_defvalue = wxPyEmptyString ;
14705 wxString *arg4 = (wxString *) &arg4_defvalue ;
14706 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14707 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14708 wxSize const &arg6_defvalue = wxDefaultSize ;
14709 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14710 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14711 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14712 wxString *arg8 = (wxString *) &arg8_defvalue ;
14713 bool result;
14714 bool temp4 = False ;
14715 wxPoint temp5 ;
14716 wxSize temp6 ;
14717 bool temp8 = False ;
14718 PyObject * obj0 = 0 ;
14719 PyObject * obj1 = 0 ;
14720 PyObject * obj2 = 0 ;
14721 PyObject * obj3 = 0 ;
14722 PyObject * obj4 = 0 ;
14723 PyObject * obj5 = 0 ;
14724 PyObject * obj6 = 0 ;
14725 PyObject * obj7 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14735 if (obj2) {
14736 arg3 = (int const) SWIG_AsInt(obj2);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 if (obj3) {
14740 {
14741 arg4 = wxString_in_helper(obj3);
14742 if (arg4 == NULL) SWIG_fail;
14743 temp4 = True;
14744 }
14745 }
14746 if (obj4) {
14747 {
14748 arg5 = &temp5;
14749 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14750 }
14751 }
14752 if (obj5) {
14753 {
14754 arg6 = &temp6;
14755 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14756 }
14757 }
14758 if (obj6) {
14759 arg7 = (long) SWIG_AsLong(obj6);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 if (obj7) {
14763 {
14764 arg8 = wxString_in_helper(obj7);
14765 if (arg8 == NULL) SWIG_fail;
14766 temp8 = True;
14767 }
14768 }
14769 {
14770 PyThreadState* __tstate = wxPyBeginAllowThreads();
14771 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14772
14773 wxPyEndAllowThreads(__tstate);
14774 if (PyErr_Occurred()) SWIG_fail;
14775 }
14776 {
14777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14778 }
14779 {
14780 if (temp4)
14781 delete arg4;
14782 }
14783 {
14784 if (temp8)
14785 delete arg8;
14786 }
14787 return resultobj;
14788 fail:
14789 {
14790 if (temp4)
14791 delete arg4;
14792 }
14793 {
14794 if (temp8)
14795 delete arg8;
14796 }
14797 return NULL;
14798 }
14799
14800
14801 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14802 PyObject *resultobj;
14803 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14804 PyObject * obj0 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14812 {
14813 PyThreadState* __tstate = wxPyBeginAllowThreads();
14814 (arg1)->ActivateNext();
14815
14816 wxPyEndAllowThreads(__tstate);
14817 if (PyErr_Occurred()) SWIG_fail;
14818 }
14819 Py_INCREF(Py_None); resultobj = Py_None;
14820 return resultobj;
14821 fail:
14822 return NULL;
14823 }
14824
14825
14826 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14827 PyObject *resultobj;
14828 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14829 PyObject * obj0 = 0 ;
14830 char *kwnames[] = {
14831 (char *) "self", NULL
14832 };
14833
14834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 (arg1)->ActivatePrevious();
14840
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 Py_INCREF(Py_None); resultobj = Py_None;
14845 return resultobj;
14846 fail:
14847 return NULL;
14848 }
14849
14850
14851 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14852 PyObject *resultobj;
14853 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14854 PyObject * obj0 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 (arg1)->ArrangeIcons();
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 Py_INCREF(Py_None); resultobj = Py_None;
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14879 PyObject * obj0 = 0 ;
14880 char *kwnames[] = {
14881 (char *) "self", NULL
14882 };
14883
14884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 (arg1)->Cascade();
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 Py_INCREF(Py_None); resultobj = Py_None;
14895 return resultobj;
14896 fail:
14897 return NULL;
14898 }
14899
14900
14901 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14902 PyObject *resultobj;
14903 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14904 wxMDIChildFrame *result;
14905 PyObject * obj0 = 0 ;
14906 char *kwnames[] = {
14907 (char *) "self", NULL
14908 };
14909
14910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14913 {
14914 PyThreadState* __tstate = wxPyBeginAllowThreads();
14915 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14916
14917 wxPyEndAllowThreads(__tstate);
14918 if (PyErr_Occurred()) SWIG_fail;
14919 }
14920 {
14921 resultobj = wxPyMake_wxObject(result, 0);
14922 }
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14932 wxMDIClientWindow *result;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 resultobj = wxPyMake_wxObject(result, 0);
14950 }
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14960 wxWindow *result;
14961 PyObject * obj0 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (wxWindow *)(arg1)->GetToolBar();
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 {
14977 resultobj = wxPyMake_wxObject(result, 0);
14978 }
14979 return resultobj;
14980 fail:
14981 return NULL;
14982 }
14983
14984
14985 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 (arg1)->Tile();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 Py_INCREF(Py_None); resultobj = Py_None;
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
15011 PyObject *obj;
15012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15013 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15014 Py_INCREF(obj);
15015 return Py_BuildValue((char *)"");
15016 }
15017 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15018 PyObject *resultobj;
15019 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15020 int arg2 = (int) (int)-1 ;
15021 wxString const &arg3_defvalue = wxPyEmptyString ;
15022 wxString *arg3 = (wxString *) &arg3_defvalue ;
15023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15025 wxSize const &arg5_defvalue = wxDefaultSize ;
15026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15027 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15028 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15029 wxString *arg7 = (wxString *) &arg7_defvalue ;
15030 wxMDIChildFrame *result;
15031 bool temp3 = False ;
15032 wxPoint temp4 ;
15033 wxSize temp5 ;
15034 bool temp7 = False ;
15035 PyObject * obj0 = 0 ;
15036 PyObject * obj1 = 0 ;
15037 PyObject * obj2 = 0 ;
15038 PyObject * obj3 = 0 ;
15039 PyObject * obj4 = 0 ;
15040 PyObject * obj5 = 0 ;
15041 PyObject * obj6 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 if (obj1) {
15050 arg2 = (int const) SWIG_AsInt(obj1);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 if (obj2) {
15054 {
15055 arg3 = wxString_in_helper(obj2);
15056 if (arg3 == NULL) SWIG_fail;
15057 temp3 = True;
15058 }
15059 }
15060 if (obj3) {
15061 {
15062 arg4 = &temp4;
15063 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15064 }
15065 }
15066 if (obj4) {
15067 {
15068 arg5 = &temp5;
15069 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15070 }
15071 }
15072 if (obj5) {
15073 arg6 = (long) SWIG_AsLong(obj5);
15074 if (PyErr_Occurred()) SWIG_fail;
15075 }
15076 if (obj6) {
15077 {
15078 arg7 = wxString_in_helper(obj6);
15079 if (arg7 == NULL) SWIG_fail;
15080 temp7 = True;
15081 }
15082 }
15083 {
15084 if (!wxPyCheckForApp()) SWIG_fail;
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15087
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 {
15092 resultobj = wxPyMake_wxObject(result, 1);
15093 }
15094 {
15095 if (temp3)
15096 delete arg3;
15097 }
15098 {
15099 if (temp7)
15100 delete arg7;
15101 }
15102 return resultobj;
15103 fail:
15104 {
15105 if (temp3)
15106 delete arg3;
15107 }
15108 {
15109 if (temp7)
15110 delete arg7;
15111 }
15112 return NULL;
15113 }
15114
15115
15116 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxMDIChildFrame *result;
15119 char *kwnames[] = {
15120 NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15124 {
15125 if (!wxPyCheckForApp()) SWIG_fail;
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 {
15133 resultobj = wxPyMake_wxObject(result, 1);
15134 }
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15144 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15145 int arg3 = (int) (int)-1 ;
15146 wxString const &arg4_defvalue = wxPyEmptyString ;
15147 wxString *arg4 = (wxString *) &arg4_defvalue ;
15148 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15149 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15150 wxSize const &arg6_defvalue = wxDefaultSize ;
15151 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15152 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15153 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15154 wxString *arg8 = (wxString *) &arg8_defvalue ;
15155 bool result;
15156 bool temp4 = False ;
15157 wxPoint temp5 ;
15158 wxSize temp6 ;
15159 bool temp8 = False ;
15160 PyObject * obj0 = 0 ;
15161 PyObject * obj1 = 0 ;
15162 PyObject * obj2 = 0 ;
15163 PyObject * obj3 = 0 ;
15164 PyObject * obj4 = 0 ;
15165 PyObject * obj5 = 0 ;
15166 PyObject * obj6 = 0 ;
15167 PyObject * obj7 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 if (obj2) {
15178 arg3 = (int const) SWIG_AsInt(obj2);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 if (obj3) {
15182 {
15183 arg4 = wxString_in_helper(obj3);
15184 if (arg4 == NULL) SWIG_fail;
15185 temp4 = True;
15186 }
15187 }
15188 if (obj4) {
15189 {
15190 arg5 = &temp5;
15191 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15192 }
15193 }
15194 if (obj5) {
15195 {
15196 arg6 = &temp6;
15197 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15198 }
15199 }
15200 if (obj6) {
15201 arg7 = (long) SWIG_AsLong(obj6);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 if (obj7) {
15205 {
15206 arg8 = wxString_in_helper(obj7);
15207 if (arg8 == NULL) SWIG_fail;
15208 temp8 = True;
15209 }
15210 }
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 {
15219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15220 }
15221 {
15222 if (temp4)
15223 delete arg4;
15224 }
15225 {
15226 if (temp8)
15227 delete arg8;
15228 }
15229 return resultobj;
15230 fail:
15231 {
15232 if (temp4)
15233 delete arg4;
15234 }
15235 {
15236 if (temp8)
15237 delete arg8;
15238 }
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->Activate();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15269 PyObject *resultobj;
15270 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15271 bool arg2 ;
15272 PyObject * obj0 = 0 ;
15273 PyObject * obj1 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self",(char *) "maximize", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15281 arg2 = (bool) SWIG_AsBool(obj1);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 (arg1)->Maximize(arg2);
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 Py_INCREF(Py_None); resultobj = Py_None;
15291 return resultobj;
15292 fail:
15293 return NULL;
15294 }
15295
15296
15297 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15298 PyObject *resultobj;
15299 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15300 PyObject * obj0 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 (arg1)->Restore();
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 Py_INCREF(Py_None); resultobj = Py_None;
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15323 PyObject *obj;
15324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15326 Py_INCREF(obj);
15327 return Py_BuildValue((char *)"");
15328 }
15329 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15332 long arg2 = (long) 0 ;
15333 wxMDIClientWindow *result;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "parent",(char *) "style", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15343 if (obj1) {
15344 arg2 = (long) SWIG_AsLong(obj1);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 {
15348 if (!wxPyCheckForApp()) SWIG_fail;
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 {
15356 resultobj = wxPyMake_wxObject(result, 1);
15357 }
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxMDIClientWindow *result;
15367 char *kwnames[] = {
15368 NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15372 {
15373 if (!wxPyCheckForApp()) SWIG_fail;
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 {
15381 resultobj = wxPyMake_wxObject(result, 1);
15382 }
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15392 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15393 long arg3 = (long) 0 ;
15394 bool result;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 PyObject * obj2 = 0 ;
15398 char *kwnames[] = {
15399 (char *) "self",(char *) "parent",(char *) "style", NULL
15400 };
15401
15402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15407 if (obj2) {
15408 arg3 = (long) SWIG_AsLong(obj2);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 result = (bool)(arg1)->Create(arg2,arg3);
15414
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 {
15419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15420 }
15421 return resultobj;
15422 fail:
15423 return NULL;
15424 }
15425
15426
15427 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15428 PyObject *obj;
15429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15430 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15431 Py_INCREF(obj);
15432 return Py_BuildValue((char *)"");
15433 }
15434 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxWindow *arg1 = (wxWindow *) 0 ;
15437 int arg2 = (int) (int)-1 ;
15438 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15439 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15440 wxSize const &arg4_defvalue = wxDefaultSize ;
15441 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15442 long arg5 = (long) 0 ;
15443 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15444 wxString *arg6 = (wxString *) &arg6_defvalue ;
15445 wxPyWindow *result;
15446 wxPoint temp3 ;
15447 wxSize temp4 ;
15448 bool temp6 = False ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 PyObject * obj2 = 0 ;
15452 PyObject * obj3 = 0 ;
15453 PyObject * obj4 = 0 ;
15454 PyObject * obj5 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15462 if (obj1) {
15463 arg2 = (int const) SWIG_AsInt(obj1);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 if (obj2) {
15467 {
15468 arg3 = &temp3;
15469 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15470 }
15471 }
15472 if (obj3) {
15473 {
15474 arg4 = &temp4;
15475 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15476 }
15477 }
15478 if (obj4) {
15479 arg5 = (long) SWIG_AsLong(obj4);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 if (obj5) {
15483 {
15484 arg6 = wxString_in_helper(obj5);
15485 if (arg6 == NULL) SWIG_fail;
15486 temp6 = True;
15487 }
15488 }
15489 {
15490 if (!wxPyCheckForApp()) SWIG_fail;
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15498 {
15499 if (temp6)
15500 delete arg6;
15501 }
15502 return resultobj;
15503 fail:
15504 {
15505 if (temp6)
15506 delete arg6;
15507 }
15508 return NULL;
15509 }
15510
15511
15512 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj;
15514 wxPyWindow *result;
15515 char *kwnames[] = {
15516 NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15520 {
15521 if (!wxPyCheckForApp()) SWIG_fail;
15522 PyThreadState* __tstate = wxPyBeginAllowThreads();
15523 result = (wxPyWindow *)new wxPyWindow();
15524
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15529 return resultobj;
15530 fail:
15531 return NULL;
15532 }
15533
15534
15535 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj;
15537 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15538 PyObject *arg2 = (PyObject *) 0 ;
15539 PyObject *arg3 = (PyObject *) 0 ;
15540 PyObject * obj0 = 0 ;
15541 PyObject * obj1 = 0 ;
15542 PyObject * obj2 = 0 ;
15543 char *kwnames[] = {
15544 (char *) "self",(char *) "self",(char *) "_class", NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15550 arg2 = obj1;
15551 arg3 = obj2;
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 (arg1)->_setCallbackInfo(arg2,arg3);
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 Py_INCREF(Py_None); resultobj = Py_None;
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15569 wxSize *arg2 = 0 ;
15570 wxSize temp2 ;
15571 PyObject * obj0 = 0 ;
15572 PyObject * obj1 = 0 ;
15573 char *kwnames[] = {
15574 (char *) "self",(char *) "size", NULL
15575 };
15576
15577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15580 {
15581 arg2 = &temp2;
15582 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15583 }
15584 {
15585 PyThreadState* __tstate = wxPyBeginAllowThreads();
15586 (arg1)->SetBestSize((wxSize const &)*arg2);
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 Py_INCREF(Py_None); resultobj = Py_None;
15592 return resultobj;
15593 fail:
15594 return NULL;
15595 }
15596
15597
15598 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15601 int arg2 ;
15602 int arg3 ;
15603 int arg4 ;
15604 int arg5 ;
15605 PyObject * obj0 = 0 ;
15606 PyObject * obj1 = 0 ;
15607 PyObject * obj2 = 0 ;
15608 PyObject * obj3 = 0 ;
15609 PyObject * obj4 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15612 };
15613
15614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15617 arg2 = (int) SWIG_AsInt(obj1);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 arg3 = (int) SWIG_AsInt(obj2);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 arg4 = (int) SWIG_AsInt(obj3);
15622 if (PyErr_Occurred()) SWIG_fail;
15623 arg5 = (int) SWIG_AsInt(obj4);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 Py_INCREF(Py_None); resultobj = Py_None;
15633 return resultobj;
15634 fail:
15635 return NULL;
15636 }
15637
15638
15639 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj;
15641 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15642 int arg2 ;
15643 int arg3 ;
15644 int arg4 ;
15645 int arg5 ;
15646 int arg6 = (int) wxSIZE_AUTO ;
15647 PyObject * obj0 = 0 ;
15648 PyObject * obj1 = 0 ;
15649 PyObject * obj2 = 0 ;
15650 PyObject * obj3 = 0 ;
15651 PyObject * obj4 = 0 ;
15652 PyObject * obj5 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15660 arg2 = (int) SWIG_AsInt(obj1);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 arg3 = (int) SWIG_AsInt(obj2);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 arg4 = (int) SWIG_AsInt(obj3);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 arg5 = (int) SWIG_AsInt(obj4);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 if (obj5) {
15669 arg6 = (int) SWIG_AsInt(obj5);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 Py_INCREF(Py_None); resultobj = Py_None;
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15689 int arg2 ;
15690 int arg3 ;
15691 PyObject * obj0 = 0 ;
15692 PyObject * obj1 = 0 ;
15693 PyObject * obj2 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self",(char *) "width",(char *) "height", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15701 arg2 = (int) SWIG_AsInt(obj1);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 arg3 = (int) SWIG_AsInt(obj2);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 (arg1)->base_DoSetClientSize(arg2,arg3);
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 Py_INCREF(Py_None); resultobj = Py_None;
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15722 int arg2 ;
15723 int arg3 ;
15724 PyObject * obj0 = 0 ;
15725 PyObject * obj1 = 0 ;
15726 PyObject * obj2 = 0 ;
15727 char *kwnames[] = {
15728 (char *) "self",(char *) "x",(char *) "y", NULL
15729 };
15730
15731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15734 arg2 = (int) SWIG_AsInt(obj1);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 arg3 = (int) SWIG_AsInt(obj2);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 {
15739 PyThreadState* __tstate = wxPyBeginAllowThreads();
15740 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15741
15742 wxPyEndAllowThreads(__tstate);
15743 if (PyErr_Occurred()) SWIG_fail;
15744 }
15745 Py_INCREF(Py_None); resultobj = Py_None;
15746 return resultobj;
15747 fail:
15748 return NULL;
15749 }
15750
15751
15752 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15753 PyObject *resultobj;
15754 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15755 int *arg2 = (int *) 0 ;
15756 int *arg3 = (int *) 0 ;
15757 int temp2 ;
15758 int temp3 ;
15759 PyObject * obj0 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self", NULL
15762 };
15763
15764 arg2 = &temp2;
15765 arg3 = &temp3;
15766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 Py_INCREF(Py_None); resultobj = Py_None;
15777 {
15778 PyObject *o = PyInt_FromLong((long) (*arg2));
15779 resultobj = t_output_helper(resultobj,o);
15780 }
15781 {
15782 PyObject *o = PyInt_FromLong((long) (*arg3));
15783 resultobj = t_output_helper(resultobj,o);
15784 }
15785 return resultobj;
15786 fail:
15787 return NULL;
15788 }
15789
15790
15791 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15794 int *arg2 = (int *) 0 ;
15795 int *arg3 = (int *) 0 ;
15796 int temp2 ;
15797 int temp3 ;
15798 PyObject * obj0 = 0 ;
15799 char *kwnames[] = {
15800 (char *) "self", NULL
15801 };
15802
15803 arg2 = &temp2;
15804 arg3 = &temp3;
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 Py_INCREF(Py_None); resultobj = Py_None;
15816 {
15817 PyObject *o = PyInt_FromLong((long) (*arg2));
15818 resultobj = t_output_helper(resultobj,o);
15819 }
15820 {
15821 PyObject *o = PyInt_FromLong((long) (*arg3));
15822 resultobj = t_output_helper(resultobj,o);
15823 }
15824 return resultobj;
15825 fail:
15826 return NULL;
15827 }
15828
15829
15830 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15831 PyObject *resultobj;
15832 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15833 int *arg2 = (int *) 0 ;
15834 int *arg3 = (int *) 0 ;
15835 int temp2 ;
15836 int temp3 ;
15837 PyObject * obj0 = 0 ;
15838 char *kwnames[] = {
15839 (char *) "self", NULL
15840 };
15841
15842 arg2 = &temp2;
15843 arg3 = &temp3;
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15850
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 Py_INCREF(Py_None); resultobj = Py_None;
15855 {
15856 PyObject *o = PyInt_FromLong((long) (*arg2));
15857 resultobj = t_output_helper(resultobj,o);
15858 }
15859 {
15860 PyObject *o = PyInt_FromLong((long) (*arg3));
15861 resultobj = t_output_helper(resultobj,o);
15862 }
15863 return resultobj;
15864 fail:
15865 return NULL;
15866 }
15867
15868
15869 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj;
15871 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15872 wxSize result;
15873 PyObject * obj0 = 0 ;
15874 char *kwnames[] = {
15875 (char *) "self", NULL
15876 };
15877
15878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 {
15889 wxSize * resultptr;
15890 resultptr = new wxSize((wxSize &) result);
15891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15892 }
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15902 wxSize result;
15903 PyObject * obj0 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 {
15919 wxSize * resultptr;
15920 resultptr = new wxSize((wxSize &) result);
15921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15922 }
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 (arg1)->base_InitDialog();
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 Py_INCREF(Py_None); resultobj = Py_None;
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15957 bool result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 result = (bool)(arg1)->base_TransferDataToWindow();
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 {
15974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15975 }
15976 return resultobj;
15977 fail:
15978 return NULL;
15979 }
15980
15981
15982 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15983 PyObject *resultobj;
15984 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15985 bool result;
15986 PyObject * obj0 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 result = (bool)(arg1)->base_TransferDataFromWindow();
15997
15998 wxPyEndAllowThreads(__tstate);
15999 if (PyErr_Occurred()) SWIG_fail;
16000 }
16001 {
16002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16003 }
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16013 bool result;
16014 PyObject * obj0 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (bool)(arg1)->base_Validate();
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 {
16030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16031 }
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16041 bool result;
16042 PyObject * obj0 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16053
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 {
16058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16059 }
16060 return resultobj;
16061 fail:
16062 return NULL;
16063 }
16064
16065
16066 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16067 PyObject *resultobj;
16068 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16069 bool result;
16070 PyObject * obj0 = 0 ;
16071 char *kwnames[] = {
16072 (char *) "self", NULL
16073 };
16074
16075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 {
16086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16087 }
16088 return resultobj;
16089 fail:
16090 return NULL;
16091 }
16092
16093
16094 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16097 wxSize result;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 {
16114 wxSize * resultptr;
16115 resultptr = new wxSize((wxSize &) result);
16116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16117 }
16118 return resultobj;
16119 fail:
16120 return NULL;
16121 }
16122
16123
16124 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj;
16126 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16127 wxWindow *arg2 = (wxWindow *) 0 ;
16128 PyObject * obj0 = 0 ;
16129 PyObject * obj1 = 0 ;
16130 char *kwnames[] = {
16131 (char *) "self",(char *) "child", NULL
16132 };
16133
16134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16137 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 (arg1)->base_AddChild(arg2);
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 Py_INCREF(Py_None); resultobj = Py_None;
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16156 wxWindow *arg2 = (wxWindow *) 0 ;
16157 PyObject * obj0 = 0 ;
16158 PyObject * obj1 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self",(char *) "child", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16168 {
16169 PyThreadState* __tstate = wxPyBeginAllowThreads();
16170 (arg1)->base_RemoveChild(arg2);
16171
16172 wxPyEndAllowThreads(__tstate);
16173 if (PyErr_Occurred()) SWIG_fail;
16174 }
16175 Py_INCREF(Py_None); resultobj = Py_None;
16176 return resultobj;
16177 fail:
16178 return NULL;
16179 }
16180
16181
16182 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16183 PyObject *resultobj;
16184 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16185 bool result;
16186 PyObject * obj0 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self", NULL
16189 };
16190
16191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 {
16202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16203 }
16204 return resultobj;
16205 fail:
16206 return NULL;
16207 }
16208
16209
16210 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16213 wxColour *arg2 = 0 ;
16214 wxColour temp2 ;
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "c", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16224 {
16225 arg2 = &temp2;
16226 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16227 }
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 Py_INCREF(Py_None); resultobj = Py_None;
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16245 wxVisualAttributes result;
16246 PyObject * obj0 = 0 ;
16247 char *kwnames[] = {
16248 (char *) "self", NULL
16249 };
16250
16251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16254 {
16255 PyThreadState* __tstate = wxPyBeginAllowThreads();
16256 result = (arg1)->base_GetDefaultAttributes();
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 {
16262 wxVisualAttributes * resultptr;
16263 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16265 }
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16273 PyObject *obj;
16274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16275 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16276 Py_INCREF(obj);
16277 return Py_BuildValue((char *)"");
16278 }
16279 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxWindow *arg1 = (wxWindow *) 0 ;
16282 int arg2 = (int) (int)-1 ;
16283 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16284 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16285 wxSize const &arg4_defvalue = wxDefaultSize ;
16286 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16287 long arg5 = (long) 0 ;
16288 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16289 wxString *arg6 = (wxString *) &arg6_defvalue ;
16290 wxPyPanel *result;
16291 wxPoint temp3 ;
16292 wxSize temp4 ;
16293 bool temp6 = False ;
16294 PyObject * obj0 = 0 ;
16295 PyObject * obj1 = 0 ;
16296 PyObject * obj2 = 0 ;
16297 PyObject * obj3 = 0 ;
16298 PyObject * obj4 = 0 ;
16299 PyObject * obj5 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16307 if (obj1) {
16308 arg2 = (int const) SWIG_AsInt(obj1);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 if (obj2) {
16312 {
16313 arg3 = &temp3;
16314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16315 }
16316 }
16317 if (obj3) {
16318 {
16319 arg4 = &temp4;
16320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16321 }
16322 }
16323 if (obj4) {
16324 arg5 = (long) SWIG_AsLong(obj4);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 if (obj5) {
16328 {
16329 arg6 = wxString_in_helper(obj5);
16330 if (arg6 == NULL) SWIG_fail;
16331 temp6 = True;
16332 }
16333 }
16334 {
16335 if (!wxPyCheckForApp()) SWIG_fail;
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16343 {
16344 if (temp6)
16345 delete arg6;
16346 }
16347 return resultobj;
16348 fail:
16349 {
16350 if (temp6)
16351 delete arg6;
16352 }
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxPyPanel *result;
16360 char *kwnames[] = {
16361 NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16365 {
16366 if (!wxPyCheckForApp()) SWIG_fail;
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 result = (wxPyPanel *)new wxPyPanel();
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16383 PyObject *arg2 = (PyObject *) 0 ;
16384 PyObject *arg3 = (PyObject *) 0 ;
16385 PyObject * obj0 = 0 ;
16386 PyObject * obj1 = 0 ;
16387 PyObject * obj2 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self",(char *) "self",(char *) "_class", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16395 arg2 = obj1;
16396 arg3 = obj2;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 (arg1)->_setCallbackInfo(arg2,arg3);
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 Py_INCREF(Py_None); resultobj = Py_None;
16405 return resultobj;
16406 fail:
16407 return NULL;
16408 }
16409
16410
16411 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj;
16413 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16414 wxSize *arg2 = 0 ;
16415 wxSize temp2 ;
16416 PyObject * obj0 = 0 ;
16417 PyObject * obj1 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self",(char *) "size", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16425 {
16426 arg2 = &temp2;
16427 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16428 }
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 (arg1)->SetBestSize((wxSize const &)*arg2);
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 Py_INCREF(Py_None); resultobj = Py_None;
16437 return resultobj;
16438 fail:
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16446 int arg2 ;
16447 int arg3 ;
16448 int arg4 ;
16449 int arg5 ;
16450 PyObject * obj0 = 0 ;
16451 PyObject * obj1 = 0 ;
16452 PyObject * obj2 = 0 ;
16453 PyObject * obj3 = 0 ;
16454 PyObject * obj4 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16462 arg2 = (int) SWIG_AsInt(obj1);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 arg3 = (int) SWIG_AsInt(obj2);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 arg4 = (int) SWIG_AsInt(obj3);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 arg5 = (int) SWIG_AsInt(obj4);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 {
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16473
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 Py_INCREF(Py_None); resultobj = Py_None;
16478 return resultobj;
16479 fail:
16480 return NULL;
16481 }
16482
16483
16484 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16485 PyObject *resultobj;
16486 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16487 int arg2 ;
16488 int arg3 ;
16489 int arg4 ;
16490 int arg5 ;
16491 int arg6 = (int) wxSIZE_AUTO ;
16492 PyObject * obj0 = 0 ;
16493 PyObject * obj1 = 0 ;
16494 PyObject * obj2 = 0 ;
16495 PyObject * obj3 = 0 ;
16496 PyObject * obj4 = 0 ;
16497 PyObject * obj5 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16505 arg2 = (int) SWIG_AsInt(obj1);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 arg3 = (int) SWIG_AsInt(obj2);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 arg4 = (int) SWIG_AsInt(obj3);
16510 if (PyErr_Occurred()) SWIG_fail;
16511 arg5 = (int) SWIG_AsInt(obj4);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 if (obj5) {
16514 arg6 = (int) SWIG_AsInt(obj5);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 Py_INCREF(Py_None); resultobj = Py_None;
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16534 int arg2 ;
16535 int arg3 ;
16536 PyObject * obj0 = 0 ;
16537 PyObject * obj1 = 0 ;
16538 PyObject * obj2 = 0 ;
16539 char *kwnames[] = {
16540 (char *) "self",(char *) "width",(char *) "height", NULL
16541 };
16542
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16546 arg2 = (int) SWIG_AsInt(obj1);
16547 if (PyErr_Occurred()) SWIG_fail;
16548 arg3 = (int) SWIG_AsInt(obj2);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 (arg1)->base_DoSetClientSize(arg2,arg3);
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 Py_INCREF(Py_None); resultobj = Py_None;
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj;
16566 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16567 int arg2 ;
16568 int arg3 ;
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
16571 PyObject * obj2 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "x",(char *) "y", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16579 arg2 = (int) SWIG_AsInt(obj1);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 arg3 = (int) SWIG_AsInt(obj2);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 {
16584 PyThreadState* __tstate = wxPyBeginAllowThreads();
16585 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16586
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 Py_INCREF(Py_None); resultobj = Py_None;
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16600 int *arg2 = (int *) 0 ;
16601 int *arg3 = (int *) 0 ;
16602 int temp2 ;
16603 int temp3 ;
16604 PyObject * obj0 = 0 ;
16605 char *kwnames[] = {
16606 (char *) "self", NULL
16607 };
16608
16609 arg2 = &temp2;
16610 arg3 = &temp3;
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16614 {
16615 PyThreadState* __tstate = wxPyBeginAllowThreads();
16616 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16617
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 Py_INCREF(Py_None); resultobj = Py_None;
16622 {
16623 PyObject *o = PyInt_FromLong((long) (*arg2));
16624 resultobj = t_output_helper(resultobj,o);
16625 }
16626 {
16627 PyObject *o = PyInt_FromLong((long) (*arg3));
16628 resultobj = t_output_helper(resultobj,o);
16629 }
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16639 int *arg2 = (int *) 0 ;
16640 int *arg3 = (int *) 0 ;
16641 int temp2 ;
16642 int temp3 ;
16643 PyObject * obj0 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self", NULL
16646 };
16647
16648 arg2 = &temp2;
16649 arg3 = &temp3;
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 Py_INCREF(Py_None); resultobj = Py_None;
16661 {
16662 PyObject *o = PyInt_FromLong((long) (*arg2));
16663 resultobj = t_output_helper(resultobj,o);
16664 }
16665 {
16666 PyObject *o = PyInt_FromLong((long) (*arg3));
16667 resultobj = t_output_helper(resultobj,o);
16668 }
16669 return resultobj;
16670 fail:
16671 return NULL;
16672 }
16673
16674
16675 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16676 PyObject *resultobj;
16677 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16678 int *arg2 = (int *) 0 ;
16679 int *arg3 = (int *) 0 ;
16680 int temp2 ;
16681 int temp3 ;
16682 PyObject * obj0 = 0 ;
16683 char *kwnames[] = {
16684 (char *) "self", NULL
16685 };
16686
16687 arg2 = &temp2;
16688 arg3 = &temp3;
16689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 {
16701 PyObject *o = PyInt_FromLong((long) (*arg2));
16702 resultobj = t_output_helper(resultobj,o);
16703 }
16704 {
16705 PyObject *o = PyInt_FromLong((long) (*arg3));
16706 resultobj = t_output_helper(resultobj,o);
16707 }
16708 return resultobj;
16709 fail:
16710 return NULL;
16711 }
16712
16713
16714 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16715 PyObject *resultobj;
16716 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16717 wxSize result;
16718 PyObject * obj0 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
16734 wxSize * resultptr;
16735 resultptr = new wxSize((wxSize &) result);
16736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16737 }
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16747 wxSize result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16759
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 {
16764 wxSize * resultptr;
16765 resultptr = new wxSize((wxSize &) result);
16766 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16767 }
16768 return resultobj;
16769 fail:
16770 return NULL;
16771 }
16772
16773
16774 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 (arg1)->base_InitDialog();
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 Py_INCREF(Py_None); resultobj = Py_None;
16793 return resultobj;
16794 fail:
16795 return NULL;
16796 }
16797
16798
16799 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16800 PyObject *resultobj;
16801 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16802 bool result;
16803 PyObject * obj0 = 0 ;
16804 char *kwnames[] = {
16805 (char *) "self", NULL
16806 };
16807
16808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16811 {
16812 PyThreadState* __tstate = wxPyBeginAllowThreads();
16813 result = (bool)(arg1)->base_TransferDataToWindow();
16814
16815 wxPyEndAllowThreads(__tstate);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 {
16819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16820 }
16821 return resultobj;
16822 fail:
16823 return NULL;
16824 }
16825
16826
16827 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16830 bool result;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 result = (bool)(arg1)->base_TransferDataFromWindow();
16842
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 {
16847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16848 }
16849 return resultobj;
16850 fail:
16851 return NULL;
16852 }
16853
16854
16855 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16856 PyObject *resultobj;
16857 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16858 bool result;
16859 PyObject * obj0 = 0 ;
16860 char *kwnames[] = {
16861 (char *) "self", NULL
16862 };
16863
16864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (bool)(arg1)->base_Validate();
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
16874 {
16875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16876 }
16877 return resultobj;
16878 fail:
16879 return NULL;
16880 }
16881
16882
16883 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj;
16885 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16886 bool result;
16887 PyObject * obj0 = 0 ;
16888 char *kwnames[] = {
16889 (char *) "self", NULL
16890 };
16891
16892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 {
16903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16904 }
16905 return resultobj;
16906 fail:
16907 return NULL;
16908 }
16909
16910
16911 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16912 PyObject *resultobj;
16913 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16914 bool result;
16915 PyObject * obj0 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "self", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 {
16931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16932 }
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj;
16941 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16942 wxSize result;
16943 PyObject * obj0 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
16959 wxSize * resultptr;
16960 resultptr = new wxSize((wxSize &) result);
16961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16962 }
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16972 wxWindow *arg2 = (wxWindow *) 0 ;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self",(char *) "child", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 (arg1)->base_AddChild(arg2);
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 Py_INCREF(Py_None); resultobj = Py_None;
16992 return resultobj;
16993 fail:
16994 return NULL;
16995 }
16996
16997
16998 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17001 wxWindow *arg2 = (wxWindow *) 0 ;
17002 PyObject * obj0 = 0 ;
17003 PyObject * obj1 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self",(char *) "child", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 (arg1)->base_RemoveChild(arg2);
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 Py_INCREF(Py_None); resultobj = Py_None;
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17030 bool result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17039 {
17040 PyThreadState* __tstate = wxPyBeginAllowThreads();
17041 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17042
17043 wxPyEndAllowThreads(__tstate);
17044 if (PyErr_Occurred()) SWIG_fail;
17045 }
17046 {
17047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17048 }
17049 return resultobj;
17050 fail:
17051 return NULL;
17052 }
17053
17054
17055 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17058 wxColour *arg2 = 0 ;
17059 wxColour temp2 ;
17060 PyObject * obj0 = 0 ;
17061 PyObject * obj1 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self",(char *) "c", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17069 {
17070 arg2 = &temp2;
17071 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17072 }
17073 {
17074 PyThreadState* __tstate = wxPyBeginAllowThreads();
17075 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17076
17077 wxPyEndAllowThreads(__tstate);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 }
17080 Py_INCREF(Py_None); resultobj = Py_None;
17081 return resultobj;
17082 fail:
17083 return NULL;
17084 }
17085
17086
17087 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj;
17089 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17090 wxVisualAttributes result;
17091 PyObject * obj0 = 0 ;
17092 char *kwnames[] = {
17093 (char *) "self", NULL
17094 };
17095
17096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17099 {
17100 PyThreadState* __tstate = wxPyBeginAllowThreads();
17101 result = (arg1)->base_GetDefaultAttributes();
17102
17103 wxPyEndAllowThreads(__tstate);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 {
17107 wxVisualAttributes * resultptr;
17108 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17110 }
17111 return resultobj;
17112 fail:
17113 return NULL;
17114 }
17115
17116
17117 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
17118 PyObject *obj;
17119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17120 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17121 Py_INCREF(obj);
17122 return Py_BuildValue((char *)"");
17123 }
17124 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17125 PyObject *resultobj;
17126 wxWindow *arg1 = (wxWindow *) 0 ;
17127 int arg2 = (int) (int)-1 ;
17128 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17129 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17130 wxSize const &arg4_defvalue = wxDefaultSize ;
17131 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17132 long arg5 = (long) 0 ;
17133 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17134 wxString *arg6 = (wxString *) &arg6_defvalue ;
17135 wxPyScrolledWindow *result;
17136 wxPoint temp3 ;
17137 wxSize temp4 ;
17138 bool temp6 = False ;
17139 PyObject * obj0 = 0 ;
17140 PyObject * obj1 = 0 ;
17141 PyObject * obj2 = 0 ;
17142 PyObject * obj3 = 0 ;
17143 PyObject * obj4 = 0 ;
17144 PyObject * obj5 = 0 ;
17145 char *kwnames[] = {
17146 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17147 };
17148
17149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17152 if (obj1) {
17153 arg2 = (int const) SWIG_AsInt(obj1);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 if (obj2) {
17157 {
17158 arg3 = &temp3;
17159 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17160 }
17161 }
17162 if (obj3) {
17163 {
17164 arg4 = &temp4;
17165 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17166 }
17167 }
17168 if (obj4) {
17169 arg5 = (long) SWIG_AsLong(obj4);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 if (obj5) {
17173 {
17174 arg6 = wxString_in_helper(obj5);
17175 if (arg6 == NULL) SWIG_fail;
17176 temp6 = True;
17177 }
17178 }
17179 {
17180 if (!wxPyCheckForApp()) SWIG_fail;
17181 PyThreadState* __tstate = wxPyBeginAllowThreads();
17182 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17183
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17188 {
17189 if (temp6)
17190 delete arg6;
17191 }
17192 return resultobj;
17193 fail:
17194 {
17195 if (temp6)
17196 delete arg6;
17197 }
17198 return NULL;
17199 }
17200
17201
17202 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj;
17204 wxPyScrolledWindow *result;
17205 char *kwnames[] = {
17206 NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17210 {
17211 if (!wxPyCheckForApp()) SWIG_fail;
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17228 PyObject *arg2 = (PyObject *) 0 ;
17229 PyObject *arg3 = (PyObject *) 0 ;
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 PyObject * obj2 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self",(char *) "self",(char *) "_class", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17240 arg2 = obj1;
17241 arg3 = obj2;
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 (arg1)->_setCallbackInfo(arg2,arg3);
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 Py_INCREF(Py_None); resultobj = Py_None;
17250 return resultobj;
17251 fail:
17252 return NULL;
17253 }
17254
17255
17256 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj;
17258 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17259 wxSize *arg2 = 0 ;
17260 wxSize temp2 ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "size", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17270 {
17271 arg2 = &temp2;
17272 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17273 }
17274 {
17275 PyThreadState* __tstate = wxPyBeginAllowThreads();
17276 (arg1)->SetBestSize((wxSize const &)*arg2);
17277
17278 wxPyEndAllowThreads(__tstate);
17279 if (PyErr_Occurred()) SWIG_fail;
17280 }
17281 Py_INCREF(Py_None); resultobj = Py_None;
17282 return resultobj;
17283 fail:
17284 return NULL;
17285 }
17286
17287
17288 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17291 int arg2 ;
17292 int arg3 ;
17293 int arg4 ;
17294 int arg5 ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj1 = 0 ;
17297 PyObject * obj2 = 0 ;
17298 PyObject * obj3 = 0 ;
17299 PyObject * obj4 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17307 arg2 = (int) SWIG_AsInt(obj1);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 arg3 = (int) SWIG_AsInt(obj2);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 arg4 = (int) SWIG_AsInt(obj3);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 arg5 = (int) SWIG_AsInt(obj4);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17318
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 Py_INCREF(Py_None); resultobj = Py_None;
17323 return resultobj;
17324 fail:
17325 return NULL;
17326 }
17327
17328
17329 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17330 PyObject *resultobj;
17331 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17332 int arg2 ;
17333 int arg3 ;
17334 int arg4 ;
17335 int arg5 ;
17336 int arg6 = (int) wxSIZE_AUTO ;
17337 PyObject * obj0 = 0 ;
17338 PyObject * obj1 = 0 ;
17339 PyObject * obj2 = 0 ;
17340 PyObject * obj3 = 0 ;
17341 PyObject * obj4 = 0 ;
17342 PyObject * obj5 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17350 arg2 = (int) SWIG_AsInt(obj1);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 arg3 = (int) SWIG_AsInt(obj2);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 arg4 = (int) SWIG_AsInt(obj3);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 arg5 = (int) SWIG_AsInt(obj4);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 if (obj5) {
17359 arg6 = (int) SWIG_AsInt(obj5);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17365
17366 wxPyEndAllowThreads(__tstate);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 Py_INCREF(Py_None); resultobj = Py_None;
17370 return resultobj;
17371 fail:
17372 return NULL;
17373 }
17374
17375
17376 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj;
17378 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17379 int arg2 ;
17380 int arg3 ;
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 PyObject * obj2 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "self",(char *) "width",(char *) "height", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17391 arg2 = (int) SWIG_AsInt(obj1);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 arg3 = (int) SWIG_AsInt(obj2);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 (arg1)->base_DoSetClientSize(arg2,arg3);
17398
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 Py_INCREF(Py_None); resultobj = Py_None;
17403 return resultobj;
17404 fail:
17405 return NULL;
17406 }
17407
17408
17409 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17412 int arg2 ;
17413 int arg3 ;
17414 PyObject * obj0 = 0 ;
17415 PyObject * obj1 = 0 ;
17416 PyObject * obj2 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self",(char *) "x",(char *) "y", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17424 arg2 = (int) SWIG_AsInt(obj1);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 arg3 = (int) SWIG_AsInt(obj2);
17427 if (PyErr_Occurred()) SWIG_fail;
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 Py_INCREF(Py_None); resultobj = Py_None;
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17445 int *arg2 = (int *) 0 ;
17446 int *arg3 = (int *) 0 ;
17447 int temp2 ;
17448 int temp3 ;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self", NULL
17452 };
17453
17454 arg2 = &temp2;
17455 arg3 = &temp3;
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 Py_INCREF(Py_None); resultobj = Py_None;
17467 {
17468 PyObject *o = PyInt_FromLong((long) (*arg2));
17469 resultobj = t_output_helper(resultobj,o);
17470 }
17471 {
17472 PyObject *o = PyInt_FromLong((long) (*arg3));
17473 resultobj = t_output_helper(resultobj,o);
17474 }
17475 return resultobj;
17476 fail:
17477 return NULL;
17478 }
17479
17480
17481 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17484 int *arg2 = (int *) 0 ;
17485 int *arg3 = (int *) 0 ;
17486 int temp2 ;
17487 int temp3 ;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 arg2 = &temp2;
17494 arg3 = &temp3;
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 Py_INCREF(Py_None); resultobj = Py_None;
17506 {
17507 PyObject *o = PyInt_FromLong((long) (*arg2));
17508 resultobj = t_output_helper(resultobj,o);
17509 }
17510 {
17511 PyObject *o = PyInt_FromLong((long) (*arg3));
17512 resultobj = t_output_helper(resultobj,o);
17513 }
17514 return resultobj;
17515 fail:
17516 return NULL;
17517 }
17518
17519
17520 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17521 PyObject *resultobj;
17522 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17523 int *arg2 = (int *) 0 ;
17524 int *arg3 = (int *) 0 ;
17525 int temp2 ;
17526 int temp3 ;
17527 PyObject * obj0 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "self", NULL
17530 };
17531
17532 arg2 = &temp2;
17533 arg3 = &temp3;
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17540
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 Py_INCREF(Py_None); resultobj = Py_None;
17545 {
17546 PyObject *o = PyInt_FromLong((long) (*arg2));
17547 resultobj = t_output_helper(resultobj,o);
17548 }
17549 {
17550 PyObject *o = PyInt_FromLong((long) (*arg3));
17551 resultobj = t_output_helper(resultobj,o);
17552 }
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17562 wxSize result;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 {
17579 wxSize * resultptr;
17580 resultptr = new wxSize((wxSize &) result);
17581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17582 }
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17592 wxSize result;
17593 PyObject * obj0 = 0 ;
17594 char *kwnames[] = {
17595 (char *) "self", NULL
17596 };
17597
17598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 {
17609 wxSize * resultptr;
17610 resultptr = new wxSize((wxSize &) result);
17611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17612 }
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17622 PyObject * obj0 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 (arg1)->base_InitDialog();
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 Py_INCREF(Py_None); resultobj = Py_None;
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17647 bool result;
17648 PyObject * obj0 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (bool)(arg1)->base_TransferDataToWindow();
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 {
17664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17665 }
17666 return resultobj;
17667 fail:
17668 return NULL;
17669 }
17670
17671
17672 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17673 PyObject *resultobj;
17674 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17675 bool result;
17676 PyObject * obj0 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17684 {
17685 PyThreadState* __tstate = wxPyBeginAllowThreads();
17686 result = (bool)(arg1)->base_TransferDataFromWindow();
17687
17688 wxPyEndAllowThreads(__tstate);
17689 if (PyErr_Occurred()) SWIG_fail;
17690 }
17691 {
17692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17693 }
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17703 bool result;
17704 PyObject * obj0 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 result = (bool)(arg1)->base_Validate();
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 {
17720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17721 }
17722 return resultobj;
17723 fail:
17724 return NULL;
17725 }
17726
17727
17728 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17731 bool result;
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17749 }
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17759 bool result;
17760 PyObject * obj0 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 {
17776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17777 }
17778 return resultobj;
17779 fail:
17780 return NULL;
17781 }
17782
17783
17784 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17787 wxSize result;
17788 PyObject * obj0 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 {
17804 wxSize * resultptr;
17805 resultptr = new wxSize((wxSize &) result);
17806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17807 }
17808 return resultobj;
17809 fail:
17810 return NULL;
17811 }
17812
17813
17814 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17815 PyObject *resultobj;
17816 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17817 wxWindow *arg2 = (wxWindow *) 0 ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "child", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 (arg1)->base_AddChild(arg2);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 Py_INCREF(Py_None); resultobj = Py_None;
17837 return resultobj;
17838 fail:
17839 return NULL;
17840 }
17841
17842
17843 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17844 PyObject *resultobj;
17845 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17846 wxWindow *arg2 = (wxWindow *) 0 ;
17847 PyObject * obj0 = 0 ;
17848 PyObject * obj1 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "child", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 (arg1)->base_RemoveChild(arg2);
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 Py_INCREF(Py_None); resultobj = Py_None;
17866 return resultobj;
17867 fail:
17868 return NULL;
17869 }
17870
17871
17872 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17873 PyObject *resultobj;
17874 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17875 bool result;
17876 PyObject * obj0 = 0 ;
17877 char *kwnames[] = {
17878 (char *) "self", NULL
17879 };
17880
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 {
17892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17893 }
17894 return resultobj;
17895 fail:
17896 return NULL;
17897 }
17898
17899
17900 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj;
17902 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17903 wxColour *arg2 = 0 ;
17904 wxColour temp2 ;
17905 PyObject * obj0 = 0 ;
17906 PyObject * obj1 = 0 ;
17907 char *kwnames[] = {
17908 (char *) "self",(char *) "c", NULL
17909 };
17910
17911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17914 {
17915 arg2 = &temp2;
17916 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17917 }
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 Py_INCREF(Py_None); resultobj = Py_None;
17926 return resultobj;
17927 fail:
17928 return NULL;
17929 }
17930
17931
17932 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17933 PyObject *resultobj;
17934 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17935 wxVisualAttributes result;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = (arg1)->base_GetDefaultAttributes();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
17952 wxVisualAttributes * resultptr;
17953 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17955 }
17956 return resultobj;
17957 fail:
17958 return NULL;
17959 }
17960
17961
17962 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17963 PyObject *obj;
17964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17965 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17966 Py_INCREF(obj);
17967 return Py_BuildValue((char *)"");
17968 }
17969 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17970 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17971 return 1;
17972 }
17973
17974
17975 static PyObject *_wrap_PrintoutTitleStr_get() {
17976 PyObject *pyobj;
17977
17978 {
17979 #if wxUSE_UNICODE
17980 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17981 #else
17982 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17983 #endif
17984 }
17985 return pyobj;
17986 }
17987
17988
17989 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17990 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17991 return 1;
17992 }
17993
17994
17995 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17996 PyObject *pyobj;
17997
17998 {
17999 #if wxUSE_UNICODE
18000 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18001 #else
18002 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
18003 #endif
18004 }
18005 return pyobj;
18006 }
18007
18008
18009 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *self, PyObject *args) {
18010 PyObject *resultobj;
18011 wxPrintData *result;
18012
18013 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (wxPrintData *)new wxPrintData();
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *self, PyObject *args) {
18029 PyObject *resultobj;
18030 wxPrintData *arg1 = 0 ;
18031 wxPrintData *result;
18032 PyObject * obj0 = 0 ;
18033
18034 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1)
18037 SWIG_fail;
18038 if (arg1 == NULL) {
18039 PyErr_SetString(PyExc_TypeError,"null reference");
18040 SWIG_fail;
18041 }
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
18057 int argc;
18058 PyObject *argv[2];
18059 int ii;
18060
18061 argc = PyObject_Length(args);
18062 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
18063 argv[ii] = PyTuple_GetItem(args,ii);
18064 }
18065 if (argc == 0) {
18066 return _wrap_new_PrintData__SWIG_0(self,args);
18067 }
18068 if (argc == 1) {
18069 int _v;
18070 {
18071 void *ptr;
18072 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
18073 _v = 0;
18074 PyErr_Clear();
18075 } else {
18076 _v = 1;
18077 }
18078 }
18079 if (_v) {
18080 return _wrap_new_PrintData__SWIG_1(self,args);
18081 }
18082 }
18083
18084 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'");
18085 return NULL;
18086 }
18087
18088
18089 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxPrintData *arg1 = (wxPrintData *) 0 ;
18092 PyObject * obj0 = 0 ;
18093 char *kwnames[] = {
18094 (char *) "self", NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 delete arg1;
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 Py_INCREF(Py_None); resultobj = Py_None;
18108 return resultobj;
18109 fail:
18110 return NULL;
18111 }
18112
18113
18114 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxPrintData *arg1 = (wxPrintData *) 0 ;
18117 int result;
18118 PyObject * obj0 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "self", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 result = (int)(arg1)->GetNoCopies();
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 resultobj = SWIG_FromInt((int)result);
18134 return resultobj;
18135 fail:
18136 return NULL;
18137 }
18138
18139
18140 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj;
18142 wxPrintData *arg1 = (wxPrintData *) 0 ;
18143 bool result;
18144 PyObject * obj0 = 0 ;
18145 char *kwnames[] = {
18146 (char *) "self", NULL
18147 };
18148
18149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (bool)(arg1)->GetCollate();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 {
18160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18161 }
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18169 PyObject *resultobj;
18170 wxPrintData *arg1 = (wxPrintData *) 0 ;
18171 int result;
18172 PyObject * obj0 = 0 ;
18173 char *kwnames[] = {
18174 (char *) "self", NULL
18175 };
18176
18177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
18178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18180 {
18181 PyThreadState* __tstate = wxPyBeginAllowThreads();
18182 result = (int)(arg1)->GetOrientation();
18183
18184 wxPyEndAllowThreads(__tstate);
18185 if (PyErr_Occurred()) SWIG_fail;
18186 }
18187 resultobj = SWIG_FromInt((int)result);
18188 return resultobj;
18189 fail:
18190 return NULL;
18191 }
18192
18193
18194 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj;
18196 wxPrintData *arg1 = (wxPrintData *) 0 ;
18197 bool result;
18198 PyObject * obj0 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 result = (bool)(arg1)->Ok();
18209
18210 wxPyEndAllowThreads(__tstate);
18211 if (PyErr_Occurred()) SWIG_fail;
18212 }
18213 {
18214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18215 }
18216 return resultobj;
18217 fail:
18218 return NULL;
18219 }
18220
18221
18222 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18223 PyObject *resultobj;
18224 wxPrintData *arg1 = (wxPrintData *) 0 ;
18225 wxString *result;
18226 PyObject * obj0 = 0 ;
18227 char *kwnames[] = {
18228 (char *) "self", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 {
18237 wxString const &_result_ref = (arg1)->GetPrinterName();
18238 result = (wxString *) &_result_ref;
18239 }
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 {
18245 #if wxUSE_UNICODE
18246 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18247 #else
18248 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18249 #endif
18250 }
18251 return resultobj;
18252 fail:
18253 return NULL;
18254 }
18255
18256
18257 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18258 PyObject *resultobj;
18259 wxPrintData *arg1 = (wxPrintData *) 0 ;
18260 bool result;
18261 PyObject * obj0 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 result = (bool)(arg1)->GetColour();
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 {
18277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18278 }
18279 return resultobj;
18280 fail:
18281 return NULL;
18282 }
18283
18284
18285 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18286 PyObject *resultobj;
18287 wxPrintData *arg1 = (wxPrintData *) 0 ;
18288 int result;
18289 PyObject * obj0 = 0 ;
18290 char *kwnames[] = {
18291 (char *) "self", NULL
18292 };
18293
18294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 result = (int)(arg1)->GetDuplex();
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 resultobj = SWIG_FromInt((int)result);
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxPrintData *arg1 = (wxPrintData *) 0 ;
18314 int result;
18315 PyObject * obj0 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 result = (int)(arg1)->GetPaperId();
18326
18327 wxPyEndAllowThreads(__tstate);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 resultobj = SWIG_FromInt((int)result);
18331 return resultobj;
18332 fail:
18333 return NULL;
18334 }
18335
18336
18337 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxPrintData *arg1 = (wxPrintData *) 0 ;
18340 wxSize *result;
18341 PyObject * obj0 = 0 ;
18342 char *kwnames[] = {
18343 (char *) "self", NULL
18344 };
18345
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 {
18352 wxSize const &_result_ref = (arg1)->GetPaperSize();
18353 result = (wxSize *) &_result_ref;
18354 }
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18360 return resultobj;
18361 fail:
18362 return NULL;
18363 }
18364
18365
18366 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxPrintData *arg1 = (wxPrintData *) 0 ;
18369 int result;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (int)(arg1)->GetQuality();
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 resultobj = SWIG_FromInt((int)result);
18386 return resultobj;
18387 fail:
18388 return NULL;
18389 }
18390
18391
18392 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxPrintData *arg1 = (wxPrintData *) 0 ;
18395 int arg2 ;
18396 PyObject * obj0 = 0 ;
18397 PyObject * obj1 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self",(char *) "v", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18405 arg2 = (int) SWIG_AsInt(obj1);
18406 if (PyErr_Occurred()) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 (arg1)->SetNoCopies(arg2);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPrintData *arg1 = (wxPrintData *) 0 ;
18424 bool arg2 ;
18425 PyObject * obj0 = 0 ;
18426 PyObject * obj1 = 0 ;
18427 char *kwnames[] = {
18428 (char *) "self",(char *) "flag", NULL
18429 };
18430
18431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18434 arg2 = (bool) SWIG_AsBool(obj1);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 (arg1)->SetCollate(arg2);
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 Py_INCREF(Py_None); resultobj = Py_None;
18444 return resultobj;
18445 fail:
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxPrintData *arg1 = (wxPrintData *) 0 ;
18453 int arg2 ;
18454 PyObject * obj0 = 0 ;
18455 PyObject * obj1 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self",(char *) "orient", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18463 arg2 = (int) SWIG_AsInt(obj1);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 (arg1)->SetOrientation(arg2);
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 Py_INCREF(Py_None); resultobj = Py_None;
18473 return resultobj;
18474 fail:
18475 return NULL;
18476 }
18477
18478
18479 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18480 PyObject *resultobj;
18481 wxPrintData *arg1 = (wxPrintData *) 0 ;
18482 wxString *arg2 = 0 ;
18483 bool temp2 = False ;
18484 PyObject * obj0 = 0 ;
18485 PyObject * obj1 = 0 ;
18486 char *kwnames[] = {
18487 (char *) "self",(char *) "name", NULL
18488 };
18489
18490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18493 {
18494 arg2 = wxString_in_helper(obj1);
18495 if (arg2 == NULL) SWIG_fail;
18496 temp2 = True;
18497 }
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 (arg1)->SetPrinterName((wxString const &)*arg2);
18501
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 Py_INCREF(Py_None); resultobj = Py_None;
18506 {
18507 if (temp2)
18508 delete arg2;
18509 }
18510 return resultobj;
18511 fail:
18512 {
18513 if (temp2)
18514 delete arg2;
18515 }
18516 return NULL;
18517 }
18518
18519
18520 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18521 PyObject *resultobj;
18522 wxPrintData *arg1 = (wxPrintData *) 0 ;
18523 bool arg2 ;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "colour", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18533 arg2 = (bool) SWIG_AsBool(obj1);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 (arg1)->SetColour(arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 Py_INCREF(Py_None); resultobj = Py_None;
18543 return resultobj;
18544 fail:
18545 return NULL;
18546 }
18547
18548
18549 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18550 PyObject *resultobj;
18551 wxPrintData *arg1 = (wxPrintData *) 0 ;
18552 int arg2 ;
18553 PyObject * obj0 = 0 ;
18554 PyObject * obj1 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self",(char *) "duplex", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18562 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 (arg1)->SetDuplex((wxDuplexMode )arg2);
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 Py_INCREF(Py_None); resultobj = Py_None;
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPrintData *arg1 = (wxPrintData *) 0 ;
18581 int arg2 ;
18582 PyObject * obj0 = 0 ;
18583 PyObject * obj1 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self",(char *) "sizeId", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18591 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 (arg1)->SetPaperId((wxPaperSize )arg2);
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 Py_INCREF(Py_None); resultobj = Py_None;
18601 return resultobj;
18602 fail:
18603 return NULL;
18604 }
18605
18606
18607 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18608 PyObject *resultobj;
18609 wxPrintData *arg1 = (wxPrintData *) 0 ;
18610 wxSize *arg2 = 0 ;
18611 wxSize temp2 ;
18612 PyObject * obj0 = 0 ;
18613 PyObject * obj1 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self",(char *) "sz", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18621 {
18622 arg2 = &temp2;
18623 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18624 }
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 (arg1)->SetPaperSize((wxSize const &)*arg2);
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 Py_INCREF(Py_None); resultobj = Py_None;
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPrintData *arg1 = (wxPrintData *) 0 ;
18642 int arg2 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "quality", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",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 = (int) SWIG_AsInt(obj1);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 (arg1)->SetQuality(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_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxPrintData *arg1 = (wxPrintData *) 0 ;
18671 wxString *result;
18672 PyObject * obj0 = 0 ;
18673 char *kwnames[] = {
18674 (char *) "self", NULL
18675 };
18676
18677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 {
18683 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18684 result = (wxString *) &_result_ref;
18685 }
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 {
18691 #if wxUSE_UNICODE
18692 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18693 #else
18694 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18695 #endif
18696 }
18697 return resultobj;
18698 fail:
18699 return NULL;
18700 }
18701
18702
18703 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPrintData *arg1 = (wxPrintData *) 0 ;
18706 wxString *result;
18707 PyObject * obj0 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 {
18718 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18719 result = (wxString *) &_result_ref;
18720 }
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 {
18726 #if wxUSE_UNICODE
18727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18728 #else
18729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18730 #endif
18731 }
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxPrintData *arg1 = (wxPrintData *) 0 ;
18741 wxString *result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 {
18753 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18754 result = (wxString *) &_result_ref;
18755 }
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 {
18761 #if wxUSE_UNICODE
18762 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18763 #else
18764 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18765 #endif
18766 }
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxPrintData *arg1 = (wxPrintData *) 0 ;
18776 wxString *result;
18777 PyObject * obj0 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 {
18788 wxString const &_result_ref = (arg1)->GetFilename();
18789 result = (wxString *) &_result_ref;
18790 }
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 {
18796 #if wxUSE_UNICODE
18797 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18798 #else
18799 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18800 #endif
18801 }
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPrintData *arg1 = (wxPrintData *) 0 ;
18811 wxString *result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 {
18823 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18824 result = (wxString *) &_result_ref;
18825 }
18826
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 {
18831 #if wxUSE_UNICODE
18832 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18833 #else
18834 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18835 #endif
18836 }
18837 return resultobj;
18838 fail:
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxPrintData *arg1 = (wxPrintData *) 0 ;
18846 double result;
18847 PyObject * obj0 = 0 ;
18848 char *kwnames[] = {
18849 (char *) "self", NULL
18850 };
18851
18852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (double)(arg1)->GetPrinterScaleX();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 resultobj = SWIG_FromDouble((double)result);
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPrintData *arg1 = (wxPrintData *) 0 ;
18872 double result;
18873 PyObject * obj0 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 result = (double)(arg1)->GetPrinterScaleY();
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 resultobj = SWIG_FromDouble((double)result);
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj;
18897 wxPrintData *arg1 = (wxPrintData *) 0 ;
18898 long result;
18899 PyObject * obj0 = 0 ;
18900 char *kwnames[] = {
18901 (char *) "self", NULL
18902 };
18903
18904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 result = (long)(arg1)->GetPrinterTranslateX();
18910
18911 wxPyEndAllowThreads(__tstate);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 resultobj = SWIG_FromLong((long)result);
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18922 PyObject *resultobj;
18923 wxPrintData *arg1 = (wxPrintData *) 0 ;
18924 long result;
18925 PyObject * obj0 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 result = (long)(arg1)->GetPrinterTranslateY();
18936
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 resultobj = SWIG_FromLong((long)result);
18941 return resultobj;
18942 fail:
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxPrintData *arg1 = (wxPrintData *) 0 ;
18950 int result;
18951 PyObject * obj0 = 0 ;
18952 char *kwnames[] = {
18953 (char *) "self", NULL
18954 };
18955
18956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (int)(arg1)->GetPrintMode();
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_FromInt((int)result);
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPrintData *arg1 = (wxPrintData *) 0 ;
18976 wxString *arg2 = 0 ;
18977 bool temp2 = False ;
18978 PyObject * obj0 = 0 ;
18979 PyObject * obj1 = 0 ;
18980 char *kwnames[] = {
18981 (char *) "self",(char *) "command", NULL
18982 };
18983
18984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18987 {
18988 arg2 = wxString_in_helper(obj1);
18989 if (arg2 == NULL) SWIG_fail;
18990 temp2 = True;
18991 }
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 Py_INCREF(Py_None); resultobj = Py_None;
19000 {
19001 if (temp2)
19002 delete arg2;
19003 }
19004 return resultobj;
19005 fail:
19006 {
19007 if (temp2)
19008 delete arg2;
19009 }
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxPrintData *arg1 = (wxPrintData *) 0 ;
19017 wxString *arg2 = 0 ;
19018 bool temp2 = False ;
19019 PyObject * obj0 = 0 ;
19020 PyObject * obj1 = 0 ;
19021 char *kwnames[] = {
19022 (char *) "self",(char *) "options", NULL
19023 };
19024
19025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
19026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19028 {
19029 arg2 = wxString_in_helper(obj1);
19030 if (arg2 == NULL) SWIG_fail;
19031 temp2 = True;
19032 }
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 (arg1)->SetPrinterOptions((wxString const &)*arg2);
19036
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 Py_INCREF(Py_None); resultobj = Py_None;
19041 {
19042 if (temp2)
19043 delete arg2;
19044 }
19045 return resultobj;
19046 fail:
19047 {
19048 if (temp2)
19049 delete arg2;
19050 }
19051 return NULL;
19052 }
19053
19054
19055 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
19056 PyObject *resultobj;
19057 wxPrintData *arg1 = (wxPrintData *) 0 ;
19058 wxString *arg2 = 0 ;
19059 bool temp2 = False ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 char *kwnames[] = {
19063 (char *) "self",(char *) "command", NULL
19064 };
19065
19066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
19067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19069 {
19070 arg2 = wxString_in_helper(obj1);
19071 if (arg2 == NULL) SWIG_fail;
19072 temp2 = True;
19073 }
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 (arg1)->SetPreviewCommand((wxString const &)*arg2);
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 Py_INCREF(Py_None); resultobj = Py_None;
19082 {
19083 if (temp2)
19084 delete arg2;
19085 }
19086 return resultobj;
19087 fail:
19088 {
19089 if (temp2)
19090 delete arg2;
19091 }
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxPrintData *arg1 = (wxPrintData *) 0 ;
19099 wxString *arg2 = 0 ;
19100 bool temp2 = False ;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj1 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self",(char *) "filename", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19110 {
19111 arg2 = wxString_in_helper(obj1);
19112 if (arg2 == NULL) SWIG_fail;
19113 temp2 = True;
19114 }
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 (arg1)->SetFilename((wxString const &)*arg2);
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 Py_INCREF(Py_None); resultobj = Py_None;
19123 {
19124 if (temp2)
19125 delete arg2;
19126 }
19127 return resultobj;
19128 fail:
19129 {
19130 if (temp2)
19131 delete arg2;
19132 }
19133 return NULL;
19134 }
19135
19136
19137 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxPrintData *arg1 = (wxPrintData *) 0 ;
19140 wxString *arg2 = 0 ;
19141 bool temp2 = False ;
19142 PyObject * obj0 = 0 ;
19143 PyObject * obj1 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "path", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19151 {
19152 arg2 = wxString_in_helper(obj1);
19153 if (arg2 == NULL) SWIG_fail;
19154 temp2 = True;
19155 }
19156 {
19157 PyThreadState* __tstate = wxPyBeginAllowThreads();
19158 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19159
19160 wxPyEndAllowThreads(__tstate);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 Py_INCREF(Py_None); resultobj = Py_None;
19164 {
19165 if (temp2)
19166 delete arg2;
19167 }
19168 return resultobj;
19169 fail:
19170 {
19171 if (temp2)
19172 delete arg2;
19173 }
19174 return NULL;
19175 }
19176
19177
19178 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxPrintData *arg1 = (wxPrintData *) 0 ;
19181 double arg2 ;
19182 PyObject * obj0 = 0 ;
19183 PyObject * obj1 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "x", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19191 arg2 = (double) SWIG_AsDouble(obj1);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 (arg1)->SetPrinterScaleX(arg2);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 Py_INCREF(Py_None); resultobj = Py_None;
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxPrintData *arg1 = (wxPrintData *) 0 ;
19210 double arg2 ;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "y", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19220 arg2 = (double) SWIG_AsDouble(obj1);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 (arg1)->SetPrinterScaleY(arg2);
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 Py_INCREF(Py_None); resultobj = Py_None;
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxPrintData *arg1 = (wxPrintData *) 0 ;
19239 double arg2 ;
19240 double arg3 ;
19241 PyObject * obj0 = 0 ;
19242 PyObject * obj1 = 0 ;
19243 PyObject * obj2 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self",(char *) "x",(char *) "y", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19251 arg2 = (double) SWIG_AsDouble(obj1);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 arg3 = (double) SWIG_AsDouble(obj2);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 (arg1)->SetPrinterScaling(arg2,arg3);
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 Py_INCREF(Py_None); resultobj = Py_None;
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxPrintData *arg1 = (wxPrintData *) 0 ;
19272 long arg2 ;
19273 PyObject * obj0 = 0 ;
19274 PyObject * obj1 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self",(char *) "x", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19282 arg2 = (long) SWIG_AsLong(obj1);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 (arg1)->SetPrinterTranslateX(arg2);
19287
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 Py_INCREF(Py_None); resultobj = Py_None;
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPrintData *arg1 = (wxPrintData *) 0 ;
19301 long arg2 ;
19302 PyObject * obj0 = 0 ;
19303 PyObject * obj1 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self",(char *) "y", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19311 arg2 = (long) SWIG_AsLong(obj1);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 (arg1)->SetPrinterTranslateY(arg2);
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 Py_INCREF(Py_None); resultobj = Py_None;
19321 return resultobj;
19322 fail:
19323 return NULL;
19324 }
19325
19326
19327 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxPrintData *arg1 = (wxPrintData *) 0 ;
19330 long arg2 ;
19331 long arg3 ;
19332 PyObject * obj0 = 0 ;
19333 PyObject * obj1 = 0 ;
19334 PyObject * obj2 = 0 ;
19335 char *kwnames[] = {
19336 (char *) "self",(char *) "x",(char *) "y", NULL
19337 };
19338
19339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19342 arg2 = (long) SWIG_AsLong(obj1);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 arg3 = (long) SWIG_AsLong(obj2);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 (arg1)->SetPrinterTranslation(arg2,arg3);
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 Py_INCREF(Py_None); resultobj = Py_None;
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxPrintData *arg1 = (wxPrintData *) 0 ;
19363 int arg2 ;
19364 PyObject * obj0 = 0 ;
19365 PyObject * obj1 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self",(char *) "printMode", NULL
19368 };
19369
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19373 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 (arg1)->SetPrintMode((wxPrintMode )arg2);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 Py_INCREF(Py_None); resultobj = Py_None;
19383 return resultobj;
19384 fail:
19385 return NULL;
19386 }
19387
19388
19389 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 wxPrintData *arg1 = (wxPrintData *) 0 ;
19392 wxOutputStream *result;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 result = (wxOutputStream *)(arg1)->GetOutputStream();
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19409 return resultobj;
19410 fail:
19411 return NULL;
19412 }
19413
19414
19415 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxPrintData *arg1 = (wxPrintData *) 0 ;
19418 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self",(char *) "outputstream", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 (arg1)->SetOutputStream(arg2);
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 Py_INCREF(Py_None); resultobj = Py_None;
19438 return resultobj;
19439 fail:
19440 return NULL;
19441 }
19442
19443
19444 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19445 PyObject *obj;
19446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19447 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19448 Py_INCREF(obj);
19449 return Py_BuildValue((char *)"");
19450 }
19451 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *self, PyObject *args) {
19452 PyObject *resultobj;
19453 wxPageSetupDialogData *result;
19454
19455 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19464 return resultobj;
19465 fail:
19466 return NULL;
19467 }
19468
19469
19470 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *self, PyObject *args) {
19471 PyObject *resultobj;
19472 wxPageSetupDialogData *arg1 = 0 ;
19473 wxPageSetupDialogData *result;
19474 PyObject * obj0 = 0 ;
19475
19476 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
19477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19478 SWIG_POINTER_EXCEPTION | 0)) == -1)
19479 SWIG_fail;
19480 if (arg1 == NULL) {
19481 PyErr_SetString(PyExc_TypeError,"null reference");
19482 SWIG_fail;
19483 }
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19492 return resultobj;
19493 fail:
19494 return NULL;
19495 }
19496
19497
19498 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
19499 int argc;
19500 PyObject *argv[2];
19501 int ii;
19502
19503 argc = PyObject_Length(args);
19504 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
19505 argv[ii] = PyTuple_GetItem(args,ii);
19506 }
19507 if (argc == 0) {
19508 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
19509 }
19510 if (argc == 1) {
19511 int _v;
19512 {
19513 void *ptr;
19514 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
19515 _v = 0;
19516 PyErr_Clear();
19517 } else {
19518 _v = 1;
19519 }
19520 }
19521 if (_v) {
19522 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
19523 }
19524 }
19525
19526 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'");
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19534 PyObject * obj0 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 delete arg1;
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 Py_INCREF(Py_None); resultobj = Py_None;
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19559 bool arg2 ;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "flag", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19569 arg2 = (bool) SWIG_AsBool(obj1);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 (arg1)->EnableHelp(arg2);
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 Py_INCREF(Py_None); resultobj = Py_None;
19579 return resultobj;
19580 fail:
19581 return NULL;
19582 }
19583
19584
19585 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19586 PyObject *resultobj;
19587 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19588 bool arg2 ;
19589 PyObject * obj0 = 0 ;
19590 PyObject * obj1 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self",(char *) "flag", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19598 arg2 = (bool) SWIG_AsBool(obj1);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 (arg1)->EnableMargins(arg2);
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 Py_INCREF(Py_None); resultobj = Py_None;
19608 return resultobj;
19609 fail:
19610 return NULL;
19611 }
19612
19613
19614 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj;
19616 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19617 bool arg2 ;
19618 PyObject * obj0 = 0 ;
19619 PyObject * obj1 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self",(char *) "flag", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19627 arg2 = (bool) SWIG_AsBool(obj1);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 {
19630 PyThreadState* __tstate = wxPyBeginAllowThreads();
19631 (arg1)->EnableOrientation(arg2);
19632
19633 wxPyEndAllowThreads(__tstate);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 }
19636 Py_INCREF(Py_None); resultobj = Py_None;
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19644 PyObject *resultobj;
19645 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19646 bool arg2 ;
19647 PyObject * obj0 = 0 ;
19648 PyObject * obj1 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self",(char *) "flag", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19656 arg2 = (bool) SWIG_AsBool(obj1);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 (arg1)->EnablePaper(arg2);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 Py_INCREF(Py_None); resultobj = Py_None;
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19675 bool arg2 ;
19676 PyObject * obj0 = 0 ;
19677 PyObject * obj1 = 0 ;
19678 char *kwnames[] = {
19679 (char *) "self",(char *) "flag", NULL
19680 };
19681
19682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19685 arg2 = (bool) SWIG_AsBool(obj1);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 (arg1)->EnablePrinter(arg2);
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 Py_INCREF(Py_None); resultobj = Py_None;
19695 return resultobj;
19696 fail:
19697 return NULL;
19698 }
19699
19700
19701 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19704 bool result;
19705 PyObject * obj0 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19713 {
19714 PyThreadState* __tstate = wxPyBeginAllowThreads();
19715 result = (bool)(arg1)->GetDefaultMinMargins();
19716
19717 wxPyEndAllowThreads(__tstate);
19718 if (PyErr_Occurred()) SWIG_fail;
19719 }
19720 {
19721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19722 }
19723 return resultobj;
19724 fail:
19725 return NULL;
19726 }
19727
19728
19729 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19732 bool result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (bool)(arg1)->GetEnableMargins();
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 {
19749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19750 }
19751 return resultobj;
19752 fail:
19753 return NULL;
19754 }
19755
19756
19757 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19760 bool result;
19761 PyObject * obj0 = 0 ;
19762 char *kwnames[] = {
19763 (char *) "self", NULL
19764 };
19765
19766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19769 {
19770 PyThreadState* __tstate = wxPyBeginAllowThreads();
19771 result = (bool)(arg1)->GetEnableOrientation();
19772
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
19776 {
19777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19778 }
19779 return resultobj;
19780 fail:
19781 return NULL;
19782 }
19783
19784
19785 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19786 PyObject *resultobj;
19787 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19788 bool result;
19789 PyObject * obj0 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 result = (bool)(arg1)->GetEnablePaper();
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 {
19805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19806 }
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19816 bool result;
19817 PyObject * obj0 = 0 ;
19818 char *kwnames[] = {
19819 (char *) "self", NULL
19820 };
19821
19822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (bool)(arg1)->GetEnablePrinter();
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 {
19833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19834 }
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj;
19843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19844 bool result;
19845 PyObject * obj0 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19853 {
19854 PyThreadState* __tstate = wxPyBeginAllowThreads();
19855 result = (bool)(arg1)->GetEnableHelp();
19856
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 {
19861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19862 }
19863 return resultobj;
19864 fail:
19865 return NULL;
19866 }
19867
19868
19869 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19870 PyObject *resultobj;
19871 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19872 bool result;
19873 PyObject * obj0 = 0 ;
19874 char *kwnames[] = {
19875 (char *) "self", NULL
19876 };
19877
19878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)(arg1)->GetDefaultInfo();
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 {
19889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19890 }
19891 return resultobj;
19892 fail:
19893 return NULL;
19894 }
19895
19896
19897 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj;
19899 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19900 wxPoint result;
19901 PyObject * obj0 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (arg1)->GetMarginTopLeft();
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 {
19917 wxPoint * resultptr;
19918 resultptr = new wxPoint((wxPoint &) result);
19919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19920 }
19921 return resultobj;
19922 fail:
19923 return NULL;
19924 }
19925
19926
19927 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19930 wxPoint result;
19931 PyObject * obj0 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 result = (arg1)->GetMarginBottomRight();
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 {
19947 wxPoint * resultptr;
19948 resultptr = new wxPoint((wxPoint &) result);
19949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19950 }
19951 return resultobj;
19952 fail:
19953 return NULL;
19954 }
19955
19956
19957 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19960 wxPoint result;
19961 PyObject * obj0 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = (arg1)->GetMinMarginTopLeft();
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
19976 {
19977 wxPoint * resultptr;
19978 resultptr = new wxPoint((wxPoint &) result);
19979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19980 }
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19990 wxPoint result;
19991 PyObject * obj0 = 0 ;
19992 char *kwnames[] = {
19993 (char *) "self", NULL
19994 };
19995
19996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19999 {
20000 PyThreadState* __tstate = wxPyBeginAllowThreads();
20001 result = (arg1)->GetMinMarginBottomRight();
20002
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 {
20007 wxPoint * resultptr;
20008 resultptr = new wxPoint((wxPoint &) result);
20009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20010 }
20011 return resultobj;
20012 fail:
20013 return NULL;
20014 }
20015
20016
20017 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj;
20019 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20020 int result;
20021 PyObject * obj0 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
20027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = (int)(arg1)->GetPaperId();
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 resultobj = SWIG_FromInt((int)result);
20037 return resultobj;
20038 fail:
20039 return NULL;
20040 }
20041
20042
20043 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20044 PyObject *resultobj;
20045 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20046 wxSize result;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
20053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20055 {
20056 PyThreadState* __tstate = wxPyBeginAllowThreads();
20057 result = (arg1)->GetPaperSize();
20058
20059 wxPyEndAllowThreads(__tstate);
20060 if (PyErr_Occurred()) SWIG_fail;
20061 }
20062 {
20063 wxSize * resultptr;
20064 resultptr = new wxSize((wxSize &) result);
20065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20066 }
20067 return resultobj;
20068 fail:
20069 return NULL;
20070 }
20071
20072
20073 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20074 PyObject *resultobj;
20075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20076 wxPrintData *result;
20077 PyObject * obj0 = 0 ;
20078 char *kwnames[] = {
20079 (char *) "self", NULL
20080 };
20081
20082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20085 {
20086 PyThreadState* __tstate = wxPyBeginAllowThreads();
20087 {
20088 wxPrintData &_result_ref = (arg1)->GetPrintData();
20089 result = (wxPrintData *) &_result_ref;
20090 }
20091
20092 wxPyEndAllowThreads(__tstate);
20093 if (PyErr_Occurred()) SWIG_fail;
20094 }
20095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20096 return resultobj;
20097 fail:
20098 return NULL;
20099 }
20100
20101
20102 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20103 PyObject *resultobj;
20104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20105 bool result;
20106 PyObject * obj0 = 0 ;
20107 char *kwnames[] = {
20108 (char *) "self", NULL
20109 };
20110
20111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
20112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 result = (bool)(arg1)->Ok();
20117
20118 wxPyEndAllowThreads(__tstate);
20119 if (PyErr_Occurred()) SWIG_fail;
20120 }
20121 {
20122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20123 }
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20133 bool arg2 ;
20134 PyObject * obj0 = 0 ;
20135 PyObject * obj1 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self",(char *) "flag", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20143 arg2 = (bool) SWIG_AsBool(obj1);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 (arg1)->SetDefaultInfo(arg2);
20148
20149 wxPyEndAllowThreads(__tstate);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 Py_INCREF(Py_None); resultobj = Py_None;
20153 return resultobj;
20154 fail:
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj;
20161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20162 bool arg2 ;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "flag", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20172 arg2 = (bool) SWIG_AsBool(obj1);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 (arg1)->SetDefaultMinMargins(arg2);
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 Py_INCREF(Py_None); resultobj = Py_None;
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj;
20190 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20191 wxPoint *arg2 = 0 ;
20192 wxPoint temp2 ;
20193 PyObject * obj0 = 0 ;
20194 PyObject * obj1 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self",(char *) "pt", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 arg2 = &temp2;
20204 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20205 }
20206 {
20207 PyThreadState* __tstate = wxPyBeginAllowThreads();
20208 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20209
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 Py_INCREF(Py_None); resultobj = Py_None;
20214 return resultobj;
20215 fail:
20216 return NULL;
20217 }
20218
20219
20220 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20221 PyObject *resultobj;
20222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20223 wxPoint *arg2 = 0 ;
20224 wxPoint temp2 ;
20225 PyObject * obj0 = 0 ;
20226 PyObject * obj1 = 0 ;
20227 char *kwnames[] = {
20228 (char *) "self",(char *) "pt", NULL
20229 };
20230
20231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20234 {
20235 arg2 = &temp2;
20236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20237 }
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 Py_INCREF(Py_None); resultobj = Py_None;
20246 return resultobj;
20247 fail:
20248 return NULL;
20249 }
20250
20251
20252 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20253 PyObject *resultobj;
20254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20255 wxPoint *arg2 = 0 ;
20256 wxPoint temp2 ;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj1 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self",(char *) "pt", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20266 {
20267 arg2 = &temp2;
20268 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20269 }
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 Py_INCREF(Py_None); resultobj = Py_None;
20278 return resultobj;
20279 fail:
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20287 wxPoint *arg2 = 0 ;
20288 wxPoint temp2 ;
20289 PyObject * obj0 = 0 ;
20290 PyObject * obj1 = 0 ;
20291 char *kwnames[] = {
20292 (char *) "self",(char *) "pt", NULL
20293 };
20294
20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20298 {
20299 arg2 = &temp2;
20300 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20301 }
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 Py_INCREF(Py_None); resultobj = Py_None;
20310 return resultobj;
20311 fail:
20312 return NULL;
20313 }
20314
20315
20316 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20319 int arg2 ;
20320 PyObject * obj0 = 0 ;
20321 PyObject * obj1 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self",(char *) "id", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20329 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 (arg1)->SetPaperId((wxPaperSize )arg2);
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 Py_INCREF(Py_None); resultobj = Py_None;
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20348 wxSize *arg2 = 0 ;
20349 wxSize temp2 ;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "size", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20359 {
20360 arg2 = &temp2;
20361 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20362 }
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 (arg1)->SetPaperSize((wxSize const &)*arg2);
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 Py_INCREF(Py_None); resultobj = Py_None;
20371 return resultobj;
20372 fail:
20373 return NULL;
20374 }
20375
20376
20377 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20380 wxPrintData *arg2 = 0 ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "self",(char *) "printData", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1)
20392 SWIG_fail;
20393 if (arg2 == NULL) {
20394 PyErr_SetString(PyExc_TypeError,"null reference");
20395 SWIG_fail;
20396 }
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20412 PyObject *obj;
20413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20414 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20415 Py_INCREF(obj);
20416 return Py_BuildValue((char *)"");
20417 }
20418 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxWindow *arg1 = (wxWindow *) 0 ;
20421 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20422 wxPageSetupDialog *result;
20423 PyObject * obj0 = 0 ;
20424 PyObject * obj1 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "parent",(char *) "data", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20432 if (obj1) {
20433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20435 }
20436 {
20437 if (!wxPyCheckForApp()) SWIG_fail;
20438 PyThreadState* __tstate = wxPyBeginAllowThreads();
20439 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20440
20441 wxPyEndAllowThreads(__tstate);
20442 if (PyErr_Occurred()) SWIG_fail;
20443 }
20444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20445 return resultobj;
20446 fail:
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20454 wxPageSetupDialogData *result;
20455 PyObject * obj0 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 {
20466 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20467 result = (wxPageSetupDialogData *) &_result_ref;
20468 }
20469
20470 wxPyEndAllowThreads(__tstate);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20474 return resultobj;
20475 fail:
20476 return NULL;
20477 }
20478
20479
20480 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20481 PyObject *resultobj;
20482 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20483 int result;
20484 PyObject * obj0 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20492 {
20493 PyThreadState* __tstate = wxPyBeginAllowThreads();
20494 result = (int)(arg1)->ShowModal();
20495
20496 wxPyEndAllowThreads(__tstate);
20497 if (PyErr_Occurred()) SWIG_fail;
20498 }
20499 resultobj = SWIG_FromInt((int)result);
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20507 PyObject *obj;
20508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20509 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20510 Py_INCREF(obj);
20511 return Py_BuildValue((char *)"");
20512 }
20513 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20514 PyObject *resultobj;
20515 wxPrintDialogData *result;
20516
20517 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 result = (wxPrintDialogData *)new wxPrintDialogData();
20521
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20526 return resultobj;
20527 fail:
20528 return NULL;
20529 }
20530
20531
20532 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20533 PyObject *resultobj;
20534 wxPrintData *arg1 = 0 ;
20535 wxPrintDialogData *result;
20536 PyObject * obj0 = 0 ;
20537
20538 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20540 SWIG_POINTER_EXCEPTION | 0)) == -1)
20541 SWIG_fail;
20542 if (arg1 == NULL) {
20543 PyErr_SetString(PyExc_TypeError,"null reference");
20544 SWIG_fail;
20545 }
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20549
20550 wxPyEndAllowThreads(__tstate);
20551 if (PyErr_Occurred()) SWIG_fail;
20552 }
20553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20561 int argc;
20562 PyObject *argv[2];
20563 int ii;
20564
20565 argc = PyObject_Length(args);
20566 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20567 argv[ii] = PyTuple_GetItem(args,ii);
20568 }
20569 if (argc == 0) {
20570 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20571 }
20572 if (argc == 1) {
20573 int _v;
20574 {
20575 void *ptr;
20576 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20577 _v = 0;
20578 PyErr_Clear();
20579 } else {
20580 _v = 1;
20581 }
20582 }
20583 if (_v) {
20584 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20585 }
20586 }
20587
20588 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20589 return NULL;
20590 }
20591
20592
20593 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20594 PyObject *resultobj;
20595 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20596 PyObject * obj0 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 delete arg1;
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 Py_INCREF(Py_None); resultobj = Py_None;
20612 return resultobj;
20613 fail:
20614 return NULL;
20615 }
20616
20617
20618 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20619 PyObject *resultobj;
20620 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20621 int result;
20622 PyObject * obj0 = 0 ;
20623 char *kwnames[] = {
20624 (char *) "self", NULL
20625 };
20626
20627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 resultobj = SWIG_FromInt((int)result);
20638 return resultobj;
20639 fail:
20640 return NULL;
20641 }
20642
20643
20644 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20645 PyObject *resultobj;
20646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20647 int result;
20648 PyObject * obj0 = 0 ;
20649 char *kwnames[] = {
20650 (char *) "self", NULL
20651 };
20652
20653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 resultobj = SWIG_FromInt((int)result);
20664 return resultobj;
20665 fail:
20666 return NULL;
20667 }
20668
20669
20670 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20673 int result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 resultobj = SWIG_FromInt((int)result);
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20699 int result;
20700 PyObject * obj0 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 resultobj = SWIG_FromInt((int)result);
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20725 int result;
20726 PyObject * obj0 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 resultobj = SWIG_FromInt((int)result);
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20751 bool result;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 {
20768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20769 }
20770 return resultobj;
20771 fail:
20772 return NULL;
20773 }
20774
20775
20776 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj;
20778 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20779 bool result;
20780 PyObject * obj0 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
20795 {
20796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20797 }
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20807 bool result;
20808 PyObject * obj0 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 {
20824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20825 }
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20835 bool result;
20836 PyObject * obj0 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "self", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 {
20852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20853 }
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20863 bool result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 {
20880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20881 }
20882 return resultobj;
20883 fail:
20884 return NULL;
20885 }
20886
20887
20888 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20889 PyObject *resultobj;
20890 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20891 int arg2 ;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj1 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self",(char *) "v", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20901 arg2 = (int) SWIG_AsInt(obj1);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 (arg1)->SetFromPage(arg2);
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 Py_INCREF(Py_None); resultobj = Py_None;
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20920 int arg2 ;
20921 PyObject * obj0 = 0 ;
20922 PyObject * obj1 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self",(char *) "v", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20930 arg2 = (int) SWIG_AsInt(obj1);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 {
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 (arg1)->SetToPage(arg2);
20935
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 Py_INCREF(Py_None); resultobj = Py_None;
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20949 int arg2 ;
20950 PyObject * obj0 = 0 ;
20951 PyObject * obj1 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self",(char *) "v", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20959 arg2 = (int) SWIG_AsInt(obj1);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 (arg1)->SetMinPage(arg2);
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 Py_INCREF(Py_None); resultobj = Py_None;
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20978 int arg2 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "v", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 arg2 = (int) SWIG_AsInt(obj1);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 (arg1)->SetMaxPage(arg2);
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 Py_INCREF(Py_None); resultobj = Py_None;
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21007 int arg2 ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 char *kwnames[] = {
21011 (char *) "self",(char *) "v", NULL
21012 };
21013
21014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21017 arg2 = (int) SWIG_AsInt(obj1);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 (arg1)->SetNoCopies(arg2);
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 Py_INCREF(Py_None); resultobj = Py_None;
21027 return resultobj;
21028 fail:
21029 return NULL;
21030 }
21031
21032
21033 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
21034 PyObject *resultobj;
21035 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21036 bool arg2 ;
21037 PyObject * obj0 = 0 ;
21038 PyObject * obj1 = 0 ;
21039 char *kwnames[] = {
21040 (char *) "self",(char *) "flag", NULL
21041 };
21042
21043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
21044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21046 arg2 = (bool) SWIG_AsBool(obj1);
21047 if (PyErr_Occurred()) SWIG_fail;
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 (arg1)->SetAllPages(arg2);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 Py_INCREF(Py_None); resultobj = Py_None;
21056 return resultobj;
21057 fail:
21058 return NULL;
21059 }
21060
21061
21062 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21063 PyObject *resultobj;
21064 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21065 bool arg2 ;
21066 PyObject * obj0 = 0 ;
21067 PyObject * obj1 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "self",(char *) "flag", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
21073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21075 arg2 = (bool) SWIG_AsBool(obj1);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 {
21078 PyThreadState* __tstate = wxPyBeginAllowThreads();
21079 (arg1)->SetSelection(arg2);
21080
21081 wxPyEndAllowThreads(__tstate);
21082 if (PyErr_Occurred()) SWIG_fail;
21083 }
21084 Py_INCREF(Py_None); resultobj = Py_None;
21085 return resultobj;
21086 fail:
21087 return NULL;
21088 }
21089
21090
21091 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
21092 PyObject *resultobj;
21093 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21094 bool arg2 ;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self",(char *) "flag", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21104 arg2 = (bool) SWIG_AsBool(obj1);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 (arg1)->SetCollate(arg2);
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 Py_INCREF(Py_None); resultobj = Py_None;
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21123 bool arg2 ;
21124 PyObject * obj0 = 0 ;
21125 PyObject * obj1 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self",(char *) "flag", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
21131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21133 arg2 = (bool) SWIG_AsBool(obj1);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 (arg1)->SetPrintToFile(arg2);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 Py_INCREF(Py_None); resultobj = Py_None;
21143 return resultobj;
21144 fail:
21145 return NULL;
21146 }
21147
21148
21149 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21152 bool arg2 ;
21153 PyObject * obj0 = 0 ;
21154 PyObject * obj1 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self",(char *) "flag", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21162 arg2 = (bool) SWIG_AsBool(obj1);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 (arg1)->SetSetupDialog(arg2);
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21181 bool arg2 ;
21182 PyObject * obj0 = 0 ;
21183 PyObject * obj1 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self",(char *) "flag", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21191 arg2 = (bool) SWIG_AsBool(obj1);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 (arg1)->EnablePrintToFile(arg2);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21210 bool arg2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "flag", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 arg2 = (bool) SWIG_AsBool(obj1);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 {
21223 PyThreadState* __tstate = wxPyBeginAllowThreads();
21224 (arg1)->EnableSelection(arg2);
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 Py_INCREF(Py_None); resultobj = Py_None;
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj;
21238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21239 bool arg2 ;
21240 PyObject * obj0 = 0 ;
21241 PyObject * obj1 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self",(char *) "flag", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21249 arg2 = (bool) SWIG_AsBool(obj1);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 (arg1)->EnablePageNumbers(arg2);
21254
21255 wxPyEndAllowThreads(__tstate);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 Py_INCREF(Py_None); resultobj = Py_None;
21259 return resultobj;
21260 fail:
21261 return NULL;
21262 }
21263
21264
21265 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21266 PyObject *resultobj;
21267 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21268 bool arg2 ;
21269 PyObject * obj0 = 0 ;
21270 PyObject * obj1 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self",(char *) "flag", NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21278 arg2 = (bool) SWIG_AsBool(obj1);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 {
21281 PyThreadState* __tstate = wxPyBeginAllowThreads();
21282 (arg1)->EnableHelp(arg2);
21283
21284 wxPyEndAllowThreads(__tstate);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 Py_INCREF(Py_None); resultobj = Py_None;
21288 return resultobj;
21289 fail:
21290 return NULL;
21291 }
21292
21293
21294 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21295 PyObject *resultobj;
21296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21297 bool result;
21298 PyObject * obj0 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 {
21314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21315 }
21316 return resultobj;
21317 fail:
21318 return NULL;
21319 }
21320
21321
21322 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21325 bool result;
21326 PyObject * obj0 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 {
21342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21343 }
21344 return resultobj;
21345 fail:
21346 return NULL;
21347 }
21348
21349
21350 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21351 PyObject *resultobj;
21352 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21353 bool result;
21354 PyObject * obj0 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21362 {
21363 PyThreadState* __tstate = wxPyBeginAllowThreads();
21364 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21365
21366 wxPyEndAllowThreads(__tstate);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 {
21370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21371 }
21372 return resultobj;
21373 fail:
21374 return NULL;
21375 }
21376
21377
21378 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21381 bool result;
21382 PyObject * obj0 = 0 ;
21383 char *kwnames[] = {
21384 (char *) "self", NULL
21385 };
21386
21387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21393
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 {
21398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21399 }
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21409 bool result;
21410 PyObject * obj0 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 {
21426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21427 }
21428 return resultobj;
21429 fail:
21430 return NULL;
21431 }
21432
21433
21434 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21435 PyObject *resultobj;
21436 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21437 wxPrintData *result;
21438 PyObject * obj0 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 {
21449 wxPrintData &_result_ref = (arg1)->GetPrintData();
21450 result = (wxPrintData *) &_result_ref;
21451 }
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21457 return resultobj;
21458 fail:
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21466 wxPrintData *arg2 = 0 ;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self",(char *) "printData", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21477 SWIG_POINTER_EXCEPTION | 0)) == -1)
21478 SWIG_fail;
21479 if (arg2 == NULL) {
21480 PyErr_SetString(PyExc_TypeError,"null reference");
21481 SWIG_fail;
21482 }
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 return resultobj;
21492 fail:
21493 return NULL;
21494 }
21495
21496
21497 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21498 PyObject *obj;
21499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21500 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21501 Py_INCREF(obj);
21502 return Py_BuildValue((char *)"");
21503 }
21504 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21505 PyObject *resultobj;
21506 wxWindow *arg1 = (wxWindow *) 0 ;
21507 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21508 wxPrintDialog *result;
21509 PyObject * obj0 = 0 ;
21510 PyObject * obj1 = 0 ;
21511 char *kwnames[] = {
21512 (char *) "parent",(char *) "data", NULL
21513 };
21514
21515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21518 if (obj1) {
21519 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21521 }
21522 {
21523 if (!wxPyCheckForApp()) SWIG_fail;
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21540 wxPrintDialogData *result;
21541 PyObject * obj0 = 0 ;
21542 char *kwnames[] = {
21543 (char *) "self", NULL
21544 };
21545
21546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 {
21552 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21553 result = (wxPrintDialogData *) &_result_ref;
21554 }
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21560 return resultobj;
21561 fail:
21562 return NULL;
21563 }
21564
21565
21566 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21567 PyObject *resultobj;
21568 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21569 wxDC *result;
21570 PyObject * obj0 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 result = (wxDC *)(arg1)->GetPrintDC();
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 {
21586 resultobj = wxPyMake_wxObject(result, 1);
21587 }
21588 return resultobj;
21589 fail:
21590 return NULL;
21591 }
21592
21593
21594 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21595 PyObject *resultobj;
21596 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21597 int result;
21598 PyObject * obj0 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 result = (int)(arg1)->ShowModal();
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 resultobj = SWIG_FromInt((int)result);
21614 return resultobj;
21615 fail:
21616 return NULL;
21617 }
21618
21619
21620 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21621 PyObject *obj;
21622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21623 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21624 Py_INCREF(obj);
21625 return Py_BuildValue((char *)"");
21626 }
21627 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21628 PyObject *resultobj;
21629 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21630 wxPrinter *result;
21631 PyObject * obj0 = 0 ;
21632 char *kwnames[] = {
21633 (char *) "data", NULL
21634 };
21635
21636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21637 if (obj0) {
21638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21640 }
21641 {
21642 if (!wxPyCheckForApp()) SWIG_fail;
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 result = (wxPrinter *)new wxPrinter(arg1);
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21650 return resultobj;
21651 fail:
21652 return NULL;
21653 }
21654
21655
21656 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21657 PyObject *resultobj;
21658 wxPrinter *arg1 = (wxPrinter *) 0 ;
21659 PyObject * obj0 = 0 ;
21660 char *kwnames[] = {
21661 (char *) "self", NULL
21662 };
21663
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 delete arg1;
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 Py_INCREF(Py_None); resultobj = Py_None;
21675 return resultobj;
21676 fail:
21677 return NULL;
21678 }
21679
21680
21681 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21682 PyObject *resultobj;
21683 wxPrinter *arg1 = (wxPrinter *) 0 ;
21684 wxWindow *arg2 = (wxWindow *) 0 ;
21685 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 PyObject * obj2 = 0 ;
21689 char *kwnames[] = {
21690 (char *) "self",(char *) "parent",(char *) "printout", NULL
21691 };
21692
21693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21698 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 (arg1)->CreateAbortWindow(arg2,arg3);
21703
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 Py_INCREF(Py_None); resultobj = Py_None;
21708 return resultobj;
21709 fail:
21710 return NULL;
21711 }
21712
21713
21714 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21715 PyObject *resultobj;
21716 wxPrinter *arg1 = (wxPrinter *) 0 ;
21717 wxPrintDialogData *result;
21718 PyObject * obj0 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 {
21729 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21730 result = (wxPrintDialogData *) &_result_ref;
21731 }
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21737 return resultobj;
21738 fail:
21739 return NULL;
21740 }
21741
21742
21743 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21744 PyObject *resultobj;
21745 wxPrinter *arg1 = (wxPrinter *) 0 ;
21746 wxWindow *arg2 = (wxWindow *) 0 ;
21747 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21748 int arg4 = (int) True ;
21749 bool result;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 PyObject * obj2 = 0 ;
21753 PyObject * obj3 = 0 ;
21754 char *kwnames[] = {
21755 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21756 };
21757
21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21763 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21765 if (obj3) {
21766 arg4 = (int) SWIG_AsInt(obj3);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21772
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 {
21777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21778 }
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxPrinter *arg1 = (wxPrinter *) 0 ;
21788 wxWindow *arg2 = (wxWindow *) 0 ;
21789 wxDC *result;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self",(char *) "parent", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 result = (wxDC *)(arg1)->PrintDialog(arg2);
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 {
21809 resultobj = wxPyMake_wxObject(result, 0);
21810 }
21811 return resultobj;
21812 fail:
21813 return NULL;
21814 }
21815
21816
21817 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21818 PyObject *resultobj;
21819 wxPrinter *arg1 = (wxPrinter *) 0 ;
21820 wxWindow *arg2 = (wxWindow *) 0 ;
21821 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21822 wxString *arg4 = 0 ;
21823 bool temp4 = False ;
21824 PyObject * obj0 = 0 ;
21825 PyObject * obj1 = 0 ;
21826 PyObject * obj2 = 0 ;
21827 PyObject * obj3 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21835 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21837 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21839 {
21840 arg4 = wxString_in_helper(obj3);
21841 if (arg4 == NULL) SWIG_fail;
21842 temp4 = True;
21843 }
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21847
21848 wxPyEndAllowThreads(__tstate);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 Py_INCREF(Py_None); resultobj = Py_None;
21852 {
21853 if (temp4)
21854 delete arg4;
21855 }
21856 return resultobj;
21857 fail:
21858 {
21859 if (temp4)
21860 delete arg4;
21861 }
21862 return NULL;
21863 }
21864
21865
21866 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj;
21868 wxPrinter *arg1 = (wxPrinter *) 0 ;
21869 wxWindow *arg2 = (wxWindow *) 0 ;
21870 bool result;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "parent", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 result = (bool)(arg1)->Setup(arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 {
21890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21891 }
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxPrinter *arg1 = (wxPrinter *) 0 ;
21901 bool result;
21902 PyObject * obj0 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 result = (bool)(arg1)->GetAbort();
21913
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 {
21918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21919 }
21920 return resultobj;
21921 fail:
21922 return NULL;
21923 }
21924
21925
21926 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj;
21928 int result;
21929 char *kwnames[] = {
21930 NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (int)wxPrinter::GetLastError();
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 resultobj = SWIG_FromInt((int)result);
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21949 PyObject *obj;
21950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21951 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21952 Py_INCREF(obj);
21953 return Py_BuildValue((char *)"");
21954 }
21955 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21956 PyObject *resultobj;
21957 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21958 wxString *arg1 = (wxString *) &arg1_defvalue ;
21959 wxPyPrintout *result;
21960 bool temp1 = False ;
21961 PyObject * obj0 = 0 ;
21962 char *kwnames[] = {
21963 (char *) "title", NULL
21964 };
21965
21966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21967 if (obj0) {
21968 {
21969 arg1 = wxString_in_helper(obj0);
21970 if (arg1 == NULL) SWIG_fail;
21971 temp1 = True;
21972 }
21973 }
21974 {
21975 if (!wxPyCheckForApp()) SWIG_fail;
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 resultobj = wxPyMake_wxObject(result, 1);
21984 }
21985 {
21986 if (temp1)
21987 delete arg1;
21988 }
21989 return resultobj;
21990 fail:
21991 {
21992 if (temp1)
21993 delete arg1;
21994 }
21995 return NULL;
21996 }
21997
21998
21999 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj;
22001 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22002 PyObject *arg2 = (PyObject *) 0 ;
22003 PyObject *arg3 = (PyObject *) 0 ;
22004 PyObject * obj0 = 0 ;
22005 PyObject * obj1 = 0 ;
22006 PyObject * obj2 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "self",(char *) "self",(char *) "_class", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22014 arg2 = obj1;
22015 arg3 = obj2;
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 (arg1)->_setCallbackInfo(arg2,arg3);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 Py_INCREF(Py_None); resultobj = Py_None;
22024 return resultobj;
22025 fail:
22026 return NULL;
22027 }
22028
22029
22030 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22033 wxString result;
22034 PyObject * obj0 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = ((wxPyPrintout const *)arg1)->GetTitle();
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
22050 #if wxUSE_UNICODE
22051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22052 #else
22053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22054 #endif
22055 }
22056 return resultobj;
22057 fail:
22058 return NULL;
22059 }
22060
22061
22062 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22063 PyObject *resultobj;
22064 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22065 wxDC *result;
22066 PyObject * obj0 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "self", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
22072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (wxDC *)(arg1)->GetDC();
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 {
22082 resultobj = wxPyMake_wxObject(result, 0);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22093 wxDC *arg2 = (wxDC *) 0 ;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self",(char *) "dc", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
22101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 (arg1)->SetDC(arg2);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 Py_INCREF(Py_None); resultobj = Py_None;
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj;
22121 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22122 int arg2 ;
22123 int arg3 ;
22124 PyObject * obj0 = 0 ;
22125 PyObject * obj1 = 0 ;
22126 PyObject * obj2 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self",(char *) "w",(char *) "h", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
22132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22134 arg2 = (int) SWIG_AsInt(obj1);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 arg3 = (int) SWIG_AsInt(obj2);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 {
22139 PyThreadState* __tstate = wxPyBeginAllowThreads();
22140 (arg1)->SetPageSizePixels(arg2,arg3);
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 Py_INCREF(Py_None); resultobj = Py_None;
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22155 int *arg2 = (int *) 0 ;
22156 int *arg3 = (int *) 0 ;
22157 int temp2 ;
22158 int temp3 ;
22159 PyObject * obj0 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self", NULL
22162 };
22163
22164 arg2 = &temp2;
22165 arg3 = &temp3;
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22169 {
22170 PyThreadState* __tstate = wxPyBeginAllowThreads();
22171 (arg1)->GetPageSizePixels(arg2,arg3);
22172
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 Py_INCREF(Py_None); resultobj = Py_None;
22177 {
22178 PyObject *o = PyInt_FromLong((long) (*arg2));
22179 resultobj = t_output_helper(resultobj,o);
22180 }
22181 {
22182 PyObject *o = PyInt_FromLong((long) (*arg3));
22183 resultobj = t_output_helper(resultobj,o);
22184 }
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22194 int arg2 ;
22195 int arg3 ;
22196 PyObject * obj0 = 0 ;
22197 PyObject * obj1 = 0 ;
22198 PyObject * obj2 = 0 ;
22199 char *kwnames[] = {
22200 (char *) "self",(char *) "w",(char *) "h", NULL
22201 };
22202
22203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22206 arg2 = (int) SWIG_AsInt(obj1);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 arg3 = (int) SWIG_AsInt(obj2);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 (arg1)->SetPageSizeMM(arg2,arg3);
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 Py_INCREF(Py_None); resultobj = Py_None;
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22227 int *arg2 = (int *) 0 ;
22228 int *arg3 = (int *) 0 ;
22229 int temp2 ;
22230 int temp3 ;
22231 PyObject * obj0 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self", NULL
22234 };
22235
22236 arg2 = &temp2;
22237 arg3 = &temp3;
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 (arg1)->GetPageSizeMM(arg2,arg3);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 Py_INCREF(Py_None); resultobj = Py_None;
22249 {
22250 PyObject *o = PyInt_FromLong((long) (*arg2));
22251 resultobj = t_output_helper(resultobj,o);
22252 }
22253 {
22254 PyObject *o = PyInt_FromLong((long) (*arg3));
22255 resultobj = t_output_helper(resultobj,o);
22256 }
22257 return resultobj;
22258 fail:
22259 return NULL;
22260 }
22261
22262
22263 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj;
22265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22266 int arg2 ;
22267 int arg3 ;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 PyObject * obj2 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "x",(char *) "y", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22278 arg2 = (int) SWIG_AsInt(obj1);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 arg3 = (int) SWIG_AsInt(obj2);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 (arg1)->SetPPIScreen(arg2,arg3);
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 Py_INCREF(Py_None); resultobj = Py_None;
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22299 int *arg2 = (int *) 0 ;
22300 int *arg3 = (int *) 0 ;
22301 int temp2 ;
22302 int temp3 ;
22303 PyObject * obj0 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self", NULL
22306 };
22307
22308 arg2 = &temp2;
22309 arg3 = &temp3;
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 (arg1)->GetPPIScreen(arg2,arg3);
22316
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 Py_INCREF(Py_None); resultobj = Py_None;
22321 {
22322 PyObject *o = PyInt_FromLong((long) (*arg2));
22323 resultobj = t_output_helper(resultobj,o);
22324 }
22325 {
22326 PyObject *o = PyInt_FromLong((long) (*arg3));
22327 resultobj = t_output_helper(resultobj,o);
22328 }
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22338 int arg2 ;
22339 int arg3 ;
22340 PyObject * obj0 = 0 ;
22341 PyObject * obj1 = 0 ;
22342 PyObject * obj2 = 0 ;
22343 char *kwnames[] = {
22344 (char *) "self",(char *) "x",(char *) "y", NULL
22345 };
22346
22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22350 arg2 = (int) SWIG_AsInt(obj1);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 arg3 = (int) SWIG_AsInt(obj2);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->SetPPIPrinter(arg2,arg3);
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 Py_INCREF(Py_None); resultobj = Py_None;
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22371 int *arg2 = (int *) 0 ;
22372 int *arg3 = (int *) 0 ;
22373 int temp2 ;
22374 int temp3 ;
22375 PyObject * obj0 = 0 ;
22376 char *kwnames[] = {
22377 (char *) "self", NULL
22378 };
22379
22380 arg2 = &temp2;
22381 arg3 = &temp3;
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->GetPPIPrinter(arg2,arg3);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 {
22394 PyObject *o = PyInt_FromLong((long) (*arg2));
22395 resultobj = t_output_helper(resultobj,o);
22396 }
22397 {
22398 PyObject *o = PyInt_FromLong((long) (*arg3));
22399 resultobj = t_output_helper(resultobj,o);
22400 }
22401 return resultobj;
22402 fail:
22403 return NULL;
22404 }
22405
22406
22407 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22408 PyObject *resultobj;
22409 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22410 bool result;
22411 PyObject * obj0 = 0 ;
22412 char *kwnames[] = {
22413 (char *) "self", NULL
22414 };
22415
22416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22419 {
22420 PyThreadState* __tstate = wxPyBeginAllowThreads();
22421 result = (bool)(arg1)->IsPreview();
22422
22423 wxPyEndAllowThreads(__tstate);
22424 if (PyErr_Occurred()) SWIG_fail;
22425 }
22426 {
22427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22428 }
22429 return resultobj;
22430 fail:
22431 return NULL;
22432 }
22433
22434
22435 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22436 PyObject *resultobj;
22437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22438 bool arg2 ;
22439 PyObject * obj0 = 0 ;
22440 PyObject * obj1 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self",(char *) "p", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22448 arg2 = (bool) SWIG_AsBool(obj1);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 (arg1)->SetIsPreview(arg2);
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 Py_INCREF(Py_None); resultobj = Py_None;
22458 return resultobj;
22459 fail:
22460 return NULL;
22461 }
22462
22463
22464 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22465 PyObject *resultobj;
22466 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22467 int arg2 ;
22468 int arg3 ;
22469 bool result;
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 PyObject * obj2 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22480 arg2 = (int) SWIG_AsInt(obj1);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 arg3 = (int) SWIG_AsInt(obj2);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 {
22492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22493 }
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22503 PyObject * obj0 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 (arg1)->base_OnEndDocument();
22514
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 Py_INCREF(Py_None); resultobj = Py_None;
22519 return resultobj;
22520 fail:
22521 return NULL;
22522 }
22523
22524
22525 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj;
22527 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22528 PyObject * obj0 = 0 ;
22529 char *kwnames[] = {
22530 (char *) "self", NULL
22531 };
22532
22533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 (arg1)->base_OnBeginPrinting();
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 Py_INCREF(Py_None); resultobj = Py_None;
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22553 PyObject * obj0 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 (arg1)->base_OnEndPrinting();
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 Py_INCREF(Py_None); resultobj = Py_None;
22569 return resultobj;
22570 fail:
22571 return NULL;
22572 }
22573
22574
22575 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22576 PyObject *resultobj;
22577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22578 PyObject * obj0 = 0 ;
22579 char *kwnames[] = {
22580 (char *) "self", NULL
22581 };
22582
22583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22586 {
22587 PyThreadState* __tstate = wxPyBeginAllowThreads();
22588 (arg1)->base_OnPreparePrinting();
22589
22590 wxPyEndAllowThreads(__tstate);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 Py_INCREF(Py_None); resultobj = Py_None;
22594 return resultobj;
22595 fail:
22596 return NULL;
22597 }
22598
22599
22600 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj;
22602 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22603 int arg2 ;
22604 bool result;
22605 PyObject * obj0 = 0 ;
22606 PyObject * obj1 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "self",(char *) "page", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22614 arg2 = (int) SWIG_AsInt(obj1);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 {
22617 PyThreadState* __tstate = wxPyBeginAllowThreads();
22618 result = (bool)(arg1)->base_HasPage(arg2);
22619
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 {
22624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22625 }
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22635 int *arg2 = (int *) 0 ;
22636 int *arg3 = (int *) 0 ;
22637 int *arg4 = (int *) 0 ;
22638 int *arg5 = (int *) 0 ;
22639 int temp2 ;
22640 int temp3 ;
22641 int temp4 ;
22642 int temp5 ;
22643 PyObject * obj0 = 0 ;
22644 char *kwnames[] = {
22645 (char *) "self", NULL
22646 };
22647
22648 arg2 = &temp2;
22649 arg3 = &temp3;
22650 arg4 = &temp4;
22651 arg5 = &temp5;
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22655 {
22656 PyThreadState* __tstate = wxPyBeginAllowThreads();
22657 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22658
22659 wxPyEndAllowThreads(__tstate);
22660 if (PyErr_Occurred()) SWIG_fail;
22661 }
22662 Py_INCREF(Py_None); resultobj = Py_None;
22663 {
22664 PyObject *o = PyInt_FromLong((long) (*arg2));
22665 resultobj = t_output_helper(resultobj,o);
22666 }
22667 {
22668 PyObject *o = PyInt_FromLong((long) (*arg3));
22669 resultobj = t_output_helper(resultobj,o);
22670 }
22671 {
22672 PyObject *o = PyInt_FromLong((long) (*arg4));
22673 resultobj = t_output_helper(resultobj,o);
22674 }
22675 {
22676 PyObject *o = PyInt_FromLong((long) (*arg5));
22677 resultobj = t_output_helper(resultobj,o);
22678 }
22679 return resultobj;
22680 fail:
22681 return NULL;
22682 }
22683
22684
22685 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22686 PyObject *obj;
22687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22688 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22689 Py_INCREF(obj);
22690 return Py_BuildValue((char *)"");
22691 }
22692 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22695 wxWindow *arg2 = (wxWindow *) 0 ;
22696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22698 wxSize const &arg4_defvalue = wxDefaultSize ;
22699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22700 long arg5 = (long) 0 ;
22701 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22702 wxString *arg6 = (wxString *) &arg6_defvalue ;
22703 wxPreviewCanvas *result;
22704 wxPoint temp3 ;
22705 wxSize temp4 ;
22706 bool temp6 = False ;
22707 PyObject * obj0 = 0 ;
22708 PyObject * obj1 = 0 ;
22709 PyObject * obj2 = 0 ;
22710 PyObject * obj3 = 0 ;
22711 PyObject * obj4 = 0 ;
22712 PyObject * obj5 = 0 ;
22713 char *kwnames[] = {
22714 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22715 };
22716
22717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22722 if (obj2) {
22723 {
22724 arg3 = &temp3;
22725 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22726 }
22727 }
22728 if (obj3) {
22729 {
22730 arg4 = &temp4;
22731 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22732 }
22733 }
22734 if (obj4) {
22735 arg5 = (long) SWIG_AsLong(obj4);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 if (obj5) {
22739 {
22740 arg6 = wxString_in_helper(obj5);
22741 if (arg6 == NULL) SWIG_fail;
22742 temp6 = True;
22743 }
22744 }
22745 {
22746 if (!wxPyCheckForApp()) SWIG_fail;
22747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22748 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22749
22750 wxPyEndAllowThreads(__tstate);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 }
22753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22754 {
22755 if (temp6)
22756 delete arg6;
22757 }
22758 return resultobj;
22759 fail:
22760 {
22761 if (temp6)
22762 delete arg6;
22763 }
22764 return NULL;
22765 }
22766
22767
22768 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22769 PyObject *obj;
22770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22771 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22772 Py_INCREF(obj);
22773 return Py_BuildValue((char *)"");
22774 }
22775 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22776 PyObject *resultobj;
22777 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22778 wxFrame *arg2 = (wxFrame *) 0 ;
22779 wxString *arg3 = 0 ;
22780 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22781 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22782 wxSize const &arg5_defvalue = wxDefaultSize ;
22783 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22784 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22785 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22786 wxString *arg7 = (wxString *) &arg7_defvalue ;
22787 wxPreviewFrame *result;
22788 bool temp3 = False ;
22789 wxPoint temp4 ;
22790 wxSize temp5 ;
22791 bool temp7 = False ;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 PyObject * obj2 = 0 ;
22795 PyObject * obj3 = 0 ;
22796 PyObject * obj4 = 0 ;
22797 PyObject * obj5 = 0 ;
22798 PyObject * obj6 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22808 {
22809 arg3 = wxString_in_helper(obj2);
22810 if (arg3 == NULL) SWIG_fail;
22811 temp3 = True;
22812 }
22813 if (obj3) {
22814 {
22815 arg4 = &temp4;
22816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22817 }
22818 }
22819 if (obj4) {
22820 {
22821 arg5 = &temp5;
22822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22823 }
22824 }
22825 if (obj5) {
22826 arg6 = (long) SWIG_AsLong(obj5);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 if (obj6) {
22830 {
22831 arg7 = wxString_in_helper(obj6);
22832 if (arg7 == NULL) SWIG_fail;
22833 temp7 = True;
22834 }
22835 }
22836 {
22837 if (!wxPyCheckForApp()) SWIG_fail;
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22845 {
22846 if (temp3)
22847 delete arg3;
22848 }
22849 {
22850 if (temp7)
22851 delete arg7;
22852 }
22853 return resultobj;
22854 fail:
22855 {
22856 if (temp3)
22857 delete arg3;
22858 }
22859 {
22860 if (temp7)
22861 delete arg7;
22862 }
22863 return NULL;
22864 }
22865
22866
22867 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj;
22869 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22870 PyObject * obj0 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 (arg1)->Initialize();
22881
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 Py_INCREF(Py_None); resultobj = Py_None;
22886 return resultobj;
22887 fail:
22888 return NULL;
22889 }
22890
22891
22892 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22893 PyObject *resultobj;
22894 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22895 PyObject * obj0 = 0 ;
22896 char *kwnames[] = {
22897 (char *) "self", NULL
22898 };
22899
22900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22903 {
22904 PyThreadState* __tstate = wxPyBeginAllowThreads();
22905 (arg1)->CreateControlBar();
22906
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 Py_INCREF(Py_None); resultobj = Py_None;
22911 return resultobj;
22912 fail:
22913 return NULL;
22914 }
22915
22916
22917 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22920 PyObject * obj0 = 0 ;
22921 char *kwnames[] = {
22922 (char *) "self", NULL
22923 };
22924
22925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 (arg1)->CreateCanvas();
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 Py_INCREF(Py_None); resultobj = Py_None;
22936 return resultobj;
22937 fail:
22938 return NULL;
22939 }
22940
22941
22942 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22943 PyObject *resultobj;
22944 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22945 wxPreviewControlBar *result;
22946 PyObject * obj0 = 0 ;
22947 char *kwnames[] = {
22948 (char *) "self", NULL
22949 };
22950
22951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22957
22958 wxPyEndAllowThreads(__tstate);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 }
22961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22969 PyObject *obj;
22970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22971 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22972 Py_INCREF(obj);
22973 return Py_BuildValue((char *)"");
22974 }
22975 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22978 long arg2 ;
22979 wxWindow *arg3 = (wxWindow *) 0 ;
22980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22982 wxSize const &arg5_defvalue = wxDefaultSize ;
22983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22984 long arg6 = (long) wxTAB_TRAVERSAL ;
22985 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22986 wxString *arg7 = (wxString *) &arg7_defvalue ;
22987 wxPreviewControlBar *result;
22988 wxPoint temp4 ;
22989 wxSize temp5 ;
22990 bool temp7 = False ;
22991 PyObject * obj0 = 0 ;
22992 PyObject * obj1 = 0 ;
22993 PyObject * obj2 = 0 ;
22994 PyObject * obj3 = 0 ;
22995 PyObject * obj4 = 0 ;
22996 PyObject * obj5 = 0 ;
22997 PyObject * obj6 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23005 arg2 = (long) SWIG_AsLong(obj1);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
23008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23009 if (obj3) {
23010 {
23011 arg4 = &temp4;
23012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23013 }
23014 }
23015 if (obj4) {
23016 {
23017 arg5 = &temp5;
23018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23019 }
23020 }
23021 if (obj5) {
23022 arg6 = (long) SWIG_AsLong(obj5);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 if (obj6) {
23026 {
23027 arg7 = wxString_in_helper(obj6);
23028 if (arg7 == NULL) SWIG_fail;
23029 temp7 = True;
23030 }
23031 }
23032 {
23033 if (!wxPyCheckForApp()) SWIG_fail;
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
23041 {
23042 if (temp7)
23043 delete arg7;
23044 }
23045 return resultobj;
23046 fail:
23047 {
23048 if (temp7)
23049 delete arg7;
23050 }
23051 return NULL;
23052 }
23053
23054
23055 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23056 PyObject *resultobj;
23057 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23058 int result;
23059 PyObject * obj0 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 result = (int)(arg1)->GetZoomControl();
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 resultobj = SWIG_FromInt((int)result);
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23084 int arg2 ;
23085 PyObject * obj0 = 0 ;
23086 PyObject * obj1 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self",(char *) "zoom", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
23092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23094 arg2 = (int) SWIG_AsInt(obj1);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 (arg1)->SetZoomControl(arg2);
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 Py_INCREF(Py_None); resultobj = Py_None;
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23113 wxPrintPreview *result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
23120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23139 PyObject * obj0 = 0 ;
23140 char *kwnames[] = {
23141 (char *) "self", NULL
23142 };
23143
23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
23145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 (arg1)->OnNext();
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 Py_INCREF(Py_None); resultobj = Py_None;
23155 return resultobj;
23156 fail:
23157 return NULL;
23158 }
23159
23160
23161 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 (arg1)->OnPrevious();
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 Py_INCREF(Py_None); resultobj = Py_None;
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23189 PyObject * obj0 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 (arg1)->OnFirst();
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
23204 Py_INCREF(Py_None); resultobj = Py_None;
23205 return resultobj;
23206 fail:
23207 return NULL;
23208 }
23209
23210
23211 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
23212 PyObject *resultobj;
23213 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23214 PyObject * obj0 = 0 ;
23215 char *kwnames[] = {
23216 (char *) "self", NULL
23217 };
23218
23219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 (arg1)->OnLast();
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 Py_INCREF(Py_None); resultobj = Py_None;
23230 return resultobj;
23231 fail:
23232 return NULL;
23233 }
23234
23235
23236 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23237 PyObject *resultobj;
23238 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23239 PyObject * obj0 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23247 {
23248 PyThreadState* __tstate = wxPyBeginAllowThreads();
23249 (arg1)->OnGoto();
23250
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 Py_INCREF(Py_None); resultobj = Py_None;
23255 return resultobj;
23256 fail:
23257 return NULL;
23258 }
23259
23260
23261 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23262 PyObject *obj;
23263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23264 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23265 Py_INCREF(obj);
23266 return Py_BuildValue((char *)"");
23267 }
23268 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23269 PyObject *resultobj;
23270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23271 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23272 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23273 wxPrintPreview *result;
23274 PyObject * obj0 = 0 ;
23275 PyObject * obj1 = 0 ;
23276 PyObject * obj2 = 0 ;
23277
23278 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23281 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23283 if (obj2) {
23284 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 }
23287 {
23288 if (!wxPyCheckForApp()) SWIG_fail;
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23296 return resultobj;
23297 fail:
23298 return NULL;
23299 }
23300
23301
23302 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23303 PyObject *resultobj;
23304 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23305 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23306 wxPrintData *arg3 = (wxPrintData *) 0 ;
23307 wxPrintPreview *result;
23308 PyObject * obj0 = 0 ;
23309 PyObject * obj1 = 0 ;
23310 PyObject * obj2 = 0 ;
23311
23312 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23317 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23319 {
23320 if (!wxPyCheckForApp()) SWIG_fail;
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23335 int argc;
23336 PyObject *argv[4];
23337 int ii;
23338
23339 argc = PyObject_Length(args);
23340 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23341 argv[ii] = PyTuple_GetItem(args,ii);
23342 }
23343 if ((argc >= 2) && (argc <= 3)) {
23344 int _v;
23345 {
23346 void *ptr;
23347 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23348 _v = 0;
23349 PyErr_Clear();
23350 } else {
23351 _v = 1;
23352 }
23353 }
23354 if (_v) {
23355 {
23356 void *ptr;
23357 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23358 _v = 0;
23359 PyErr_Clear();
23360 } else {
23361 _v = 1;
23362 }
23363 }
23364 if (_v) {
23365 if (argc <= 2) {
23366 return _wrap_new_PrintPreview__SWIG_0(self,args);
23367 }
23368 {
23369 void *ptr;
23370 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23371 _v = 0;
23372 PyErr_Clear();
23373 } else {
23374 _v = 1;
23375 }
23376 }
23377 if (_v) {
23378 return _wrap_new_PrintPreview__SWIG_0(self,args);
23379 }
23380 }
23381 }
23382 }
23383 if (argc == 3) {
23384 int _v;
23385 {
23386 void *ptr;
23387 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23388 _v = 0;
23389 PyErr_Clear();
23390 } else {
23391 _v = 1;
23392 }
23393 }
23394 if (_v) {
23395 {
23396 void *ptr;
23397 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23398 _v = 0;
23399 PyErr_Clear();
23400 } else {
23401 _v = 1;
23402 }
23403 }
23404 if (_v) {
23405 {
23406 void *ptr;
23407 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23408 _v = 0;
23409 PyErr_Clear();
23410 } else {
23411 _v = 1;
23412 }
23413 }
23414 if (_v) {
23415 return _wrap_new_PrintPreview__SWIG_1(self,args);
23416 }
23417 }
23418 }
23419 }
23420
23421 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23422 return NULL;
23423 }
23424
23425
23426 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23427 PyObject *resultobj;
23428 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23429 int arg2 ;
23430 bool result;
23431 PyObject * obj0 = 0 ;
23432 PyObject * obj1 = 0 ;
23433 char *kwnames[] = {
23434 (char *) "self",(char *) "pageNum", NULL
23435 };
23436
23437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23440 arg2 = (int) SWIG_AsInt(obj1);
23441 if (PyErr_Occurred()) SWIG_fail;
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (bool)(arg1)->SetCurrentPage(arg2);
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 {
23450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23451 }
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23461 int result;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = (int)(arg1)->GetCurrentPage();
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 resultobj = SWIG_FromInt((int)result);
23478 return resultobj;
23479 fail:
23480 return NULL;
23481 }
23482
23483
23484 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj;
23486 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23487 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23488 PyObject * obj0 = 0 ;
23489 PyObject * obj1 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self",(char *) "printout", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23499 {
23500 PyThreadState* __tstate = wxPyBeginAllowThreads();
23501 (arg1)->SetPrintout(arg2);
23502
23503 wxPyEndAllowThreads(__tstate);
23504 if (PyErr_Occurred()) SWIG_fail;
23505 }
23506 Py_INCREF(Py_None); resultobj = Py_None;
23507 return resultobj;
23508 fail:
23509 return NULL;
23510 }
23511
23512
23513 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23514 PyObject *resultobj;
23515 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23516 wxPyPrintout *result;
23517 PyObject * obj0 = 0 ;
23518 char *kwnames[] = {
23519 (char *) "self", NULL
23520 };
23521
23522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 result = (wxPyPrintout *)(arg1)->GetPrintout();
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 {
23533 resultobj = wxPyMake_wxObject(result, 0);
23534 }
23535 return resultobj;
23536 fail:
23537 return NULL;
23538 }
23539
23540
23541 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23542 PyObject *resultobj;
23543 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23544 wxPyPrintout *result;
23545 PyObject * obj0 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 resultobj = wxPyMake_wxObject(result, 0);
23562 }
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23572 wxFrame *arg2 = (wxFrame *) 0 ;
23573 PyObject * obj0 = 0 ;
23574 PyObject * obj1 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self",(char *) "frame", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 (arg1)->SetFrame(arg2);
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 Py_INCREF(Py_None); resultobj = Py_None;
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23599 PyObject *resultobj;
23600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23601 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23602 PyObject * obj0 = 0 ;
23603 PyObject * obj1 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self",(char *) "canvas", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 (arg1)->SetCanvas(arg2);
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 Py_INCREF(Py_None); resultobj = Py_None;
23621 return resultobj;
23622 fail:
23623 return NULL;
23624 }
23625
23626
23627 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23630 wxFrame *result;
23631 PyObject * obj0 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (wxFrame *)(arg1)->GetFrame();
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 resultobj = wxPyMake_wxObject(result, 0);
23648 }
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23658 wxPreviewCanvas *result;
23659 PyObject * obj0 = 0 ;
23660 char *kwnames[] = {
23661 (char *) "self", NULL
23662 };
23663
23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23684 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23685 wxDC *arg3 = 0 ;
23686 bool result;
23687 PyObject * obj0 = 0 ;
23688 PyObject * obj1 = 0 ;
23689 PyObject * obj2 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23699 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23700 SWIG_POINTER_EXCEPTION | 0)) == -1)
23701 SWIG_fail;
23702 if (arg3 == NULL) {
23703 PyErr_SetString(PyExc_TypeError,"null reference");
23704 SWIG_fail;
23705 }
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 {
23714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23715 }
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23725 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23726 wxDC *arg3 = 0 ;
23727 bool result;
23728 PyObject * obj0 = 0 ;
23729 PyObject * obj1 = 0 ;
23730 PyObject * obj2 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23740 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23741 SWIG_POINTER_EXCEPTION | 0)) == -1)
23742 SWIG_fail;
23743 if (arg3 == NULL) {
23744 PyErr_SetString(PyExc_TypeError,"null reference");
23745 SWIG_fail;
23746 }
23747 {
23748 PyThreadState* __tstate = wxPyBeginAllowThreads();
23749 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23750
23751 wxPyEndAllowThreads(__tstate);
23752 if (PyErr_Occurred()) SWIG_fail;
23753 }
23754 {
23755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23756 }
23757 return resultobj;
23758 fail:
23759 return NULL;
23760 }
23761
23762
23763 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23764 PyObject *resultobj;
23765 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23766 int arg2 ;
23767 bool result;
23768 PyObject * obj0 = 0 ;
23769 PyObject * obj1 = 0 ;
23770 char *kwnames[] = {
23771 (char *) "self",(char *) "pageNum", NULL
23772 };
23773
23774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23777 arg2 = (int) SWIG_AsInt(obj1);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 result = (bool)(arg1)->RenderPage(arg2);
23782
23783 wxPyEndAllowThreads(__tstate);
23784 if (PyErr_Occurred()) SWIG_fail;
23785 }
23786 {
23787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23788 }
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23798 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "self",(char *) "canvas", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 (arg1)->AdjustScrollbars(arg2);
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 Py_INCREF(Py_None); resultobj = Py_None;
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23827 wxPrintDialogData *result;
23828 PyObject * obj0 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "self", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 {
23839 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23840 result = (wxPrintDialogData *) &_result_ref;
23841 }
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23856 int arg2 ;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self",(char *) "percent", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23866 arg2 = (int) SWIG_AsInt(obj1);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 (arg1)->SetZoom(arg2);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 Py_INCREF(Py_None); resultobj = Py_None;
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23885 int result;
23886 PyObject * obj0 = 0 ;
23887 char *kwnames[] = {
23888 (char *) "self", NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (int)(arg1)->GetZoom();
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 resultobj = SWIG_FromInt((int)result);
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23911 int result;
23912 PyObject * obj0 = 0 ;
23913 char *kwnames[] = {
23914 (char *) "self", NULL
23915 };
23916
23917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 result = (int)(arg1)->GetMaxPage();
23923
23924 wxPyEndAllowThreads(__tstate);
23925 if (PyErr_Occurred()) SWIG_fail;
23926 }
23927 resultobj = SWIG_FromInt((int)result);
23928 return resultobj;
23929 fail:
23930 return NULL;
23931 }
23932
23933
23934 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23935 PyObject *resultobj;
23936 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23937 int result;
23938 PyObject * obj0 = 0 ;
23939 char *kwnames[] = {
23940 (char *) "self", NULL
23941 };
23942
23943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 result = (int)(arg1)->GetMinPage();
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 resultobj = SWIG_FromInt((int)result);
23954 return resultobj;
23955 fail:
23956 return NULL;
23957 }
23958
23959
23960 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23961 PyObject *resultobj;
23962 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23963 bool result;
23964 PyObject * obj0 = 0 ;
23965 char *kwnames[] = {
23966 (char *) "self", NULL
23967 };
23968
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 result = (bool)(arg1)->Ok();
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 {
23980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23981 }
23982 return resultobj;
23983 fail:
23984 return NULL;
23985 }
23986
23987
23988 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23989 PyObject *resultobj;
23990 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23991 bool arg2 ;
23992 PyObject * obj0 = 0 ;
23993 PyObject * obj1 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "ok", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24001 arg2 = (bool) SWIG_AsBool(obj1);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
24005 (arg1)->SetOk(arg2);
24006
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 Py_INCREF(Py_None); resultobj = Py_None;
24011 return resultobj;
24012 fail:
24013 return NULL;
24014 }
24015
24016
24017 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24020 bool arg2 ;
24021 bool result;
24022 PyObject * obj0 = 0 ;
24023 PyObject * obj1 = 0 ;
24024 char *kwnames[] = {
24025 (char *) "self",(char *) "interactive", NULL
24026 };
24027
24028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
24029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24031 arg2 = (bool) SWIG_AsBool(obj1);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 {
24034 PyThreadState* __tstate = wxPyBeginAllowThreads();
24035 result = (bool)(arg1)->Print(arg2);
24036
24037 wxPyEndAllowThreads(__tstate);
24038 if (PyErr_Occurred()) SWIG_fail;
24039 }
24040 {
24041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24042 }
24043 return resultobj;
24044 fail:
24045 return NULL;
24046 }
24047
24048
24049 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj;
24051 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24052 PyObject * obj0 = 0 ;
24053 char *kwnames[] = {
24054 (char *) "self", NULL
24055 };
24056
24057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
24058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->DetermineScaling();
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 Py_INCREF(Py_None); resultobj = Py_None;
24068 return resultobj;
24069 fail:
24070 return NULL;
24071 }
24072
24073
24074 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
24075 PyObject *obj;
24076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24077 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
24078 Py_INCREF(obj);
24079 return Py_BuildValue((char *)"");
24080 }
24081 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
24082 PyObject *resultobj;
24083 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24084 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24085 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
24086 wxPyPrintPreview *result;
24087 PyObject * obj0 = 0 ;
24088 PyObject * obj1 = 0 ;
24089 PyObject * obj2 = 0 ;
24090
24091 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24096 if (obj2) {
24097 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
24098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24099 }
24100 {
24101 if (!wxPyCheckForApp()) SWIG_fail;
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
24116 PyObject *resultobj;
24117 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24118 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
24119 wxPrintData *arg3 = (wxPrintData *) 0 ;
24120 wxPyPrintPreview *result;
24121 PyObject * obj0 = 0 ;
24122 PyObject * obj1 = 0 ;
24123 PyObject * obj2 = 0 ;
24124
24125 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
24126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
24127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
24129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24130 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
24131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24132 {
24133 if (!wxPyCheckForApp()) SWIG_fail;
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
24148 int argc;
24149 PyObject *argv[4];
24150 int ii;
24151
24152 argc = PyObject_Length(args);
24153 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24154 argv[ii] = PyTuple_GetItem(args,ii);
24155 }
24156 if ((argc >= 2) && (argc <= 3)) {
24157 int _v;
24158 {
24159 void *ptr;
24160 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24161 _v = 0;
24162 PyErr_Clear();
24163 } else {
24164 _v = 1;
24165 }
24166 }
24167 if (_v) {
24168 {
24169 void *ptr;
24170 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24171 _v = 0;
24172 PyErr_Clear();
24173 } else {
24174 _v = 1;
24175 }
24176 }
24177 if (_v) {
24178 if (argc <= 2) {
24179 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24180 }
24181 {
24182 void *ptr;
24183 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24184 _v = 0;
24185 PyErr_Clear();
24186 } else {
24187 _v = 1;
24188 }
24189 }
24190 if (_v) {
24191 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24192 }
24193 }
24194 }
24195 }
24196 if (argc == 3) {
24197 int _v;
24198 {
24199 void *ptr;
24200 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24201 _v = 0;
24202 PyErr_Clear();
24203 } else {
24204 _v = 1;
24205 }
24206 }
24207 if (_v) {
24208 {
24209 void *ptr;
24210 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24211 _v = 0;
24212 PyErr_Clear();
24213 } else {
24214 _v = 1;
24215 }
24216 }
24217 if (_v) {
24218 {
24219 void *ptr;
24220 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24221 _v = 0;
24222 PyErr_Clear();
24223 } else {
24224 _v = 1;
24225 }
24226 }
24227 if (_v) {
24228 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24229 }
24230 }
24231 }
24232 }
24233
24234 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24235 return NULL;
24236 }
24237
24238
24239 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj;
24241 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24242 PyObject *arg2 = (PyObject *) 0 ;
24243 PyObject *arg3 = (PyObject *) 0 ;
24244 PyObject * obj0 = 0 ;
24245 PyObject * obj1 = 0 ;
24246 PyObject * obj2 = 0 ;
24247 char *kwnames[] = {
24248 (char *) "self",(char *) "self",(char *) "_class", NULL
24249 };
24250
24251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24254 arg2 = obj1;
24255 arg3 = obj2;
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 (arg1)->_setCallbackInfo(arg2,arg3);
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 Py_INCREF(Py_None); resultobj = Py_None;
24264 return resultobj;
24265 fail:
24266 return NULL;
24267 }
24268
24269
24270 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24271 PyObject *resultobj;
24272 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24273 int arg2 ;
24274 bool result;
24275 PyObject * obj0 = 0 ;
24276 PyObject * obj1 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self",(char *) "pageNum", NULL
24279 };
24280
24281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24284 arg2 = (int) SWIG_AsInt(obj1);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 {
24294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24295 }
24296 return resultobj;
24297 fail:
24298 return NULL;
24299 }
24300
24301
24302 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24305 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24306 wxDC *arg3 = 0 ;
24307 bool result;
24308 PyObject * obj0 = 0 ;
24309 PyObject * obj1 = 0 ;
24310 PyObject * obj2 = 0 ;
24311 char *kwnames[] = {
24312 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24313 };
24314
24315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24320 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24321 SWIG_POINTER_EXCEPTION | 0)) == -1)
24322 SWIG_fail;
24323 if (arg3 == NULL) {
24324 PyErr_SetString(PyExc_TypeError,"null reference");
24325 SWIG_fail;
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24336 }
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24346 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24347 wxDC *arg3 = 0 ;
24348 bool result;
24349 PyObject * obj0 = 0 ;
24350 PyObject * obj1 = 0 ;
24351 PyObject * obj2 = 0 ;
24352 char *kwnames[] = {
24353 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24354 };
24355
24356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24361 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24362 SWIG_POINTER_EXCEPTION | 0)) == -1)
24363 SWIG_fail;
24364 if (arg3 == NULL) {
24365 PyErr_SetString(PyExc_TypeError,"null reference");
24366 SWIG_fail;
24367 }
24368 {
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24371
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 {
24376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24377 }
24378 return resultobj;
24379 fail:
24380 return NULL;
24381 }
24382
24383
24384 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24385 PyObject *resultobj;
24386 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24387 int arg2 ;
24388 bool result;
24389 PyObject * obj0 = 0 ;
24390 PyObject * obj1 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self",(char *) "pageNum", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 arg2 = (int) SWIG_AsInt(obj1);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 result = (bool)(arg1)->base_RenderPage(arg2);
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 {
24408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24409 }
24410 return resultobj;
24411 fail:
24412 return NULL;
24413 }
24414
24415
24416 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj;
24418 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24419 int arg2 ;
24420 PyObject * obj0 = 0 ;
24421 PyObject * obj1 = 0 ;
24422 char *kwnames[] = {
24423 (char *) "self",(char *) "percent", NULL
24424 };
24425
24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24429 arg2 = (int) SWIG_AsInt(obj1);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 (arg1)->base_SetZoom(arg2);
24434
24435 wxPyEndAllowThreads(__tstate);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 Py_INCREF(Py_None); resultobj = Py_None;
24439 return resultobj;
24440 fail:
24441 return NULL;
24442 }
24443
24444
24445 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24446 PyObject *resultobj;
24447 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24448 bool arg2 ;
24449 bool result;
24450 PyObject * obj0 = 0 ;
24451 PyObject * obj1 = 0 ;
24452 char *kwnames[] = {
24453 (char *) "self",(char *) "interactive", NULL
24454 };
24455
24456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24459 arg2 = (bool) SWIG_AsBool(obj1);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 result = (bool)(arg1)->base_Print(arg2);
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
24468 {
24469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24470 }
24471 return resultobj;
24472 fail:
24473 return NULL;
24474 }
24475
24476
24477 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24480 PyObject * obj0 = 0 ;
24481 char *kwnames[] = {
24482 (char *) "self", NULL
24483 };
24484
24485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 (arg1)->base_DetermineScaling();
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 Py_INCREF(Py_None); resultobj = Py_None;
24496 return resultobj;
24497 fail:
24498 return NULL;
24499 }
24500
24501
24502 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24503 PyObject *obj;
24504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24505 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24506 Py_INCREF(obj);
24507 return Py_BuildValue((char *)"");
24508 }
24509 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj;
24511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24512 wxFrame *arg2 = (wxFrame *) 0 ;
24513 wxString *arg3 = 0 ;
24514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24516 wxSize const &arg5_defvalue = wxDefaultSize ;
24517 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24518 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24519 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24520 wxString *arg7 = (wxString *) &arg7_defvalue ;
24521 wxPyPreviewFrame *result;
24522 bool temp3 = False ;
24523 wxPoint temp4 ;
24524 wxSize temp5 ;
24525 bool temp7 = False ;
24526 PyObject * obj0 = 0 ;
24527 PyObject * obj1 = 0 ;
24528 PyObject * obj2 = 0 ;
24529 PyObject * obj3 = 0 ;
24530 PyObject * obj4 = 0 ;
24531 PyObject * obj5 = 0 ;
24532 PyObject * obj6 = 0 ;
24533 char *kwnames[] = {
24534 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24535 };
24536
24537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24542 {
24543 arg3 = wxString_in_helper(obj2);
24544 if (arg3 == NULL) SWIG_fail;
24545 temp3 = True;
24546 }
24547 if (obj3) {
24548 {
24549 arg4 = &temp4;
24550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24551 }
24552 }
24553 if (obj4) {
24554 {
24555 arg5 = &temp5;
24556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24557 }
24558 }
24559 if (obj5) {
24560 arg6 = (long) SWIG_AsLong(obj5);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 if (obj6) {
24564 {
24565 arg7 = wxString_in_helper(obj6);
24566 if (arg7 == NULL) SWIG_fail;
24567 temp7 = True;
24568 }
24569 }
24570 {
24571 if (!wxPyCheckForApp()) SWIG_fail;
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24574
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24579 {
24580 if (temp3)
24581 delete arg3;
24582 }
24583 {
24584 if (temp7)
24585 delete arg7;
24586 }
24587 return resultobj;
24588 fail:
24589 {
24590 if (temp3)
24591 delete arg3;
24592 }
24593 {
24594 if (temp7)
24595 delete arg7;
24596 }
24597 return NULL;
24598 }
24599
24600
24601 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj;
24603 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24604 PyObject *arg2 = (PyObject *) 0 ;
24605 PyObject *arg3 = (PyObject *) 0 ;
24606 PyObject * obj0 = 0 ;
24607 PyObject * obj1 = 0 ;
24608 PyObject * obj2 = 0 ;
24609 char *kwnames[] = {
24610 (char *) "self",(char *) "self",(char *) "_class", NULL
24611 };
24612
24613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24616 arg2 = obj1;
24617 arg3 = obj2;
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 (arg1)->_setCallbackInfo(arg2,arg3);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 Py_INCREF(Py_None); resultobj = Py_None;
24626 return resultobj;
24627 fail:
24628 return NULL;
24629 }
24630
24631
24632 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj;
24634 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24635 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24636 PyObject * obj0 = 0 ;
24637 PyObject * obj1 = 0 ;
24638 char *kwnames[] = {
24639 (char *) "self",(char *) "canvas", NULL
24640 };
24641
24642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24647 {
24648 PyThreadState* __tstate = wxPyBeginAllowThreads();
24649 (arg1)->SetPreviewCanvas(arg2);
24650
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 Py_INCREF(Py_None); resultobj = Py_None;
24655 return resultobj;
24656 fail:
24657 return NULL;
24658 }
24659
24660
24661 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24662 PyObject *resultobj;
24663 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24664 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24665 PyObject * obj0 = 0 ;
24666 PyObject * obj1 = 0 ;
24667 char *kwnames[] = {
24668 (char *) "self",(char *) "bar", NULL
24669 };
24670
24671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->SetControlBar(arg2);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 Py_INCREF(Py_None); resultobj = Py_None;
24684 return resultobj;
24685 fail:
24686 return NULL;
24687 }
24688
24689
24690 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj;
24692 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24693 PyObject * obj0 = 0 ;
24694 char *kwnames[] = {
24695 (char *) "self", NULL
24696 };
24697
24698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 (arg1)->base_Initialize();
24704
24705 wxPyEndAllowThreads(__tstate);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
24708 Py_INCREF(Py_None); resultobj = Py_None;
24709 return resultobj;
24710 fail:
24711 return NULL;
24712 }
24713
24714
24715 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24718 PyObject * obj0 = 0 ;
24719 char *kwnames[] = {
24720 (char *) "self", NULL
24721 };
24722
24723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->base_CreateCanvas();
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj;
24742 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24743 PyObject * obj0 = 0 ;
24744 char *kwnames[] = {
24745 (char *) "self", NULL
24746 };
24747
24748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 (arg1)->base_CreateControlBar();
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 Py_INCREF(Py_None); resultobj = Py_None;
24759 return resultobj;
24760 fail:
24761 return NULL;
24762 }
24763
24764
24765 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24766 PyObject *obj;
24767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24768 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24769 Py_INCREF(obj);
24770 return Py_BuildValue((char *)"");
24771 }
24772 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24773 PyObject *resultobj;
24774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24775 long arg2 ;
24776 wxWindow *arg3 = (wxWindow *) 0 ;
24777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24779 wxSize const &arg5_defvalue = wxDefaultSize ;
24780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24781 long arg6 = (long) 0 ;
24782 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24783 wxString *arg7 = (wxString *) &arg7_defvalue ;
24784 wxPyPreviewControlBar *result;
24785 wxPoint temp4 ;
24786 wxSize temp5 ;
24787 bool temp7 = False ;
24788 PyObject * obj0 = 0 ;
24789 PyObject * obj1 = 0 ;
24790 PyObject * obj2 = 0 ;
24791 PyObject * obj3 = 0 ;
24792 PyObject * obj4 = 0 ;
24793 PyObject * obj5 = 0 ;
24794 PyObject * obj6 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24802 arg2 = (long) SWIG_AsLong(obj1);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24806 if (obj3) {
24807 {
24808 arg4 = &temp4;
24809 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24810 }
24811 }
24812 if (obj4) {
24813 {
24814 arg5 = &temp5;
24815 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24816 }
24817 }
24818 if (obj5) {
24819 arg6 = (long) SWIG_AsLong(obj5);
24820 if (PyErr_Occurred()) SWIG_fail;
24821 }
24822 if (obj6) {
24823 {
24824 arg7 = wxString_in_helper(obj6);
24825 if (arg7 == NULL) SWIG_fail;
24826 temp7 = True;
24827 }
24828 }
24829 {
24830 if (!wxPyCheckForApp()) SWIG_fail;
24831 PyThreadState* __tstate = wxPyBeginAllowThreads();
24832 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24833
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24838 {
24839 if (temp7)
24840 delete arg7;
24841 }
24842 return resultobj;
24843 fail:
24844 {
24845 if (temp7)
24846 delete arg7;
24847 }
24848 return NULL;
24849 }
24850
24851
24852 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24853 PyObject *resultobj;
24854 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24855 PyObject *arg2 = (PyObject *) 0 ;
24856 PyObject *arg3 = (PyObject *) 0 ;
24857 PyObject * obj0 = 0 ;
24858 PyObject * obj1 = 0 ;
24859 PyObject * obj2 = 0 ;
24860 char *kwnames[] = {
24861 (char *) "self",(char *) "self",(char *) "_class", NULL
24862 };
24863
24864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24867 arg2 = obj1;
24868 arg3 = obj2;
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 (arg1)->_setCallbackInfo(arg2,arg3);
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 Py_INCREF(Py_None); resultobj = Py_None;
24877 return resultobj;
24878 fail:
24879 return NULL;
24880 }
24881
24882
24883 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24884 PyObject *resultobj;
24885 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24886 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self",(char *) "preview", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 (arg1)->SetPrintPreview(arg2);
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 Py_INCREF(Py_None); resultobj = Py_None;
24906 return resultobj;
24907 fail:
24908 return NULL;
24909 }
24910
24911
24912 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj;
24914 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24915 PyObject * obj0 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 (arg1)->base_CreateButtons();
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 Py_INCREF(Py_None); resultobj = Py_None;
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj;
24939 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24940 int arg2 ;
24941 PyObject * obj0 = 0 ;
24942 PyObject * obj1 = 0 ;
24943 char *kwnames[] = {
24944 (char *) "self",(char *) "zoom", NULL
24945 };
24946
24947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24950 arg2 = (int) SWIG_AsInt(obj1);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 (arg1)->base_SetZoomControl(arg2);
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 Py_INCREF(Py_None); resultobj = Py_None;
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24967 PyObject *obj;
24968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24969 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24970 Py_INCREF(obj);
24971 return Py_BuildValue((char *)"");
24972 }
24973 static PyMethodDef SwigMethods[] = {
24974 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24980 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24995 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24996 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
25002 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
25016 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
25040 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
25052 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
25056 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
25060 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
25065 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
25081 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
25109 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
25116 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
25139 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
25147 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
25159 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
25165 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
25174 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
25180 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
25185 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
25191 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
25195 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
25213 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25239 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25247 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25256 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25258 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25267 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25270 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25277 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25295 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25299 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25304 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25308 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25324 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25327 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25329 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25333 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25342 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25351 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25357 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25369 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25376 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25380 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25406 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25432 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25458 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS },
25459 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25466 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25504 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS },
25505 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25506 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25536 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25540 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25541 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25574 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25579 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25590 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25613 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25615 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25621 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25631 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25632 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25655 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25656 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25665 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25673 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25679 { NULL, NULL }
25680 };
25681
25682
25683 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25684
25685 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25686 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25687 }
25688 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25690 }
25691 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25692 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25693 }
25694 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25695 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25696 }
25697 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25698 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25699 }
25700 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25701 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25702 }
25703 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25704 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25705 }
25706 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25707 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25708 }
25709 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25710 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25711 }
25712 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25713 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25714 }
25715 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25716 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25717 }
25718 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25719 return (void *)((wxEvent *) ((wxPyEvent *) x));
25720 }
25721 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25723 }
25724 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25725 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25726 }
25727 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25728 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25729 }
25730 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25731 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25732 }
25733 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25734 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25735 }
25736 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25737 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25738 }
25739 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25740 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25741 }
25742 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25743 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25744 }
25745 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25746 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25747 }
25748 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25749 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25750 }
25751 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25752 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25753 }
25754 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25755 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25756 }
25757 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25758 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25759 }
25760 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25761 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25762 }
25763 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25764 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25765 }
25766 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25767 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25768 }
25769 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25770 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25771 }
25772 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25773 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25774 }
25775 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25776 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25777 }
25778 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25779 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25780 }
25781 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25782 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25783 }
25784 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25785 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25786 }
25787 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25788 return (void *)((wxEvent *) ((wxShowEvent *) x));
25789 }
25790 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25791 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25792 }
25793 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25794 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25795 }
25796 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25797 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25798 }
25799 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25800 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25801 }
25802 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25803 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25804 }
25805 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25806 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25807 }
25808 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25809 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25810 }
25811 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25812 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25813 }
25814 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25815 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25816 }
25817 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25818 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25819 }
25820 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25821 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25822 }
25823 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25824 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25825 }
25826 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25827 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25828 }
25829 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25830 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25831 }
25832 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25833 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25834 }
25835 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25836 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25837 }
25838 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25839 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25840 }
25841 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25842 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25843 }
25844 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25845 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25846 }
25847 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25848 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25849 }
25850 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25851 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25852 }
25853 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25854 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25855 }
25856 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25857 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25858 }
25859 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25860 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25861 }
25862 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25863 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25864 }
25865 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25866 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25867 }
25868 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25869 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25870 }
25871 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25872 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25873 }
25874 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25875 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25876 }
25877 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25878 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25879 }
25880 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25881 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25882 }
25883 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25884 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25885 }
25886 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25887 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25888 }
25889 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25890 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25891 }
25892 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25893 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25894 }
25895 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25896 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25897 }
25898 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25899 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25900 }
25901 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25902 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25903 }
25904 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25905 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25906 }
25907 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25908 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25909 }
25910 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25911 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25912 }
25913 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25914 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25915 }
25916 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25917 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25918 }
25919 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25920 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25921 }
25922 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25923 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25924 }
25925 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25926 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25927 }
25928 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25929 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25930 }
25931 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25932 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25933 }
25934 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25935 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25936 }
25937 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25938 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25939 }
25940 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25941 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25942 }
25943 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25944 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25945 }
25946 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25947 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25948 }
25949 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25950 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25951 }
25952 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25953 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25954 }
25955 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25956 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25957 }
25958 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25959 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25960 }
25961 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25962 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25963 }
25964 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25965 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25966 }
25967 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25968 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25969 }
25970 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25971 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25972 }
25973 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25974 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25975 }
25976 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25977 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25978 }
25979 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25980 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25981 }
25982 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25983 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25984 }
25985 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25986 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25987 }
25988 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25989 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25990 }
25991 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25992 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25993 }
25994 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25996 }
25997 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25999 }
26000 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26001 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26002 }
26003 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26004 return (void *)((wxObject *) ((wxSizerItem *) x));
26005 }
26006 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26007 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26008 }
26009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26010 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26011 }
26012 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26013 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26014 }
26015 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26016 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26017 }
26018 static void *_p_wxSizerTo_p_wxObject(void *x) {
26019 return (void *)((wxObject *) ((wxSizer *) x));
26020 }
26021 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26022 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26023 }
26024 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26026 }
26027 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
26028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
26029 }
26030 static void *_p_wxEventTo_p_wxObject(void *x) {
26031 return (void *)((wxObject *) ((wxEvent *) x));
26032 }
26033 static void *_p_wxFontDataTo_p_wxObject(void *x) {
26034 return (void *)((wxObject *) ((wxFontData *) x));
26035 }
26036 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
26037 return (void *)((wxObject *) ((wxPrintData *) x));
26038 }
26039 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26040 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26041 }
26042 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26043 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26044 }
26045 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26046 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26047 }
26048 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
26049 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
26050 }
26051 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
26052 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
26053 }
26054 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
26055 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
26056 }
26057 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26058 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26059 }
26060 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26061 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26062 }
26063 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26064 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26065 }
26066 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26067 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26068 }
26069 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26070 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26071 }
26072 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26073 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26074 }
26075 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
26076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26077 }
26078 static void *_p_wxControlTo_p_wxObject(void *x) {
26079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26080 }
26081 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26082 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26083 }
26084 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
26085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
26086 }
26087 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26088 return (void *)((wxObject *) ((wxFSFile *) x));
26089 }
26090 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
26091 return (void *)((wxObject *) ((wxFindReplaceData *) x));
26092 }
26093 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26094 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26095 }
26096 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
26097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26098 }
26099 static void *_p_wxColourDataTo_p_wxObject(void *x) {
26100 return (void *)((wxObject *) ((wxColourData *) x));
26101 }
26102 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26103 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26104 }
26105 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26106 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26107 }
26108 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
26109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
26110 }
26111 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
26112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26113 }
26114 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
26115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26116 }
26117 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
26118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26119 }
26120 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
26121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26122 }
26123 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
26124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26125 }
26126 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
26127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26128 }
26129 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
26130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26131 }
26132 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
26133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26134 }
26135 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26136 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26137 }
26138 static void *_p_wxPrinterTo_p_wxObject(void *x) {
26139 return (void *)((wxObject *) ((wxPrinter *) x));
26140 }
26141 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26142 return (void *)((wxObject *) ((wxMenuItem *) x));
26143 }
26144 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26145 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26146 }
26147 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26149 }
26150 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26151 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26152 }
26153 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26154 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26155 }
26156 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26157 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26158 }
26159 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26160 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26161 }
26162 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26163 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26164 }
26165 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26166 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26167 }
26168 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26169 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26170 }
26171 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26172 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26173 }
26174 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26175 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26176 }
26177 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26178 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26179 }
26180 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26181 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26182 }
26183 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26184 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26185 }
26186 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26187 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26188 }
26189 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26190 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26191 }
26192 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26193 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26194 }
26195 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26196 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26197 }
26198 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26199 return (void *)((wxObject *) ((wxImageHandler *) x));
26200 }
26201 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26202 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26203 }
26204 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26205 return (void *)((wxObject *) ((wxEvtHandler *) x));
26206 }
26207 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26208 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26209 }
26210 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26212 }
26213 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26215 }
26216 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26217 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26218 }
26219 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26221 }
26222 static void *_p_wxImageTo_p_wxObject(void *x) {
26223 return (void *)((wxObject *) ((wxImage *) x));
26224 }
26225 static void *_p_wxFrameTo_p_wxObject(void *x) {
26226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26227 }
26228 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26229 return (void *)((wxObject *) ((wxPyPrintout *) x));
26230 }
26231 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26232 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26233 }
26234 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26235 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26236 }
26237 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26239 }
26240 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26242 }
26243 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26244 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26245 }
26246 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26247 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26248 }
26249 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26250 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26251 }
26252 static void *_p_wxWindowTo_p_wxObject(void *x) {
26253 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26254 }
26255 static void *_p_wxMenuTo_p_wxObject(void *x) {
26256 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26257 }
26258 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26260 }
26261 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26263 }
26264 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26266 }
26267 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26269 }
26270 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26272 }
26273 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26275 }
26276 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26278 }
26279 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26281 }
26282 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26284 }
26285 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26287 }
26288 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26290 }
26291 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26293 }
26294 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26296 }
26297 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26299 }
26300 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26301 return (void *)((wxObject *) ((wxPrintPreview *) x));
26302 }
26303 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26304 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26305 }
26306 static void *_p_wxPanelTo_p_wxObject(void *x) {
26307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26308 }
26309 static void *_p_wxDialogTo_p_wxObject(void *x) {
26310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26311 }
26312 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26314 }
26315 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26317 }
26318 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26320 }
26321 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26323 }
26324 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26326 }
26327 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26328 return (void *)((wxObject *) ((wxFileSystem *) x));
26329 }
26330 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26331 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26332 }
26333 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26334 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26335 }
26336 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26337 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26338 }
26339 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26340 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26341 }
26342 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26343 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26344 }
26345 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26346 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26347 }
26348 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26349 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26350 }
26351 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26352 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26353 }
26354 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26356 }
26357 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26359 }
26360 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26361 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26362 }
26363 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26364 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26365 }
26366 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26367 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26368 }
26369 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26371 }
26372 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26373 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26374 }
26375 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26376 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26377 }
26378 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26379 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26380 }
26381 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26382 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26383 }
26384 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26385 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26386 }
26387 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26388 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26389 }
26390 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26391 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26392 }
26393 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26394 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26395 }
26396 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26397 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26398 }
26399 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26400 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26401 }
26402 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26403 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26404 }
26405 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26406 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26407 }
26408 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26409 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26410 }
26411 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26412 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26413 }
26414 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26415 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26416 }
26417 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26418 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26419 }
26420 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26421 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26422 }
26423 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26424 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26425 }
26426 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26427 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26428 }
26429 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26430 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26431 }
26432 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26433 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26434 }
26435 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26436 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26437 }
26438 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26439 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26440 }
26441 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26442 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26443 }
26444 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26445 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26446 }
26447 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26448 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26449 }
26450 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26451 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26452 }
26453 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26454 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26455 }
26456 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26457 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26458 }
26459 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26460 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26461 }
26462 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26463 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26464 }
26465 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26466 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26467 }
26468 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26469 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26470 }
26471 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26472 return (void *)((wxWindow *) ((wxMenuBar *) x));
26473 }
26474 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26476 }
26477 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26479 }
26480 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26482 }
26483 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26484 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26485 }
26486 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26487 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26488 }
26489 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26490 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26491 }
26492 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26493 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26494 }
26495 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26496 return (void *)((wxWindow *) ((wxPanel *) x));
26497 }
26498 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26499 return (void *)((wxWindow *) ((wxStatusBar *) x));
26500 }
26501 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26502 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26503 }
26504 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26505 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26506 }
26507 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26508 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26509 }
26510 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26511 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26512 }
26513 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26514 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26515 }
26516 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26517 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26518 }
26519 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26520 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26521 }
26522 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26523 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26524 }
26525 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26526 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26527 }
26528 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26529 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26530 }
26531 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26532 return (void *)((wxWindow *) ((wxSashWindow *) x));
26533 }
26534 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26535 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26536 }
26537 static void *_p_wxControlTo_p_wxWindow(void *x) {
26538 return (void *)((wxWindow *) ((wxControl *) x));
26539 }
26540 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26541 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26542 }
26543 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26544 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26545 }
26546 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26547 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26548 }
26549 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26550 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26551 }
26552 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26553 return (void *)((wxWindow *) ((wxPyWindow *) x));
26554 }
26555 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26556 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26557 }
26558 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26559 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26560 }
26561 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26562 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26563 }
26564 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26565 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26566 }
26567 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26568 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26569 }
26570 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26571 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26572 }
26573 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26574 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26575 }
26576 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26577 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26578 }
26579 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26580 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26581 }
26582 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26583 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26584 }
26585 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26586 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26587 }
26588 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26589 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26590 }
26591 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26592 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26593 }
26594 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26595 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26596 }
26597 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26598 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26599 }
26600 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26601 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26602 }
26603 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26604 return (void *)((wxDialog *) ((wxColourDialog *) x));
26605 }
26606 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26607 return (void *)((wxDialog *) ((wxDirDialog *) x));
26608 }
26609 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26610 return (void *)((wxDialog *) ((wxFontDialog *) x));
26611 }
26612 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26613 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26614 }
26615 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26616 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26617 }
26618 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26619 return (void *)((wxDialog *) ((wxFileDialog *) x));
26620 }
26621 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26622 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26623 }
26624 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26625 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26626 }
26627 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26628 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26629 }
26630 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26631 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26632 }
26633 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26634 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26635 }
26636 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26637 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26638 }
26639 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26640 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26641 }
26642 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26643 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26644 }
26645 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26646 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26647 }
26648 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26649 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26650 }
26651 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26652 return (void *)((wxPanel *) ((wxPyPanel *) x));
26653 }
26654 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26655 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26656 }
26657 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26658 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26659 }
26660 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26661 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26662 }
26663 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26664 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26665 }
26666 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26667 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26668 }
26669 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26670 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26671 }
26672 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26673 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26674 }
26675 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26676 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26677 }
26678 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26679 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26680 }
26681 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26682 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26683 }
26684 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26685 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26686 }
26687 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26688 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26689 }
26690 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26691 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26692 }
26693 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26694 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26695 }
26696 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26697 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26698 }
26699 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}};
26700 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}};
26701 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}};
26702 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}};
26703 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}};
26704 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}};
26705 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}};
26706 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}};
26707 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}};
26708 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}};
26709 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}};
26710 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}};
26711 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}};
26712 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}};
26713 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}};
26714 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}};
26715 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}};
26716 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}};
26717 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}};
26718 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}};
26719 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}};
26720 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26721 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}};
26722 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}};
26723 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}};
26724 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}};
26725 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}};
26726 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}};
26727 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}};
26728 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}};
26729 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}};
26730 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}};
26731 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}};
26732 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}};
26733 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}};
26734 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}};
26735 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}};
26736 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}};
26737 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}};
26738 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}};
26739 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}};
26740 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}};
26741 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}};
26742 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}};
26743 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}};
26744 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}};
26745 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}};
26746 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}};
26747 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}};
26748 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}};
26749 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}};
26750 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}};
26751 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}};
26752 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}};
26753 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}};
26754 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}};
26755 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}};
26756 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}};
26757 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}};
26758 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}};
26759 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}};
26760 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}};
26761 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}};
26762 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}};
26763 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}};
26764 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}};
26765 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}};
26766 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}};
26767 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}};
26768 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}};
26769 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}};
26770 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}};
26771 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}};
26772 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}};
26773 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}};
26774 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}};
26775 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}};
26776 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}};
26777 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}};
26778 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}};
26779 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}};
26780 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}};
26781 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}};
26782 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}};
26783 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}};
26784 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}};
26785
26786 static swig_type_info *swig_types_initial[] = {
26787 _swigt__p_wxQueryLayoutInfoEvent,
26788 _swigt__p_wxPreviewFrame,
26789 _swigt__p_wxPyPreviewFrame,
26790 _swigt__p_wxPyPanel,
26791 _swigt__p_wxMenu,
26792 _swigt__p_wxPrintData,
26793 _swigt__p_wxFontData,
26794 _swigt__p_wxEvent,
26795 _swigt__p_wxTaskBarIcon,
26796 _swigt__p_wxIconBundle,
26797 _swigt__p_wxLayoutAlgorithm,
26798 _swigt__p_wxFindDialogEvent,
26799 _swigt__p_wxPreviewCanvas,
26800 _swigt__p_wxFont,
26801 _swigt__p_wxSplitterEvent,
26802 _swigt__p_wxRegion,
26803 _swigt__p_wxFindReplaceData,
26804 _swigt__p_int,
26805 _swigt__p_wxSize,
26806 _swigt__p_wxDC,
26807 _swigt__p_wxIcon,
26808 _swigt__p_wxVisualAttributes,
26809 _swigt__p_wxMDIChildFrame,
26810 _swigt__p_wxColourData,
26811 _swigt__p_wxNotifyEvent,
26812 _swigt__p_wxPyWindow,
26813 _swigt__p_wxSplashScreen,
26814 _swigt__p_wxFindReplaceDialog,
26815 _swigt__p_wxProgressDialog,
26816 _swigt__p_wxMessageDialog,
26817 _swigt__p_wxTextEntryDialog,
26818 _swigt__p_wxSingleChoiceDialog,
26819 _swigt__p_wxMultiChoiceDialog,
26820 _swigt__p_wxFileDialog,
26821 _swigt__p_wxPrinter,
26822 _swigt__p_wxArrayInt,
26823 _swigt__p_wxEvtHandler,
26824 _swigt__p_wxCalculateLayoutEvent,
26825 _swigt__p_wxPyHtmlListBox,
26826 _swigt__p_wxPyVListBox,
26827 _swigt__p_wxRect,
26828 _swigt__p_char,
26829 _swigt__p_wxMiniFrame,
26830 _swigt__p_wxFrame,
26831 _swigt__p_wxPyPrintout,
26832 _swigt__p_wxTaskBarIconEvent,
26833 _swigt__p_wxScrollWinEvent,
26834 _swigt__p_wxStatusBar,
26835 _swigt__p_wxMDIParentFrame,
26836 _swigt__p_wxPoint,
26837 _swigt__p_wxObject,
26838 _swigt__p_wxOutputStream,
26839 _swigt__p_wxPyScrolledWindow,
26840 _swigt__p_wxMDIClientWindow,
26841 _swigt__p_wxTipWindow,
26842 _swigt__p_wxSashLayoutWindow,
26843 _swigt__p_wxSplitterWindow,
26844 _swigt__p_wxPyVScrolledWindow,
26845 _swigt__p_wxPyPopupTransientWindow,
26846 _swigt__p_wxPopupWindow,
26847 _swigt__p_wxSashWindow,
26848 _swigt__p_wxTopLevelWindow,
26849 _swigt__p_wxWindow,
26850 _swigt__p_wxScrolledWindow,
26851 _swigt__p_wxSplashScreenWindow,
26852 _swigt__p_wxMenuBar,
26853 _swigt__p_wxPrintPreview,
26854 _swigt__p_wxSashEvent,
26855 _swigt__p_wxString,
26856 _swigt__p_wxPyPrintPreview,
26857 _swigt__p_wxFontDialog,
26858 _swigt__p_wxDirDialog,
26859 _swigt__p_wxColourDialog,
26860 _swigt__p_wxDialog,
26861 _swigt__p_wxPanel,
26862 _swigt__p_wxPageSetupDialog,
26863 _swigt__p_wxPrintDialog,
26864 _swigt__p_wxFileSystem,
26865 _swigt__p_wxBitmap,
26866 _swigt__p_wxCommandEvent,
26867 _swigt__p_wxPreviewControlBar,
26868 _swigt__p_wxPyPreviewControlBar,
26869 _swigt__p_wxColour,
26870 _swigt__p_wxToolBar,
26871 _swigt__p_wxPageSetupDialogData,
26872 _swigt__p_wxPrintDialogData,
26873 0
26874 };
26875
26876
26877 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26878
26879 static swig_const_info swig_const_table[] = {
26880 {0}};
26881
26882 #ifdef __cplusplus
26883 }
26884 #endif
26885
26886 #ifdef __cplusplus
26887 extern "C"
26888 #endif
26889 SWIGEXPORT(void) SWIG_init(void) {
26890 static PyObject *SWIG_globals = 0;
26891 static int typeinit = 0;
26892 PyObject *m, *d;
26893 int i;
26894 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26895 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26896 d = PyModule_GetDict(m);
26897
26898 if (!typeinit) {
26899 for (i = 0; swig_types_initial[i]; i++) {
26900 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26901 }
26902 typeinit = 1;
26903 }
26904 SWIG_InstallConstants(d,swig_const_table);
26905
26906 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26907 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26908 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26909 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26910 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26911 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26912 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26913 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26914 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26915 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26916 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26917 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26918 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26919 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26920 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26921 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26922 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26923 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26924 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26925 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26926 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26927 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26928 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26929 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26930 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26931 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26932 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26933 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26934 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26935 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26936 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26937 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26938 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26939 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26940 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26941 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26942 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26943 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26944 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26945 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26946 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26947 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26948 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26949 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26950 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26951 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26952 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26953 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26954 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26955 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26956 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26957 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26958 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26959 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26960 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26961 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26962 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26963 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26964 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26965 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26966 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26967 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26968 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26969 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26970 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26971 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26972 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26973 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26974 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26975 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26976 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26977 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26978 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26979 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26980 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26981 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26982 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26983 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26984 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26985 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26986 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26987 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26988 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26989 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26990 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26991 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26992 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26993 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26994 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26995 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26996 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26997 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26998 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26999
27000 // Map renamed classes back to their common name for OOR
27001 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27002 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27003 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27004
27005 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
27006 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
27007 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
27008 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
27009 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
27010 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
27011 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
27012 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27013 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27014 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
27015 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27016 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
27017 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
27018 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
27019 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
27020 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
27021 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
27022 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
27023 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
27024 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
27025 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
27026 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
27027 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
27028 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
27029 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
27030 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
27031 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
27032 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
27033 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
27034 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
27035 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
27036 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
27037 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
27038 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
27039 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
27040 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
27041 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
27042 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
27043 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
27044 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
27045 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
27046 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
27047 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
27048 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
27049 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
27050 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
27051 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
27052 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
27053 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
27054 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
27055 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
27056 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
27057 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
27058 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
27059 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
27060 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
27061 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
27062 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
27063 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
27064 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
27065
27066 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
27067
27068 }
27069