]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[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_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData 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_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info *swig_types[88];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
305
306 #define SWIG_name "_windows_"
307
308 /* Auxiliar swig macros */
309
310 #ifdef __cplusplus
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #else
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
323 #endif
324
325 #else /* C case */
326
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
335
336 #endif /* __cplusplus */
337
338
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
349
350
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353
354
355 static const wxString wxPyEmptyString(wxEmptyString);
356 static const wxString wxPyPanelNameStr(wxPanelNameStr);
357
358
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject *obj)
443 {
444 return PyObject_IsTrue(obj) ? true : false;
445 }
446
447
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject* obj)
450 {
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458 }
459
460
461 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
462 PyObject* o2;
463 PyObject* o3;
464
465 if (!target) {
466 target = o;
467 } else if (target == Py_None) {
468 Py_DECREF(Py_None);
469 target = o;
470 } else {
471 if (!PyTuple_Check(target)) {
472 o2 = target;
473 target = PyTuple_New(1);
474 PyTuple_SetItem(target, 0, o2);
475 }
476 o3 = PyTuple_New(1);
477 PyTuple_SetItem(o3, 0, o);
478
479 o2 = target;
480 target = PySequence_Concat(o2, o3);
481 Py_DECREF(o2);
482 Py_DECREF(o3);
483 }
484 return target;
485 }
486
487
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject *obj)
490 {
491 if (PyNumber_Check(obj))
492 return PyFloat_AsDouble(obj);
493 else {
494 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
495 obj->ob_type->tp_name);
496 PyErr_SetObject(PyExc_TypeError, errmsg);
497 Py_DECREF(errmsg);
498 return 0;
499 }
500 }
501
502
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject* obj)
505 {
506 SWIG_AsDouble(obj);
507 if (PyErr_Occurred()) {
508 PyErr_Clear();
509 return 0;
510 } else {
511 return 1;
512 }
513 }
514
515 static const wxString wxPyFrameNameStr(wxFrameNameStr);
516 static const wxString wxPyDialogNameStr(wxDialogNameStr);
517 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
518 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
519
520
521 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
522 wxRect r;
523 self->GetFieldRect(i, r);
524 return r;
525 }
526 static const wxString wxPySplitterNameStr(wxT("splitter"));
527 static const wxString wxPySashNameStr(wxT("sashWindow"));
528 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
529
530 #include <wx/popupwin.h>
531
532
533 class wxPyPopupTransientWindow : public wxPopupTransientWindow
534 {
535 public:
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
538 : wxPopupTransientWindow(parent, style) {}
539
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
541 DEC_PYCALLBACK__(OnDismiss);
542 DEC_PYCALLBACK_BOOL_(CanDismiss);
543 PYPRIVATE;
544 };
545
546
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
550
551
552 #include <wx/tipwin.h>
553
554 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
556 }
557
558 #include <wx/tipwin.h>
559
560
561 #include <wx/vscroll.h>
562
563
564 class wxPyVScrolledWindow : public wxVScrolledWindow
565 {
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567 public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628 };
629
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject * obj)
639 {
640 if (PyLong_Check(obj)) {
641 return PyLong_AsUnsignedLong(obj);
642 } else {
643 long i = SWIG_AsLong(obj);
644 if ( !PyErr_Occurred() && (i < 0)) {
645 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
646 }
647 return i;
648 }
649 }
650
651
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject* obj)
654 {
655 SWIG_AsUnsignedLong(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662 }
663
664
665 SWIGSTATICINLINE(PyObject* )
666 SWIG_FromUnsignedLong(unsigned long value)
667 {
668 return (value > LONG_MAX) ?
669 PyLong_FromUnsignedLong(value)
670 : PyInt_FromLong(swig_numeric_cast(long,value));
671 }
672
673
674 #include <wx/vlbox.h>
675
676 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
677
678 class wxPyVListBox : public wxVListBox
679 {
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
681 public:
682 wxPyVListBox() : wxVListBox() {}
683
684 wxPyVListBox(wxWindow *parent,
685 wxWindowID id = wxID_ANY,
686 const wxPoint& pos = wxDefaultPosition,
687 const wxSize& size = wxDefaultSize,
688 long style = 0,
689 const wxString& name = wxPyVListBoxNameStr)
690 : wxVListBox(parent, id, pos, size, style, name)
691 {}
692
693 // Overridable virtuals
694
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
699
700
701 // the derived class must implement this method to return the height of the
702 // specified item
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
705
706
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
710 //
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
714
715
716 // this method is used to draw the items background and, maybe, a border
717 // around it
718 //
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
722 // current
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
725
726
727 PYPRIVATE;
728 };
729
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
731
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
736
737
738
739 #include <wx/htmllbox.h>
740
741
742 class wxPyHtmlListBox : public wxHtmlListBox
743 {
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
745 public:
746 wxPyHtmlListBox() : wxHtmlListBox() {}
747
748 wxPyHtmlListBox(wxWindow *parent,
749 wxWindowID id = wxID_ANY,
750 const wxPoint& pos = wxDefaultPosition,
751 const wxSize& size = wxDefaultSize,
752 long style = 0,
753 const wxString& name = wxPyVListBoxNameStr)
754 : wxHtmlListBox(parent, id, pos, size, style, name)
755 {}
756
757 // Overridable virtuals
758
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
762
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
765
766 // TODO:
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
770 // //
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779
780
781 PYPRIVATE;
782 };
783
784
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
786
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
789
790
791
792
793
794 #ifdef __WXMAC__
795 // implement dummy classes and such for wxMac
796
797 class wxTaskBarIcon : public wxEvtHandler
798 {
799 public:
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
801 };
802
803
804 class wxTaskBarIconEvent : public wxEvent
805 {
806 public:
807 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent* Clone() const { return NULL; }
810 };
811
812 enum {
813 wxEVT_TASKBAR_MOVE = 0,
814 wxEVT_TASKBAR_LEFT_DOWN = 0,
815 wxEVT_TASKBAR_LEFT_UP = 0,
816 wxEVT_TASKBAR_RIGHT_DOWN = 0,
817 wxEVT_TASKBAR_RIGHT_UP = 0,
818 wxEVT_TASKBAR_LEFT_DCLICK = 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
820 };
821 #endif
822
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
824
825 self->RemoveIcon();
826
827 }
828 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
829 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
830 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
831 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
832 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
833 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
834 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetFilenames(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetPaths(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
845 return wxArrayInt2PyList_helper(self->GetSelections());
846 }
847 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
848 return new wxSingleChoiceDialog(parent, message, caption,
849 choices, choices_array, NULL, style, pos);
850 }
851
852 #include <wx/mdi.h>
853
854 // C++ version of Python aware wxWindow
855 class wxPyWindow : public wxWindow
856 {
857 DECLARE_DYNAMIC_CLASS(wxPyWindow)
858 public:
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow* parent, const wxWindowID id,
861 const wxPoint& pos = wxDefaultPosition,
862 const wxSize& size = wxDefaultSize,
863 long style = 0,
864 const wxString& name = wxPyPanelNameStr)
865 : wxWindow(parent, id, pos, size, style, name) {}
866
867
868 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
869 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
870 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
872
873 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
876
877 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
878 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
879
880 DEC_PYCALLBACK__(InitDialog);
881 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
882 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
883 DEC_PYCALLBACK_BOOL_(Validate);
884
885 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
887 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
888
889 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
890 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
891
892 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
893 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
894
895 PYPRIVATE;
896 };
897
898 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
899
900 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
901 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
902 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
903 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
904
905 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
906 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
908
909 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
910 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
911
912 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
913 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
914 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
916
917 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
918 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
919 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
920
921 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
922 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
923
924 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours);
925 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
926
927
928 // C++ version of Python aware wxPanel
929 class wxPyPanel : public wxPanel
930 {
931 DECLARE_DYNAMIC_CLASS(wxPyPanel)
932 public:
933 wxPyPanel() : wxPanel() {}
934 wxPyPanel(wxWindow* parent, const wxWindowID id,
935 const wxPoint& pos = wxDefaultPosition,
936 const wxSize& size = wxDefaultSize,
937 long style = 0,
938 const wxString& name = wxPyPanelNameStr)
939 : wxPanel(parent, id, pos, size, style, name) {}
940
941
942 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
943 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
944 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
945 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
946
947 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
948 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
949 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
950
951 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
952 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
953
954 DEC_PYCALLBACK__(InitDialog);
955 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
956 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
957 DEC_PYCALLBACK_BOOL_(Validate);
958
959 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
960 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
961 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
962
963 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
964 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
965
966 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
967 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
968
969 PYPRIVATE;
970 };
971
972 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
973
974 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
975 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
976 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
977 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
978
979 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
980 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
981 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
982
983 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
984 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
985
986 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
987 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
988 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
989 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
990
991 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
992 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
993 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
994
995 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
996 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
997
998 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours);
999 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1000
1001 // C++ version of Python aware wxScrolledWindow
1002 class wxPyScrolledWindow : public wxScrolledWindow
1003 {
1004 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1005 public:
1006 wxPyScrolledWindow() : wxScrolledWindow() {}
1007 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1008 const wxPoint& pos = wxDefaultPosition,
1009 const wxSize& size = wxDefaultSize,
1010 long style = 0,
1011 const wxString& name = wxPyPanelNameStr)
1012 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1013
1014
1015 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1016 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1017 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1018 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1019
1020 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1021 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1022 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1023
1024 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1025 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1026
1027 DEC_PYCALLBACK__(InitDialog);
1028 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1029 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1030 DEC_PYCALLBACK_BOOL_(Validate);
1031
1032 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1033 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1034 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1035
1036 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1037 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1038
1039 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1040 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1041
1042 PYPRIVATE;
1043 };
1044
1045 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1046
1047 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1048 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1049 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1050 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1051
1052 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1053 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1054 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1055
1056 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1057 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1058
1059 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1060 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1061 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1062 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1063
1064 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1065 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1067
1068 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1069 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1070
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1072 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1073
1074
1075 #include "wx/wxPython/printfw.h"
1076
1077
1078 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1079 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1080
1081
1082
1083 // Since this one would be tough and ugly to do with the Macros...
1084 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1085 bool hadErr = False;
1086 bool found;
1087
1088 bool blocked = wxPyBeginBlockThreads();
1089 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1090 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1091 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1092 PyObject* val;
1093
1094 val = PyTuple_GetItem(result, 0);
1095 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1096 else hadErr = True;
1097
1098 val = PyTuple_GetItem(result, 1);
1099 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1100 else hadErr = True;
1101
1102 val = PyTuple_GetItem(result, 2);
1103 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1104 else hadErr = True;
1105
1106 val = PyTuple_GetItem(result, 3);
1107 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1108 else hadErr = True;
1109 }
1110 else
1111 hadErr = True;
1112
1113 if (hadErr) {
1114 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1115 PyErr_Print();
1116 }
1117 Py_DECREF(result);
1118 }
1119 wxPyEndBlockThreads(blocked);
1120 if (! found)
1121 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1122 }
1123
1124 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1125 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1126 }
1127
1128
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1130 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1131 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1132 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1133 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1134 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1135 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1136
1137
1138
1139
1140
1141 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1142 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1143 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1144
1145
1146 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1147 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1148 bool rval=False; \
1149 bool found; \
1150 bool blocked = wxPyBeginBlockThreads(); \
1151 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1152 PyObject* win = wxPyMake_wxObject(a); \
1153 PyObject* dc = wxPyMake_wxObject(&b); \
1154 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1155 Py_DECREF(win); \
1156 Py_DECREF(dc); \
1157 } \
1158 wxPyEndBlockThreads(blocked); \
1159 if (! found) \
1160 rval = PCLASS::CBNAME(a, b); \
1161 return rval; \
1162 } \
1163 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1164 return PCLASS::CBNAME(a, b); \
1165 }
1166
1167
1168
1169
1170 class wxPyPrintPreview : public wxPrintPreview
1171 {
1172 DECLARE_CLASS(wxPyPrintPreview)
1173 public:
1174 wxPyPrintPreview(wxPyPrintout* printout,
1175 wxPyPrintout* printoutForPrinting,
1176 wxPrintDialogData* data=NULL)
1177 : wxPrintPreview(printout, printoutForPrinting, data)
1178 {}
1179 wxPyPrintPreview(wxPyPrintout* printout,
1180 wxPyPrintout* printoutForPrinting,
1181 wxPrintData* data=NULL)
1182 : wxPrintPreview(printout, printoutForPrinting, data)
1183 {}
1184
1185 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1186 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1187 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1188 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1189 DEC_PYCALLBACK_VOID_INT(SetZoom);
1190 DEC_PYCALLBACK_BOOL_BOOL(Print);
1191 DEC_PYCALLBACK_VOID_(DetermineScaling);
1192
1193 PYPRIVATE;
1194 };
1195
1196 // Stupid renamed classes... Fix this in 2.5...
1197 #if defined(__WXMSW__)
1198 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1199 #elif defined(__WXMAC__)
1200 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1201 #else
1202 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1203 #endif
1204
1205 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1206 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1207 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1208 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1209 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1210 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1211 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1212
1213
1214 class wxPyPreviewFrame : public wxPreviewFrame
1215 {
1216 DECLARE_CLASS(wxPyPreviewFrame);
1217 public:
1218 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1219 const wxString& title,
1220 const wxPoint& pos = wxDefaultPosition,
1221 const wxSize& size = wxDefaultSize,
1222 long style = wxDEFAULT_FRAME_STYLE,
1223 const wxString& name = wxPyFrameNameStr)
1224 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1225 {}
1226
1227 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1228 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1229
1230 DEC_PYCALLBACK_VOID_(Initialize);
1231 DEC_PYCALLBACK_VOID_(CreateCanvas);
1232 DEC_PYCALLBACK_VOID_(CreateControlBar);
1233
1234 PYPRIVATE;
1235 };
1236
1237 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1238
1239 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1240 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1241 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1242
1243
1244 class wxPyPreviewControlBar : public wxPreviewControlBar
1245 {
1246 DECLARE_CLASS(wxPyPreviewControlBar);
1247 public:
1248 wxPyPreviewControlBar(wxPrintPreview *preview,
1249 long buttons,
1250 wxWindow *parent,
1251 const wxPoint& pos = wxDefaultPosition,
1252 const wxSize& size = wxDefaultSize,
1253 long style = 0,
1254 const wxString& name = wxPyPanelNameStr)
1255 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1256 {}
1257
1258 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1259
1260 DEC_PYCALLBACK_VOID_(CreateButtons);
1261 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1262
1263 PYPRIVATE;
1264 };
1265
1266 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1267 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1268 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1269
1270 #ifdef __cplusplus
1271 extern "C" {
1272 #endif
1273 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxWindow *arg1 = (wxWindow *) 0 ;
1276 int arg2 = (int) (int)-1 ;
1277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1279 wxSize const &arg4_defvalue = wxDefaultSize ;
1280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1281 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1282 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1283 wxString *arg6 = (wxString *) &arg6_defvalue ;
1284 wxPanel *result;
1285 wxPoint temp3 ;
1286 wxSize temp4 ;
1287 bool temp6 = False ;
1288 PyObject * obj0 = 0 ;
1289 PyObject * obj1 = 0 ;
1290 PyObject * obj2 = 0 ;
1291 PyObject * obj3 = 0 ;
1292 PyObject * obj4 = 0 ;
1293 PyObject * obj5 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 if (obj1) {
1302 arg2 = (int const) SWIG_AsInt(obj1);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 if (obj2) {
1306 {
1307 arg3 = &temp3;
1308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1309 }
1310 }
1311 if (obj3) {
1312 {
1313 arg4 = &temp4;
1314 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1315 }
1316 }
1317 if (obj4) {
1318 arg5 = (long) SWIG_AsLong(obj4);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 if (obj5) {
1322 {
1323 arg6 = wxString_in_helper(obj5);
1324 if (arg6 == NULL) SWIG_fail;
1325 temp6 = True;
1326 }
1327 }
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 {
1336 resultobj = wxPyMake_wxObject(result);
1337 }
1338 {
1339 if (temp6)
1340 delete arg6;
1341 }
1342 return resultobj;
1343 fail:
1344 {
1345 if (temp6)
1346 delete arg6;
1347 }
1348 return NULL;
1349 }
1350
1351
1352 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject *resultobj;
1354 wxPanel *result;
1355 char *kwnames[] = {
1356 NULL
1357 };
1358
1359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1360 {
1361 PyThreadState* __tstate = wxPyBeginAllowThreads();
1362 result = (wxPanel *)new wxPanel();
1363
1364 wxPyEndAllowThreads(__tstate);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 {
1368 resultobj = wxPyMake_wxObject(result);
1369 }
1370 return resultobj;
1371 fail:
1372 return NULL;
1373 }
1374
1375
1376 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject *resultobj;
1378 wxPanel *arg1 = (wxPanel *) 0 ;
1379 wxWindow *arg2 = (wxWindow *) 0 ;
1380 int arg3 = (int) (int)-1 ;
1381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1383 wxSize const &arg5_defvalue = wxDefaultSize ;
1384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1385 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1386 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1387 wxString *arg7 = (wxString *) &arg7_defvalue ;
1388 bool result;
1389 wxPoint temp4 ;
1390 wxSize temp5 ;
1391 bool temp7 = False ;
1392 PyObject * obj0 = 0 ;
1393 PyObject * obj1 = 0 ;
1394 PyObject * obj2 = 0 ;
1395 PyObject * obj3 = 0 ;
1396 PyObject * obj4 = 0 ;
1397 PyObject * obj5 = 0 ;
1398 PyObject * obj6 = 0 ;
1399 char *kwnames[] = {
1400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1401 };
1402
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1408 if (obj2) {
1409 arg3 = (int const) SWIG_AsInt(obj2);
1410 if (PyErr_Occurred()) SWIG_fail;
1411 }
1412 if (obj3) {
1413 {
1414 arg4 = &temp4;
1415 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1416 }
1417 }
1418 if (obj4) {
1419 {
1420 arg5 = &temp5;
1421 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1422 }
1423 }
1424 if (obj5) {
1425 arg6 = (long) SWIG_AsLong(obj5);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 if (obj6) {
1429 {
1430 arg7 = wxString_in_helper(obj6);
1431 if (arg7 == NULL) SWIG_fail;
1432 temp7 = True;
1433 }
1434 }
1435 {
1436 PyThreadState* __tstate = wxPyBeginAllowThreads();
1437 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1438
1439 wxPyEndAllowThreads(__tstate);
1440 if (PyErr_Occurred()) SWIG_fail;
1441 }
1442 {
1443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1444 }
1445 {
1446 if (temp7)
1447 delete arg7;
1448 }
1449 return resultobj;
1450 fail:
1451 {
1452 if (temp7)
1453 delete arg7;
1454 }
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxPanel *arg1 = (wxPanel *) 0 ;
1462 PyObject * obj0 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self", NULL
1465 };
1466
1467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 (arg1)->InitDialog();
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 Py_INCREF(Py_None); resultobj = Py_None;
1478 return resultobj;
1479 fail:
1480 return NULL;
1481 }
1482
1483
1484 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject *resultobj;
1486 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1487 wxVisualAttributes result;
1488 PyObject * obj0 = 0 ;
1489 char *kwnames[] = {
1490 (char *) "variant", NULL
1491 };
1492
1493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1494 if (obj0) {
1495 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 {
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 {
1506 wxVisualAttributes * resultptr;
1507 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1509 }
1510 return resultobj;
1511 fail:
1512 return NULL;
1513 }
1514
1515
1516 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1517 PyObject *obj;
1518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1519 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1520 Py_INCREF(obj);
1521 return Py_BuildValue((char *)"");
1522 }
1523 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxWindow *arg1 = (wxWindow *) 0 ;
1526 int arg2 = (int) (int)-1 ;
1527 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1528 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1529 wxSize const &arg4_defvalue = wxDefaultSize ;
1530 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1531 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1532 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1533 wxString *arg6 = (wxString *) &arg6_defvalue ;
1534 wxScrolledWindow *result;
1535 wxPoint temp3 ;
1536 wxSize temp4 ;
1537 bool temp6 = False ;
1538 PyObject * obj0 = 0 ;
1539 PyObject * obj1 = 0 ;
1540 PyObject * obj2 = 0 ;
1541 PyObject * obj3 = 0 ;
1542 PyObject * obj4 = 0 ;
1543 PyObject * obj5 = 0 ;
1544 char *kwnames[] = {
1545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1546 };
1547
1548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1551 if (obj1) {
1552 arg2 = (int const) SWIG_AsInt(obj1);
1553 if (PyErr_Occurred()) SWIG_fail;
1554 }
1555 if (obj2) {
1556 {
1557 arg3 = &temp3;
1558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1559 }
1560 }
1561 if (obj3) {
1562 {
1563 arg4 = &temp4;
1564 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1565 }
1566 }
1567 if (obj4) {
1568 arg5 = (long) SWIG_AsLong(obj4);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 if (obj5) {
1572 {
1573 arg6 = wxString_in_helper(obj5);
1574 if (arg6 == NULL) SWIG_fail;
1575 temp6 = True;
1576 }
1577 }
1578 {
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
1580 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1586 {
1587 if (temp6)
1588 delete arg6;
1589 }
1590 return resultobj;
1591 fail:
1592 {
1593 if (temp6)
1594 delete arg6;
1595 }
1596 return NULL;
1597 }
1598
1599
1600 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1601 PyObject *resultobj;
1602 wxScrolledWindow *result;
1603 char *kwnames[] = {
1604 NULL
1605 };
1606
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 result = (wxScrolledWindow *)new wxScrolledWindow();
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1616 return resultobj;
1617 fail:
1618 return NULL;
1619 }
1620
1621
1622 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject *resultobj;
1624 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1625 wxWindow *arg2 = (wxWindow *) 0 ;
1626 int arg3 = (int) (int)-1 ;
1627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1629 wxSize const &arg5_defvalue = wxDefaultSize ;
1630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1631 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1632 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1633 wxString *arg7 = (wxString *) &arg7_defvalue ;
1634 bool result;
1635 wxPoint temp4 ;
1636 wxSize temp5 ;
1637 bool temp7 = False ;
1638 PyObject * obj0 = 0 ;
1639 PyObject * obj1 = 0 ;
1640 PyObject * obj2 = 0 ;
1641 PyObject * obj3 = 0 ;
1642 PyObject * obj4 = 0 ;
1643 PyObject * obj5 = 0 ;
1644 PyObject * obj6 = 0 ;
1645 char *kwnames[] = {
1646 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1647 };
1648
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1654 if (obj2) {
1655 arg3 = (int const) SWIG_AsInt(obj2);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 if (obj3) {
1659 {
1660 arg4 = &temp4;
1661 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1662 }
1663 }
1664 if (obj4) {
1665 {
1666 arg5 = &temp5;
1667 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1668 }
1669 }
1670 if (obj5) {
1671 arg6 = (long) SWIG_AsLong(obj5);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 if (obj6) {
1675 {
1676 arg7 = wxString_in_helper(obj6);
1677 if (arg7 == NULL) SWIG_fail;
1678 temp7 = True;
1679 }
1680 }
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 {
1689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1690 }
1691 {
1692 if (temp7)
1693 delete arg7;
1694 }
1695 return resultobj;
1696 fail:
1697 {
1698 if (temp7)
1699 delete arg7;
1700 }
1701 return NULL;
1702 }
1703
1704
1705 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1706 PyObject *resultobj;
1707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1708 int arg2 ;
1709 int arg3 ;
1710 int arg4 ;
1711 int arg5 ;
1712 int arg6 = (int) 0 ;
1713 int arg7 = (int) 0 ;
1714 bool arg8 = (bool) False ;
1715 PyObject * obj0 = 0 ;
1716 PyObject * obj1 = 0 ;
1717 PyObject * obj2 = 0 ;
1718 PyObject * obj3 = 0 ;
1719 PyObject * obj4 = 0 ;
1720 PyObject * obj5 = 0 ;
1721 PyObject * obj6 = 0 ;
1722 PyObject * obj7 = 0 ;
1723 char *kwnames[] = {
1724 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1725 };
1726
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1730 arg2 = (int) SWIG_AsInt(obj1);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 arg3 = (int) SWIG_AsInt(obj2);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 arg4 = (int) SWIG_AsInt(obj3);
1735 if (PyErr_Occurred()) SWIG_fail;
1736 arg5 = (int) SWIG_AsInt(obj4);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 if (obj5) {
1739 arg6 = (int) SWIG_AsInt(obj5);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 if (obj6) {
1743 arg7 = (int) SWIG_AsInt(obj6);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 if (obj7) {
1747 arg8 = (bool) SWIG_AsBool(obj7);
1748 if (PyErr_Occurred()) SWIG_fail;
1749 }
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 Py_INCREF(Py_None); resultobj = Py_None;
1758 return resultobj;
1759 fail:
1760 return NULL;
1761 }
1762
1763
1764 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1767 int arg2 ;
1768 int arg3 ;
1769 PyObject * obj0 = 0 ;
1770 PyObject * obj1 = 0 ;
1771 PyObject * obj2 = 0 ;
1772 char *kwnames[] = {
1773 (char *) "self",(char *) "x",(char *) "y", NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1779 arg2 = (int) SWIG_AsInt(obj1);
1780 if (PyErr_Occurred()) SWIG_fail;
1781 arg3 = (int) SWIG_AsInt(obj2);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 {
1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
1785 (arg1)->Scroll(arg2,arg3);
1786
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) SWIG_fail;
1789 }
1790 Py_INCREF(Py_None); resultobj = Py_None;
1791 return resultobj;
1792 fail:
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1800 int arg2 ;
1801 int result;
1802 PyObject * obj0 = 0 ;
1803 PyObject * obj1 = 0 ;
1804 char *kwnames[] = {
1805 (char *) "self",(char *) "orient", NULL
1806 };
1807
1808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1811 arg2 = (int) SWIG_AsInt(obj1);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 resultobj = SWIG_FromInt((int)result);
1821 return resultobj;
1822 fail:
1823 return NULL;
1824 }
1825
1826
1827 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1828 PyObject *resultobj;
1829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1830 int arg2 ;
1831 int arg3 ;
1832 PyObject * obj0 = 0 ;
1833 PyObject * obj1 = 0 ;
1834 PyObject * obj2 = 0 ;
1835 char *kwnames[] = {
1836 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1837 };
1838
1839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1842 arg2 = (int) SWIG_AsInt(obj1);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 arg3 = (int) SWIG_AsInt(obj2);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 {
1847 PyThreadState* __tstate = wxPyBeginAllowThreads();
1848 (arg1)->SetScrollPageSize(arg2,arg3);
1849
1850 wxPyEndAllowThreads(__tstate);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 }
1853 Py_INCREF(Py_None); resultobj = Py_None;
1854 return resultobj;
1855 fail:
1856 return NULL;
1857 }
1858
1859
1860 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1861 PyObject *resultobj;
1862 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1863 int arg2 ;
1864 int arg3 ;
1865 PyObject * obj0 = 0 ;
1866 PyObject * obj1 = 0 ;
1867 PyObject * obj2 = 0 ;
1868 char *kwnames[] = {
1869 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1870 };
1871
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1875 arg2 = (int) SWIG_AsInt(obj1);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 arg3 = (int) SWIG_AsInt(obj2);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 (arg1)->SetScrollRate(arg2,arg3);
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 Py_INCREF(Py_None); resultobj = Py_None;
1887 return resultobj;
1888 fail:
1889 return NULL;
1890 }
1891
1892
1893 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject *resultobj;
1895 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1896 int *arg2 = (int *) 0 ;
1897 int *arg3 = (int *) 0 ;
1898 int temp2 ;
1899 int temp3 ;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self", NULL
1903 };
1904
1905 arg2 = &temp2;
1906 arg3 = &temp3;
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1910 {
1911 PyThreadState* __tstate = wxPyBeginAllowThreads();
1912 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1913
1914 wxPyEndAllowThreads(__tstate);
1915 if (PyErr_Occurred()) SWIG_fail;
1916 }
1917 Py_INCREF(Py_None); resultobj = Py_None;
1918 {
1919 PyObject *o = PyInt_FromLong((long) (*arg2));
1920 resultobj = t_output_helper(resultobj,o);
1921 }
1922 {
1923 PyObject *o = PyInt_FromLong((long) (*arg3));
1924 resultobj = t_output_helper(resultobj,o);
1925 }
1926 return resultobj;
1927 fail:
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1935 bool arg2 ;
1936 bool arg3 ;
1937 PyObject * obj0 = 0 ;
1938 PyObject * obj1 = 0 ;
1939 PyObject * obj2 = 0 ;
1940 char *kwnames[] = {
1941 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1942 };
1943
1944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1947 arg2 = (bool) SWIG_AsBool(obj1);
1948 if (PyErr_Occurred()) SWIG_fail;
1949 arg3 = (bool) SWIG_AsBool(obj2);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 (arg1)->EnableScrolling(arg2,arg3);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 Py_INCREF(Py_None); resultobj = Py_None;
1959 return resultobj;
1960 fail:
1961 return NULL;
1962 }
1963
1964
1965 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1966 PyObject *resultobj;
1967 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1968 int *arg2 = (int *) 0 ;
1969 int *arg3 = (int *) 0 ;
1970 int temp2 ;
1971 int temp3 ;
1972 PyObject * obj0 = 0 ;
1973 char *kwnames[] = {
1974 (char *) "self", NULL
1975 };
1976
1977 arg2 = &temp2;
1978 arg3 = &temp3;
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 Py_INCREF(Py_None); resultobj = Py_None;
1990 {
1991 PyObject *o = PyInt_FromLong((long) (*arg2));
1992 resultobj = t_output_helper(resultobj,o);
1993 }
1994 {
1995 PyObject *o = PyInt_FromLong((long) (*arg3));
1996 resultobj = t_output_helper(resultobj,o);
1997 }
1998 return resultobj;
1999 fail:
2000 return NULL;
2001 }
2002
2003
2004 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject *resultobj;
2006 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2007 double arg2 ;
2008 double arg3 ;
2009 PyObject * obj0 = 0 ;
2010 PyObject * obj1 = 0 ;
2011 PyObject * obj2 = 0 ;
2012 char *kwnames[] = {
2013 (char *) "self",(char *) "xs",(char *) "ys", NULL
2014 };
2015
2016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2019 arg2 = (double) SWIG_AsDouble(obj1);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 arg3 = (double) SWIG_AsDouble(obj2);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 {
2024 PyThreadState* __tstate = wxPyBeginAllowThreads();
2025 (arg1)->SetScale(arg2,arg3);
2026
2027 wxPyEndAllowThreads(__tstate);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 }
2030 Py_INCREF(Py_None); resultobj = Py_None;
2031 return resultobj;
2032 fail:
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject *resultobj;
2039 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2040 double result;
2041 PyObject * obj0 = 0 ;
2042 char *kwnames[] = {
2043 (char *) "self", NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2049 {
2050 PyThreadState* __tstate = wxPyBeginAllowThreads();
2051 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2052
2053 wxPyEndAllowThreads(__tstate);
2054 if (PyErr_Occurred()) SWIG_fail;
2055 }
2056 resultobj = SWIG_FromDouble((double)result);
2057 return resultobj;
2058 fail:
2059 return NULL;
2060 }
2061
2062
2063 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2066 double result;
2067 PyObject * obj0 = 0 ;
2068 char *kwnames[] = {
2069 (char *) "self", NULL
2070 };
2071
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 }
2082 resultobj = SWIG_FromDouble((double)result);
2083 return resultobj;
2084 fail:
2085 return NULL;
2086 }
2087
2088
2089 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2090 PyObject *resultobj;
2091 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2092 wxPoint *arg2 = 0 ;
2093 wxPoint result;
2094 wxPoint temp2 ;
2095 PyObject * obj0 = 0 ;
2096 PyObject * obj1 = 0 ;
2097
2098 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2101 {
2102 arg2 = &temp2;
2103 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2104 }
2105 {
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) SWIG_fail;
2111 }
2112 {
2113 wxPoint * resultptr;
2114 resultptr = new wxPoint((wxPoint &) result);
2115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2116 }
2117 return resultobj;
2118 fail:
2119 return NULL;
2120 }
2121
2122
2123 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2124 PyObject *resultobj;
2125 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2126 int arg2 ;
2127 int arg3 ;
2128 int *arg4 = (int *) 0 ;
2129 int *arg5 = (int *) 0 ;
2130 int temp4 ;
2131 int temp5 ;
2132 PyObject * obj0 = 0 ;
2133 PyObject * obj1 = 0 ;
2134 PyObject * obj2 = 0 ;
2135
2136 arg4 = &temp4;
2137 arg5 = &temp5;
2138 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2141 arg2 = (int) SWIG_AsInt(obj1);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 arg3 = (int) SWIG_AsInt(obj2);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 {
2154 PyObject *o = PyInt_FromLong((long) (*arg4));
2155 resultobj = t_output_helper(resultobj,o);
2156 }
2157 {
2158 PyObject *o = PyInt_FromLong((long) (*arg5));
2159 resultobj = t_output_helper(resultobj,o);
2160 }
2161 return resultobj;
2162 fail:
2163 return NULL;
2164 }
2165
2166
2167 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2168 int argc;
2169 PyObject *argv[4];
2170 int ii;
2171
2172 argc = PyObject_Length(args);
2173 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2174 argv[ii] = PyTuple_GetItem(args,ii);
2175 }
2176 if (argc == 2) {
2177 int _v;
2178 {
2179 void *ptr;
2180 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2181 _v = 0;
2182 PyErr_Clear();
2183 } else {
2184 _v = 1;
2185 }
2186 }
2187 if (_v) {
2188 {
2189 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2190 }
2191 if (_v) {
2192 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2193 }
2194 }
2195 }
2196 if (argc == 3) {
2197 int _v;
2198 {
2199 void *ptr;
2200 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2201 _v = 0;
2202 PyErr_Clear();
2203 } else {
2204 _v = 1;
2205 }
2206 }
2207 if (_v) {
2208 _v = SWIG_CheckInt(argv[1]);
2209 if (_v) {
2210 _v = SWIG_CheckInt(argv[2]);
2211 if (_v) {
2212 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2213 }
2214 }
2215 }
2216 }
2217
2218 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2219 return NULL;
2220 }
2221
2222
2223 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2224 PyObject *resultobj;
2225 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2226 wxPoint *arg2 = 0 ;
2227 wxPoint result;
2228 wxPoint temp2 ;
2229 PyObject * obj0 = 0 ;
2230 PyObject * obj1 = 0 ;
2231
2232 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2235 {
2236 arg2 = &temp2;
2237 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2238 }
2239 {
2240 PyThreadState* __tstate = wxPyBeginAllowThreads();
2241 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2242
2243 wxPyEndAllowThreads(__tstate);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 {
2247 wxPoint * resultptr;
2248 resultptr = new wxPoint((wxPoint &) result);
2249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2250 }
2251 return resultobj;
2252 fail:
2253 return NULL;
2254 }
2255
2256
2257 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2258 PyObject *resultobj;
2259 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2260 int arg2 ;
2261 int arg3 ;
2262 int *arg4 = (int *) 0 ;
2263 int *arg5 = (int *) 0 ;
2264 int temp4 ;
2265 int temp5 ;
2266 PyObject * obj0 = 0 ;
2267 PyObject * obj1 = 0 ;
2268 PyObject * obj2 = 0 ;
2269
2270 arg4 = &temp4;
2271 arg5 = &temp5;
2272 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2275 arg2 = (int) SWIG_AsInt(obj1);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 arg3 = (int) SWIG_AsInt(obj2);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 Py_INCREF(Py_None); resultobj = Py_None;
2287 {
2288 PyObject *o = PyInt_FromLong((long) (*arg4));
2289 resultobj = t_output_helper(resultobj,o);
2290 }
2291 {
2292 PyObject *o = PyInt_FromLong((long) (*arg5));
2293 resultobj = t_output_helper(resultobj,o);
2294 }
2295 return resultobj;
2296 fail:
2297 return NULL;
2298 }
2299
2300
2301 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2302 int argc;
2303 PyObject *argv[4];
2304 int ii;
2305
2306 argc = PyObject_Length(args);
2307 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2308 argv[ii] = PyTuple_GetItem(args,ii);
2309 }
2310 if (argc == 2) {
2311 int _v;
2312 {
2313 void *ptr;
2314 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2315 _v = 0;
2316 PyErr_Clear();
2317 } else {
2318 _v = 1;
2319 }
2320 }
2321 if (_v) {
2322 {
2323 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2324 }
2325 if (_v) {
2326 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2327 }
2328 }
2329 }
2330 if (argc == 3) {
2331 int _v;
2332 {
2333 void *ptr;
2334 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2335 _v = 0;
2336 PyErr_Clear();
2337 } else {
2338 _v = 1;
2339 }
2340 }
2341 if (_v) {
2342 _v = SWIG_CheckInt(argv[1]);
2343 if (_v) {
2344 _v = SWIG_CheckInt(argv[2]);
2345 if (_v) {
2346 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2347 }
2348 }
2349 }
2350 }
2351
2352 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2353 return NULL;
2354 }
2355
2356
2357 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2360 PyObject * obj0 = 0 ;
2361 char *kwnames[] = {
2362 (char *) "self", NULL
2363 };
2364
2365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2368 {
2369 PyThreadState* __tstate = wxPyBeginAllowThreads();
2370 (arg1)->AdjustScrollbars();
2371
2372 wxPyEndAllowThreads(__tstate);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 Py_INCREF(Py_None); resultobj = Py_None;
2376 return resultobj;
2377 fail:
2378 return NULL;
2379 }
2380
2381
2382 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2383 PyObject *resultobj;
2384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2385 wxScrollWinEvent *arg2 = 0 ;
2386 int result;
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self",(char *) "event", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2397 SWIG_POINTER_EXCEPTION | 0)) == -1)
2398 SWIG_fail;
2399 if (arg2 == NULL) {
2400 PyErr_SetString(PyExc_TypeError,"null reference");
2401 SWIG_fail;
2402 }
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = (int)(arg1)->CalcScrollInc(*arg2);
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 resultobj = SWIG_FromInt((int)result);
2411 return resultobj;
2412 fail:
2413 return NULL;
2414 }
2415
2416
2417 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2418 PyObject *resultobj;
2419 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2420 wxWindow *arg2 = (wxWindow *) 0 ;
2421 PyObject * obj0 = 0 ;
2422 PyObject * obj1 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "self",(char *) "target", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 (arg1)->SetTargetWindow(arg2);
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 Py_INCREF(Py_None); resultobj = Py_None;
2440 return resultobj;
2441 fail:
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2449 wxWindow *result;
2450 PyObject * obj0 = 0 ;
2451 char *kwnames[] = {
2452 (char *) "self", NULL
2453 };
2454
2455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 {
2466 resultobj = wxPyMake_wxObject(result);
2467 }
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2477 wxVisualAttributes result;
2478 PyObject * obj0 = 0 ;
2479 char *kwnames[] = {
2480 (char *) "variant", NULL
2481 };
2482
2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2484 if (obj0) {
2485 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 {
2489 PyThreadState* __tstate = wxPyBeginAllowThreads();
2490 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2491
2492 wxPyEndAllowThreads(__tstate);
2493 if (PyErr_Occurred()) SWIG_fail;
2494 }
2495 {
2496 wxVisualAttributes * resultptr;
2497 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2499 }
2500 return resultobj;
2501 fail:
2502 return NULL;
2503 }
2504
2505
2506 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2507 PyObject *obj;
2508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2509 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2510 Py_INCREF(obj);
2511 return Py_BuildValue((char *)"");
2512 }
2513 static int _wrap_FrameNameStr_set(PyObject *_val) {
2514 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2515 return 1;
2516 }
2517
2518
2519 static PyObject *_wrap_FrameNameStr_get() {
2520 PyObject *pyobj;
2521
2522 {
2523 #if wxUSE_UNICODE
2524 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2525 #else
2526 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2527 #endif
2528 }
2529 return pyobj;
2530 }
2531
2532
2533 static int _wrap_DialogNameStr_set(PyObject *_val) {
2534 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2535 return 1;
2536 }
2537
2538
2539 static PyObject *_wrap_DialogNameStr_get() {
2540 PyObject *pyobj;
2541
2542 {
2543 #if wxUSE_UNICODE
2544 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2545 #else
2546 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2547 #endif
2548 }
2549 return pyobj;
2550 }
2551
2552
2553 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2554 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2555 return 1;
2556 }
2557
2558
2559 static PyObject *_wrap_StatusLineNameStr_get() {
2560 PyObject *pyobj;
2561
2562 {
2563 #if wxUSE_UNICODE
2564 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2565 #else
2566 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2567 #endif
2568 }
2569 return pyobj;
2570 }
2571
2572
2573 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2574 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2575 return 1;
2576 }
2577
2578
2579 static PyObject *_wrap_ToolBarNameStr_get() {
2580 PyObject *pyobj;
2581
2582 {
2583 #if wxUSE_UNICODE
2584 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2585 #else
2586 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2587 #endif
2588 }
2589 return pyobj;
2590 }
2591
2592
2593 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2596 bool arg2 = (bool) True ;
2597 PyObject * obj0 = 0 ;
2598 PyObject * obj1 = 0 ;
2599 char *kwnames[] = {
2600 (char *) "self",(char *) "maximize", NULL
2601 };
2602
2603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2606 if (obj1) {
2607 arg2 = (bool) SWIG_AsBool(obj1);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 (arg1)->Maximize(arg2);
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 Py_INCREF(Py_None); resultobj = Py_None;
2618 return resultobj;
2619 fail:
2620 return NULL;
2621 }
2622
2623
2624 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2627 PyObject * obj0 = 0 ;
2628 char *kwnames[] = {
2629 (char *) "self", NULL
2630 };
2631
2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2635 {
2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
2637 (arg1)->Restore();
2638
2639 wxPyEndAllowThreads(__tstate);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
2642 Py_INCREF(Py_None); resultobj = Py_None;
2643 return resultobj;
2644 fail:
2645 return NULL;
2646 }
2647
2648
2649 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2652 bool arg2 = (bool) True ;
2653 PyObject * obj0 = 0 ;
2654 PyObject * obj1 = 0 ;
2655 char *kwnames[] = {
2656 (char *) "self",(char *) "iconize", NULL
2657 };
2658
2659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2662 if (obj1) {
2663 arg2 = (bool) SWIG_AsBool(obj1);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 (arg1)->Iconize(arg2);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 return resultobj;
2675 fail:
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2683 bool result;
2684 PyObject * obj0 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "self", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 {
2700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2701 }
2702 return resultobj;
2703 fail:
2704 return NULL;
2705 }
2706
2707
2708 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2709 PyObject *resultobj;
2710 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2711 bool result;
2712 PyObject * obj0 = 0 ;
2713 char *kwnames[] = {
2714 (char *) "self", NULL
2715 };
2716
2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2720 {
2721 PyThreadState* __tstate = wxPyBeginAllowThreads();
2722 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2723
2724 wxPyEndAllowThreads(__tstate);
2725 if (PyErr_Occurred()) SWIG_fail;
2726 }
2727 {
2728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2729 }
2730 return resultobj;
2731 fail:
2732 return NULL;
2733 }
2734
2735
2736 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2739 wxIcon result;
2740 PyObject * obj0 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2748 {
2749 PyThreadState* __tstate = wxPyBeginAllowThreads();
2750 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2751
2752 wxPyEndAllowThreads(__tstate);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 {
2756 wxIcon * resultptr;
2757 resultptr = new wxIcon((wxIcon &) result);
2758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2759 }
2760 return resultobj;
2761 fail:
2762 return NULL;
2763 }
2764
2765
2766 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2769 wxIcon *arg2 = 0 ;
2770 PyObject * obj0 = 0 ;
2771 PyObject * obj1 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self",(char *) "icon", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2780 SWIG_POINTER_EXCEPTION | 0)) == -1)
2781 SWIG_fail;
2782 if (arg2 == NULL) {
2783 PyErr_SetString(PyExc_TypeError,"null reference");
2784 SWIG_fail;
2785 }
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 (arg1)->SetIcon((wxIcon const &)*arg2);
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 Py_INCREF(Py_None); resultobj = Py_None;
2794 return resultobj;
2795 fail:
2796 return NULL;
2797 }
2798
2799
2800 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject *resultobj;
2802 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2803 wxIconBundle *arg2 = 0 ;
2804 PyObject * obj0 = 0 ;
2805 PyObject * obj1 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self",(char *) "icons", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2814 SWIG_POINTER_EXCEPTION | 0)) == -1)
2815 SWIG_fail;
2816 if (arg2 == NULL) {
2817 PyErr_SetString(PyExc_TypeError,"null reference");
2818 SWIG_fail;
2819 }
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 Py_INCREF(Py_None); resultobj = Py_None;
2828 return resultobj;
2829 fail:
2830 return NULL;
2831 }
2832
2833
2834 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2837 bool arg2 ;
2838 long arg3 = (long) wxFULLSCREEN_ALL ;
2839 bool result;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
2842 PyObject * obj2 = 0 ;
2843 char *kwnames[] = {
2844 (char *) "self",(char *) "show",(char *) "style", NULL
2845 };
2846
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2850 arg2 = (bool) SWIG_AsBool(obj1);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 if (obj2) {
2853 arg3 = (long) SWIG_AsLong(obj2);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 {
2864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2865 }
2866 return resultobj;
2867 fail:
2868 return NULL;
2869 }
2870
2871
2872 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject *resultobj;
2874 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2875 bool result;
2876 PyObject * obj0 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 {
2892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2893 }
2894 return resultobj;
2895 fail:
2896 return NULL;
2897 }
2898
2899
2900 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2901 PyObject *resultobj;
2902 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2903 wxString *arg2 = 0 ;
2904 bool temp2 = False ;
2905 PyObject * obj0 = 0 ;
2906 PyObject * obj1 = 0 ;
2907 char *kwnames[] = {
2908 (char *) "self",(char *) "title", NULL
2909 };
2910
2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2914 {
2915 arg2 = wxString_in_helper(obj1);
2916 if (arg2 == NULL) SWIG_fail;
2917 temp2 = True;
2918 }
2919 {
2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2921 (arg1)->SetTitle((wxString const &)*arg2);
2922
2923 wxPyEndAllowThreads(__tstate);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 Py_INCREF(Py_None); resultobj = Py_None;
2927 {
2928 if (temp2)
2929 delete arg2;
2930 }
2931 return resultobj;
2932 fail:
2933 {
2934 if (temp2)
2935 delete arg2;
2936 }
2937 return NULL;
2938 }
2939
2940
2941 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2942 PyObject *resultobj;
2943 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2944 wxString result;
2945 PyObject * obj0 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2953 {
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2956
2957 wxPyEndAllowThreads(__tstate);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 }
2960 {
2961 #if wxUSE_UNICODE
2962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2963 #else
2964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2965 #endif
2966 }
2967 return resultobj;
2968 fail:
2969 return NULL;
2970 }
2971
2972
2973 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2976 wxRegion *arg2 = 0 ;
2977 bool result;
2978 PyObject * obj0 = 0 ;
2979 PyObject * obj1 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self",(char *) "region", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
2988 SWIG_POINTER_EXCEPTION | 0)) == -1)
2989 SWIG_fail;
2990 if (arg2 == NULL) {
2991 PyErr_SetString(PyExc_TypeError,"null reference");
2992 SWIG_fail;
2993 }
2994 {
2995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2996 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2997
2998 wxPyEndAllowThreads(__tstate);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 {
3002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3003 }
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3011 PyObject *obj;
3012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3013 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3014 Py_INCREF(obj);
3015 return Py_BuildValue((char *)"");
3016 }
3017 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxWindow *arg1 = (wxWindow *) 0 ;
3020 int arg2 ;
3021 wxString *arg3 = 0 ;
3022 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3023 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3024 wxSize const &arg5_defvalue = wxDefaultSize ;
3025 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3026 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3027 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3028 wxString *arg7 = (wxString *) &arg7_defvalue ;
3029 wxFrame *result;
3030 bool temp3 = False ;
3031 wxPoint temp4 ;
3032 wxSize temp5 ;
3033 bool temp7 = False ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 PyObject * obj2 = 0 ;
3037 PyObject * obj3 = 0 ;
3038 PyObject * obj4 = 0 ;
3039 PyObject * obj5 = 0 ;
3040 PyObject * obj6 = 0 ;
3041 char *kwnames[] = {
3042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3043 };
3044
3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3048 arg2 = (int const) SWIG_AsInt(obj1);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 {
3051 arg3 = wxString_in_helper(obj2);
3052 if (arg3 == NULL) SWIG_fail;
3053 temp3 = True;
3054 }
3055 if (obj3) {
3056 {
3057 arg4 = &temp4;
3058 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3059 }
3060 }
3061 if (obj4) {
3062 {
3063 arg5 = &temp5;
3064 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3065 }
3066 }
3067 if (obj5) {
3068 arg6 = (long) SWIG_AsLong(obj5);
3069 if (PyErr_Occurred()) SWIG_fail;
3070 }
3071 if (obj6) {
3072 {
3073 arg7 = wxString_in_helper(obj6);
3074 if (arg7 == NULL) SWIG_fail;
3075 temp7 = True;
3076 }
3077 }
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 {
3086 resultobj = wxPyMake_wxObject(result);
3087 }
3088 {
3089 if (temp3)
3090 delete arg3;
3091 }
3092 {
3093 if (temp7)
3094 delete arg7;
3095 }
3096 return resultobj;
3097 fail:
3098 {
3099 if (temp3)
3100 delete arg3;
3101 }
3102 {
3103 if (temp7)
3104 delete arg7;
3105 }
3106 return NULL;
3107 }
3108
3109
3110 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxFrame *result;
3113 char *kwnames[] = {
3114 NULL
3115 };
3116
3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = (wxFrame *)new wxFrame();
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 {
3126 resultobj = wxPyMake_wxObject(result);
3127 }
3128 return resultobj;
3129 fail:
3130 return NULL;
3131 }
3132
3133
3134 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj;
3136 wxFrame *arg1 = (wxFrame *) 0 ;
3137 wxWindow *arg2 = (wxWindow *) 0 ;
3138 int arg3 ;
3139 wxString *arg4 = 0 ;
3140 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3141 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3142 wxSize const &arg6_defvalue = wxDefaultSize ;
3143 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3144 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3145 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3146 wxString *arg8 = (wxString *) &arg8_defvalue ;
3147 bool result;
3148 bool temp4 = False ;
3149 wxPoint temp5 ;
3150 wxSize temp6 ;
3151 bool temp8 = False ;
3152 PyObject * obj0 = 0 ;
3153 PyObject * obj1 = 0 ;
3154 PyObject * obj2 = 0 ;
3155 PyObject * obj3 = 0 ;
3156 PyObject * obj4 = 0 ;
3157 PyObject * obj5 = 0 ;
3158 PyObject * obj6 = 0 ;
3159 PyObject * obj7 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3169 arg3 = (int const) SWIG_AsInt(obj2);
3170 if (PyErr_Occurred()) SWIG_fail;
3171 {
3172 arg4 = wxString_in_helper(obj3);
3173 if (arg4 == NULL) SWIG_fail;
3174 temp4 = True;
3175 }
3176 if (obj4) {
3177 {
3178 arg5 = &temp5;
3179 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3180 }
3181 }
3182 if (obj5) {
3183 {
3184 arg6 = &temp6;
3185 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3186 }
3187 }
3188 if (obj6) {
3189 arg7 = (long) SWIG_AsLong(obj6);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 if (obj7) {
3193 {
3194 arg8 = wxString_in_helper(obj7);
3195 if (arg8 == NULL) SWIG_fail;
3196 temp8 = True;
3197 }
3198 }
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3208 }
3209 {
3210 if (temp4)
3211 delete arg4;
3212 }
3213 {
3214 if (temp8)
3215 delete arg8;
3216 }
3217 return resultobj;
3218 fail:
3219 {
3220 if (temp4)
3221 delete arg4;
3222 }
3223 {
3224 if (temp8)
3225 delete arg8;
3226 }
3227 return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxFrame *arg1 = (wxFrame *) 0 ;
3234 wxPoint result;
3235 PyObject * obj0 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 {
3251 wxPoint * resultptr;
3252 resultptr = new wxPoint((wxPoint &) result);
3253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3254 }
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj;
3263 wxFrame *arg1 = (wxFrame *) 0 ;
3264 PyObject * obj0 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "self", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SendSizeEvent();
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxFrame *arg1 = (wxFrame *) 0 ;
3289 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3290 PyObject * obj0 = 0 ;
3291 PyObject * obj1 = 0 ;
3292 char *kwnames[] = {
3293 (char *) "self",(char *) "menubar", NULL
3294 };
3295
3296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->SetMenuBar(arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxFrame *arg1 = (wxFrame *) 0 ;
3318 wxMenuBar *result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 {
3335 resultobj = wxPyMake_wxObject(result);
3336 }
3337 return resultobj;
3338 fail:
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxFrame *arg1 = (wxFrame *) 0 ;
3346 int arg2 ;
3347 bool result;
3348 PyObject * obj0 = 0 ;
3349 PyObject * obj1 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self",(char *) "winid", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3357 arg2 = (int) SWIG_AsInt(obj1);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 {
3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
3361 result = (bool)(arg1)->ProcessCommand(arg2);
3362
3363 wxPyEndAllowThreads(__tstate);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
3367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3368 }
3369 return resultobj;
3370 fail:
3371 return NULL;
3372 }
3373
3374
3375 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3376 PyObject *resultobj;
3377 wxFrame *arg1 = (wxFrame *) 0 ;
3378 int arg2 = (int) 1 ;
3379 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3380 int arg4 = (int) 0 ;
3381 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3382 wxString *arg5 = (wxString *) &arg5_defvalue ;
3383 wxStatusBar *result;
3384 bool temp5 = False ;
3385 PyObject * obj0 = 0 ;
3386 PyObject * obj1 = 0 ;
3387 PyObject * obj2 = 0 ;
3388 PyObject * obj3 = 0 ;
3389 PyObject * obj4 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3397 if (obj1) {
3398 arg2 = (int) SWIG_AsInt(obj1);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 if (obj2) {
3402 arg3 = (long) SWIG_AsLong(obj2);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 if (obj3) {
3406 arg4 = (int) SWIG_AsInt(obj3);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 if (obj4) {
3410 {
3411 arg5 = wxString_in_helper(obj4);
3412 if (arg5 == NULL) SWIG_fail;
3413 temp5 = True;
3414 }
3415 }
3416 {
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3419
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 {
3424 resultobj = wxPyMake_wxObject(result);
3425 }
3426 {
3427 if (temp5)
3428 delete arg5;
3429 }
3430 return resultobj;
3431 fail:
3432 {
3433 if (temp5)
3434 delete arg5;
3435 }
3436 return NULL;
3437 }
3438
3439
3440 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxFrame *arg1 = (wxFrame *) 0 ;
3443 wxStatusBar *result;
3444 PyObject * obj0 = 0 ;
3445 char *kwnames[] = {
3446 (char *) "self", NULL
3447 };
3448
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3452 {
3453 PyThreadState* __tstate = wxPyBeginAllowThreads();
3454 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3455
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 {
3460 resultobj = wxPyMake_wxObject(result);
3461 }
3462 return resultobj;
3463 fail:
3464 return NULL;
3465 }
3466
3467
3468 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject *resultobj;
3470 wxFrame *arg1 = (wxFrame *) 0 ;
3471 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3472 PyObject * obj0 = 0 ;
3473 PyObject * obj1 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self",(char *) "statBar", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 (arg1)->SetStatusBar(arg2);
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
3490 Py_INCREF(Py_None); resultobj = Py_None;
3491 return resultobj;
3492 fail:
3493 return NULL;
3494 }
3495
3496
3497 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject *resultobj;
3499 wxFrame *arg1 = (wxFrame *) 0 ;
3500 wxString *arg2 = 0 ;
3501 int arg3 = (int) 0 ;
3502 bool temp2 = False ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 PyObject * obj2 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self",(char *) "text",(char *) "number", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3513 {
3514 arg2 = wxString_in_helper(obj1);
3515 if (arg2 == NULL) SWIG_fail;
3516 temp2 = True;
3517 }
3518 if (obj2) {
3519 arg3 = (int) SWIG_AsInt(obj2);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 {
3531 if (temp2)
3532 delete arg2;
3533 }
3534 return resultobj;
3535 fail:
3536 {
3537 if (temp2)
3538 delete arg2;
3539 }
3540 return NULL;
3541 }
3542
3543
3544 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject *resultobj;
3546 wxFrame *arg1 = (wxFrame *) 0 ;
3547 int arg2 ;
3548 int *arg3 = (int *) 0 ;
3549 PyObject * obj0 = 0 ;
3550 PyObject * obj1 = 0 ;
3551 char *kwnames[] = {
3552 (char *) "self",(char *) "widths", NULL
3553 };
3554
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3558 {
3559 arg2 = PyList_Size(obj1);
3560 arg3 = int_LIST_helper(obj1);
3561 if (arg3 == NULL) SWIG_fail;
3562 }
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 Py_INCREF(Py_None); resultobj = Py_None;
3571 {
3572 if (arg3) delete [] arg3;
3573 }
3574 return resultobj;
3575 fail:
3576 {
3577 if (arg3) delete [] arg3;
3578 }
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxFrame *arg1 = (wxFrame *) 0 ;
3586 wxString *arg2 = 0 ;
3587 int arg3 = (int) 0 ;
3588 bool temp2 = False ;
3589 PyObject * obj0 = 0 ;
3590 PyObject * obj1 = 0 ;
3591 PyObject * obj2 = 0 ;
3592 char *kwnames[] = {
3593 (char *) "self",(char *) "text",(char *) "number", NULL
3594 };
3595
3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3599 {
3600 arg2 = wxString_in_helper(obj1);
3601 if (arg2 == NULL) SWIG_fail;
3602 temp2 = True;
3603 }
3604 if (obj2) {
3605 arg3 = (int) SWIG_AsInt(obj2);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 Py_INCREF(Py_None); resultobj = Py_None;
3616 {
3617 if (temp2)
3618 delete arg2;
3619 }
3620 return resultobj;
3621 fail:
3622 {
3623 if (temp2)
3624 delete arg2;
3625 }
3626 return NULL;
3627 }
3628
3629
3630 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxFrame *arg1 = (wxFrame *) 0 ;
3633 int arg2 = (int) 0 ;
3634 PyObject * obj0 = 0 ;
3635 PyObject * obj1 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "number", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3643 if (obj1) {
3644 arg2 = (int) SWIG_AsInt(obj1);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 (arg1)->PopStatusText(arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 Py_INCREF(Py_None); resultobj = Py_None;
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxFrame *arg1 = (wxFrame *) 0 ;
3664 int arg2 ;
3665 PyObject * obj0 = 0 ;
3666 PyObject * obj1 = 0 ;
3667 char *kwnames[] = {
3668 (char *) "self",(char *) "n", NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3674 arg2 = (int) SWIG_AsInt(obj1);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 {
3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
3678 (arg1)->SetStatusBarPane(arg2);
3679
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 Py_INCREF(Py_None); resultobj = Py_None;
3684 return resultobj;
3685 fail:
3686 return NULL;
3687 }
3688
3689
3690 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3691 PyObject *resultobj;
3692 wxFrame *arg1 = (wxFrame *) 0 ;
3693 int result;
3694 PyObject * obj0 = 0 ;
3695 char *kwnames[] = {
3696 (char *) "self", NULL
3697 };
3698
3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = SWIG_FromInt((int)result);
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxFrame *arg1 = (wxFrame *) 0 ;
3719 long arg2 = (long) -1 ;
3720 int arg3 = (int) -1 ;
3721 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3722 wxString *arg4 = (wxString *) &arg4_defvalue ;
3723 wxToolBar *result;
3724 bool temp4 = False ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 PyObject * obj2 = 0 ;
3728 PyObject * obj3 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3736 if (obj1) {
3737 arg2 = (long) SWIG_AsLong(obj1);
3738 if (PyErr_Occurred()) SWIG_fail;
3739 }
3740 if (obj2) {
3741 arg3 = (int) SWIG_AsInt(obj2);
3742 if (PyErr_Occurred()) SWIG_fail;
3743 }
3744 if (obj3) {
3745 {
3746 arg4 = wxString_in_helper(obj3);
3747 if (arg4 == NULL) SWIG_fail;
3748 temp4 = True;
3749 }
3750 }
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 {
3759 resultobj = wxPyMake_wxObject(result);
3760 }
3761 {
3762 if (temp4)
3763 delete arg4;
3764 }
3765 return resultobj;
3766 fail:
3767 {
3768 if (temp4)
3769 delete arg4;
3770 }
3771 return NULL;
3772 }
3773
3774
3775 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3776 PyObject *resultobj;
3777 wxFrame *arg1 = (wxFrame *) 0 ;
3778 wxToolBar *result;
3779 PyObject * obj0 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3787 {
3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
3789 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3790
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 {
3795 resultobj = wxPyMake_wxObject(result);
3796 }
3797 return resultobj;
3798 fail:
3799 return NULL;
3800 }
3801
3802
3803 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxFrame *arg1 = (wxFrame *) 0 ;
3806 wxToolBar *arg2 = (wxToolBar *) 0 ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self",(char *) "toolbar", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 (arg1)->SetToolBar(arg2);
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 Py_INCREF(Py_None); resultobj = Py_None;
3826 return resultobj;
3827 fail:
3828 return NULL;
3829 }
3830
3831
3832 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3833 PyObject *resultobj;
3834 wxFrame *arg1 = (wxFrame *) 0 ;
3835 wxString *arg2 = 0 ;
3836 bool arg3 ;
3837 bool temp2 = False ;
3838 PyObject * obj0 = 0 ;
3839 PyObject * obj1 = 0 ;
3840 PyObject * obj2 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "self",(char *) "text",(char *) "show", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3848 {
3849 arg2 = wxString_in_helper(obj1);
3850 if (arg2 == NULL) SWIG_fail;
3851 temp2 = True;
3852 }
3853 arg3 = (bool) SWIG_AsBool(obj2);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 Py_INCREF(Py_None); resultobj = Py_None;
3863 {
3864 if (temp2)
3865 delete arg2;
3866 }
3867 return resultobj;
3868 fail:
3869 {
3870 if (temp2)
3871 delete arg2;
3872 }
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxFrame *arg1 = (wxFrame *) 0 ;
3880 wxMenu *arg2 = (wxMenu *) NULL ;
3881 PyObject * obj0 = 0 ;
3882 PyObject * obj1 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "menu", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3890 if (obj1) {
3891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3893 }
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 (arg1)->DoMenuUpdates(arg2);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 Py_INCREF(Py_None); resultobj = Py_None;
3902 return resultobj;
3903 fail:
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3911 wxVisualAttributes result;
3912 PyObject * obj0 = 0 ;
3913 char *kwnames[] = {
3914 (char *) "variant", NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3918 if (obj0) {
3919 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 {
3930 wxVisualAttributes * resultptr;
3931 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3933 }
3934 return resultobj;
3935 fail:
3936 return NULL;
3937 }
3938
3939
3940 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3941 PyObject *obj;
3942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3943 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3944 Py_INCREF(obj);
3945 return Py_BuildValue((char *)"");
3946 }
3947 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxWindow *arg1 = (wxWindow *) 0 ;
3950 int arg2 ;
3951 wxString *arg3 = 0 ;
3952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3954 wxSize const &arg5_defvalue = wxDefaultSize ;
3955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3956 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3957 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3958 wxString *arg7 = (wxString *) &arg7_defvalue ;
3959 wxDialog *result;
3960 bool temp3 = False ;
3961 wxPoint temp4 ;
3962 wxSize temp5 ;
3963 bool temp7 = False ;
3964 PyObject * obj0 = 0 ;
3965 PyObject * obj1 = 0 ;
3966 PyObject * obj2 = 0 ;
3967 PyObject * obj3 = 0 ;
3968 PyObject * obj4 = 0 ;
3969 PyObject * obj5 = 0 ;
3970 PyObject * obj6 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3978 arg2 = (int const) SWIG_AsInt(obj1);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 {
3981 arg3 = wxString_in_helper(obj2);
3982 if (arg3 == NULL) SWIG_fail;
3983 temp3 = True;
3984 }
3985 if (obj3) {
3986 {
3987 arg4 = &temp4;
3988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3989 }
3990 }
3991 if (obj4) {
3992 {
3993 arg5 = &temp5;
3994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3995 }
3996 }
3997 if (obj5) {
3998 arg6 = (long) SWIG_AsLong(obj5);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 if (obj6) {
4002 {
4003 arg7 = wxString_in_helper(obj6);
4004 if (arg7 == NULL) SWIG_fail;
4005 temp7 = True;
4006 }
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 {
4016 resultobj = wxPyMake_wxObject(result);
4017 }
4018 {
4019 if (temp3)
4020 delete arg3;
4021 }
4022 {
4023 if (temp7)
4024 delete arg7;
4025 }
4026 return resultobj;
4027 fail:
4028 {
4029 if (temp3)
4030 delete arg3;
4031 }
4032 {
4033 if (temp7)
4034 delete arg7;
4035 }
4036 return NULL;
4037 }
4038
4039
4040 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 wxDialog *result;
4043 char *kwnames[] = {
4044 NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4048 {
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (wxDialog *)new wxDialog();
4051
4052 wxPyEndAllowThreads(__tstate);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 {
4056 resultobj = wxPyMake_wxObject(result);
4057 }
4058 return resultobj;
4059 fail:
4060 return NULL;
4061 }
4062
4063
4064 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxDialog *arg1 = (wxDialog *) 0 ;
4067 wxWindow *arg2 = (wxWindow *) 0 ;
4068 int arg3 ;
4069 wxString *arg4 = 0 ;
4070 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4071 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4072 wxSize const &arg6_defvalue = wxDefaultSize ;
4073 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4074 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4075 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4076 wxString *arg8 = (wxString *) &arg8_defvalue ;
4077 bool result;
4078 bool temp4 = False ;
4079 wxPoint temp5 ;
4080 wxSize temp6 ;
4081 bool temp8 = False ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 PyObject * obj2 = 0 ;
4085 PyObject * obj3 = 0 ;
4086 PyObject * obj4 = 0 ;
4087 PyObject * obj5 = 0 ;
4088 PyObject * obj6 = 0 ;
4089 PyObject * obj7 = 0 ;
4090 char *kwnames[] = {
4091 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4092 };
4093
4094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4099 arg3 = (int const) SWIG_AsInt(obj2);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 {
4102 arg4 = wxString_in_helper(obj3);
4103 if (arg4 == NULL) SWIG_fail;
4104 temp4 = True;
4105 }
4106 if (obj4) {
4107 {
4108 arg5 = &temp5;
4109 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4110 }
4111 }
4112 if (obj5) {
4113 {
4114 arg6 = &temp6;
4115 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4116 }
4117 }
4118 if (obj6) {
4119 arg7 = (long) SWIG_AsLong(obj6);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 if (obj7) {
4123 {
4124 arg8 = wxString_in_helper(obj7);
4125 if (arg8 == NULL) SWIG_fail;
4126 temp8 = True;
4127 }
4128 }
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 {
4137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4138 }
4139 {
4140 if (temp4)
4141 delete arg4;
4142 }
4143 {
4144 if (temp8)
4145 delete arg8;
4146 }
4147 return resultobj;
4148 fail:
4149 {
4150 if (temp4)
4151 delete arg4;
4152 }
4153 {
4154 if (temp8)
4155 delete arg8;
4156 }
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxDialog *arg1 = (wxDialog *) 0 ;
4164 int arg2 ;
4165 PyObject * obj0 = 0 ;
4166 PyObject * obj1 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self",(char *) "returnCode", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4174 arg2 = (int) SWIG_AsInt(obj1);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->SetReturnCode(arg2);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 return resultobj;
4185 fail:
4186 return NULL;
4187 }
4188
4189
4190 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxDialog *arg1 = (wxDialog *) 0 ;
4193 int result;
4194 PyObject * obj0 = 0 ;
4195 char *kwnames[] = {
4196 (char *) "self", NULL
4197 };
4198
4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 resultobj = SWIG_FromInt((int)result);
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxDialog *arg1 = (wxDialog *) 0 ;
4219 wxString *arg2 = 0 ;
4220 wxSizer *result;
4221 bool temp2 = False ;
4222 PyObject * obj0 = 0 ;
4223 PyObject * obj1 = 0 ;
4224 char *kwnames[] = {
4225 (char *) "self",(char *) "message", NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4231 {
4232 arg2 = wxString_in_helper(obj1);
4233 if (arg2 == NULL) SWIG_fail;
4234 temp2 = True;
4235 }
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4239
4240 wxPyEndAllowThreads(__tstate);
4241 if (PyErr_Occurred()) SWIG_fail;
4242 }
4243 {
4244 resultobj = wxPyMake_wxSizer(result);
4245 }
4246 {
4247 if (temp2)
4248 delete arg2;
4249 }
4250 return resultobj;
4251 fail:
4252 {
4253 if (temp2)
4254 delete arg2;
4255 }
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4261 PyObject *resultobj;
4262 wxDialog *arg1 = (wxDialog *) 0 ;
4263 long arg2 ;
4264 wxSizer *result;
4265 PyObject * obj0 = 0 ;
4266 PyObject * obj1 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "flags", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4274 arg2 = (long) SWIG_AsLong(obj1);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 {
4284 resultobj = wxPyMake_wxSizer(result);
4285 }
4286 return resultobj;
4287 fail:
4288 return NULL;
4289 }
4290
4291
4292 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxDialog *arg1 = (wxDialog *) 0 ;
4295 bool result;
4296 PyObject * obj0 = 0 ;
4297 char *kwnames[] = {
4298 (char *) "self", NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (bool)((wxDialog const *)arg1)->IsModal();
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 {
4312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4313 }
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxDialog *arg1 = (wxDialog *) 0 ;
4323 int result;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (int)(arg1)->ShowModal();
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_FromInt((int)result);
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj;
4348 wxDialog *arg1 = (wxDialog *) 0 ;
4349 int arg2 ;
4350 PyObject * obj0 = 0 ;
4351 PyObject * obj1 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self",(char *) "retCode", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4359 arg2 = (int) SWIG_AsInt(obj1);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 (arg1)->EndModal(arg2);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 Py_INCREF(Py_None); resultobj = Py_None;
4369 return resultobj;
4370 fail:
4371 return NULL;
4372 }
4373
4374
4375 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4378 wxVisualAttributes result;
4379 PyObject * obj0 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "variant", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4385 if (obj0) {
4386 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 {
4397 wxVisualAttributes * resultptr;
4398 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4400 }
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4408 PyObject *obj;
4409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4410 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4411 Py_INCREF(obj);
4412 return Py_BuildValue((char *)"");
4413 }
4414 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxWindow *arg1 = (wxWindow *) 0 ;
4417 int arg2 ;
4418 wxString *arg3 = 0 ;
4419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4421 wxSize const &arg5_defvalue = wxDefaultSize ;
4422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4423 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4424 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4425 wxString *arg7 = (wxString *) &arg7_defvalue ;
4426 wxMiniFrame *result;
4427 bool temp3 = False ;
4428 wxPoint temp4 ;
4429 wxSize temp5 ;
4430 bool temp7 = False ;
4431 PyObject * obj0 = 0 ;
4432 PyObject * obj1 = 0 ;
4433 PyObject * obj2 = 0 ;
4434 PyObject * obj3 = 0 ;
4435 PyObject * obj4 = 0 ;
4436 PyObject * obj5 = 0 ;
4437 PyObject * obj6 = 0 ;
4438 char *kwnames[] = {
4439 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4440 };
4441
4442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4445 arg2 = (int const) SWIG_AsInt(obj1);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 {
4448 arg3 = wxString_in_helper(obj2);
4449 if (arg3 == NULL) SWIG_fail;
4450 temp3 = True;
4451 }
4452 if (obj3) {
4453 {
4454 arg4 = &temp4;
4455 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4456 }
4457 }
4458 if (obj4) {
4459 {
4460 arg5 = &temp5;
4461 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4462 }
4463 }
4464 if (obj5) {
4465 arg6 = (long) SWIG_AsLong(obj5);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 if (obj6) {
4469 {
4470 arg7 = wxString_in_helper(obj6);
4471 if (arg7 == NULL) SWIG_fail;
4472 temp7 = True;
4473 }
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4483 {
4484 if (temp3)
4485 delete arg3;
4486 }
4487 {
4488 if (temp7)
4489 delete arg7;
4490 }
4491 return resultobj;
4492 fail:
4493 {
4494 if (temp3)
4495 delete arg3;
4496 }
4497 {
4498 if (temp7)
4499 delete arg7;
4500 }
4501 return NULL;
4502 }
4503
4504
4505 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj;
4507 wxMiniFrame *result;
4508 char *kwnames[] = {
4509 NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (wxMiniFrame *)new wxMiniFrame();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4530 wxWindow *arg2 = (wxWindow *) 0 ;
4531 int arg3 ;
4532 wxString *arg4 = 0 ;
4533 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4534 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4535 wxSize const &arg6_defvalue = wxDefaultSize ;
4536 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4537 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4538 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4539 wxString *arg8 = (wxString *) &arg8_defvalue ;
4540 bool result;
4541 bool temp4 = False ;
4542 wxPoint temp5 ;
4543 wxSize temp6 ;
4544 bool temp8 = False ;
4545 PyObject * obj0 = 0 ;
4546 PyObject * obj1 = 0 ;
4547 PyObject * obj2 = 0 ;
4548 PyObject * obj3 = 0 ;
4549 PyObject * obj4 = 0 ;
4550 PyObject * obj5 = 0 ;
4551 PyObject * obj6 = 0 ;
4552 PyObject * obj7 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4562 arg3 = (int const) SWIG_AsInt(obj2);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 {
4565 arg4 = wxString_in_helper(obj3);
4566 if (arg4 == NULL) SWIG_fail;
4567 temp4 = True;
4568 }
4569 if (obj4) {
4570 {
4571 arg5 = &temp5;
4572 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4573 }
4574 }
4575 if (obj5) {
4576 {
4577 arg6 = &temp6;
4578 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4579 }
4580 }
4581 if (obj6) {
4582 arg7 = (long) SWIG_AsLong(obj6);
4583 if (PyErr_Occurred()) SWIG_fail;
4584 }
4585 if (obj7) {
4586 {
4587 arg8 = wxString_in_helper(obj7);
4588 if (arg8 == NULL) SWIG_fail;
4589 temp8 = True;
4590 }
4591 }
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 {
4600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4601 }
4602 {
4603 if (temp4)
4604 delete arg4;
4605 }
4606 {
4607 if (temp8)
4608 delete arg8;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (temp4)
4614 delete arg4;
4615 }
4616 {
4617 if (temp8)
4618 delete arg8;
4619 }
4620 return NULL;
4621 }
4622
4623
4624 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4625 PyObject *obj;
4626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4628 Py_INCREF(obj);
4629 return Py_BuildValue((char *)"");
4630 }
4631 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxBitmap *arg1 = 0 ;
4634 wxWindow *arg2 = (wxWindow *) 0 ;
4635 int arg3 ;
4636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4638 wxSize const &arg5_defvalue = wxDefaultSize ;
4639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4640 long arg6 = (long) wxNO_BORDER ;
4641 wxSplashScreenWindow *result;
4642 wxPoint temp4 ;
4643 wxSize temp5 ;
4644 PyObject * obj0 = 0 ;
4645 PyObject * obj1 = 0 ;
4646 PyObject * obj2 = 0 ;
4647 PyObject * obj3 = 0 ;
4648 PyObject * obj4 = 0 ;
4649 PyObject * obj5 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4656 SWIG_POINTER_EXCEPTION | 0)) == -1)
4657 SWIG_fail;
4658 if (arg1 == NULL) {
4659 PyErr_SetString(PyExc_TypeError,"null reference");
4660 SWIG_fail;
4661 }
4662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4664 arg3 = (int) SWIG_AsInt(obj2);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 if (obj3) {
4667 {
4668 arg4 = &temp4;
4669 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4670 }
4671 }
4672 if (obj4) {
4673 {
4674 arg5 = &temp5;
4675 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4676 }
4677 }
4678 if (obj5) {
4679 arg6 = (long) SWIG_AsLong(obj5);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 {
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4685
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4690 return resultobj;
4691 fail:
4692 return NULL;
4693 }
4694
4695
4696 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4697 PyObject *resultobj;
4698 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4699 wxBitmap *arg2 = 0 ;
4700 PyObject * obj0 = 0 ;
4701 PyObject * obj1 = 0 ;
4702 char *kwnames[] = {
4703 (char *) "self",(char *) "bitmap", NULL
4704 };
4705
4706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4710 SWIG_POINTER_EXCEPTION | 0)) == -1)
4711 SWIG_fail;
4712 if (arg2 == NULL) {
4713 PyErr_SetString(PyExc_TypeError,"null reference");
4714 SWIG_fail;
4715 }
4716 {
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4719
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 Py_INCREF(Py_None); resultobj = Py_None;
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj;
4732 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4733 wxBitmap *result;
4734 PyObject * obj0 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 {
4745 wxBitmap &_result_ref = (arg1)->GetBitmap();
4746 result = (wxBitmap *) &_result_ref;
4747 }
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 {
4753 wxBitmap* resultptr = new wxBitmap(*result);
4754 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4755 }
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4763 PyObject *obj;
4764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4765 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4766 Py_INCREF(obj);
4767 return Py_BuildValue((char *)"");
4768 }
4769 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxBitmap *arg1 = 0 ;
4772 long arg2 ;
4773 int arg3 ;
4774 wxWindow *arg4 = (wxWindow *) 0 ;
4775 int arg5 ;
4776 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4777 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4778 wxSize const &arg7_defvalue = wxDefaultSize ;
4779 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4780 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4781 wxSplashScreen *result;
4782 wxPoint temp6 ;
4783 wxSize temp7 ;
4784 PyObject * obj0 = 0 ;
4785 PyObject * obj1 = 0 ;
4786 PyObject * obj2 = 0 ;
4787 PyObject * obj3 = 0 ;
4788 PyObject * obj4 = 0 ;
4789 PyObject * obj5 = 0 ;
4790 PyObject * obj6 = 0 ;
4791 PyObject * obj7 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4798 SWIG_POINTER_EXCEPTION | 0)) == -1)
4799 SWIG_fail;
4800 if (arg1 == NULL) {
4801 PyErr_SetString(PyExc_TypeError,"null reference");
4802 SWIG_fail;
4803 }
4804 arg2 = (long) SWIG_AsLong(obj1);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 arg3 = (int) SWIG_AsInt(obj2);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4810 arg5 = (int) SWIG_AsInt(obj4);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 if (obj5) {
4813 {
4814 arg6 = &temp6;
4815 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4816 }
4817 }
4818 if (obj6) {
4819 {
4820 arg7 = &temp7;
4821 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4822 }
4823 }
4824 if (obj7) {
4825 arg8 = (long) SWIG_AsLong(obj7);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4836 return resultobj;
4837 fail:
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4845 long result;
4846 PyObject * obj0 = 0 ;
4847 char *kwnames[] = {
4848 (char *) "self", NULL
4849 };
4850
4851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 resultobj = SWIG_FromLong((long)result);
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4871 wxSplashScreenWindow *result;
4872 PyObject * obj0 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "self", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4897 int result;
4898 PyObject * obj0 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 resultobj = SWIG_FromInt((int)result);
4914 return resultobj;
4915 fail:
4916 return NULL;
4917 }
4918
4919
4920 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4921 PyObject *obj;
4922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4923 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4924 Py_INCREF(obj);
4925 return Py_BuildValue((char *)"");
4926 }
4927 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxWindow *arg1 = (wxWindow *) 0 ;
4930 int arg2 = (int) -1 ;
4931 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4932 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4933 wxString *arg4 = (wxString *) &arg4_defvalue ;
4934 wxStatusBar *result;
4935 bool temp4 = False ;
4936 PyObject * obj0 = 0 ;
4937 PyObject * obj1 = 0 ;
4938 PyObject * obj2 = 0 ;
4939 PyObject * obj3 = 0 ;
4940 char *kwnames[] = {
4941 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4947 if (obj1) {
4948 arg2 = (int) SWIG_AsInt(obj1);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 if (obj2) {
4952 arg3 = (long) SWIG_AsLong(obj2);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 if (obj3) {
4956 {
4957 arg4 = wxString_in_helper(obj3);
4958 if (arg4 == NULL) SWIG_fail;
4959 temp4 = True;
4960 }
4961 }
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 {
4970 resultobj = wxPyMake_wxObject(result);
4971 }
4972 {
4973 if (temp4)
4974 delete arg4;
4975 }
4976 return resultobj;
4977 fail:
4978 {
4979 if (temp4)
4980 delete arg4;
4981 }
4982 return NULL;
4983 }
4984
4985
4986 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxStatusBar *result;
4989 char *kwnames[] = {
4990 NULL
4991 };
4992
4993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 result = (wxStatusBar *)new wxStatusBar();
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 {
5002 resultobj = wxPyMake_wxObject(result);
5003 }
5004 return resultobj;
5005 fail:
5006 return NULL;
5007 }
5008
5009
5010 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj;
5012 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5013 wxWindow *arg2 = (wxWindow *) 0 ;
5014 int arg3 ;
5015 long arg4 = (long) wxST_SIZEGRIP ;
5016 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5017 wxString *arg5 = (wxString *) &arg5_defvalue ;
5018 bool result;
5019 bool temp5 = False ;
5020 PyObject * obj0 = 0 ;
5021 PyObject * obj1 = 0 ;
5022 PyObject * obj2 = 0 ;
5023 PyObject * obj3 = 0 ;
5024 PyObject * obj4 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 arg3 = (int) SWIG_AsInt(obj2);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 if (obj3) {
5037 arg4 = (long) SWIG_AsLong(obj3);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 if (obj4) {
5041 {
5042 arg5 = wxString_in_helper(obj4);
5043 if (arg5 == NULL) SWIG_fail;
5044 temp5 = True;
5045 }
5046 }
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 {
5055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5056 }
5057 {
5058 if (temp5)
5059 delete arg5;
5060 }
5061 return resultobj;
5062 fail:
5063 {
5064 if (temp5)
5065 delete arg5;
5066 }
5067 return NULL;
5068 }
5069
5070
5071 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5074 int arg2 = (int) 1 ;
5075 PyObject * obj0 = 0 ;
5076 PyObject * obj1 = 0 ;
5077 char *kwnames[] = {
5078 (char *) "self",(char *) "number", NULL
5079 };
5080
5081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5084 if (obj1) {
5085 arg2 = (int) SWIG_AsInt(obj1);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetFieldsCount(arg2);
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 Py_INCREF(Py_None); resultobj = Py_None;
5096 return resultobj;
5097 fail:
5098 return NULL;
5099 }
5100
5101
5102 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5103 PyObject *resultobj;
5104 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5105 int result;
5106 PyObject * obj0 = 0 ;
5107 char *kwnames[] = {
5108 (char *) "self", NULL
5109 };
5110
5111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 resultobj = SWIG_FromInt((int)result);
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj;
5130 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5131 wxString *arg2 = 0 ;
5132 int arg3 = (int) 0 ;
5133 bool temp2 = False ;
5134 PyObject * obj0 = 0 ;
5135 PyObject * obj1 = 0 ;
5136 PyObject * obj2 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self",(char *) "text",(char *) "number", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5144 {
5145 arg2 = wxString_in_helper(obj1);
5146 if (arg2 == NULL) SWIG_fail;
5147 temp2 = True;
5148 }
5149 if (obj2) {
5150 arg3 = (int) SWIG_AsInt(obj2);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 Py_INCREF(Py_None); resultobj = Py_None;
5161 {
5162 if (temp2)
5163 delete arg2;
5164 }
5165 return resultobj;
5166 fail:
5167 {
5168 if (temp2)
5169 delete arg2;
5170 }
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5178 int arg2 = (int) 0 ;
5179 wxString result;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "number", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5189 if (obj1) {
5190 arg2 = (int) SWIG_AsInt(obj1);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 {
5201 #if wxUSE_UNICODE
5202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5203 #else
5204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5205 #endif
5206 }
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5216 wxString *arg2 = 0 ;
5217 int arg3 = (int) 0 ;
5218 bool temp2 = False ;
5219 PyObject * obj0 = 0 ;
5220 PyObject * obj1 = 0 ;
5221 PyObject * obj2 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self",(char *) "text",(char *) "number", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5229 {
5230 arg2 = wxString_in_helper(obj1);
5231 if (arg2 == NULL) SWIG_fail;
5232 temp2 = True;
5233 }
5234 if (obj2) {
5235 arg3 = (int) SWIG_AsInt(obj2);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 Py_INCREF(Py_None); resultobj = Py_None;
5246 {
5247 if (temp2)
5248 delete arg2;
5249 }
5250 return resultobj;
5251 fail:
5252 {
5253 if (temp2)
5254 delete arg2;
5255 }
5256 return NULL;
5257 }
5258
5259
5260 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5263 int arg2 = (int) 0 ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self",(char *) "number", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5273 if (obj1) {
5274 arg2 = (int) SWIG_AsInt(obj1);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 (arg1)->PopStatusText(arg2);
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 Py_INCREF(Py_None); resultobj = Py_None;
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5294 int arg2 ;
5295 int *arg3 = (int *) 0 ;
5296 PyObject * obj0 = 0 ;
5297 PyObject * obj1 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self",(char *) "widths", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5305 {
5306 arg2 = PyList_Size(obj1);
5307 arg3 = int_LIST_helper(obj1);
5308 if (arg3 == NULL) SWIG_fail;
5309 }
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5313
5314 wxPyEndAllowThreads(__tstate);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 Py_INCREF(Py_None); resultobj = Py_None;
5318 {
5319 if (arg3) delete [] arg3;
5320 }
5321 return resultobj;
5322 fail:
5323 {
5324 if (arg3) delete [] arg3;
5325 }
5326 return NULL;
5327 }
5328
5329
5330 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5331 PyObject *resultobj;
5332 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5333 int arg2 ;
5334 wxRect result;
5335 PyObject * obj0 = 0 ;
5336 PyObject * obj1 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self",(char *) "i", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5344 arg2 = (int) SWIG_AsInt(obj1);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = wxStatusBar_GetFieldRect(arg1,arg2);
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 {
5354 wxRect * resultptr;
5355 resultptr = new wxRect((wxRect &) result);
5356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5357 }
5358 return resultobj;
5359 fail:
5360 return NULL;
5361 }
5362
5363
5364 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5367 int arg2 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self",(char *) "height", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5377 arg2 = (int) SWIG_AsInt(obj1);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->SetMinHeight(arg2);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5396 int result;
5397 PyObject * obj0 = 0 ;
5398 char *kwnames[] = {
5399 (char *) "self", NULL
5400 };
5401
5402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 resultobj = SWIG_FromInt((int)result);
5413 return resultobj;
5414 fail:
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5422 int result;
5423 PyObject * obj0 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 resultobj = SWIG_FromInt((int)result);
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj;
5447 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5448 wxVisualAttributes result;
5449 PyObject * obj0 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "variant", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5455 if (obj0) {
5456 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 {
5467 wxVisualAttributes * resultptr;
5468 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5470 }
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5478 PyObject *obj;
5479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5480 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5481 Py_INCREF(obj);
5482 return Py_BuildValue((char *)"");
5483 }
5484 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5485 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5486 return 1;
5487 }
5488
5489
5490 static PyObject *_wrap_SplitterNameStr_get() {
5491 PyObject *pyobj;
5492
5493 {
5494 #if wxUSE_UNICODE
5495 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5496 #else
5497 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5498 #endif
5499 }
5500 return pyobj;
5501 }
5502
5503
5504 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj;
5506 wxWindow *arg1 = (wxWindow *) 0 ;
5507 int arg2 = (int) -1 ;
5508 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5509 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5510 wxSize const &arg4_defvalue = wxDefaultSize ;
5511 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5512 long arg5 = (long) wxSP_3D ;
5513 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5514 wxString *arg6 = (wxString *) &arg6_defvalue ;
5515 wxSplitterWindow *result;
5516 wxPoint temp3 ;
5517 wxSize temp4 ;
5518 bool temp6 = False ;
5519 PyObject * obj0 = 0 ;
5520 PyObject * obj1 = 0 ;
5521 PyObject * obj2 = 0 ;
5522 PyObject * obj3 = 0 ;
5523 PyObject * obj4 = 0 ;
5524 PyObject * obj5 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5532 if (obj1) {
5533 arg2 = (int) SWIG_AsInt(obj1);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 if (obj2) {
5537 {
5538 arg3 = &temp3;
5539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5540 }
5541 }
5542 if (obj3) {
5543 {
5544 arg4 = &temp4;
5545 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5546 }
5547 }
5548 if (obj4) {
5549 arg5 = (long) SWIG_AsLong(obj4);
5550 if (PyErr_Occurred()) SWIG_fail;
5551 }
5552 if (obj5) {
5553 {
5554 arg6 = wxString_in_helper(obj5);
5555 if (arg6 == NULL) SWIG_fail;
5556 temp6 = True;
5557 }
5558 }
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5567 {
5568 if (temp6)
5569 delete arg6;
5570 }
5571 return resultobj;
5572 fail:
5573 {
5574 if (temp6)
5575 delete arg6;
5576 }
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxSplitterWindow *result;
5584 char *kwnames[] = {
5585 NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = (wxSplitterWindow *)new wxSplitterWindow();
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5606 wxWindow *arg2 = (wxWindow *) 0 ;
5607 int arg3 = (int) -1 ;
5608 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5609 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5610 wxSize const &arg5_defvalue = wxDefaultSize ;
5611 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5612 long arg6 = (long) wxSP_3D ;
5613 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5614 wxString *arg7 = (wxString *) &arg7_defvalue ;
5615 bool result;
5616 wxPoint temp4 ;
5617 wxSize temp5 ;
5618 bool temp7 = False ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 PyObject * obj2 = 0 ;
5622 PyObject * obj3 = 0 ;
5623 PyObject * obj4 = 0 ;
5624 PyObject * obj5 = 0 ;
5625 PyObject * obj6 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5635 if (obj2) {
5636 arg3 = (int) SWIG_AsInt(obj2);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 if (obj3) {
5640 {
5641 arg4 = &temp4;
5642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5643 }
5644 }
5645 if (obj4) {
5646 {
5647 arg5 = &temp5;
5648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5649 }
5650 }
5651 if (obj5) {
5652 arg6 = (long) SWIG_AsLong(obj5);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 if (obj6) {
5656 {
5657 arg7 = wxString_in_helper(obj6);
5658 if (arg7 == NULL) SWIG_fail;
5659 temp7 = True;
5660 }
5661 }
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 {
5670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5671 }
5672 {
5673 if (temp7)
5674 delete arg7;
5675 }
5676 return resultobj;
5677 fail:
5678 {
5679 if (temp7)
5680 delete arg7;
5681 }
5682 return NULL;
5683 }
5684
5685
5686 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5689 wxWindow *result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 {
5706 resultobj = wxPyMake_wxObject(result);
5707 }
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5717 wxWindow *result;
5718 PyObject * obj0 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 resultobj = wxPyMake_wxObject(result);
5735 }
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5743 PyObject *resultobj;
5744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5745 int arg2 ;
5746 PyObject * obj0 = 0 ;
5747 PyObject * obj1 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "mode", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5755 arg2 = (int) SWIG_AsInt(obj1);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 (arg1)->SetSplitMode(arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 Py_INCREF(Py_None); resultobj = Py_None;
5765 return resultobj;
5766 fail:
5767 return NULL;
5768 }
5769
5770
5771 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5772 PyObject *resultobj;
5773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5774 int result;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 resultobj = SWIG_FromInt((int)result);
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5800 wxWindow *arg2 = (wxWindow *) 0 ;
5801 PyObject * obj0 = 0 ;
5802 PyObject * obj1 = 0 ;
5803 char *kwnames[] = {
5804 (char *) "self",(char *) "window", NULL
5805 };
5806
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 (arg1)->Initialize(arg2);
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 Py_INCREF(Py_None); resultobj = Py_None;
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5829 wxWindow *arg2 = (wxWindow *) 0 ;
5830 wxWindow *arg3 = (wxWindow *) 0 ;
5831 int arg4 = (int) 0 ;
5832 bool result;
5833 PyObject * obj0 = 0 ;
5834 PyObject * obj1 = 0 ;
5835 PyObject * obj2 = 0 ;
5836 PyObject * obj3 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5846 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5848 if (obj3) {
5849 arg4 = (int) SWIG_AsInt(obj3);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 {
5860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5861 }
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5871 wxWindow *arg2 = (wxWindow *) 0 ;
5872 wxWindow *arg3 = (wxWindow *) 0 ;
5873 int arg4 = (int) 0 ;
5874 bool result;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 PyObject * obj2 = 0 ;
5878 PyObject * obj3 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5888 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5890 if (obj3) {
5891 arg4 = (int) SWIG_AsInt(obj3);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 {
5902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5903 }
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj;
5912 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5913 wxWindow *arg2 = (wxWindow *) NULL ;
5914 bool result;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self",(char *) "toRemove", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5924 if (obj1) {
5925 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5927 }
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (bool)(arg1)->Unsplit(arg2);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 {
5936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5937 }
5938 return resultobj;
5939 fail:
5940 return NULL;
5941 }
5942
5943
5944 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5947 wxWindow *arg2 = (wxWindow *) 0 ;
5948 wxWindow *arg3 = (wxWindow *) 0 ;
5949 bool result;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 PyObject * obj2 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 {
5972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5973 }
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5983 PyObject * obj0 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 (arg1)->UpdateSize();
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 Py_INCREF(Py_None); resultobj = Py_None;
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj;
6007 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6008 bool result;
6009 PyObject * obj0 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "self", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030 }
6031
6032
6033 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6036 int arg2 ;
6037 PyObject * obj0 = 0 ;
6038 PyObject * obj1 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self",(char *) "width", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 arg2 = (int) SWIG_AsInt(obj1);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 (arg1)->SetSashSize(arg2);
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 Py_INCREF(Py_None); resultobj = Py_None;
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6065 int arg2 ;
6066 PyObject * obj0 = 0 ;
6067 PyObject * obj1 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self",(char *) "width", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6075 arg2 = (int) SWIG_AsInt(obj1);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 (arg1)->SetBorderSize(arg2);
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 Py_INCREF(Py_None); resultobj = Py_None;
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6092 PyObject *resultobj;
6093 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6094 int result;
6095 PyObject * obj0 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6106
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 resultobj = SWIG_FromInt((int)result);
6111 return resultobj;
6112 fail:
6113 return NULL;
6114 }
6115
6116
6117 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj;
6119 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6120 int result;
6121 PyObject * obj0 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "self", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 resultobj = SWIG_FromInt((int)result);
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6146 int arg2 ;
6147 bool arg3 = (bool) True ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "self",(char *) "position",(char *) "redraw", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6158 arg2 = (int) SWIG_AsInt(obj1);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 if (obj2) {
6161 arg3 = (bool) SWIG_AsBool(obj2);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->SetSashPosition(arg2,arg3);
6167
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 Py_INCREF(Py_None); resultobj = Py_None;
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6179 PyObject *resultobj;
6180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6181 int result;
6182 PyObject * obj0 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "self", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 resultobj = SWIG_FromInt((int)result);
6198 return resultobj;
6199 fail:
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6207 int arg2 ;
6208 PyObject * obj0 = 0 ;
6209 PyObject * obj1 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self",(char *) "min", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6217 arg2 = (int) SWIG_AsInt(obj1);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 (arg1)->SetMinimumPaneSize(arg2);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 Py_INCREF(Py_None); resultobj = Py_None;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6236 int result;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_FromInt((int)result);
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj;
6261 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6262 int arg2 ;
6263 int arg3 ;
6264 int arg4 = (int) 5 ;
6265 bool result;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 PyObject * obj2 = 0 ;
6269 PyObject * obj3 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 arg2 = (int) SWIG_AsInt(obj1);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 arg3 = (int) SWIG_AsInt(obj2);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 if (obj3) {
6282 arg4 = (int) SWIG_AsInt(obj3);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 {
6293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6294 }
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SizeWindows();
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323 }
6324
6325
6326 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6329 bool arg2 ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "needUpdating", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6339 arg2 = (bool) SWIG_AsBool(obj1);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetNeedUpdating(arg2);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 Py_INCREF(Py_None); resultobj = Py_None;
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6358 bool result;
6359 PyObject * obj0 = 0 ;
6360 char *kwnames[] = {
6361 (char *) "self", NULL
6362 };
6363
6364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 {
6375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6376 }
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6386 wxVisualAttributes result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "variant", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6393 if (obj0) {
6394 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 {
6405 wxVisualAttributes * resultptr;
6406 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6408 }
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6416 PyObject *obj;
6417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6418 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6419 Py_INCREF(obj);
6420 return Py_BuildValue((char *)"");
6421 }
6422 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6425 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6426 wxSplitterEvent *result;
6427 PyObject * obj0 = 0 ;
6428 PyObject * obj1 = 0 ;
6429 char *kwnames[] = {
6430 (char *) "type",(char *) "splitter", NULL
6431 };
6432
6433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6434 if (obj0) {
6435 arg1 = (wxEventType) SWIG_AsInt(obj0);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
6438 if (obj1) {
6439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 }
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6459 int arg2 ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self",(char *) "pos", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6469 arg2 = (int) SWIG_AsInt(obj1);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 (arg1)->SetSashPosition(arg2);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 Py_INCREF(Py_None); resultobj = Py_None;
6479 return resultobj;
6480 fail:
6481 return NULL;
6482 }
6483
6484
6485 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj;
6487 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6488 int result;
6489 PyObject * obj0 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "self", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_FromInt((int)result);
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6514 wxWindow *result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "self", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 {
6531 resultobj = wxPyMake_wxObject(result);
6532 }
6533 return resultobj;
6534 fail:
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6542 int result;
6543 PyObject * obj0 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = SWIG_FromInt((int)result);
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6568 int result;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 resultobj = SWIG_FromInt((int)result);
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6592 PyObject *obj;
6593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6594 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6595 Py_INCREF(obj);
6596 return Py_BuildValue((char *)"");
6597 }
6598 static int _wrap_SashNameStr_set(PyObject *_val) {
6599 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6600 return 1;
6601 }
6602
6603
6604 static PyObject *_wrap_SashNameStr_get() {
6605 PyObject *pyobj;
6606
6607 {
6608 #if wxUSE_UNICODE
6609 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6610 #else
6611 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6612 #endif
6613 }
6614 return pyobj;
6615 }
6616
6617
6618 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6619 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6620 return 1;
6621 }
6622
6623
6624 static PyObject *_wrap_SashLayoutNameStr_get() {
6625 PyObject *pyobj;
6626
6627 {
6628 #if wxUSE_UNICODE
6629 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6630 #else
6631 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6632 #endif
6633 }
6634 return pyobj;
6635 }
6636
6637
6638 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxWindow *arg1 = (wxWindow *) 0 ;
6641 int arg2 ;
6642 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6643 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6644 wxSize const &arg4_defvalue = wxDefaultSize ;
6645 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6646 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6647 wxString const &arg6_defvalue = wxPySashNameStr ;
6648 wxString *arg6 = (wxString *) &arg6_defvalue ;
6649 wxSashWindow *result;
6650 wxPoint temp3 ;
6651 wxSize temp4 ;
6652 bool temp6 = False ;
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 PyObject * obj2 = 0 ;
6656 PyObject * obj3 = 0 ;
6657 PyObject * obj4 = 0 ;
6658 PyObject * obj5 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6666 arg2 = (int) SWIG_AsInt(obj1);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 if (obj2) {
6669 {
6670 arg3 = &temp3;
6671 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6672 }
6673 }
6674 if (obj3) {
6675 {
6676 arg4 = &temp4;
6677 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6678 }
6679 }
6680 if (obj4) {
6681 arg5 = (long) SWIG_AsLong(obj4);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 if (obj5) {
6685 {
6686 arg6 = wxString_in_helper(obj5);
6687 if (arg6 == NULL) SWIG_fail;
6688 temp6 = True;
6689 }
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6699 {
6700 if (temp6)
6701 delete arg6;
6702 }
6703 return resultobj;
6704 fail:
6705 {
6706 if (temp6)
6707 delete arg6;
6708 }
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSashWindow *result;
6716 char *kwnames[] = {
6717 NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = (wxSashWindow *)new wxSashWindow();
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj;
6737 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6738 wxWindow *arg2 = (wxWindow *) 0 ;
6739 int arg3 ;
6740 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6741 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6742 wxSize const &arg5_defvalue = wxDefaultSize ;
6743 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6744 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6745 wxString const &arg7_defvalue = wxPySashNameStr ;
6746 wxString *arg7 = (wxString *) &arg7_defvalue ;
6747 bool result;
6748 wxPoint temp4 ;
6749 wxSize temp5 ;
6750 bool temp7 = False ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753 PyObject * obj2 = 0 ;
6754 PyObject * obj3 = 0 ;
6755 PyObject * obj4 = 0 ;
6756 PyObject * obj5 = 0 ;
6757 PyObject * obj6 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6767 arg3 = (int) SWIG_AsInt(obj2);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 if (obj3) {
6770 {
6771 arg4 = &temp4;
6772 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6773 }
6774 }
6775 if (obj4) {
6776 {
6777 arg5 = &temp5;
6778 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6779 }
6780 }
6781 if (obj5) {
6782 arg6 = (long) SWIG_AsLong(obj5);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 if (obj6) {
6786 {
6787 arg7 = wxString_in_helper(obj6);
6788 if (arg7 == NULL) SWIG_fail;
6789 temp7 = True;
6790 }
6791 }
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
6800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6801 }
6802 {
6803 if (temp7)
6804 delete arg7;
6805 }
6806 return resultobj;
6807 fail:
6808 {
6809 if (temp7)
6810 delete arg7;
6811 }
6812 return NULL;
6813 }
6814
6815
6816 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6817 PyObject *resultobj;
6818 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6819 int arg2 ;
6820 bool arg3 ;
6821 PyObject * obj0 = 0 ;
6822 PyObject * obj1 = 0 ;
6823 PyObject * obj2 = 0 ;
6824 char *kwnames[] = {
6825 (char *) "self",(char *) "edge",(char *) "sash", NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6831 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 arg3 = (bool) SWIG_AsBool(obj2);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6852 int arg2 ;
6853 bool result;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "edge", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6863 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 {
6873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6874 }
6875 return resultobj;
6876 fail:
6877 return NULL;
6878 }
6879
6880
6881 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6884 int arg2 ;
6885 bool arg3 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 PyObject * obj2 = 0 ;
6889 char *kwnames[] = {
6890 (char *) "self",(char *) "edge",(char *) "border", NULL
6891 };
6892
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6896 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 arg3 = (bool) SWIG_AsBool(obj2);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 Py_INCREF(Py_None); resultobj = Py_None;
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6917 int arg2 ;
6918 bool result;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 char *kwnames[] = {
6922 (char *) "self",(char *) "edge", NULL
6923 };
6924
6925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6928 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 {
6938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6939 }
6940 return resultobj;
6941 fail:
6942 return NULL;
6943 }
6944
6945
6946 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6947 PyObject *resultobj;
6948 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6949 int arg2 ;
6950 int result;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "edge", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6960 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 resultobj = SWIG_FromInt((int)result);
6970 return resultobj;
6971 fail:
6972 return NULL;
6973 }
6974
6975
6976 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj;
6978 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6979 int arg2 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char *kwnames[] = {
6983 (char *) "self",(char *) "width", NULL
6984 };
6985
6986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6989 arg2 = (int) SWIG_AsInt(obj1);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 (arg1)->SetDefaultBorderSize(arg2);
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 Py_INCREF(Py_None); resultobj = Py_None;
6999 return resultobj;
7000 fail:
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7008 int result;
7009 PyObject * obj0 = 0 ;
7010 char *kwnames[] = {
7011 (char *) "self", NULL
7012 };
7013
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 resultobj = SWIG_FromInt((int)result);
7025 return resultobj;
7026 fail:
7027 return NULL;
7028 }
7029
7030
7031 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7032 PyObject *resultobj;
7033 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7034 int arg2 ;
7035 PyObject * obj0 = 0 ;
7036 PyObject * obj1 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self",(char *) "width", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7044 arg2 = (int) SWIG_AsInt(obj1);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 (arg1)->SetExtraBorderSize(arg2);
7049
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 Py_INCREF(Py_None); resultobj = Py_None;
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj;
7062 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7063 int result;
7064 PyObject * obj0 = 0 ;
7065 char *kwnames[] = {
7066 (char *) "self", NULL
7067 };
7068
7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 resultobj = SWIG_FromInt((int)result);
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7089 int arg2 ;
7090 PyObject * obj0 = 0 ;
7091 PyObject * obj1 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "self",(char *) "min", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7099 arg2 = (int) SWIG_AsInt(obj1);
7100 if (PyErr_Occurred()) SWIG_fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->SetMinimumSizeX(arg2);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 Py_INCREF(Py_None); resultobj = Py_None;
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7116 PyObject *resultobj;
7117 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7118 int arg2 ;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "min", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7128 arg2 = (int) SWIG_AsInt(obj1);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 (arg1)->SetMinimumSizeY(arg2);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 Py_INCREF(Py_None); resultobj = Py_None;
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7147 int result;
7148 PyObject * obj0 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 resultobj = SWIG_FromInt((int)result);
7164 return resultobj;
7165 fail:
7166 return NULL;
7167 }
7168
7169
7170 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj;
7172 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7173 int result;
7174 PyObject * obj0 = 0 ;
7175 char *kwnames[] = {
7176 (char *) "self", NULL
7177 };
7178
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 resultobj = SWIG_FromInt((int)result);
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7199 int arg2 ;
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "max", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7209 arg2 = (int) SWIG_AsInt(obj1);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->SetMaximumSizeX(arg2);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 Py_INCREF(Py_None); resultobj = Py_None;
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7228 int arg2 ;
7229 PyObject * obj0 = 0 ;
7230 PyObject * obj1 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "self",(char *) "max", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7238 arg2 = (int) SWIG_AsInt(obj1);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->SetMaximumSizeY(arg2);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7257 int result;
7258 PyObject * obj0 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_FromInt((int)result);
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7283 int result;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 resultobj = SWIG_FromInt((int)result);
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7309 int arg2 ;
7310 int arg3 ;
7311 int arg4 = (int) 2 ;
7312 int result;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 PyObject * obj2 = 0 ;
7316 PyObject * obj3 = 0 ;
7317 char *kwnames[] = {
7318 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7319 };
7320
7321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7324 arg2 = (int) SWIG_AsInt(obj1);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 arg3 = (int) SWIG_AsInt(obj2);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 if (obj3) {
7329 arg4 = (int) SWIG_AsInt(obj3);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 resultobj = SWIG_FromInt((int)result);
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7349 PyObject * obj0 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "self", NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7357 {
7358 PyThreadState* __tstate = wxPyBeginAllowThreads();
7359 (arg1)->SizeWindows();
7360
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 Py_INCREF(Py_None); resultobj = Py_None;
7365 return resultobj;
7366 fail:
7367 return NULL;
7368 }
7369
7370
7371 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7372 PyObject *obj;
7373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7374 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7375 Py_INCREF(obj);
7376 return Py_BuildValue((char *)"");
7377 }
7378 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 int arg1 = (int) 0 ;
7381 int arg2 = (int) wxSASH_NONE ;
7382 wxSashEvent *result;
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "id",(char *) "edge", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7390 if (obj0) {
7391 arg1 = (int) SWIG_AsInt(obj0);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 if (obj1) {
7395 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj;
7414 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7415 int arg2 ;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self",(char *) "edge", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7425 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7444 int result;
7445 PyObject * obj0 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 resultobj = SWIG_FromInt((int)result);
7461 return resultobj;
7462 fail:
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7470 wxRect *arg2 = 0 ;
7471 wxRect temp2 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self",(char *) "rect", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7481 {
7482 arg2 = &temp2;
7483 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7484 }
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 (arg1)->SetDragRect((wxRect const &)*arg2);
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
7492 Py_INCREF(Py_None); resultobj = Py_None;
7493 return resultobj;
7494 fail:
7495 return NULL;
7496 }
7497
7498
7499 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7500 PyObject *resultobj;
7501 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7502 wxRect result;
7503 PyObject * obj0 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = ((wxSashEvent const *)arg1)->GetDragRect();
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 {
7519 wxRect * resultptr;
7520 resultptr = new wxRect((wxRect &) result);
7521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7522 }
7523 return resultobj;
7524 fail:
7525 return NULL;
7526 }
7527
7528
7529 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7532 int arg2 ;
7533 PyObject * obj0 = 0 ;
7534 PyObject * obj1 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self",(char *) "status", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7542 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 Py_INCREF(Py_None); resultobj = Py_None;
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7561 int result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_FromInt((int)result);
7578 return resultobj;
7579 fail:
7580 return NULL;
7581 }
7582
7583
7584 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7585 PyObject *obj;
7586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7588 Py_INCREF(obj);
7589 return Py_BuildValue((char *)"");
7590 }
7591 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 int arg1 = (int) 0 ;
7594 wxQueryLayoutInfoEvent *result;
7595 PyObject * obj0 = 0 ;
7596 char *kwnames[] = {
7597 (char *) "id", NULL
7598 };
7599
7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7601 if (obj0) {
7602 arg1 = (int) SWIG_AsInt(obj0);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7622 int arg2 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "length", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7632 arg2 = (int) SWIG_AsInt(obj1);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 (arg1)->SetRequestedLength(arg2);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 Py_INCREF(Py_None); resultobj = Py_None;
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj;
7650 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7651 int result;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_FromInt((int)result);
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7677 int arg2 ;
7678 PyObject * obj0 = 0 ;
7679 PyObject * obj1 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "flags", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7687 arg2 = (int) SWIG_AsInt(obj1);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 (arg1)->SetFlags(arg2);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 Py_INCREF(Py_None); resultobj = Py_None;
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7706 int result;
7707 PyObject * obj0 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 resultobj = SWIG_FromInt((int)result);
7723 return resultobj;
7724 fail:
7725 return NULL;
7726 }
7727
7728
7729 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject *resultobj;
7731 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7732 wxSize *arg2 = 0 ;
7733 wxSize temp2 ;
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "size", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7743 {
7744 arg2 = &temp2;
7745 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7746 }
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 (arg1)->SetSize((wxSize const &)*arg2);
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 Py_INCREF(Py_None); resultobj = Py_None;
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7764 wxSize result;
7765 PyObject * obj0 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 {
7781 wxSize * resultptr;
7782 resultptr = new wxSize((wxSize &) result);
7783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7784 }
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7794 int arg2 ;
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self",(char *) "orient", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7804 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7823 int result;
7824 PyObject * obj0 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 resultobj = SWIG_FromInt((int)result);
7840 return resultobj;
7841 fail:
7842 return NULL;
7843 }
7844
7845
7846 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7849 int arg2 ;
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self",(char *) "align", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7859 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 {
7862 PyThreadState* __tstate = wxPyBeginAllowThreads();
7863 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7864
7865 wxPyEndAllowThreads(__tstate);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 }
7868 Py_INCREF(Py_None); resultobj = Py_None;
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7878 int result;
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "self", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 resultobj = SWIG_FromInt((int)result);
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7902 PyObject *obj;
7903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7904 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7905 Py_INCREF(obj);
7906 return Py_BuildValue((char *)"");
7907 }
7908 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 int arg1 = (int) 0 ;
7911 wxCalculateLayoutEvent *result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "id", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7918 if (obj0) {
7919 arg1 = (int) SWIG_AsInt(obj0);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7939 int arg2 ;
7940 PyObject * obj0 = 0 ;
7941 PyObject * obj1 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "flags", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 arg2 = (int) SWIG_AsInt(obj1);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->SetFlags(arg2);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7968 int result;
7969 PyObject * obj0 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 resultobj = SWIG_FromInt((int)result);
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7994 wxRect *arg2 = 0 ;
7995 wxRect temp2 ;
7996 PyObject * obj0 = 0 ;
7997 PyObject * obj1 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self",(char *) "rect", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8005 {
8006 arg2 = &temp2;
8007 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8008 }
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 (arg1)->SetRect((wxRect const &)*arg2);
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 Py_INCREF(Py_None); resultobj = Py_None;
8017 return resultobj;
8018 fail:
8019 return NULL;
8020 }
8021
8022
8023 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj;
8025 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8026 wxRect result;
8027 PyObject * obj0 = 0 ;
8028 char *kwnames[] = {
8029 (char *) "self", NULL
8030 };
8031
8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 {
8043 wxRect * resultptr;
8044 resultptr = new wxRect((wxRect &) result);
8045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8046 }
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8054 PyObject *obj;
8055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8056 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8057 Py_INCREF(obj);
8058 return Py_BuildValue((char *)"");
8059 }
8060 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 wxWindow *arg1 = (wxWindow *) 0 ;
8063 int arg2 ;
8064 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8065 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8066 wxSize const &arg4_defvalue = wxDefaultSize ;
8067 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8068 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8069 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8070 wxString *arg6 = (wxString *) &arg6_defvalue ;
8071 wxSashLayoutWindow *result;
8072 wxPoint temp3 ;
8073 wxSize temp4 ;
8074 bool temp6 = False ;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 PyObject * obj2 = 0 ;
8078 PyObject * obj3 = 0 ;
8079 PyObject * obj4 = 0 ;
8080 PyObject * obj5 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8088 arg2 = (int) SWIG_AsInt(obj1);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 if (obj2) {
8091 {
8092 arg3 = &temp3;
8093 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8094 }
8095 }
8096 if (obj3) {
8097 {
8098 arg4 = &temp4;
8099 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8100 }
8101 }
8102 if (obj4) {
8103 arg5 = (long) SWIG_AsLong(obj4);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 if (obj5) {
8107 {
8108 arg6 = wxString_in_helper(obj5);
8109 if (arg6 == NULL) SWIG_fail;
8110 temp6 = True;
8111 }
8112 }
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8121 {
8122 if (temp6)
8123 delete arg6;
8124 }
8125 return resultobj;
8126 fail:
8127 {
8128 if (temp6)
8129 delete arg6;
8130 }
8131 return NULL;
8132 }
8133
8134
8135 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxSashLayoutWindow *result;
8138 char *kwnames[] = {
8139 NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8151 return resultobj;
8152 fail:
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8160 wxWindow *arg2 = (wxWindow *) 0 ;
8161 int arg3 ;
8162 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8163 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8164 wxSize const &arg5_defvalue = wxDefaultSize ;
8165 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8166 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8167 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8168 wxString *arg7 = (wxString *) &arg7_defvalue ;
8169 bool result;
8170 wxPoint temp4 ;
8171 wxSize temp5 ;
8172 bool temp7 = False ;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 PyObject * obj2 = 0 ;
8176 PyObject * obj3 = 0 ;
8177 PyObject * obj4 = 0 ;
8178 PyObject * obj5 = 0 ;
8179 PyObject * obj6 = 0 ;
8180 char *kwnames[] = {
8181 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8182 };
8183
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8189 arg3 = (int) SWIG_AsInt(obj2);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 if (obj3) {
8192 {
8193 arg4 = &temp4;
8194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8195 }
8196 }
8197 if (obj4) {
8198 {
8199 arg5 = &temp5;
8200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8201 }
8202 }
8203 if (obj5) {
8204 arg6 = (long) SWIG_AsLong(obj5);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 if (obj6) {
8208 {
8209 arg7 = wxString_in_helper(obj6);
8210 if (arg7 == NULL) SWIG_fail;
8211 temp7 = True;
8212 }
8213 }
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 {
8222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8223 }
8224 {
8225 if (temp7)
8226 delete arg7;
8227 }
8228 return resultobj;
8229 fail:
8230 {
8231 if (temp7)
8232 delete arg7;
8233 }
8234 return NULL;
8235 }
8236
8237
8238 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj;
8240 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8241 int result;
8242 PyObject * obj0 = 0 ;
8243 char *kwnames[] = {
8244 (char *) "self", NULL
8245 };
8246
8247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 result = (int)(arg1)->GetAlignment();
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 resultobj = SWIG_FromInt((int)result);
8258 return resultobj;
8259 fail:
8260 return NULL;
8261 }
8262
8263
8264 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8265 PyObject *resultobj;
8266 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8267 int result;
8268 PyObject * obj0 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (int)(arg1)->GetOrientation();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = SWIG_FromInt((int)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8293 int arg2 ;
8294 PyObject * obj0 = 0 ;
8295 PyObject * obj1 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "alignment", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8303 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 {
8306 PyThreadState* __tstate = wxPyBeginAllowThreads();
8307 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8308
8309 wxPyEndAllowThreads(__tstate);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 }
8312 Py_INCREF(Py_None); resultobj = Py_None;
8313 return resultobj;
8314 fail:
8315 return NULL;
8316 }
8317
8318
8319 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8320 PyObject *resultobj;
8321 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8322 wxSize *arg2 = 0 ;
8323 wxSize temp2 ;
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj1 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self",(char *) "size", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8333 {
8334 arg2 = &temp2;
8335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8336 }
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 Py_INCREF(Py_None); resultobj = Py_None;
8345 return resultobj;
8346 fail:
8347 return NULL;
8348 }
8349
8350
8351 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8354 int arg2 ;
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "self",(char *) "orientation", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8364 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 Py_INCREF(Py_None); resultobj = Py_None;
8374 return resultobj;
8375 fail:
8376 return NULL;
8377 }
8378
8379
8380 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8381 PyObject *obj;
8382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8383 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8384 Py_INCREF(obj);
8385 return Py_BuildValue((char *)"");
8386 }
8387 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8388 PyObject *resultobj;
8389 wxLayoutAlgorithm *result;
8390 char *kwnames[] = {
8391 NULL
8392 };
8393
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8403 return resultobj;
8404 fail:
8405 return NULL;
8406 }
8407
8408
8409 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8410 PyObject *resultobj;
8411 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8412 PyObject * obj0 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 delete arg1;
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 Py_INCREF(Py_None); resultobj = Py_None;
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8437 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8438 wxRect *arg3 = (wxRect *) NULL ;
8439 bool result;
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj1 = 0 ;
8442 PyObject * obj2 = 0 ;
8443 char *kwnames[] = {
8444 (char *) "self",(char *) "frame",(char *) "rect", NULL
8445 };
8446
8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8452 if (obj2) {
8453 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8455 }
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 {
8464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8465 }
8466 return resultobj;
8467 fail:
8468 return NULL;
8469 }
8470
8471
8472 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj;
8474 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8475 wxFrame *arg2 = (wxFrame *) 0 ;
8476 wxWindow *arg3 = (wxWindow *) NULL ;
8477 bool result;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 char *kwnames[] = {
8482 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8483 };
8484
8485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8488 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8490 if (obj2) {
8491 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8493 }
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 {
8502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8503 }
8504 return resultobj;
8505 fail:
8506 return NULL;
8507 }
8508
8509
8510 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj;
8512 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8513 wxWindow *arg2 = (wxWindow *) 0 ;
8514 wxWindow *arg3 = (wxWindow *) NULL ;
8515 bool result;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8526 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8528 if (obj2) {
8529 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 {
8540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8541 }
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8549 PyObject *obj;
8550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8552 Py_INCREF(obj);
8553 return Py_BuildValue((char *)"");
8554 }
8555 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxWindow *arg1 = (wxWindow *) 0 ;
8558 int arg2 = (int) wxBORDER_NONE ;
8559 wxPopupWindow *result;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj1 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "parent",(char *) "flags", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8569 if (obj1) {
8570 arg2 = (int) SWIG_AsInt(obj1);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8581 return resultobj;
8582 fail:
8583 return NULL;
8584 }
8585
8586
8587 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxPopupWindow *result;
8590 char *kwnames[] = {
8591 NULL
8592 };
8593
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxPopupWindow *)new wxPopupWindow();
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8612 wxWindow *arg2 = (wxWindow *) 0 ;
8613 int arg3 = (int) wxBORDER_NONE ;
8614 bool result;
8615 PyObject * obj0 = 0 ;
8616 PyObject * obj1 = 0 ;
8617 PyObject * obj2 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self",(char *) "parent",(char *) "flags", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8627 if (obj2) {
8628 arg3 = (int) SWIG_AsInt(obj2);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (bool)(arg1)->Create(arg2,arg3);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 {
8639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8640 }
8641 return resultobj;
8642 fail:
8643 return NULL;
8644 }
8645
8646
8647 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj;
8649 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8650 wxPoint *arg2 = 0 ;
8651 wxSize *arg3 = 0 ;
8652 wxPoint temp2 ;
8653 wxSize temp3 ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8664 {
8665 arg2 = &temp2;
8666 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8667 }
8668 {
8669 arg3 = &temp3;
8670 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8687 PyObject *obj;
8688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8690 Py_INCREF(obj);
8691 return Py_BuildValue((char *)"");
8692 }
8693 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxWindow *arg1 = (wxWindow *) 0 ;
8696 int arg2 = (int) wxBORDER_NONE ;
8697 wxPyPopupTransientWindow *result;
8698 PyObject * obj0 = 0 ;
8699 PyObject * obj1 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "parent",(char *) "style", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",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 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8719 return resultobj;
8720 fail:
8721 return NULL;
8722 }
8723
8724
8725 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxPyPopupTransientWindow *result;
8728 char *kwnames[] = {
8729 NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8733 {
8734 PyThreadState* __tstate = wxPyBeginAllowThreads();
8735 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8736
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8741 return resultobj;
8742 fail:
8743 return NULL;
8744 }
8745
8746
8747 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8748 PyObject *resultobj;
8749 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8750 PyObject *arg2 = (PyObject *) 0 ;
8751 PyObject *arg3 = (PyObject *) 0 ;
8752 PyObject * obj0 = 0 ;
8753 PyObject * obj1 = 0 ;
8754 PyObject * obj2 = 0 ;
8755 char *kwnames[] = {
8756 (char *) "self",(char *) "self",(char *) "_class", NULL
8757 };
8758
8759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8762 arg2 = obj1;
8763 arg3 = obj2;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->_setCallbackInfo(arg2,arg3);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8781 wxWindow *arg2 = (wxWindow *) NULL ;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self",(char *) "focus", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8791 if (obj1) {
8792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8794 }
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 (arg1)->Popup(arg2);
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 Py_INCREF(Py_None); resultobj = Py_None;
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8812 PyObject * obj0 = 0 ;
8813 char *kwnames[] = {
8814 (char *) "self", NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 (arg1)->Dismiss();
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 Py_INCREF(Py_None); resultobj = Py_None;
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8835 PyObject *obj;
8836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8837 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8838 Py_INCREF(obj);
8839 return Py_BuildValue((char *)"");
8840 }
8841 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxWindow *arg1 = (wxWindow *) 0 ;
8844 wxString *arg2 = 0 ;
8845 int arg3 = (int) 100 ;
8846 wxRect *arg4 = (wxRect *) NULL ;
8847 wxTipWindow *result;
8848 bool temp2 = False ;
8849 PyObject * obj0 = 0 ;
8850 PyObject * obj1 = 0 ;
8851 PyObject * obj2 = 0 ;
8852 PyObject * obj3 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8860 {
8861 arg2 = wxString_in_helper(obj1);
8862 if (arg2 == NULL) SWIG_fail;
8863 temp2 = True;
8864 }
8865 if (obj2) {
8866 arg3 = (int) SWIG_AsInt(obj2);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 if (obj3) {
8870 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8881 {
8882 if (temp2)
8883 delete arg2;
8884 }
8885 return resultobj;
8886 fail:
8887 {
8888 if (temp2)
8889 delete arg2;
8890 }
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8898 wxRect *arg2 = 0 ;
8899 wxRect temp2 ;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self",(char *) "rectBound", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8909 {
8910 arg2 = &temp2;
8911 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 Py_INCREF(Py_None); resultobj = Py_None;
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8930 PyObject * obj0 = 0 ;
8931 char *kwnames[] = {
8932 (char *) "self", NULL
8933 };
8934
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 (arg1)->Close();
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 Py_INCREF(Py_None); resultobj = Py_None;
8946 return resultobj;
8947 fail:
8948 return NULL;
8949 }
8950
8951
8952 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8953 PyObject *obj;
8954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8955 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8956 Py_INCREF(obj);
8957 return Py_BuildValue((char *)"");
8958 }
8959 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8960 PyObject *resultobj;
8961 wxWindow *arg1 = (wxWindow *) 0 ;
8962 int arg2 = (int) wxID_ANY ;
8963 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8964 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8965 wxSize const &arg4_defvalue = wxDefaultSize ;
8966 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8967 long arg5 = (long) 0 ;
8968 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8969 wxString *arg6 = (wxString *) &arg6_defvalue ;
8970 wxPyVScrolledWindow *result;
8971 wxPoint temp3 ;
8972 wxSize temp4 ;
8973 bool temp6 = False ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 PyObject * obj2 = 0 ;
8977 PyObject * obj3 = 0 ;
8978 PyObject * obj4 = 0 ;
8979 PyObject * obj5 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8987 if (obj1) {
8988 arg2 = (int) SWIG_AsInt(obj1);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 if (obj2) {
8992 {
8993 arg3 = &temp3;
8994 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8995 }
8996 }
8997 if (obj3) {
8998 {
8999 arg4 = &temp4;
9000 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9001 }
9002 }
9003 if (obj4) {
9004 arg5 = (long) SWIG_AsLong(obj4);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 if (obj5) {
9008 {
9009 arg6 = wxString_in_helper(obj5);
9010 if (arg6 == NULL) SWIG_fail;
9011 temp6 = True;
9012 }
9013 }
9014 {
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9017
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9022 {
9023 if (temp6)
9024 delete arg6;
9025 }
9026 return resultobj;
9027 fail:
9028 {
9029 if (temp6)
9030 delete arg6;
9031 }
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxPyVScrolledWindow *result;
9039 char *kwnames[] = {
9040 NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9044 {
9045 PyThreadState* __tstate = wxPyBeginAllowThreads();
9046 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9047
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9052 return resultobj;
9053 fail:
9054 return NULL;
9055 }
9056
9057
9058 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj;
9060 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9061 PyObject *arg2 = (PyObject *) 0 ;
9062 PyObject *arg3 = (PyObject *) 0 ;
9063 PyObject * obj0 = 0 ;
9064 PyObject * obj1 = 0 ;
9065 PyObject * obj2 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self",(char *) "self",(char *) "_class", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9073 arg2 = obj1;
9074 arg3 = obj2;
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 (arg1)->_setCallbackInfo(arg2,arg3);
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 Py_INCREF(Py_None); resultobj = Py_None;
9083 return resultobj;
9084 fail:
9085 return NULL;
9086 }
9087
9088
9089 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9092 wxWindow *arg2 = (wxWindow *) 0 ;
9093 int arg3 = (int) wxID_ANY ;
9094 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9095 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9096 wxSize const &arg5_defvalue = wxDefaultSize ;
9097 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9098 long arg6 = (long) 0 ;
9099 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9100 wxString *arg7 = (wxString *) &arg7_defvalue ;
9101 bool result;
9102 wxPoint temp4 ;
9103 wxSize temp5 ;
9104 bool temp7 = False ;
9105 PyObject * obj0 = 0 ;
9106 PyObject * obj1 = 0 ;
9107 PyObject * obj2 = 0 ;
9108 PyObject * obj3 = 0 ;
9109 PyObject * obj4 = 0 ;
9110 PyObject * obj5 = 0 ;
9111 PyObject * obj6 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9121 if (obj2) {
9122 arg3 = (int) SWIG_AsInt(obj2);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 if (obj3) {
9126 {
9127 arg4 = &temp4;
9128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9129 }
9130 }
9131 if (obj4) {
9132 {
9133 arg5 = &temp5;
9134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9135 }
9136 }
9137 if (obj5) {
9138 arg6 = (long) SWIG_AsLong(obj5);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 if (obj6) {
9142 {
9143 arg7 = wxString_in_helper(obj6);
9144 if (arg7 == NULL) SWIG_fail;
9145 temp7 = True;
9146 }
9147 }
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 {
9156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9157 }
9158 {
9159 if (temp7)
9160 delete arg7;
9161 }
9162 return resultobj;
9163 fail:
9164 {
9165 if (temp7)
9166 delete arg7;
9167 }
9168 return NULL;
9169 }
9170
9171
9172 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9173 PyObject *resultobj;
9174 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9175 size_t arg2 ;
9176 PyObject * obj0 = 0 ;
9177 PyObject * obj1 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self",(char *) "count", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9185 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 (arg1)->SetLineCount(arg2);
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 Py_INCREF(Py_None); resultobj = Py_None;
9195 return resultobj;
9196 fail:
9197 return NULL;
9198 }
9199
9200
9201 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9204 size_t arg2 ;
9205 bool result;
9206 PyObject * obj0 = 0 ;
9207 PyObject * obj1 = 0 ;
9208 char *kwnames[] = {
9209 (char *) "self",(char *) "line", NULL
9210 };
9211
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9215 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = (bool)(arg1)->ScrollToLine(arg2);
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 {
9225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9226 }
9227 return resultobj;
9228 fail:
9229 return NULL;
9230 }
9231
9232
9233 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject *resultobj;
9235 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9236 int arg2 ;
9237 bool result;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "lines", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9247 arg2 = (int) SWIG_AsInt(obj1);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (bool)(arg1)->ScrollLines(arg2);
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 {
9257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9258 }
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9268 int arg2 ;
9269 bool result;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "self",(char *) "pages", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9279 arg2 = (int) SWIG_AsInt(obj1);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (bool)(arg1)->ScrollPages(arg2);
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 {
9289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9290 }
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9300 size_t arg2 ;
9301 PyObject * obj0 = 0 ;
9302 PyObject * obj1 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self",(char *) "line", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9310 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 (arg1)->RefreshLine(arg2);
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 Py_INCREF(Py_None); resultobj = Py_None;
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9329 size_t arg2 ;
9330 size_t arg3 ;
9331 PyObject * obj0 = 0 ;
9332 PyObject * obj1 = 0 ;
9333 PyObject * obj2 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self",(char *) "from",(char *) "to", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 (arg1)->RefreshLines(arg2,arg3);
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 Py_INCREF(Py_None); resultobj = Py_None;
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9362 int arg2 ;
9363 int arg3 ;
9364 int result;
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
9367 PyObject * obj2 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self",(char *) "x",(char *) "y", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9375 arg2 = (int) SWIG_AsInt(obj1);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 arg3 = (int) SWIG_AsInt(obj2);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 resultobj = SWIG_FromInt((int)result);
9387 return resultobj;
9388 fail:
9389 return NULL;
9390 }
9391
9392
9393 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9396 wxPoint *arg2 = 0 ;
9397 int result;
9398 wxPoint temp2 ;
9399 PyObject * obj0 = 0 ;
9400 PyObject * obj1 = 0 ;
9401 char *kwnames[] = {
9402 (char *) "self",(char *) "pt", NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9408 {
9409 arg2 = &temp2;
9410 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9411 }
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 resultobj = SWIG_FromInt((int)result);
9420 return resultobj;
9421 fail:
9422 return NULL;
9423 }
9424
9425
9426 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 (arg1)->RefreshAll();
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 Py_INCREF(Py_None); resultobj = Py_None;
9445 return resultobj;
9446 fail:
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9454 size_t result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9471 return resultobj;
9472 fail:
9473 return NULL;
9474 }
9475
9476
9477 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9480 size_t result;
9481 PyObject * obj0 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj;
9505 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9506 size_t result;
9507 PyObject * obj0 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9532 size_t arg2 ;
9533 bool result;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "line", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9543 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9544 if (PyErr_Occurred()) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 {
9553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9554 }
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9562 PyObject *obj;
9563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9564 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9565 Py_INCREF(obj);
9566 return Py_BuildValue((char *)"");
9567 }
9568 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9569 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9570 return 1;
9571 }
9572
9573
9574 static PyObject *_wrap_VListBoxNameStr_get() {
9575 PyObject *pyobj;
9576
9577 {
9578 #if wxUSE_UNICODE
9579 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9580 #else
9581 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9582 #endif
9583 }
9584 return pyobj;
9585 }
9586
9587
9588 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9589 PyObject *resultobj;
9590 wxWindow *arg1 = (wxWindow *) 0 ;
9591 int arg2 = (int) wxID_ANY ;
9592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9594 wxSize const &arg4_defvalue = wxDefaultSize ;
9595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9596 long arg5 = (long) 0 ;
9597 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9598 wxString *arg6 = (wxString *) &arg6_defvalue ;
9599 wxPyVListBox *result;
9600 wxPoint temp3 ;
9601 wxSize temp4 ;
9602 bool temp6 = False ;
9603 PyObject * obj0 = 0 ;
9604 PyObject * obj1 = 0 ;
9605 PyObject * obj2 = 0 ;
9606 PyObject * obj3 = 0 ;
9607 PyObject * obj4 = 0 ;
9608 PyObject * obj5 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9616 if (obj1) {
9617 arg2 = (int) SWIG_AsInt(obj1);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 if (obj2) {
9621 {
9622 arg3 = &temp3;
9623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9624 }
9625 }
9626 if (obj3) {
9627 {
9628 arg4 = &temp4;
9629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9630 }
9631 }
9632 if (obj4) {
9633 arg5 = (long) SWIG_AsLong(obj4);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 if (obj5) {
9637 {
9638 arg6 = wxString_in_helper(obj5);
9639 if (arg6 == NULL) SWIG_fail;
9640 temp6 = True;
9641 }
9642 }
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9651 {
9652 if (temp6)
9653 delete arg6;
9654 }
9655 return resultobj;
9656 fail:
9657 {
9658 if (temp6)
9659 delete arg6;
9660 }
9661 return NULL;
9662 }
9663
9664
9665 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxPyVListBox *result;
9668 char *kwnames[] = {
9669 NULL
9670 };
9671
9672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (wxPyVListBox *)new wxPyVListBox();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9681 return resultobj;
9682 fail:
9683 return NULL;
9684 }
9685
9686
9687 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9690 PyObject *arg2 = (PyObject *) 0 ;
9691 PyObject *arg3 = (PyObject *) 0 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 PyObject * obj2 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "self",(char *) "_class", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 arg2 = obj1;
9703 arg3 = obj2;
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 (arg1)->_setCallbackInfo(arg2,arg3);
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 Py_INCREF(Py_None); resultobj = Py_None;
9712 return resultobj;
9713 fail:
9714 return NULL;
9715 }
9716
9717
9718 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9721 wxWindow *arg2 = (wxWindow *) 0 ;
9722 int arg3 = (int) wxID_ANY ;
9723 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9724 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9725 wxSize const &arg5_defvalue = wxDefaultSize ;
9726 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9727 long arg6 = (long) 0 ;
9728 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9729 wxString *arg7 = (wxString *) &arg7_defvalue ;
9730 bool result;
9731 wxPoint temp4 ;
9732 wxSize temp5 ;
9733 bool temp7 = False ;
9734 PyObject * obj0 = 0 ;
9735 PyObject * obj1 = 0 ;
9736 PyObject * obj2 = 0 ;
9737 PyObject * obj3 = 0 ;
9738 PyObject * obj4 = 0 ;
9739 PyObject * obj5 = 0 ;
9740 PyObject * obj6 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9750 if (obj2) {
9751 arg3 = (int) SWIG_AsInt(obj2);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 if (obj3) {
9755 {
9756 arg4 = &temp4;
9757 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9758 }
9759 }
9760 if (obj4) {
9761 {
9762 arg5 = &temp5;
9763 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9764 }
9765 }
9766 if (obj5) {
9767 arg6 = (long) SWIG_AsLong(obj5);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 if (obj6) {
9771 {
9772 arg7 = wxString_in_helper(obj6);
9773 if (arg7 == NULL) SWIG_fail;
9774 temp7 = True;
9775 }
9776 }
9777 {
9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
9779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9780
9781 wxPyEndAllowThreads(__tstate);
9782 if (PyErr_Occurred()) SWIG_fail;
9783 }
9784 {
9785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9786 }
9787 {
9788 if (temp7)
9789 delete arg7;
9790 }
9791 return resultobj;
9792 fail:
9793 {
9794 if (temp7)
9795 delete arg7;
9796 }
9797 return NULL;
9798 }
9799
9800
9801 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj;
9803 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9804 size_t result;
9805 PyObject * obj0 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9821 return resultobj;
9822 fail:
9823 return NULL;
9824 }
9825
9826
9827 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9828 PyObject *resultobj;
9829 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9830 bool result;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 {
9847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9848 }
9849 return resultobj;
9850 fail:
9851 return NULL;
9852 }
9853
9854
9855 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj;
9857 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9858 int result;
9859 PyObject * obj0 = 0 ;
9860 char *kwnames[] = {
9861 (char *) "self", NULL
9862 };
9863
9864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 resultobj = SWIG_FromInt((int)result);
9875 return resultobj;
9876 fail:
9877 return NULL;
9878 }
9879
9880
9881 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9882 PyObject *resultobj;
9883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9884 size_t arg2 ;
9885 bool result;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
9888 char *kwnames[] = {
9889 (char *) "self",(char *) "item", NULL
9890 };
9891
9892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9895 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9896 if (PyErr_Occurred()) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 {
9905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9906 }
9907 return resultobj;
9908 fail:
9909 return NULL;
9910 }
9911
9912
9913 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj;
9915 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9916 size_t arg2 ;
9917 bool result;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self",(char *) "item", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9927 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 {
9937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9938 }
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9948 size_t result;
9949 PyObject * obj0 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
9959 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9960
9961 wxPyEndAllowThreads(__tstate);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 }
9964 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9965 return resultobj;
9966 fail:
9967 return NULL;
9968 }
9969
9970
9971 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9972 PyObject *resultobj;
9973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9974 unsigned long *arg2 = 0 ;
9975 int result;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj1 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self",(char *) "cookie", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9986 SWIG_POINTER_EXCEPTION | 0)) == -1)
9987 SWIG_fail;
9988 if (arg2 == NULL) {
9989 PyErr_SetString(PyExc_TypeError,"null reference");
9990 SWIG_fail;
9991 }
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_FromInt((int)result);
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10009 unsigned long *arg2 = 0 ;
10010 int result;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "cookie", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10021 SWIG_POINTER_EXCEPTION | 0)) == -1)
10022 SWIG_fail;
10023 if (arg2 == NULL) {
10024 PyErr_SetString(PyExc_TypeError,"null reference");
10025 SWIG_fail;
10026 }
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = SWIG_FromInt((int)result);
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10042 PyObject *resultobj;
10043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10044 wxPoint result;
10045 PyObject * obj0 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = ((wxPyVListBox const *)arg1)->GetMargins();
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 {
10061 wxPoint * resultptr;
10062 resultptr = new wxPoint((wxPoint &) result);
10063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10064 }
10065 return resultobj;
10066 fail:
10067 return NULL;
10068 }
10069
10070
10071 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10072 PyObject *resultobj;
10073 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10074 wxColour *result;
10075 PyObject * obj0 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 {
10086 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10087 result = (wxColour *) &_result_ref;
10088 }
10089
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
10093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10094 return resultobj;
10095 fail:
10096 return NULL;
10097 }
10098
10099
10100 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10101 PyObject *resultobj;
10102 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10103 size_t arg2 ;
10104 PyObject * obj0 = 0 ;
10105 PyObject * obj1 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self",(char *) "count", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10113 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 (arg1)->SetItemCount(arg2);
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 Py_INCREF(Py_None); resultobj = Py_None;
10123 return resultobj;
10124 fail:
10125 return NULL;
10126 }
10127
10128
10129 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10130 PyObject *resultobj;
10131 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10132 PyObject * obj0 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 (arg1)->Clear();
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 Py_INCREF(Py_None); resultobj = Py_None;
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10157 int arg2 ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 char *kwnames[] = {
10161 (char *) "self",(char *) "selection", NULL
10162 };
10163
10164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10167 arg2 = (int) SWIG_AsInt(obj1);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetSelection(arg2);
10172
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 Py_INCREF(Py_None); resultobj = Py_None;
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10186 size_t arg2 ;
10187 bool arg3 = (bool) True ;
10188 bool result;
10189 PyObject * obj0 = 0 ;
10190 PyObject * obj1 = 0 ;
10191 PyObject * obj2 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self",(char *) "item",(char *) "select", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10199 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 if (obj2) {
10202 arg3 = (bool) SWIG_AsBool(obj2);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 result = (bool)(arg1)->Select(arg2,arg3);
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 {
10213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10214 }
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10224 size_t arg2 ;
10225 size_t arg3 ;
10226 bool result;
10227 PyObject * obj0 = 0 ;
10228 PyObject * obj1 = 0 ;
10229 PyObject * obj2 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self",(char *) "from",(char *) "to", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10237 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (bool)(arg1)->SelectRange(arg2,arg3);
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 {
10249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10250 }
10251 return resultobj;
10252 fail:
10253 return NULL;
10254 }
10255
10256
10257 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10260 size_t arg2 ;
10261 PyObject * obj0 = 0 ;
10262 PyObject * obj1 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self",(char *) "item", NULL
10265 };
10266
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10270 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 (arg1)->Toggle(arg2);
10275
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 Py_INCREF(Py_None); resultobj = Py_None;
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10289 bool result;
10290 PyObject * obj0 = 0 ;
10291 char *kwnames[] = {
10292 (char *) "self", NULL
10293 };
10294
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (bool)(arg1)->SelectAll();
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 {
10306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10307 }
10308 return resultobj;
10309 fail:
10310 return NULL;
10311 }
10312
10313
10314 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10317 bool result;
10318 PyObject * obj0 = 0 ;
10319 char *kwnames[] = {
10320 (char *) "self", NULL
10321 };
10322
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 result = (bool)(arg1)->DeselectAll();
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10335 }
10336 return resultobj;
10337 fail:
10338 return NULL;
10339 }
10340
10341
10342 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10345 wxPoint *arg2 = 0 ;
10346 wxPoint temp2 ;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self",(char *) "pt", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10356 {
10357 arg2 = &temp2;
10358 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10359 }
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->SetMargins((wxPoint const &)*arg2);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 return resultobj;
10369 fail:
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10377 int arg2 ;
10378 int arg3 ;
10379 PyObject * obj0 = 0 ;
10380 PyObject * obj1 = 0 ;
10381 PyObject * obj2 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self",(char *) "x",(char *) "y", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10389 arg2 = (int) SWIG_AsInt(obj1);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 arg3 = (int) SWIG_AsInt(obj2);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 (arg1)->SetMargins(arg2,arg3);
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 Py_INCREF(Py_None); resultobj = Py_None;
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10410 wxColour *arg2 = 0 ;
10411 wxColour temp2 ;
10412 PyObject * obj0 = 0 ;
10413 PyObject * obj1 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "self",(char *) "col", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10421 {
10422 arg2 = &temp2;
10423 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10424 }
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 Py_INCREF(Py_None); resultobj = Py_None;
10433 return resultobj;
10434 fail:
10435 return NULL;
10436 }
10437
10438
10439 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10440 PyObject *obj;
10441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10442 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10443 Py_INCREF(obj);
10444 return Py_BuildValue((char *)"");
10445 }
10446 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxWindow *arg1 = (wxWindow *) 0 ;
10449 int arg2 = (int) wxID_ANY ;
10450 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10451 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10452 wxSize const &arg4_defvalue = wxDefaultSize ;
10453 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10454 long arg5 = (long) 0 ;
10455 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10456 wxString *arg6 = (wxString *) &arg6_defvalue ;
10457 wxPyHtmlListBox *result;
10458 wxPoint temp3 ;
10459 wxSize temp4 ;
10460 bool temp6 = False ;
10461 PyObject * obj0 = 0 ;
10462 PyObject * obj1 = 0 ;
10463 PyObject * obj2 = 0 ;
10464 PyObject * obj3 = 0 ;
10465 PyObject * obj4 = 0 ;
10466 PyObject * obj5 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10474 if (obj1) {
10475 arg2 = (int) SWIG_AsInt(obj1);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 if (obj2) {
10479 {
10480 arg3 = &temp3;
10481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10482 }
10483 }
10484 if (obj3) {
10485 {
10486 arg4 = &temp4;
10487 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10488 }
10489 }
10490 if (obj4) {
10491 arg5 = (long) SWIG_AsLong(obj4);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 if (obj5) {
10495 {
10496 arg6 = wxString_in_helper(obj5);
10497 if (arg6 == NULL) SWIG_fail;
10498 temp6 = True;
10499 }
10500 }
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10509 {
10510 if (temp6)
10511 delete arg6;
10512 }
10513 return resultobj;
10514 fail:
10515 {
10516 if (temp6)
10517 delete arg6;
10518 }
10519 return NULL;
10520 }
10521
10522
10523 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj;
10525 wxPyHtmlListBox *result;
10526 char *kwnames[] = {
10527 NULL
10528 };
10529
10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10548 PyObject *arg2 = (PyObject *) 0 ;
10549 PyObject *arg3 = (PyObject *) 0 ;
10550 PyObject * obj0 = 0 ;
10551 PyObject * obj1 = 0 ;
10552 PyObject * obj2 = 0 ;
10553 char *kwnames[] = {
10554 (char *) "self",(char *) "self",(char *) "_class", NULL
10555 };
10556
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10560 arg2 = obj1;
10561 arg3 = obj2;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 (arg1)->_setCallbackInfo(arg2,arg3);
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 Py_INCREF(Py_None); resultobj = Py_None;
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj;
10578 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10579 wxWindow *arg2 = (wxWindow *) 0 ;
10580 int arg3 = (int) wxID_ANY ;
10581 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10582 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10583 wxSize const &arg5_defvalue = wxDefaultSize ;
10584 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10585 long arg6 = (long) 0 ;
10586 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10587 wxString *arg7 = (wxString *) &arg7_defvalue ;
10588 bool result;
10589 wxPoint temp4 ;
10590 wxSize temp5 ;
10591 bool temp7 = False ;
10592 PyObject * obj0 = 0 ;
10593 PyObject * obj1 = 0 ;
10594 PyObject * obj2 = 0 ;
10595 PyObject * obj3 = 0 ;
10596 PyObject * obj4 = 0 ;
10597 PyObject * obj5 = 0 ;
10598 PyObject * obj6 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10608 if (obj2) {
10609 arg3 = (int) SWIG_AsInt(obj2);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 if (obj3) {
10613 {
10614 arg4 = &temp4;
10615 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10616 }
10617 }
10618 if (obj4) {
10619 {
10620 arg5 = &temp5;
10621 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10622 }
10623 }
10624 if (obj5) {
10625 arg6 = (long) SWIG_AsLong(obj5);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 if (obj6) {
10629 {
10630 arg7 = wxString_in_helper(obj6);
10631 if (arg7 == NULL) SWIG_fail;
10632 temp7 = True;
10633 }
10634 }
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10644 }
10645 {
10646 if (temp7)
10647 delete arg7;
10648 }
10649 return resultobj;
10650 fail:
10651 {
10652 if (temp7)
10653 delete arg7;
10654 }
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj;
10661 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10662 PyObject * obj0 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->RefreshAll();
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj;
10686 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10687 size_t arg2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self",(char *) "count", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10697 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 (arg1)->SetItemCount(arg2);
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 Py_INCREF(Py_None); resultobj = Py_None;
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10716 wxFileSystem *result;
10717 PyObject * obj0 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 {
10728 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10729 result = (wxFileSystem *) &_result_ref;
10730 }
10731
10732 wxPyEndAllowThreads(__tstate);
10733 if (PyErr_Occurred()) SWIG_fail;
10734 }
10735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10736 return resultobj;
10737 fail:
10738 return NULL;
10739 }
10740
10741
10742 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10743 PyObject *obj;
10744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10745 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10746 Py_INCREF(obj);
10747 return Py_BuildValue((char *)"");
10748 }
10749 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10750 PyObject *resultobj;
10751 wxTaskBarIcon *result;
10752 char *kwnames[] = {
10753 NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10765 return resultobj;
10766 fail:
10767 return NULL;
10768 }
10769
10770
10771 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10774 PyObject * obj0 = 0 ;
10775 char *kwnames[] = {
10776 (char *) "self", NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10782 {
10783 PyThreadState* __tstate = wxPyBeginAllowThreads();
10784 delete arg1;
10785
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793 }
10794
10795
10796 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject *resultobj;
10798 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10799 PyObject * obj0 = 0 ;
10800 char *kwnames[] = {
10801 (char *) "self", NULL
10802 };
10803
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 wxTaskBarIcon_Destroy(arg1);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 Py_INCREF(Py_None); resultobj = Py_None;
10815 return resultobj;
10816 fail:
10817 return NULL;
10818 }
10819
10820
10821 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10822 PyObject *resultobj;
10823 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10824 bool result;
10825 PyObject * obj0 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 {
10841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10842 }
10843 return resultobj;
10844 fail:
10845 return NULL;
10846 }
10847
10848
10849 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10852 bool result;
10853 PyObject * obj0 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 {
10869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10870 }
10871 return resultobj;
10872 fail:
10873 return NULL;
10874 }
10875
10876
10877 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject *resultobj;
10879 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10880 wxIcon *arg2 = 0 ;
10881 wxString const &arg3_defvalue = wxPyEmptyString ;
10882 wxString *arg3 = (wxString *) &arg3_defvalue ;
10883 bool result;
10884 bool temp3 = False ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 PyObject * obj2 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10896 SWIG_POINTER_EXCEPTION | 0)) == -1)
10897 SWIG_fail;
10898 if (arg2 == NULL) {
10899 PyErr_SetString(PyExc_TypeError,"null reference");
10900 SWIG_fail;
10901 }
10902 if (obj2) {
10903 {
10904 arg3 = wxString_in_helper(obj2);
10905 if (arg3 == NULL) SWIG_fail;
10906 temp3 = True;
10907 }
10908 }
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 {
10917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10918 }
10919 {
10920 if (temp3)
10921 delete arg3;
10922 }
10923 return resultobj;
10924 fail:
10925 {
10926 if (temp3)
10927 delete arg3;
10928 }
10929 return NULL;
10930 }
10931
10932
10933 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj;
10935 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10936 bool result;
10937 PyObject * obj0 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (bool)(arg1)->RemoveIcon();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 {
10953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10954 }
10955 return resultobj;
10956 fail:
10957 return NULL;
10958 }
10959
10960
10961 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10964 wxMenu *arg2 = (wxMenu *) 0 ;
10965 bool result;
10966 PyObject * obj0 = 0 ;
10967 PyObject * obj1 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "self",(char *) "menu", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 result = (bool)(arg1)->PopupMenu(arg2);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 {
10985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10986 }
10987 return resultobj;
10988 fail:
10989 return NULL;
10990 }
10991
10992
10993 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10994 PyObject *obj;
10995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10996 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10997 Py_INCREF(obj);
10998 return Py_BuildValue((char *)"");
10999 }
11000 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11001 PyObject *resultobj;
11002 wxEventType arg1 ;
11003 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11004 wxTaskBarIconEvent *result;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 char *kwnames[] = {
11008 (char *) "evtType",(char *) "tbIcon", NULL
11009 };
11010
11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11012 arg1 = (wxEventType) SWIG_AsInt(obj0);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11031 PyObject *obj;
11032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11033 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11034 Py_INCREF(obj);
11035 return Py_BuildValue((char *)"");
11036 }
11037 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11038 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11039 return 1;
11040 }
11041
11042
11043 static PyObject *_wrap_FileSelectorPromptStr_get() {
11044 PyObject *pyobj;
11045
11046 {
11047 #if wxUSE_UNICODE
11048 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11049 #else
11050 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11051 #endif
11052 }
11053 return pyobj;
11054 }
11055
11056
11057 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11058 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11059 return 1;
11060 }
11061
11062
11063 static PyObject *_wrap_DirSelectorPromptStr_get() {
11064 PyObject *pyobj;
11065
11066 {
11067 #if wxUSE_UNICODE
11068 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11069 #else
11070 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11071 #endif
11072 }
11073 return pyobj;
11074 }
11075
11076
11077 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11078 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11079 return 1;
11080 }
11081
11082
11083 static PyObject *_wrap_DirDialogNameStr_get() {
11084 PyObject *pyobj;
11085
11086 {
11087 #if wxUSE_UNICODE
11088 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11089 #else
11090 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11091 #endif
11092 }
11093 return pyobj;
11094 }
11095
11096
11097 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11098 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11099 return 1;
11100 }
11101
11102
11103 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11104 PyObject *pyobj;
11105
11106 {
11107 #if wxUSE_UNICODE
11108 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11109 #else
11110 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11111 #endif
11112 }
11113 return pyobj;
11114 }
11115
11116
11117 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11118 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11119 return 1;
11120 }
11121
11122
11123 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11124 PyObject *pyobj;
11125
11126 {
11127 #if wxUSE_UNICODE
11128 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11129 #else
11130 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11131 #endif
11132 }
11133 return pyobj;
11134 }
11135
11136
11137 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11138 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11139 return 1;
11140 }
11141
11142
11143 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11144 PyObject *pyobj;
11145
11146 {
11147 #if wxUSE_UNICODE
11148 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11149 #else
11150 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11151 #endif
11152 }
11153 return pyobj;
11154 }
11155
11156
11157 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 wxColourData *result;
11160 char *kwnames[] = {
11161 NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (wxColourData *)new wxColourData();
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxColourData *arg1 = (wxColourData *) 0 ;
11182 PyObject * obj0 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "self", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11190 {
11191 PyThreadState* __tstate = wxPyBeginAllowThreads();
11192 delete arg1;
11193
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 Py_INCREF(Py_None); resultobj = Py_None;
11198 return resultobj;
11199 fail:
11200 return NULL;
11201 }
11202
11203
11204 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11205 PyObject *resultobj;
11206 wxColourData *arg1 = (wxColourData *) 0 ;
11207 bool result;
11208 PyObject * obj0 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11216 {
11217 PyThreadState* __tstate = wxPyBeginAllowThreads();
11218 result = (bool)(arg1)->GetChooseFull();
11219
11220 wxPyEndAllowThreads(__tstate);
11221 if (PyErr_Occurred()) SWIG_fail;
11222 }
11223 {
11224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11225 }
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj;
11234 wxColourData *arg1 = (wxColourData *) 0 ;
11235 wxColour result;
11236 PyObject * obj0 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = (arg1)->GetColour();
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 {
11252 wxColour * resultptr;
11253 resultptr = new wxColour((wxColour &) result);
11254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11255 }
11256 return resultobj;
11257 fail:
11258 return NULL;
11259 }
11260
11261
11262 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11263 PyObject *resultobj;
11264 wxColourData *arg1 = (wxColourData *) 0 ;
11265 int arg2 ;
11266 wxColour result;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self",(char *) "i", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 arg2 = (int) SWIG_AsInt(obj1);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (arg1)->GetCustomColour(arg2);
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 {
11286 wxColour * resultptr;
11287 resultptr = new wxColour((wxColour &) result);
11288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11289 }
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxColourData *arg1 = (wxColourData *) 0 ;
11299 int arg2 ;
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 char *kwnames[] = {
11303 (char *) "self",(char *) "flag", NULL
11304 };
11305
11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11309 arg2 = (int) SWIG_AsInt(obj1);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 (arg1)->SetChooseFull(arg2);
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 Py_INCREF(Py_None); resultobj = Py_None;
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxColourData *arg1 = (wxColourData *) 0 ;
11328 wxColour *arg2 = 0 ;
11329 wxColour temp2 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self",(char *) "colour", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11339 {
11340 arg2 = &temp2;
11341 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11342 }
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 (arg1)->SetColour((wxColour const &)*arg2);
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 Py_INCREF(Py_None); resultobj = Py_None;
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxColourData *arg1 = (wxColourData *) 0 ;
11360 int arg2 ;
11361 wxColour *arg3 = 0 ;
11362 wxColour temp3 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 PyObject * obj2 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self",(char *) "i",(char *) "colour", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11373 arg2 = (int) SWIG_AsInt(obj1);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 {
11376 arg3 = &temp3;
11377 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11378 }
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 Py_INCREF(Py_None); resultobj = Py_None;
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11394 PyObject *obj;
11395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11396 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11397 Py_INCREF(obj);
11398 return Py_BuildValue((char *)"");
11399 }
11400 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxWindow *arg1 = (wxWindow *) 0 ;
11403 wxColourData *arg2 = (wxColourData *) NULL ;
11404 wxColourDialog *result;
11405 PyObject * obj0 = 0 ;
11406 PyObject * obj1 = 0 ;
11407 char *kwnames[] = {
11408 (char *) "parent",(char *) "data", NULL
11409 };
11410
11411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11414 if (obj1) {
11415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11417 }
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11421
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11426 return resultobj;
11427 fail:
11428 return NULL;
11429 }
11430
11431
11432 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11433 PyObject *resultobj;
11434 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11435 wxColourData *result;
11436 PyObject * obj0 = 0 ;
11437 char *kwnames[] = {
11438 (char *) "self", NULL
11439 };
11440
11441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 {
11447 wxColourData &_result_ref = (arg1)->GetColourData();
11448 result = (wxColourData *) &_result_ref;
11449 }
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11462 PyObject *obj;
11463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11464 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11465 Py_INCREF(obj);
11466 return Py_BuildValue((char *)"");
11467 }
11468 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 wxWindow *arg1 = (wxWindow *) 0 ;
11471 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11472 wxString *arg2 = (wxString *) &arg2_defvalue ;
11473 wxString const &arg3_defvalue = wxPyEmptyString ;
11474 wxString *arg3 = (wxString *) &arg3_defvalue ;
11475 long arg4 = (long) 0 ;
11476 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11477 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11478 wxSize const &arg6_defvalue = wxDefaultSize ;
11479 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11480 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11481 wxString *arg7 = (wxString *) &arg7_defvalue ;
11482 wxDirDialog *result;
11483 bool temp2 = False ;
11484 bool temp3 = False ;
11485 wxPoint temp5 ;
11486 wxSize temp6 ;
11487 bool temp7 = False ;
11488 PyObject * obj0 = 0 ;
11489 PyObject * obj1 = 0 ;
11490 PyObject * obj2 = 0 ;
11491 PyObject * obj3 = 0 ;
11492 PyObject * obj4 = 0 ;
11493 PyObject * obj5 = 0 ;
11494 PyObject * obj6 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11502 if (obj1) {
11503 {
11504 arg2 = wxString_in_helper(obj1);
11505 if (arg2 == NULL) SWIG_fail;
11506 temp2 = True;
11507 }
11508 }
11509 if (obj2) {
11510 {
11511 arg3 = wxString_in_helper(obj2);
11512 if (arg3 == NULL) SWIG_fail;
11513 temp3 = True;
11514 }
11515 }
11516 if (obj3) {
11517 arg4 = (long) SWIG_AsLong(obj3);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 if (obj4) {
11521 {
11522 arg5 = &temp5;
11523 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11524 }
11525 }
11526 if (obj5) {
11527 {
11528 arg6 = &temp6;
11529 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11530 }
11531 }
11532 if (obj6) {
11533 {
11534 arg7 = wxString_in_helper(obj6);
11535 if (arg7 == NULL) SWIG_fail;
11536 temp7 = True;
11537 }
11538 }
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11547 {
11548 if (temp2)
11549 delete arg2;
11550 }
11551 {
11552 if (temp3)
11553 delete arg3;
11554 }
11555 {
11556 if (temp7)
11557 delete arg7;
11558 }
11559 return resultobj;
11560 fail:
11561 {
11562 if (temp2)
11563 delete arg2;
11564 }
11565 {
11566 if (temp3)
11567 delete arg3;
11568 }
11569 {
11570 if (temp7)
11571 delete arg7;
11572 }
11573 return NULL;
11574 }
11575
11576
11577 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11578 PyObject *resultobj;
11579 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11580 wxString result;
11581 PyObject * obj0 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 result = (arg1)->GetPath();
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 {
11597 #if wxUSE_UNICODE
11598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11599 #else
11600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11601 #endif
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606 }
11607
11608
11609 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11612 wxString result;
11613 PyObject * obj0 = 0 ;
11614 char *kwnames[] = {
11615 (char *) "self", NULL
11616 };
11617
11618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11621 {
11622 PyThreadState* __tstate = wxPyBeginAllowThreads();
11623 result = (arg1)->GetMessage();
11624
11625 wxPyEndAllowThreads(__tstate);
11626 if (PyErr_Occurred()) SWIG_fail;
11627 }
11628 {
11629 #if wxUSE_UNICODE
11630 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11631 #else
11632 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11633 #endif
11634 }
11635 return resultobj;
11636 fail:
11637 return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11644 long result;
11645 PyObject * obj0 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (long)(arg1)->GetStyle();
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 resultobj = SWIG_FromLong((long)result);
11661 return resultobj;
11662 fail:
11663 return NULL;
11664 }
11665
11666
11667 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11670 wxString *arg2 = 0 ;
11671 bool temp2 = False ;
11672 PyObject * obj0 = 0 ;
11673 PyObject * obj1 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self",(char *) "message", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11681 {
11682 arg2 = wxString_in_helper(obj1);
11683 if (arg2 == NULL) SWIG_fail;
11684 temp2 = True;
11685 }
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 (arg1)->SetMessage((wxString const &)*arg2);
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 Py_INCREF(Py_None); resultobj = Py_None;
11694 {
11695 if (temp2)
11696 delete arg2;
11697 }
11698 return resultobj;
11699 fail:
11700 {
11701 if (temp2)
11702 delete arg2;
11703 }
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11711 wxString *arg2 = 0 ;
11712 bool temp2 = False ;
11713 PyObject * obj0 = 0 ;
11714 PyObject * obj1 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self",(char *) "path", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11722 {
11723 arg2 = wxString_in_helper(obj1);
11724 if (arg2 == NULL) SWIG_fail;
11725 temp2 = True;
11726 }
11727 {
11728 PyThreadState* __tstate = wxPyBeginAllowThreads();
11729 (arg1)->SetPath((wxString const &)*arg2);
11730
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 Py_INCREF(Py_None); resultobj = Py_None;
11735 {
11736 if (temp2)
11737 delete arg2;
11738 }
11739 return resultobj;
11740 fail:
11741 {
11742 if (temp2)
11743 delete arg2;
11744 }
11745 return NULL;
11746 }
11747
11748
11749 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11750 PyObject *obj;
11751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11752 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11753 Py_INCREF(obj);
11754 return Py_BuildValue((char *)"");
11755 }
11756 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj;
11758 wxWindow *arg1 = (wxWindow *) 0 ;
11759 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11760 wxString *arg2 = (wxString *) &arg2_defvalue ;
11761 wxString const &arg3_defvalue = wxPyEmptyString ;
11762 wxString *arg3 = (wxString *) &arg3_defvalue ;
11763 wxString const &arg4_defvalue = wxPyEmptyString ;
11764 wxString *arg4 = (wxString *) &arg4_defvalue ;
11765 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11766 wxString *arg5 = (wxString *) &arg5_defvalue ;
11767 long arg6 = (long) 0 ;
11768 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11769 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11770 wxFileDialog *result;
11771 bool temp2 = False ;
11772 bool temp3 = False ;
11773 bool temp4 = False ;
11774 bool temp5 = False ;
11775 wxPoint temp7 ;
11776 PyObject * obj0 = 0 ;
11777 PyObject * obj1 = 0 ;
11778 PyObject * obj2 = 0 ;
11779 PyObject * obj3 = 0 ;
11780 PyObject * obj4 = 0 ;
11781 PyObject * obj5 = 0 ;
11782 PyObject * obj6 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 if (obj1) {
11791 {
11792 arg2 = wxString_in_helper(obj1);
11793 if (arg2 == NULL) SWIG_fail;
11794 temp2 = True;
11795 }
11796 }
11797 if (obj2) {
11798 {
11799 arg3 = wxString_in_helper(obj2);
11800 if (arg3 == NULL) SWIG_fail;
11801 temp3 = True;
11802 }
11803 }
11804 if (obj3) {
11805 {
11806 arg4 = wxString_in_helper(obj3);
11807 if (arg4 == NULL) SWIG_fail;
11808 temp4 = True;
11809 }
11810 }
11811 if (obj4) {
11812 {
11813 arg5 = wxString_in_helper(obj4);
11814 if (arg5 == NULL) SWIG_fail;
11815 temp5 = True;
11816 }
11817 }
11818 if (obj5) {
11819 arg6 = (long) SWIG_AsLong(obj5);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
11822 if (obj6) {
11823 {
11824 arg7 = &temp7;
11825 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11826 }
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11836 {
11837 if (temp2)
11838 delete arg2;
11839 }
11840 {
11841 if (temp3)
11842 delete arg3;
11843 }
11844 {
11845 if (temp4)
11846 delete arg4;
11847 }
11848 {
11849 if (temp5)
11850 delete arg5;
11851 }
11852 return resultobj;
11853 fail:
11854 {
11855 if (temp2)
11856 delete arg2;
11857 }
11858 {
11859 if (temp3)
11860 delete arg3;
11861 }
11862 {
11863 if (temp4)
11864 delete arg4;
11865 }
11866 {
11867 if (temp5)
11868 delete arg5;
11869 }
11870 return NULL;
11871 }
11872
11873
11874 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11875 PyObject *resultobj;
11876 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11877 wxString *arg2 = 0 ;
11878 bool temp2 = False ;
11879 PyObject * obj0 = 0 ;
11880 PyObject * obj1 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self",(char *) "message", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11888 {
11889 arg2 = wxString_in_helper(obj1);
11890 if (arg2 == NULL) SWIG_fail;
11891 temp2 = True;
11892 }
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 (arg1)->SetMessage((wxString const &)*arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 Py_INCREF(Py_None); resultobj = Py_None;
11901 {
11902 if (temp2)
11903 delete arg2;
11904 }
11905 return resultobj;
11906 fail:
11907 {
11908 if (temp2)
11909 delete arg2;
11910 }
11911 return NULL;
11912 }
11913
11914
11915 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11916 PyObject *resultobj;
11917 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11918 wxString *arg2 = 0 ;
11919 bool temp2 = False ;
11920 PyObject * obj0 = 0 ;
11921 PyObject * obj1 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "self",(char *) "path", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11929 {
11930 arg2 = wxString_in_helper(obj1);
11931 if (arg2 == NULL) SWIG_fail;
11932 temp2 = True;
11933 }
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 (arg1)->SetPath((wxString const &)*arg2);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 Py_INCREF(Py_None); resultobj = Py_None;
11942 {
11943 if (temp2)
11944 delete arg2;
11945 }
11946 return resultobj;
11947 fail:
11948 {
11949 if (temp2)
11950 delete arg2;
11951 }
11952 return NULL;
11953 }
11954
11955
11956 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11959 wxString *arg2 = 0 ;
11960 bool temp2 = False ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 char *kwnames[] = {
11964 (char *) "self",(char *) "dir", NULL
11965 };
11966
11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11970 {
11971 arg2 = wxString_in_helper(obj1);
11972 if (arg2 == NULL) SWIG_fail;
11973 temp2 = True;
11974 }
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 (arg1)->SetDirectory((wxString const &)*arg2);
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 Py_INCREF(Py_None); resultobj = Py_None;
11983 {
11984 if (temp2)
11985 delete arg2;
11986 }
11987 return resultobj;
11988 fail:
11989 {
11990 if (temp2)
11991 delete arg2;
11992 }
11993 return NULL;
11994 }
11995
11996
11997 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj;
11999 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12000 wxString *arg2 = 0 ;
12001 bool temp2 = False ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char *kwnames[] = {
12005 (char *) "self",(char *) "name", NULL
12006 };
12007
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12011 {
12012 arg2 = wxString_in_helper(obj1);
12013 if (arg2 == NULL) SWIG_fail;
12014 temp2 = True;
12015 }
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 (arg1)->SetFilename((wxString const &)*arg2);
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 Py_INCREF(Py_None); resultobj = Py_None;
12024 {
12025 if (temp2)
12026 delete arg2;
12027 }
12028 return resultobj;
12029 fail:
12030 {
12031 if (temp2)
12032 delete arg2;
12033 }
12034 return NULL;
12035 }
12036
12037
12038 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12039 PyObject *resultobj;
12040 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12041 wxString *arg2 = 0 ;
12042 bool temp2 = False ;
12043 PyObject * obj0 = 0 ;
12044 PyObject * obj1 = 0 ;
12045 char *kwnames[] = {
12046 (char *) "self",(char *) "wildCard", NULL
12047 };
12048
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12052 {
12053 arg2 = wxString_in_helper(obj1);
12054 if (arg2 == NULL) SWIG_fail;
12055 temp2 = True;
12056 }
12057 {
12058 PyThreadState* __tstate = wxPyBeginAllowThreads();
12059 (arg1)->SetWildcard((wxString const &)*arg2);
12060
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 Py_INCREF(Py_None); resultobj = Py_None;
12065 {
12066 if (temp2)
12067 delete arg2;
12068 }
12069 return resultobj;
12070 fail:
12071 {
12072 if (temp2)
12073 delete arg2;
12074 }
12075 return NULL;
12076 }
12077
12078
12079 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12080 PyObject *resultobj;
12081 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12082 long arg2 ;
12083 PyObject * obj0 = 0 ;
12084 PyObject * obj1 = 0 ;
12085 char *kwnames[] = {
12086 (char *) "self",(char *) "style", NULL
12087 };
12088
12089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12092 arg2 = (long) SWIG_AsLong(obj1);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 (arg1)->SetStyle(arg2);
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 Py_INCREF(Py_None); resultobj = Py_None;
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12111 int arg2 ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "filterIndex", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12121 arg2 = (int) SWIG_AsInt(obj1);
12122 if (PyErr_Occurred()) SWIG_fail;
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 (arg1)->SetFilterIndex(arg2);
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 Py_INCREF(Py_None); resultobj = Py_None;
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12138 PyObject *resultobj;
12139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12140 wxString result;
12141 PyObject * obj0 = 0 ;
12142 char *kwnames[] = {
12143 (char *) "self", NULL
12144 };
12145
12146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = ((wxFileDialog const *)arg1)->GetMessage();
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 #if wxUSE_UNICODE
12158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12159 #else
12160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12161 #endif
12162 }
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj;
12171 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12172 wxString result;
12173 PyObject * obj0 = 0 ;
12174 char *kwnames[] = {
12175 (char *) "self", NULL
12176 };
12177
12178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 result = ((wxFileDialog const *)arg1)->GetPath();
12184
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 {
12189 #if wxUSE_UNICODE
12190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12191 #else
12192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12193 #endif
12194 }
12195 return resultobj;
12196 fail:
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12204 wxString result;
12205 PyObject * obj0 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = ((wxFileDialog const *)arg1)->GetDirectory();
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 {
12221 #if wxUSE_UNICODE
12222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12223 #else
12224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12225 #endif
12226 }
12227 return resultobj;
12228 fail:
12229 return NULL;
12230 }
12231
12232
12233 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12236 wxString result;
12237 PyObject * obj0 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = ((wxFileDialog const *)arg1)->GetFilename();
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 {
12253 #if wxUSE_UNICODE
12254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12255 #else
12256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12257 #endif
12258 }
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj;
12267 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12268 wxString result;
12269 PyObject * obj0 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "self", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 result = ((wxFileDialog const *)arg1)->GetWildcard();
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 {
12285 #if wxUSE_UNICODE
12286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12287 #else
12288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12289 #endif
12290 }
12291 return resultobj;
12292 fail:
12293 return NULL;
12294 }
12295
12296
12297 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12298 PyObject *resultobj;
12299 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12300 long result;
12301 PyObject * obj0 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12309 {
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12312
12313 wxPyEndAllowThreads(__tstate);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 }
12316 resultobj = SWIG_FromLong((long)result);
12317 return resultobj;
12318 fail:
12319 return NULL;
12320 }
12321
12322
12323 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj;
12325 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12326 int result;
12327 PyObject * obj0 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12335 {
12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
12337 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12338
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_FromInt((int)result);
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj;
12351 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12352 PyObject *result;
12353 PyObject * obj0 = 0 ;
12354 char *kwnames[] = {
12355 (char *) "self", NULL
12356 };
12357
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 resultobj = result;
12369 return resultobj;
12370 fail:
12371 return NULL;
12372 }
12373
12374
12375 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12376 PyObject *resultobj;
12377 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12378 PyObject *result;
12379 PyObject * obj0 = 0 ;
12380 char *kwnames[] = {
12381 (char *) "self", NULL
12382 };
12383
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12390
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 resultobj = result;
12395 return resultobj;
12396 fail:
12397 return NULL;
12398 }
12399
12400
12401 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12402 PyObject *obj;
12403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12404 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12405 Py_INCREF(obj);
12406 return Py_BuildValue((char *)"");
12407 }
12408 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj;
12410 wxWindow *arg1 = (wxWindow *) 0 ;
12411 wxString *arg2 = 0 ;
12412 wxString *arg3 = 0 ;
12413 int arg4 = (int) 0 ;
12414 wxString *arg5 = (wxString *) 0 ;
12415 long arg6 = (long) wxCHOICEDLG_STYLE ;
12416 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12417 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12418 wxMultiChoiceDialog *result;
12419 bool temp2 = False ;
12420 bool temp3 = False ;
12421 wxPoint temp6 ;
12422 PyObject * obj0 = 0 ;
12423 PyObject * obj1 = 0 ;
12424 PyObject * obj2 = 0 ;
12425 PyObject * obj3 = 0 ;
12426 PyObject * obj4 = 0 ;
12427 PyObject * obj5 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12435 {
12436 arg2 = wxString_in_helper(obj1);
12437 if (arg2 == NULL) SWIG_fail;
12438 temp2 = True;
12439 }
12440 {
12441 arg3 = wxString_in_helper(obj2);
12442 if (arg3 == NULL) SWIG_fail;
12443 temp3 = True;
12444 }
12445 if (obj3) {
12446 {
12447 arg4 = PyList_Size(obj3);
12448 arg5 = wxString_LIST_helper(obj3);
12449 if (arg5 == NULL) SWIG_fail;
12450 }
12451 }
12452 if (obj4) {
12453 arg6 = (long) SWIG_AsLong(obj4);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 if (obj5) {
12457 {
12458 arg7 = &temp6;
12459 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12460 }
12461 }
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12465
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12470 {
12471 if (temp2)
12472 delete arg2;
12473 }
12474 {
12475 if (temp3)
12476 delete arg3;
12477 }
12478 {
12479 if (arg5) delete [] arg5;
12480 }
12481 return resultobj;
12482 fail:
12483 {
12484 if (temp2)
12485 delete arg2;
12486 }
12487 {
12488 if (temp3)
12489 delete arg3;
12490 }
12491 {
12492 if (arg5) delete [] arg5;
12493 }
12494 return NULL;
12495 }
12496
12497
12498 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12499 PyObject *resultobj;
12500 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12501 wxArrayInt *arg2 = 0 ;
12502 bool temp2 = False ;
12503 PyObject * obj0 = 0 ;
12504 PyObject * obj1 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self",(char *) "selections", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 {
12513 if (! PySequence_Check(obj1)) {
12514 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12515 SWIG_fail;
12516 }
12517 arg2 = new wxArrayInt;
12518 temp2 = True;
12519 int i, len=PySequence_Length(obj1);
12520 for (i=0; i<len; i++) {
12521 PyObject* item = PySequence_GetItem(obj1, i);
12522 PyObject* number = PyNumber_Int(item);
12523 arg2->Add(PyInt_AS_LONG(number));
12524 Py_DECREF(item);
12525 Py_DECREF(number);
12526 }
12527 }
12528 {
12529 PyThreadState* __tstate = wxPyBeginAllowThreads();
12530 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12531
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 Py_INCREF(Py_None); resultobj = Py_None;
12536 {
12537 if (temp2) delete arg2;
12538 }
12539 return resultobj;
12540 fail:
12541 {
12542 if (temp2) delete arg2;
12543 }
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12551 PyObject *result;
12552 PyObject * obj0 = 0 ;
12553 char *kwnames[] = {
12554 (char *) "self", NULL
12555 };
12556
12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 resultobj = result;
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12575 PyObject *obj;
12576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12577 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12578 Py_INCREF(obj);
12579 return Py_BuildValue((char *)"");
12580 }
12581 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12582 PyObject *resultobj;
12583 wxWindow *arg1 = (wxWindow *) 0 ;
12584 wxString *arg2 = 0 ;
12585 wxString *arg3 = 0 ;
12586 int arg4 ;
12587 wxString *arg5 = (wxString *) 0 ;
12588 long arg6 = (long) wxCHOICEDLG_STYLE ;
12589 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12590 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12591 wxSingleChoiceDialog *result;
12592 bool temp2 = False ;
12593 bool temp3 = False ;
12594 wxPoint temp6 ;
12595 PyObject * obj0 = 0 ;
12596 PyObject * obj1 = 0 ;
12597 PyObject * obj2 = 0 ;
12598 PyObject * obj3 = 0 ;
12599 PyObject * obj4 = 0 ;
12600 PyObject * obj5 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12608 {
12609 arg2 = wxString_in_helper(obj1);
12610 if (arg2 == NULL) SWIG_fail;
12611 temp2 = True;
12612 }
12613 {
12614 arg3 = wxString_in_helper(obj2);
12615 if (arg3 == NULL) SWIG_fail;
12616 temp3 = True;
12617 }
12618 {
12619 arg4 = PyList_Size(obj3);
12620 arg5 = wxString_LIST_helper(obj3);
12621 if (arg5 == NULL) SWIG_fail;
12622 }
12623 if (obj4) {
12624 arg6 = (long) SWIG_AsLong(obj4);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 if (obj5) {
12628 {
12629 arg7 = &temp6;
12630 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12631 }
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12641 {
12642 if (temp2)
12643 delete arg2;
12644 }
12645 {
12646 if (temp3)
12647 delete arg3;
12648 }
12649 {
12650 if (arg5) delete [] arg5;
12651 }
12652 return resultobj;
12653 fail:
12654 {
12655 if (temp2)
12656 delete arg2;
12657 }
12658 {
12659 if (temp3)
12660 delete arg3;
12661 }
12662 {
12663 if (arg5) delete [] arg5;
12664 }
12665 return NULL;
12666 }
12667
12668
12669 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj;
12671 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12672 int result;
12673 PyObject * obj0 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12681 {
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 result = (int)(arg1)->GetSelection();
12684
12685 wxPyEndAllowThreads(__tstate);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 resultobj = SWIG_FromInt((int)result);
12689 return resultobj;
12690 fail:
12691 return NULL;
12692 }
12693
12694
12695 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj;
12697 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12698 wxString result;
12699 PyObject * obj0 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "self", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12707 {
12708 PyThreadState* __tstate = wxPyBeginAllowThreads();
12709 result = (arg1)->GetStringSelection();
12710
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 {
12715 #if wxUSE_UNICODE
12716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12717 #else
12718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12719 #endif
12720 }
12721 return resultobj;
12722 fail:
12723 return NULL;
12724 }
12725
12726
12727 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12728 PyObject *resultobj;
12729 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12730 int arg2 ;
12731 PyObject * obj0 = 0 ;
12732 PyObject * obj1 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self",(char *) "sel", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12740 arg2 = (int) SWIG_AsInt(obj1);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 (arg1)->SetSelection(arg2);
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 Py_INCREF(Py_None); resultobj = Py_None;
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12757 PyObject *obj;
12758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12760 Py_INCREF(obj);
12761 return Py_BuildValue((char *)"");
12762 }
12763 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxWindow *arg1 = (wxWindow *) 0 ;
12766 wxString *arg2 = 0 ;
12767 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12768 wxString *arg3 = (wxString *) &arg3_defvalue ;
12769 wxString const &arg4_defvalue = wxPyEmptyString ;
12770 wxString *arg4 = (wxString *) &arg4_defvalue ;
12771 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12772 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12773 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12774 wxTextEntryDialog *result;
12775 bool temp2 = False ;
12776 bool temp3 = False ;
12777 bool temp4 = False ;
12778 wxPoint temp6 ;
12779 PyObject * obj0 = 0 ;
12780 PyObject * obj1 = 0 ;
12781 PyObject * obj2 = 0 ;
12782 PyObject * obj3 = 0 ;
12783 PyObject * obj4 = 0 ;
12784 PyObject * obj5 = 0 ;
12785 char *kwnames[] = {
12786 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12787 };
12788
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12792 {
12793 arg2 = wxString_in_helper(obj1);
12794 if (arg2 == NULL) SWIG_fail;
12795 temp2 = True;
12796 }
12797 if (obj2) {
12798 {
12799 arg3 = wxString_in_helper(obj2);
12800 if (arg3 == NULL) SWIG_fail;
12801 temp3 = True;
12802 }
12803 }
12804 if (obj3) {
12805 {
12806 arg4 = wxString_in_helper(obj3);
12807 if (arg4 == NULL) SWIG_fail;
12808 temp4 = True;
12809 }
12810 }
12811 if (obj4) {
12812 arg5 = (long) SWIG_AsLong(obj4);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 if (obj5) {
12816 {
12817 arg6 = &temp6;
12818 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12819 }
12820 }
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12829 {
12830 if (temp2)
12831 delete arg2;
12832 }
12833 {
12834 if (temp3)
12835 delete arg3;
12836 }
12837 {
12838 if (temp4)
12839 delete arg4;
12840 }
12841 return resultobj;
12842 fail:
12843 {
12844 if (temp2)
12845 delete arg2;
12846 }
12847 {
12848 if (temp3)
12849 delete arg3;
12850 }
12851 {
12852 if (temp4)
12853 delete arg4;
12854 }
12855 return NULL;
12856 }
12857
12858
12859 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12862 wxString result;
12863 PyObject * obj0 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 result = (arg1)->GetValue();
12874
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 {
12879 #if wxUSE_UNICODE
12880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12881 #else
12882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12883 #endif
12884 }
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12894 wxString *arg2 = 0 ;
12895 bool temp2 = False ;
12896 PyObject * obj0 = 0 ;
12897 PyObject * obj1 = 0 ;
12898 char *kwnames[] = {
12899 (char *) "self",(char *) "value", NULL
12900 };
12901
12902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12905 {
12906 arg2 = wxString_in_helper(obj1);
12907 if (arg2 == NULL) SWIG_fail;
12908 temp2 = True;
12909 }
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 (arg1)->SetValue((wxString const &)*arg2);
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 Py_INCREF(Py_None); resultobj = Py_None;
12918 {
12919 if (temp2)
12920 delete arg2;
12921 }
12922 return resultobj;
12923 fail:
12924 {
12925 if (temp2)
12926 delete arg2;
12927 }
12928 return NULL;
12929 }
12930
12931
12932 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12933 PyObject *obj;
12934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12935 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12936 Py_INCREF(obj);
12937 return Py_BuildValue((char *)"");
12938 }
12939 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxFontData *result;
12942 char *kwnames[] = {
12943 NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (wxFontData *)new wxFontData();
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12955 return resultobj;
12956 fail:
12957 return NULL;
12958 }
12959
12960
12961 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxFontData *arg1 = (wxFontData *) 0 ;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 delete arg1;
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 Py_INCREF(Py_None); resultobj = Py_None;
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxFontData *arg1 = (wxFontData *) 0 ;
12989 bool arg2 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char *kwnames[] = {
12993 (char *) "self",(char *) "enable", NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12999 arg2 = (bool) SWIG_AsBool(obj1);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 (arg1)->EnableEffects(arg2);
13004
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 Py_INCREF(Py_None); resultobj = Py_None;
13009 return resultobj;
13010 fail:
13011 return NULL;
13012 }
13013
13014
13015 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13016 PyObject *resultobj;
13017 wxFontData *arg1 = (wxFontData *) 0 ;
13018 bool result;
13019 PyObject * obj0 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (bool)(arg1)->GetAllowSymbols();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 {
13035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13036 }
13037 return resultobj;
13038 fail:
13039 return NULL;
13040 }
13041
13042
13043 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj;
13045 wxFontData *arg1 = (wxFontData *) 0 ;
13046 wxColour result;
13047 PyObject * obj0 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = (arg1)->GetColour();
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 {
13063 wxColour * resultptr;
13064 resultptr = new wxColour((wxColour &) result);
13065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13066 }
13067 return resultobj;
13068 fail:
13069 return NULL;
13070 }
13071
13072
13073 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13074 PyObject *resultobj;
13075 wxFontData *arg1 = (wxFontData *) 0 ;
13076 wxFont result;
13077 PyObject * obj0 = 0 ;
13078 char *kwnames[] = {
13079 (char *) "self", NULL
13080 };
13081
13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (arg1)->GetChosenFont();
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 {
13093 wxFont * resultptr;
13094 resultptr = new wxFont((wxFont &) result);
13095 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13096 }
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxFontData *arg1 = (wxFontData *) 0 ;
13106 bool result;
13107 PyObject * obj0 = 0 ;
13108 char *kwnames[] = {
13109 (char *) "self", NULL
13110 };
13111
13112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (bool)(arg1)->GetEnableEffects();
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 {
13123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13124 }
13125 return resultobj;
13126 fail:
13127 return NULL;
13128 }
13129
13130
13131 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxFontData *arg1 = (wxFontData *) 0 ;
13134 wxFont result;
13135 PyObject * obj0 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "self", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 result = (arg1)->GetInitialFont();
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 {
13151 wxFont * resultptr;
13152 resultptr = new wxFont((wxFont &) result);
13153 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13154 }
13155 return resultobj;
13156 fail:
13157 return NULL;
13158 }
13159
13160
13161 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxFontData *arg1 = (wxFontData *) 0 ;
13164 bool result;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (bool)(arg1)->GetShowHelp();
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 {
13181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13182 }
13183 return resultobj;
13184 fail:
13185 return NULL;
13186 }
13187
13188
13189 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj;
13191 wxFontData *arg1 = (wxFontData *) 0 ;
13192 bool arg2 ;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "allowSymbols", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13202 arg2 = (bool) SWIG_AsBool(obj1);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 (arg1)->SetAllowSymbols(arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 Py_INCREF(Py_None); resultobj = Py_None;
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxFontData *arg1 = (wxFontData *) 0 ;
13221 wxFont *arg2 = 0 ;
13222 PyObject * obj0 = 0 ;
13223 PyObject * obj1 = 0 ;
13224 char *kwnames[] = {
13225 (char *) "self",(char *) "font", NULL
13226 };
13227
13228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13232 SWIG_POINTER_EXCEPTION | 0)) == -1)
13233 SWIG_fail;
13234 if (arg2 == NULL) {
13235 PyErr_SetString(PyExc_TypeError,"null reference");
13236 SWIG_fail;
13237 }
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 (arg1)->SetChosenFont((wxFont const &)*arg2);
13241
13242 wxPyEndAllowThreads(__tstate);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 Py_INCREF(Py_None); resultobj = Py_None;
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj;
13254 wxFontData *arg1 = (wxFontData *) 0 ;
13255 wxColour *arg2 = 0 ;
13256 wxColour temp2 ;
13257 PyObject * obj0 = 0 ;
13258 PyObject * obj1 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self",(char *) "colour", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13266 {
13267 arg2 = &temp2;
13268 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13269 }
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 (arg1)->SetColour((wxColour const &)*arg2);
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 Py_INCREF(Py_None); resultobj = Py_None;
13278 return resultobj;
13279 fail:
13280 return NULL;
13281 }
13282
13283
13284 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj;
13286 wxFontData *arg1 = (wxFontData *) 0 ;
13287 wxFont *arg2 = 0 ;
13288 PyObject * obj0 = 0 ;
13289 PyObject * obj1 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "font", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13298 SWIG_POINTER_EXCEPTION | 0)) == -1)
13299 SWIG_fail;
13300 if (arg2 == NULL) {
13301 PyErr_SetString(PyExc_TypeError,"null reference");
13302 SWIG_fail;
13303 }
13304 {
13305 PyThreadState* __tstate = wxPyBeginAllowThreads();
13306 (arg1)->SetInitialFont((wxFont const &)*arg2);
13307
13308 wxPyEndAllowThreads(__tstate);
13309 if (PyErr_Occurred()) SWIG_fail;
13310 }
13311 Py_INCREF(Py_None); resultobj = Py_None;
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxFontData *arg1 = (wxFontData *) 0 ;
13321 int arg2 ;
13322 int arg3 ;
13323 PyObject * obj0 = 0 ;
13324 PyObject * obj1 = 0 ;
13325 PyObject * obj2 = 0 ;
13326 char *kwnames[] = {
13327 (char *) "self",(char *) "min",(char *) "max", NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13333 arg2 = (int) SWIG_AsInt(obj1);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 arg3 = (int) SWIG_AsInt(obj2);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 (arg1)->SetRange(arg2,arg3);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) SWIG_fail;
13343 }
13344 Py_INCREF(Py_None); resultobj = Py_None;
13345 return resultobj;
13346 fail:
13347 return NULL;
13348 }
13349
13350
13351 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13352 PyObject *resultobj;
13353 wxFontData *arg1 = (wxFontData *) 0 ;
13354 bool arg2 ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "self",(char *) "showHelp", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13364 arg2 = (bool) SWIG_AsBool(obj1);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 (arg1)->SetShowHelp(arg2);
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 Py_INCREF(Py_None); resultobj = Py_None;
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13381 PyObject *obj;
13382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13384 Py_INCREF(obj);
13385 return Py_BuildValue((char *)"");
13386 }
13387 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxWindow *arg1 = (wxWindow *) 0 ;
13390 wxFontData *arg2 = 0 ;
13391 wxFontDialog *result;
13392 PyObject * obj0 = 0 ;
13393 PyObject * obj1 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "parent",(char *) "data", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13402 SWIG_POINTER_EXCEPTION | 0)) == -1)
13403 SWIG_fail;
13404 if (arg2 == NULL) {
13405 PyErr_SetString(PyExc_TypeError,"null reference");
13406 SWIG_fail;
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13416 return resultobj;
13417 fail:
13418 return NULL;
13419 }
13420
13421
13422 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13425 wxFontData *result;
13426 PyObject * obj0 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 {
13437 wxFontData &_result_ref = (arg1)->GetFontData();
13438 result = (wxFontData *) &_result_ref;
13439 }
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13452 PyObject *obj;
13453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13454 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13455 Py_INCREF(obj);
13456 return Py_BuildValue((char *)"");
13457 }
13458 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxWindow *arg1 = (wxWindow *) 0 ;
13461 wxString *arg2 = 0 ;
13462 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13463 wxString *arg3 = (wxString *) &arg3_defvalue ;
13464 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13465 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13466 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13467 wxMessageDialog *result;
13468 bool temp2 = False ;
13469 bool temp3 = False ;
13470 wxPoint temp5 ;
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj1 = 0 ;
13473 PyObject * obj2 = 0 ;
13474 PyObject * obj3 = 0 ;
13475 PyObject * obj4 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13483 {
13484 arg2 = wxString_in_helper(obj1);
13485 if (arg2 == NULL) SWIG_fail;
13486 temp2 = True;
13487 }
13488 if (obj2) {
13489 {
13490 arg3 = wxString_in_helper(obj2);
13491 if (arg3 == NULL) SWIG_fail;
13492 temp3 = True;
13493 }
13494 }
13495 if (obj3) {
13496 arg4 = (long) SWIG_AsLong(obj3);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 if (obj4) {
13500 {
13501 arg5 = &temp5;
13502 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13503 }
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13513 {
13514 if (temp2)
13515 delete arg2;
13516 }
13517 {
13518 if (temp3)
13519 delete arg3;
13520 }
13521 return resultobj;
13522 fail:
13523 {
13524 if (temp2)
13525 delete arg2;
13526 }
13527 {
13528 if (temp3)
13529 delete arg3;
13530 }
13531 return NULL;
13532 }
13533
13534
13535 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13536 PyObject *obj;
13537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13538 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13539 Py_INCREF(obj);
13540 return Py_BuildValue((char *)"");
13541 }
13542 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13543 PyObject *resultobj;
13544 wxString *arg1 = 0 ;
13545 wxString *arg2 = 0 ;
13546 int arg3 = (int) 100 ;
13547 wxWindow *arg4 = (wxWindow *) NULL ;
13548 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13549 wxProgressDialog *result;
13550 bool temp1 = False ;
13551 bool temp2 = False ;
13552 PyObject * obj0 = 0 ;
13553 PyObject * obj1 = 0 ;
13554 PyObject * obj2 = 0 ;
13555 PyObject * obj3 = 0 ;
13556 PyObject * obj4 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13562 {
13563 arg1 = wxString_in_helper(obj0);
13564 if (arg1 == NULL) SWIG_fail;
13565 temp1 = True;
13566 }
13567 {
13568 arg2 = wxString_in_helper(obj1);
13569 if (arg2 == NULL) SWIG_fail;
13570 temp2 = True;
13571 }
13572 if (obj2) {
13573 arg3 = (int) SWIG_AsInt(obj2);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 if (obj3) {
13577 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13579 }
13580 if (obj4) {
13581 arg5 = (int) SWIG_AsInt(obj4);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13592 {
13593 if (temp1)
13594 delete arg1;
13595 }
13596 {
13597 if (temp2)
13598 delete arg2;
13599 }
13600 return resultobj;
13601 fail:
13602 {
13603 if (temp1)
13604 delete arg1;
13605 }
13606 {
13607 if (temp2)
13608 delete arg2;
13609 }
13610 return NULL;
13611 }
13612
13613
13614 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13615 PyObject *resultobj;
13616 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13617 int arg2 ;
13618 wxString const &arg3_defvalue = wxPyEmptyString ;
13619 wxString *arg3 = (wxString *) &arg3_defvalue ;
13620 bool result;
13621 bool temp3 = False ;
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 PyObject * obj2 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13632 arg2 = (int) SWIG_AsInt(obj1);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 if (obj2) {
13635 {
13636 arg3 = wxString_in_helper(obj2);
13637 if (arg3 == NULL) SWIG_fail;
13638 temp3 = True;
13639 }
13640 }
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 {
13649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13650 }
13651 {
13652 if (temp3)
13653 delete arg3;
13654 }
13655 return resultobj;
13656 fail:
13657 {
13658 if (temp3)
13659 delete arg3;
13660 }
13661 return NULL;
13662 }
13663
13664
13665 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13668 PyObject * obj0 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 (arg1)->Resume();
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 Py_INCREF(Py_None); resultobj = Py_None;
13684 return resultobj;
13685 fail:
13686 return NULL;
13687 }
13688
13689
13690 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13691 PyObject *obj;
13692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13693 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13694 Py_INCREF(obj);
13695 return Py_BuildValue((char *)"");
13696 }
13697 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13700 int arg2 = (int) 0 ;
13701 wxFindDialogEvent *result;
13702 PyObject * obj0 = 0 ;
13703 PyObject * obj1 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "commandType",(char *) "id", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13709 if (obj0) {
13710 arg1 = (wxEventType) SWIG_AsInt(obj0);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 if (obj1) {
13714 arg2 = (int) SWIG_AsInt(obj1);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 {
13718 PyThreadState* __tstate = wxPyBeginAllowThreads();
13719 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13720
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13725 return resultobj;
13726 fail:
13727 return NULL;
13728 }
13729
13730
13731 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj;
13733 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13734 int result;
13735 PyObject * obj0 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 result = (int)(arg1)->GetFlags();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 resultobj = SWIG_FromInt((int)result);
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13760 wxString *result;
13761 PyObject * obj0 = 0 ;
13762 char *kwnames[] = {
13763 (char *) "self", NULL
13764 };
13765
13766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13769 {
13770 PyThreadState* __tstate = wxPyBeginAllowThreads();
13771 {
13772 wxString const &_result_ref = (arg1)->GetFindString();
13773 result = (wxString *) &_result_ref;
13774 }
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 {
13780 #if wxUSE_UNICODE
13781 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13782 #else
13783 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13784 #endif
13785 }
13786 return resultobj;
13787 fail:
13788 return NULL;
13789 }
13790
13791
13792 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13793 PyObject *resultobj;
13794 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13795 wxString *result;
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 {
13807 wxString const &_result_ref = (arg1)->GetReplaceString();
13808 result = (wxString *) &_result_ref;
13809 }
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 {
13815 #if wxUSE_UNICODE
13816 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13817 #else
13818 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13819 #endif
13820 }
13821 return resultobj;
13822 fail:
13823 return NULL;
13824 }
13825
13826
13827 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13828 PyObject *resultobj;
13829 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13830 wxFindReplaceDialog *result;
13831 PyObject * obj0 = 0 ;
13832 char *kwnames[] = {
13833 (char *) "self", NULL
13834 };
13835
13836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13839 {
13840 PyThreadState* __tstate = wxPyBeginAllowThreads();
13841 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13842
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13847 return resultobj;
13848 fail:
13849 return NULL;
13850 }
13851
13852
13853 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13854 PyObject *resultobj;
13855 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13856 int arg2 ;
13857 PyObject * obj0 = 0 ;
13858 PyObject * obj1 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self",(char *) "flags", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13866 arg2 = (int) SWIG_AsInt(obj1);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->SetFlags(arg2);
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 Py_INCREF(Py_None); resultobj = Py_None;
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13885 wxString *arg2 = 0 ;
13886 bool temp2 = False ;
13887 PyObject * obj0 = 0 ;
13888 PyObject * obj1 = 0 ;
13889 char *kwnames[] = {
13890 (char *) "self",(char *) "str", NULL
13891 };
13892
13893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13896 {
13897 arg2 = wxString_in_helper(obj1);
13898 if (arg2 == NULL) SWIG_fail;
13899 temp2 = True;
13900 }
13901 {
13902 PyThreadState* __tstate = wxPyBeginAllowThreads();
13903 (arg1)->SetFindString((wxString const &)*arg2);
13904
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 Py_INCREF(Py_None); resultobj = Py_None;
13909 {
13910 if (temp2)
13911 delete arg2;
13912 }
13913 return resultobj;
13914 fail:
13915 {
13916 if (temp2)
13917 delete arg2;
13918 }
13919 return NULL;
13920 }
13921
13922
13923 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj;
13925 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13926 wxString *arg2 = 0 ;
13927 bool temp2 = False ;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self",(char *) "str", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13937 {
13938 arg2 = wxString_in_helper(obj1);
13939 if (arg2 == NULL) SWIG_fail;
13940 temp2 = True;
13941 }
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 (arg1)->SetReplaceString((wxString const &)*arg2);
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 Py_INCREF(Py_None); resultobj = Py_None;
13950 {
13951 if (temp2)
13952 delete arg2;
13953 }
13954 return resultobj;
13955 fail:
13956 {
13957 if (temp2)
13958 delete arg2;
13959 }
13960 return NULL;
13961 }
13962
13963
13964 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13965 PyObject *obj;
13966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13967 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13968 Py_INCREF(obj);
13969 return Py_BuildValue((char *)"");
13970 }
13971 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 int arg1 = (int) 0 ;
13974 wxFindReplaceData *result;
13975 PyObject * obj0 = 0 ;
13976 char *kwnames[] = {
13977 (char *) "flags", NULL
13978 };
13979
13980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13981 if (obj0) {
13982 arg1 = (int) SWIG_AsInt(obj0);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
13993 return resultobj;
13994 fail:
13995 return NULL;
13996 }
13997
13998
13999 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14000 PyObject *resultobj;
14001 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14002 PyObject * obj0 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 delete arg1;
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 Py_INCREF(Py_None); resultobj = Py_None;
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14027 wxString *result;
14028 PyObject * obj0 = 0 ;
14029 char *kwnames[] = {
14030 (char *) "self", NULL
14031 };
14032
14033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 {
14039 wxString const &_result_ref = (arg1)->GetFindString();
14040 result = (wxString *) &_result_ref;
14041 }
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 {
14047 #if wxUSE_UNICODE
14048 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14049 #else
14050 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14051 #endif
14052 }
14053 return resultobj;
14054 fail:
14055 return NULL;
14056 }
14057
14058
14059 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14062 wxString *result;
14063 PyObject * obj0 = 0 ;
14064 char *kwnames[] = {
14065 (char *) "self", NULL
14066 };
14067
14068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 {
14074 wxString const &_result_ref = (arg1)->GetReplaceString();
14075 result = (wxString *) &_result_ref;
14076 }
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 {
14082 #if wxUSE_UNICODE
14083 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14084 #else
14085 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14086 #endif
14087 }
14088 return resultobj;
14089 fail:
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14097 int result;
14098 PyObject * obj0 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "self", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14106 {
14107 PyThreadState* __tstate = wxPyBeginAllowThreads();
14108 result = (int)(arg1)->GetFlags();
14109
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 resultobj = SWIG_FromInt((int)result);
14114 return resultobj;
14115 fail:
14116 return NULL;
14117 }
14118
14119
14120 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14121 PyObject *resultobj;
14122 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14123 int arg2 ;
14124 PyObject * obj0 = 0 ;
14125 PyObject * obj1 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "flags", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 arg2 = (int) SWIG_AsInt(obj1);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 (arg1)->SetFlags(arg2);
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 Py_INCREF(Py_None); resultobj = Py_None;
14143 return resultobj;
14144 fail:
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14152 wxString *arg2 = 0 ;
14153 bool temp2 = False ;
14154 PyObject * obj0 = 0 ;
14155 PyObject * obj1 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "str", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14163 {
14164 arg2 = wxString_in_helper(obj1);
14165 if (arg2 == NULL) SWIG_fail;
14166 temp2 = True;
14167 }
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 (arg1)->SetFindString((wxString const &)*arg2);
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 Py_INCREF(Py_None); resultobj = Py_None;
14176 {
14177 if (temp2)
14178 delete arg2;
14179 }
14180 return resultobj;
14181 fail:
14182 {
14183 if (temp2)
14184 delete arg2;
14185 }
14186 return NULL;
14187 }
14188
14189
14190 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14193 wxString *arg2 = 0 ;
14194 bool temp2 = False ;
14195 PyObject * obj0 = 0 ;
14196 PyObject * obj1 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self",(char *) "str", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14204 {
14205 arg2 = wxString_in_helper(obj1);
14206 if (arg2 == NULL) SWIG_fail;
14207 temp2 = True;
14208 }
14209 {
14210 PyThreadState* __tstate = wxPyBeginAllowThreads();
14211 (arg1)->SetReplaceString((wxString const &)*arg2);
14212
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 Py_INCREF(Py_None); resultobj = Py_None;
14217 {
14218 if (temp2)
14219 delete arg2;
14220 }
14221 return resultobj;
14222 fail:
14223 {
14224 if (temp2)
14225 delete arg2;
14226 }
14227 return NULL;
14228 }
14229
14230
14231 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14232 PyObject *obj;
14233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14234 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14235 Py_INCREF(obj);
14236 return Py_BuildValue((char *)"");
14237 }
14238 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxWindow *arg1 = (wxWindow *) 0 ;
14241 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14242 wxString *arg3 = 0 ;
14243 int arg4 = (int) 0 ;
14244 wxFindReplaceDialog *result;
14245 bool temp3 = False ;
14246 PyObject * obj0 = 0 ;
14247 PyObject * obj1 = 0 ;
14248 PyObject * obj2 = 0 ;
14249 PyObject * obj3 = 0 ;
14250 char *kwnames[] = {
14251 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14252 };
14253
14254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14259 {
14260 arg3 = wxString_in_helper(obj2);
14261 if (arg3 == NULL) SWIG_fail;
14262 temp3 = True;
14263 }
14264 if (obj3) {
14265 arg4 = (int) SWIG_AsInt(obj3);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14276 {
14277 if (temp3)
14278 delete arg3;
14279 }
14280 return resultobj;
14281 fail:
14282 {
14283 if (temp3)
14284 delete arg3;
14285 }
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxFindReplaceDialog *result;
14293 char *kwnames[] = {
14294 NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14306 return resultobj;
14307 fail:
14308 return NULL;
14309 }
14310
14311
14312 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14315 wxWindow *arg2 = (wxWindow *) 0 ;
14316 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14317 wxString *arg4 = 0 ;
14318 int arg5 = (int) 0 ;
14319 bool result;
14320 bool temp4 = False ;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 PyObject * obj2 = 0 ;
14324 PyObject * obj3 = 0 ;
14325 PyObject * obj4 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14335 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14337 {
14338 arg4 = wxString_in_helper(obj3);
14339 if (arg4 == NULL) SWIG_fail;
14340 temp4 = True;
14341 }
14342 if (obj4) {
14343 arg5 = (int) SWIG_AsInt(obj4);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14349
14350 wxPyEndAllowThreads(__tstate);
14351 if (PyErr_Occurred()) SWIG_fail;
14352 }
14353 {
14354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14355 }
14356 {
14357 if (temp4)
14358 delete arg4;
14359 }
14360 return resultobj;
14361 fail:
14362 {
14363 if (temp4)
14364 delete arg4;
14365 }
14366 return NULL;
14367 }
14368
14369
14370 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14373 wxFindReplaceData *result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = (wxFindReplaceData *)(arg1)->GetData();
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14399 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14400 PyObject * obj0 = 0 ;
14401 PyObject * obj1 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self",(char *) "data", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 (arg1)->SetData(arg2);
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 return resultobj;
14420 fail:
14421 return NULL;
14422 }
14423
14424
14425 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14426 PyObject *obj;
14427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14428 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14429 Py_INCREF(obj);
14430 return Py_BuildValue((char *)"");
14431 }
14432 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxWindow *arg1 = (wxWindow *) 0 ;
14435 int arg2 ;
14436 wxString *arg3 = 0 ;
14437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14439 wxSize const &arg5_defvalue = wxDefaultSize ;
14440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14441 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14442 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14443 wxString *arg7 = (wxString *) &arg7_defvalue ;
14444 wxMDIParentFrame *result;
14445 bool temp3 = False ;
14446 wxPoint temp4 ;
14447 wxSize temp5 ;
14448 bool temp7 = False ;
14449 PyObject * obj0 = 0 ;
14450 PyObject * obj1 = 0 ;
14451 PyObject * obj2 = 0 ;
14452 PyObject * obj3 = 0 ;
14453 PyObject * obj4 = 0 ;
14454 PyObject * obj5 = 0 ;
14455 PyObject * obj6 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14463 arg2 = (int const) SWIG_AsInt(obj1);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 {
14466 arg3 = wxString_in_helper(obj2);
14467 if (arg3 == NULL) SWIG_fail;
14468 temp3 = True;
14469 }
14470 if (obj3) {
14471 {
14472 arg4 = &temp4;
14473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14474 }
14475 }
14476 if (obj4) {
14477 {
14478 arg5 = &temp5;
14479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14480 }
14481 }
14482 if (obj5) {
14483 arg6 = (long) SWIG_AsLong(obj5);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 if (obj6) {
14487 {
14488 arg7 = wxString_in_helper(obj6);
14489 if (arg7 == NULL) SWIG_fail;
14490 temp7 = True;
14491 }
14492 }
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14501 {
14502 if (temp3)
14503 delete arg3;
14504 }
14505 {
14506 if (temp7)
14507 delete arg7;
14508 }
14509 return resultobj;
14510 fail:
14511 {
14512 if (temp3)
14513 delete arg3;
14514 }
14515 {
14516 if (temp7)
14517 delete arg7;
14518 }
14519 return NULL;
14520 }
14521
14522
14523 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxMDIParentFrame *result;
14526 char *kwnames[] = {
14527 NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14539 return resultobj;
14540 fail:
14541 return NULL;
14542 }
14543
14544
14545 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14546 PyObject *resultobj;
14547 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14548 wxWindow *arg2 = (wxWindow *) 0 ;
14549 int arg3 ;
14550 wxString *arg4 = 0 ;
14551 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14552 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14553 wxSize const &arg6_defvalue = wxDefaultSize ;
14554 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14555 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14556 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14557 wxString *arg8 = (wxString *) &arg8_defvalue ;
14558 bool result;
14559 bool temp4 = False ;
14560 wxPoint temp5 ;
14561 wxSize temp6 ;
14562 bool temp8 = False ;
14563 PyObject * obj0 = 0 ;
14564 PyObject * obj1 = 0 ;
14565 PyObject * obj2 = 0 ;
14566 PyObject * obj3 = 0 ;
14567 PyObject * obj4 = 0 ;
14568 PyObject * obj5 = 0 ;
14569 PyObject * obj6 = 0 ;
14570 PyObject * obj7 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14580 arg3 = (int const) SWIG_AsInt(obj2);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 {
14583 arg4 = wxString_in_helper(obj3);
14584 if (arg4 == NULL) SWIG_fail;
14585 temp4 = True;
14586 }
14587 if (obj4) {
14588 {
14589 arg5 = &temp5;
14590 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14591 }
14592 }
14593 if (obj5) {
14594 {
14595 arg6 = &temp6;
14596 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14597 }
14598 }
14599 if (obj6) {
14600 arg7 = (long) SWIG_AsLong(obj6);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 if (obj7) {
14604 {
14605 arg8 = wxString_in_helper(obj7);
14606 if (arg8 == NULL) SWIG_fail;
14607 temp8 = True;
14608 }
14609 }
14610 {
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14613
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 {
14618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14619 }
14620 {
14621 if (temp4)
14622 delete arg4;
14623 }
14624 {
14625 if (temp8)
14626 delete arg8;
14627 }
14628 return resultobj;
14629 fail:
14630 {
14631 if (temp4)
14632 delete arg4;
14633 }
14634 {
14635 if (temp8)
14636 delete arg8;
14637 }
14638 return NULL;
14639 }
14640
14641
14642 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14643 PyObject *resultobj;
14644 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14645 PyObject * obj0 = 0 ;
14646 char *kwnames[] = {
14647 (char *) "self", NULL
14648 };
14649
14650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14653 {
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
14655 (arg1)->ActivateNext();
14656
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 Py_INCREF(Py_None); resultobj = Py_None;
14661 return resultobj;
14662 fail:
14663 return NULL;
14664 }
14665
14666
14667 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 (arg1)->ActivatePrevious();
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 Py_INCREF(Py_None); resultobj = Py_None;
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 (arg1)->ArrangeIcons();
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 Py_INCREF(Py_None); resultobj = Py_None;
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj;
14719 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14720 PyObject * obj0 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "self", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 (arg1)->Cascade();
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 Py_INCREF(Py_None); resultobj = Py_None;
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14745 wxMDIChildFrame *result;
14746 PyObject * obj0 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 {
14762 resultobj = wxPyMake_wxObject(result);
14763 }
14764 return resultobj;
14765 fail:
14766 return NULL;
14767 }
14768
14769
14770 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj;
14772 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14773 wxMDIClientWindow *result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 {
14790 resultobj = wxPyMake_wxObject(result);
14791 }
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14801 wxWindow *result;
14802 PyObject * obj0 = 0 ;
14803 char *kwnames[] = {
14804 (char *) "self", NULL
14805 };
14806
14807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = (wxWindow *)(arg1)->GetToolBar();
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 {
14818 resultobj = wxPyMake_wxObject(result);
14819 }
14820 return resultobj;
14821 fail:
14822 return NULL;
14823 }
14824
14825
14826 static PyObject *_wrap_MDIParentFrame_Tile(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_Tile",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)->Tile();
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 * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14852 PyObject *obj;
14853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14854 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14855 Py_INCREF(obj);
14856 return Py_BuildValue((char *)"");
14857 }
14858 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14861 int arg2 ;
14862 wxString *arg3 = 0 ;
14863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14865 wxSize const &arg5_defvalue = wxDefaultSize ;
14866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14867 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14868 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14869 wxString *arg7 = (wxString *) &arg7_defvalue ;
14870 wxMDIChildFrame *result;
14871 bool temp3 = False ;
14872 wxPoint temp4 ;
14873 wxSize temp5 ;
14874 bool temp7 = False ;
14875 PyObject * obj0 = 0 ;
14876 PyObject * obj1 = 0 ;
14877 PyObject * obj2 = 0 ;
14878 PyObject * obj3 = 0 ;
14879 PyObject * obj4 = 0 ;
14880 PyObject * obj5 = 0 ;
14881 PyObject * obj6 = 0 ;
14882 char *kwnames[] = {
14883 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14889 arg2 = (int const) SWIG_AsInt(obj1);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 {
14892 arg3 = wxString_in_helper(obj2);
14893 if (arg3 == NULL) SWIG_fail;
14894 temp3 = True;
14895 }
14896 if (obj3) {
14897 {
14898 arg4 = &temp4;
14899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14900 }
14901 }
14902 if (obj4) {
14903 {
14904 arg5 = &temp5;
14905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14906 }
14907 }
14908 if (obj5) {
14909 arg6 = (long) SWIG_AsLong(obj5);
14910 if (PyErr_Occurred()) SWIG_fail;
14911 }
14912 if (obj6) {
14913 {
14914 arg7 = wxString_in_helper(obj6);
14915 if (arg7 == NULL) SWIG_fail;
14916 temp7 = True;
14917 }
14918 }
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 {
14927 resultobj = wxPyMake_wxObject(result);
14928 }
14929 {
14930 if (temp3)
14931 delete arg3;
14932 }
14933 {
14934 if (temp7)
14935 delete arg7;
14936 }
14937 return resultobj;
14938 fail:
14939 {
14940 if (temp3)
14941 delete arg3;
14942 }
14943 {
14944 if (temp7)
14945 delete arg7;
14946 }
14947 return NULL;
14948 }
14949
14950
14951 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj;
14953 wxMDIChildFrame *result;
14954 char *kwnames[] = {
14955 NULL
14956 };
14957
14958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 {
14967 resultobj = wxPyMake_wxObject(result);
14968 }
14969 return resultobj;
14970 fail:
14971 return NULL;
14972 }
14973
14974
14975 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14976 PyObject *resultobj;
14977 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14978 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14979 int arg3 ;
14980 wxString *arg4 = 0 ;
14981 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14982 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14983 wxSize const &arg6_defvalue = wxDefaultSize ;
14984 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14985 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14986 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14987 wxString *arg8 = (wxString *) &arg8_defvalue ;
14988 bool result;
14989 bool temp4 = False ;
14990 wxPoint temp5 ;
14991 wxSize temp6 ;
14992 bool temp8 = False ;
14993 PyObject * obj0 = 0 ;
14994 PyObject * obj1 = 0 ;
14995 PyObject * obj2 = 0 ;
14996 PyObject * obj3 = 0 ;
14997 PyObject * obj4 = 0 ;
14998 PyObject * obj5 = 0 ;
14999 PyObject * obj6 = 0 ;
15000 PyObject * obj7 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15010 arg3 = (int const) SWIG_AsInt(obj2);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 {
15013 arg4 = wxString_in_helper(obj3);
15014 if (arg4 == NULL) SWIG_fail;
15015 temp4 = True;
15016 }
15017 if (obj4) {
15018 {
15019 arg5 = &temp5;
15020 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15021 }
15022 }
15023 if (obj5) {
15024 {
15025 arg6 = &temp6;
15026 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15027 }
15028 }
15029 if (obj6) {
15030 arg7 = (long) SWIG_AsLong(obj6);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 if (obj7) {
15034 {
15035 arg8 = wxString_in_helper(obj7);
15036 if (arg8 == NULL) SWIG_fail;
15037 temp8 = True;
15038 }
15039 }
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 {
15048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15049 }
15050 {
15051 if (temp4)
15052 delete arg4;
15053 }
15054 {
15055 if (temp8)
15056 delete arg8;
15057 }
15058 return resultobj;
15059 fail:
15060 {
15061 if (temp4)
15062 delete arg4;
15063 }
15064 {
15065 if (temp8)
15066 delete arg8;
15067 }
15068 return NULL;
15069 }
15070
15071
15072 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->Activate();
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 Py_INCREF(Py_None); resultobj = Py_None;
15091 return resultobj;
15092 fail:
15093 return NULL;
15094 }
15095
15096
15097 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15100 bool arg2 ;
15101 PyObject * obj0 = 0 ;
15102 PyObject * obj1 = 0 ;
15103 char *kwnames[] = {
15104 (char *) "self",(char *) "maximize", NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15110 arg2 = (bool) SWIG_AsBool(obj1);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 (arg1)->Maximize(arg2);
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 Py_INCREF(Py_None); resultobj = Py_None;
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15129 PyObject * obj0 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "self", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 (arg1)->Restore();
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 Py_INCREF(Py_None); resultobj = Py_None;
15145 return resultobj;
15146 fail:
15147 return NULL;
15148 }
15149
15150
15151 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15152 PyObject *obj;
15153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15154 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15155 Py_INCREF(obj);
15156 return Py_BuildValue((char *)"");
15157 }
15158 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15161 long arg2 = (long) 0 ;
15162 wxMDIClientWindow *result;
15163 PyObject * obj0 = 0 ;
15164 PyObject * obj1 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "parent",(char *) "style", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15172 if (obj1) {
15173 arg2 = (long) SWIG_AsLong(obj1);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 {
15184 resultobj = wxPyMake_wxObject(result);
15185 }
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj;
15194 wxMDIClientWindow *result;
15195 char *kwnames[] = {
15196 NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 {
15208 resultobj = wxPyMake_wxObject(result);
15209 }
15210 return resultobj;
15211 fail:
15212 return NULL;
15213 }
15214
15215
15216 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj;
15218 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15219 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15220 long arg3 = (long) 0 ;
15221 bool result;
15222 PyObject * obj0 = 0 ;
15223 PyObject * obj1 = 0 ;
15224 PyObject * obj2 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self",(char *) "parent",(char *) "style", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15234 if (obj2) {
15235 arg3 = (long) SWIG_AsLong(obj2);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 result = (bool)(arg1)->Create(arg2,arg3);
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 {
15246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15247 }
15248 return resultobj;
15249 fail:
15250 return NULL;
15251 }
15252
15253
15254 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15255 PyObject *obj;
15256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15257 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15258 Py_INCREF(obj);
15259 return Py_BuildValue((char *)"");
15260 }
15261 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15262 PyObject *resultobj;
15263 wxWindow *arg1 = (wxWindow *) 0 ;
15264 int arg2 ;
15265 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15266 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15267 wxSize const &arg4_defvalue = wxDefaultSize ;
15268 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15269 long arg5 = (long) 0 ;
15270 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15271 wxString *arg6 = (wxString *) &arg6_defvalue ;
15272 wxPyWindow *result;
15273 wxPoint temp3 ;
15274 wxSize temp4 ;
15275 bool temp6 = False ;
15276 PyObject * obj0 = 0 ;
15277 PyObject * obj1 = 0 ;
15278 PyObject * obj2 = 0 ;
15279 PyObject * obj3 = 0 ;
15280 PyObject * obj4 = 0 ;
15281 PyObject * obj5 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15289 arg2 = (int const) SWIG_AsInt(obj1);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 if (obj2) {
15292 {
15293 arg3 = &temp3;
15294 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15295 }
15296 }
15297 if (obj3) {
15298 {
15299 arg4 = &temp4;
15300 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15301 }
15302 }
15303 if (obj4) {
15304 arg5 = (long) SWIG_AsLong(obj4);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 if (obj5) {
15308 {
15309 arg6 = wxString_in_helper(obj5);
15310 if (arg6 == NULL) SWIG_fail;
15311 temp6 = True;
15312 }
15313 }
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15322 {
15323 if (temp6)
15324 delete arg6;
15325 }
15326 return resultobj;
15327 fail:
15328 {
15329 if (temp6)
15330 delete arg6;
15331 }
15332 return NULL;
15333 }
15334
15335
15336 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxPyWindow *result;
15339 char *kwnames[] = {
15340 NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (wxPyWindow *)new wxPyWindow();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15352 return resultobj;
15353 fail:
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15361 PyObject *arg2 = (PyObject *) 0 ;
15362 PyObject *arg3 = (PyObject *) 0 ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 PyObject * obj2 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self",(char *) "self",(char *) "_class", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15373 arg2 = obj1;
15374 arg3 = obj2;
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 (arg1)->_setCallbackInfo(arg2,arg3);
15378
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 Py_INCREF(Py_None); resultobj = Py_None;
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15392 int arg2 ;
15393 int arg3 ;
15394 int arg4 ;
15395 int arg5 ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 PyObject * obj2 = 0 ;
15399 PyObject * obj3 = 0 ;
15400 PyObject * obj4 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15408 arg2 = (int) SWIG_AsInt(obj1);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 arg3 = (int) SWIG_AsInt(obj2);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 arg4 = (int) SWIG_AsInt(obj3);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 arg5 = (int) SWIG_AsInt(obj4);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15433 int arg2 ;
15434 int arg3 ;
15435 int arg4 ;
15436 int arg5 ;
15437 int arg6 = (int) wxSIZE_AUTO ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 PyObject * obj2 = 0 ;
15441 PyObject * obj3 = 0 ;
15442 PyObject * obj4 = 0 ;
15443 PyObject * obj5 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15451 arg2 = (int) SWIG_AsInt(obj1);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 arg3 = (int) SWIG_AsInt(obj2);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 arg4 = (int) SWIG_AsInt(obj3);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 arg5 = (int) SWIG_AsInt(obj4);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 if (obj5) {
15460 arg6 = (int) SWIG_AsInt(obj5);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474 }
15475
15476
15477 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15478 PyObject *resultobj;
15479 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15480 int arg2 ;
15481 int arg3 ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 PyObject * obj2 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "width",(char *) "height", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15492 arg2 = (int) SWIG_AsInt(obj1);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 arg3 = (int) SWIG_AsInt(obj2);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->base_DoSetClientSize(arg2,arg3);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507 }
15508
15509
15510 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15513 int arg2 ;
15514 int arg3 ;
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 PyObject * obj2 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self",(char *) "x",(char *) "y", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15525 arg2 = (int) SWIG_AsInt(obj1);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 arg3 = (int) SWIG_AsInt(obj2);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 Py_INCREF(Py_None); resultobj = Py_None;
15537 return resultobj;
15538 fail:
15539 return NULL;
15540 }
15541
15542
15543 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15546 int *arg2 = (int *) 0 ;
15547 int *arg3 = (int *) 0 ;
15548 int temp2 ;
15549 int temp3 ;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self", NULL
15553 };
15554
15555 arg2 = &temp2;
15556 arg3 = &temp3;
15557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 {
15569 PyObject *o = PyInt_FromLong((long) (*arg2));
15570 resultobj = t_output_helper(resultobj,o);
15571 }
15572 {
15573 PyObject *o = PyInt_FromLong((long) (*arg3));
15574 resultobj = t_output_helper(resultobj,o);
15575 }
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15585 int *arg2 = (int *) 0 ;
15586 int *arg3 = (int *) 0 ;
15587 int temp2 ;
15588 int temp3 ;
15589 PyObject * obj0 = 0 ;
15590 char *kwnames[] = {
15591 (char *) "self", NULL
15592 };
15593
15594 arg2 = &temp2;
15595 arg3 = &temp3;
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15599 {
15600 PyThreadState* __tstate = wxPyBeginAllowThreads();
15601 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15602
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 Py_INCREF(Py_None); resultobj = Py_None;
15607 {
15608 PyObject *o = PyInt_FromLong((long) (*arg2));
15609 resultobj = t_output_helper(resultobj,o);
15610 }
15611 {
15612 PyObject *o = PyInt_FromLong((long) (*arg3));
15613 resultobj = t_output_helper(resultobj,o);
15614 }
15615 return resultobj;
15616 fail:
15617 return NULL;
15618 }
15619
15620
15621 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj;
15623 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15624 int *arg2 = (int *) 0 ;
15625 int *arg3 = (int *) 0 ;
15626 int temp2 ;
15627 int temp3 ;
15628 PyObject * obj0 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self", NULL
15631 };
15632
15633 arg2 = &temp2;
15634 arg3 = &temp3;
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 Py_INCREF(Py_None); resultobj = Py_None;
15646 {
15647 PyObject *o = PyInt_FromLong((long) (*arg2));
15648 resultobj = t_output_helper(resultobj,o);
15649 }
15650 {
15651 PyObject *o = PyInt_FromLong((long) (*arg3));
15652 resultobj = t_output_helper(resultobj,o);
15653 }
15654 return resultobj;
15655 fail:
15656 return NULL;
15657 }
15658
15659
15660 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj;
15662 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15663 wxSize result;
15664 PyObject * obj0 = 0 ;
15665 char *kwnames[] = {
15666 (char *) "self", NULL
15667 };
15668
15669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 {
15680 wxSize * resultptr;
15681 resultptr = new wxSize((wxSize &) result);
15682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15683 }
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15693 wxSize result;
15694 PyObject * obj0 = 0 ;
15695 char *kwnames[] = {
15696 (char *) "self", NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 {
15710 wxSize * resultptr;
15711 resultptr = new wxSize((wxSize &) result);
15712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15713 }
15714 return resultobj;
15715 fail:
15716 return NULL;
15717 }
15718
15719
15720 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15721 PyObject *resultobj;
15722 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15723 PyObject * obj0 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15731 {
15732 PyThreadState* __tstate = wxPyBeginAllowThreads();
15733 (arg1)->base_InitDialog();
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 Py_INCREF(Py_None); resultobj = Py_None;
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15748 bool result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (bool)(arg1)->base_TransferDataToWindow();
15760
15761 wxPyEndAllowThreads(__tstate);
15762 if (PyErr_Occurred()) SWIG_fail;
15763 }
15764 {
15765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15766 }
15767 return resultobj;
15768 fail:
15769 return NULL;
15770 }
15771
15772
15773 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15774 PyObject *resultobj;
15775 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15776 bool result;
15777 PyObject * obj0 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = (bool)(arg1)->base_TransferDataFromWindow();
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 {
15793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15794 }
15795 return resultobj;
15796 fail:
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15804 bool result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (bool)(arg1)->base_Validate();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15822 }
15823 return resultobj;
15824 fail:
15825 return NULL;
15826 }
15827
15828
15829 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15830 PyObject *resultobj;
15831 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15832 bool result;
15833 PyObject * obj0 = 0 ;
15834 char *kwnames[] = {
15835 (char *) "self", NULL
15836 };
15837
15838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15844
15845 wxPyEndAllowThreads(__tstate);
15846 if (PyErr_Occurred()) SWIG_fail;
15847 }
15848 {
15849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15850 }
15851 return resultobj;
15852 fail:
15853 return NULL;
15854 }
15855
15856
15857 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15858 PyObject *resultobj;
15859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15860 bool result;
15861 PyObject * obj0 = 0 ;
15862 char *kwnames[] = {
15863 (char *) "self", NULL
15864 };
15865
15866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15872
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 {
15877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15878 }
15879 return resultobj;
15880 fail:
15881 return NULL;
15882 }
15883
15884
15885 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15888 wxSize result;
15889 PyObject * obj0 = 0 ;
15890 char *kwnames[] = {
15891 (char *) "self", NULL
15892 };
15893
15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15900
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 {
15905 wxSize * resultptr;
15906 resultptr = new wxSize((wxSize &) result);
15907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15908 }
15909 return resultobj;
15910 fail:
15911 return NULL;
15912 }
15913
15914
15915 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15918 wxWindow *arg2 = (wxWindow *) 0 ;
15919 PyObject * obj0 = 0 ;
15920 PyObject * obj1 = 0 ;
15921 char *kwnames[] = {
15922 (char *) "self",(char *) "child", NULL
15923 };
15924
15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15930 {
15931 PyThreadState* __tstate = wxPyBeginAllowThreads();
15932 (arg1)->base_AddChild(arg2);
15933
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 Py_INCREF(Py_None); resultobj = Py_None;
15938 return resultobj;
15939 fail:
15940 return NULL;
15941 }
15942
15943
15944 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15945 PyObject *resultobj;
15946 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15947 wxWindow *arg2 = (wxWindow *) 0 ;
15948 PyObject * obj0 = 0 ;
15949 PyObject * obj1 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self",(char *) "child", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 {
15960 PyThreadState* __tstate = wxPyBeginAllowThreads();
15961 (arg1)->base_RemoveChild(arg2);
15962
15963 wxPyEndAllowThreads(__tstate);
15964 if (PyErr_Occurred()) SWIG_fail;
15965 }
15966 Py_INCREF(Py_None); resultobj = Py_None;
15967 return resultobj;
15968 fail:
15969 return NULL;
15970 }
15971
15972
15973 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
15974 PyObject *resultobj;
15975 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15976 bool result;
15977 PyObject * obj0 = 0 ;
15978 char *kwnames[] = {
15979 (char *) "self", NULL
15980 };
15981
15982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
15983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 result = (bool)(arg1)->base_ShouldInheritColours();
15988
15989 wxPyEndAllowThreads(__tstate);
15990 if (PyErr_Occurred()) SWIG_fail;
15991 }
15992 {
15993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15994 }
15995 return resultobj;
15996 fail:
15997 return NULL;
15998 }
15999
16000
16001 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj;
16003 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16004 wxColour *arg2 = 0 ;
16005 wxColour temp2 ;
16006 PyObject * obj0 = 0 ;
16007 PyObject * obj1 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "self",(char *) "c", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16015 {
16016 arg2 = &temp2;
16017 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16018 }
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 Py_INCREF(Py_None); resultobj = Py_None;
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16034 PyObject *obj;
16035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16036 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16037 Py_INCREF(obj);
16038 return Py_BuildValue((char *)"");
16039 }
16040 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16041 PyObject *resultobj;
16042 wxWindow *arg1 = (wxWindow *) 0 ;
16043 int arg2 ;
16044 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16045 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16046 wxSize const &arg4_defvalue = wxDefaultSize ;
16047 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16048 long arg5 = (long) 0 ;
16049 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16050 wxString *arg6 = (wxString *) &arg6_defvalue ;
16051 wxPyPanel *result;
16052 wxPoint temp3 ;
16053 wxSize temp4 ;
16054 bool temp6 = False ;
16055 PyObject * obj0 = 0 ;
16056 PyObject * obj1 = 0 ;
16057 PyObject * obj2 = 0 ;
16058 PyObject * obj3 = 0 ;
16059 PyObject * obj4 = 0 ;
16060 PyObject * obj5 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16068 arg2 = (int const) SWIG_AsInt(obj1);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 if (obj2) {
16071 {
16072 arg3 = &temp3;
16073 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16074 }
16075 }
16076 if (obj3) {
16077 {
16078 arg4 = &temp4;
16079 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16080 }
16081 }
16082 if (obj4) {
16083 arg5 = (long) SWIG_AsLong(obj4);
16084 if (PyErr_Occurred()) SWIG_fail;
16085 }
16086 if (obj5) {
16087 {
16088 arg6 = wxString_in_helper(obj5);
16089 if (arg6 == NULL) SWIG_fail;
16090 temp6 = True;
16091 }
16092 }
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16101 {
16102 if (temp6)
16103 delete arg6;
16104 }
16105 return resultobj;
16106 fail:
16107 {
16108 if (temp6)
16109 delete arg6;
16110 }
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxPyPanel *result;
16118 char *kwnames[] = {
16119 NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (wxPyPanel *)new wxPyPanel();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16140 PyObject *arg2 = (PyObject *) 0 ;
16141 PyObject *arg3 = (PyObject *) 0 ;
16142 PyObject * obj0 = 0 ;
16143 PyObject * obj1 = 0 ;
16144 PyObject * obj2 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "self",(char *) "_class", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16152 arg2 = obj1;
16153 arg3 = obj2;
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 (arg1)->_setCallbackInfo(arg2,arg3);
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 Py_INCREF(Py_None); resultobj = Py_None;
16162 return resultobj;
16163 fail:
16164 return NULL;
16165 }
16166
16167
16168 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16171 int arg2 ;
16172 int arg3 ;
16173 int arg4 ;
16174 int arg5 ;
16175 PyObject * obj0 = 0 ;
16176 PyObject * obj1 = 0 ;
16177 PyObject * obj2 = 0 ;
16178 PyObject * obj3 = 0 ;
16179 PyObject * obj4 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16187 arg2 = (int) SWIG_AsInt(obj1);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 arg3 = (int) SWIG_AsInt(obj2);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 arg4 = (int) SWIG_AsInt(obj3);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 arg5 = (int) SWIG_AsInt(obj4);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 Py_INCREF(Py_None); resultobj = Py_None;
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16212 int arg2 ;
16213 int arg3 ;
16214 int arg4 ;
16215 int arg5 ;
16216 int arg6 = (int) wxSIZE_AUTO ;
16217 PyObject * obj0 = 0 ;
16218 PyObject * obj1 = 0 ;
16219 PyObject * obj2 = 0 ;
16220 PyObject * obj3 = 0 ;
16221 PyObject * obj4 = 0 ;
16222 PyObject * obj5 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16230 arg2 = (int) SWIG_AsInt(obj1);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 arg3 = (int) SWIG_AsInt(obj2);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 arg4 = (int) SWIG_AsInt(obj3);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 arg5 = (int) SWIG_AsInt(obj4);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 if (obj5) {
16239 arg6 = (int) SWIG_AsInt(obj5);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 {
16243 PyThreadState* __tstate = wxPyBeginAllowThreads();
16244 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16245
16246 wxPyEndAllowThreads(__tstate);
16247 if (PyErr_Occurred()) SWIG_fail;
16248 }
16249 Py_INCREF(Py_None); resultobj = Py_None;
16250 return resultobj;
16251 fail:
16252 return NULL;
16253 }
16254
16255
16256 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16257 PyObject *resultobj;
16258 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16259 int arg2 ;
16260 int arg3 ;
16261 PyObject * obj0 = 0 ;
16262 PyObject * obj1 = 0 ;
16263 PyObject * obj2 = 0 ;
16264 char *kwnames[] = {
16265 (char *) "self",(char *) "width",(char *) "height", NULL
16266 };
16267
16268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16271 arg2 = (int) SWIG_AsInt(obj1);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 arg3 = (int) SWIG_AsInt(obj2);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 (arg1)->base_DoSetClientSize(arg2,arg3);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 Py_INCREF(Py_None); resultobj = Py_None;
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16292 int arg2 ;
16293 int arg3 ;
16294 PyObject * obj0 = 0 ;
16295 PyObject * obj1 = 0 ;
16296 PyObject * obj2 = 0 ;
16297 char *kwnames[] = {
16298 (char *) "self",(char *) "x",(char *) "y", NULL
16299 };
16300
16301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16304 arg2 = (int) SWIG_AsInt(obj1);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 arg3 = (int) SWIG_AsInt(obj2);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 {
16309 PyThreadState* __tstate = wxPyBeginAllowThreads();
16310 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16311
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
16315 Py_INCREF(Py_None); resultobj = Py_None;
16316 return resultobj;
16317 fail:
16318 return NULL;
16319 }
16320
16321
16322 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj;
16324 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16325 int *arg2 = (int *) 0 ;
16326 int *arg3 = (int *) 0 ;
16327 int temp2 ;
16328 int temp3 ;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 arg2 = &temp2;
16335 arg3 = &temp3;
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16342
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 Py_INCREF(Py_None); resultobj = Py_None;
16347 {
16348 PyObject *o = PyInt_FromLong((long) (*arg2));
16349 resultobj = t_output_helper(resultobj,o);
16350 }
16351 {
16352 PyObject *o = PyInt_FromLong((long) (*arg3));
16353 resultobj = t_output_helper(resultobj,o);
16354 }
16355 return resultobj;
16356 fail:
16357 return NULL;
16358 }
16359
16360
16361 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16364 int *arg2 = (int *) 0 ;
16365 int *arg3 = (int *) 0 ;
16366 int temp2 ;
16367 int temp3 ;
16368 PyObject * obj0 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self", NULL
16371 };
16372
16373 arg2 = &temp2;
16374 arg3 = &temp3;
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 Py_INCREF(Py_None); resultobj = Py_None;
16386 {
16387 PyObject *o = PyInt_FromLong((long) (*arg2));
16388 resultobj = t_output_helper(resultobj,o);
16389 }
16390 {
16391 PyObject *o = PyInt_FromLong((long) (*arg3));
16392 resultobj = t_output_helper(resultobj,o);
16393 }
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16403 int *arg2 = (int *) 0 ;
16404 int *arg3 = (int *) 0 ;
16405 int temp2 ;
16406 int temp3 ;
16407 PyObject * obj0 = 0 ;
16408 char *kwnames[] = {
16409 (char *) "self", NULL
16410 };
16411
16412 arg2 = &temp2;
16413 arg3 = &temp3;
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16420
16421 wxPyEndAllowThreads(__tstate);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 }
16424 Py_INCREF(Py_None); resultobj = Py_None;
16425 {
16426 PyObject *o = PyInt_FromLong((long) (*arg2));
16427 resultobj = t_output_helper(resultobj,o);
16428 }
16429 {
16430 PyObject *o = PyInt_FromLong((long) (*arg3));
16431 resultobj = t_output_helper(resultobj,o);
16432 }
16433 return resultobj;
16434 fail:
16435 return NULL;
16436 }
16437
16438
16439 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16440 PyObject *resultobj;
16441 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16442 wxSize result;
16443 PyObject * obj0 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 {
16459 wxSize * resultptr;
16460 resultptr = new wxSize((wxSize &) result);
16461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16462 }
16463 return resultobj;
16464 fail:
16465 return NULL;
16466 }
16467
16468
16469 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16470 PyObject *resultobj;
16471 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16472 wxSize result;
16473 PyObject * obj0 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16481 {
16482 PyThreadState* __tstate = wxPyBeginAllowThreads();
16483 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16484
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 wxSize * resultptr;
16490 resultptr = new wxSize((wxSize &) result);
16491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16510 {
16511 PyThreadState* __tstate = wxPyBeginAllowThreads();
16512 (arg1)->base_InitDialog();
16513
16514 wxPyEndAllowThreads(__tstate);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 Py_INCREF(Py_None); resultobj = Py_None;
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16527 bool result;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 result = (bool)(arg1)->base_TransferDataToWindow();
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 {
16544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16545 }
16546 return resultobj;
16547 fail:
16548 return NULL;
16549 }
16550
16551
16552 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16555 bool result;
16556 PyObject * obj0 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (bool)(arg1)->base_TransferDataFromWindow();
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 {
16572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16573 }
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16583 bool result;
16584 PyObject * obj0 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 result = (bool)(arg1)->base_Validate();
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 {
16600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16601 }
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj;
16610 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16611 bool result;
16612 PyObject * obj0 = 0 ;
16613 char *kwnames[] = {
16614 (char *) "self", NULL
16615 };
16616
16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16623
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 {
16628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16629 }
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16639 bool result;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 {
16656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16657 }
16658 return resultobj;
16659 fail:
16660 return NULL;
16661 }
16662
16663
16664 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj;
16666 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16667 wxSize result;
16668 PyObject * obj0 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 {
16684 wxSize * resultptr;
16685 resultptr = new wxSize((wxSize &) result);
16686 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16687 }
16688 return resultobj;
16689 fail:
16690 return NULL;
16691 }
16692
16693
16694 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16697 wxWindow *arg2 = (wxWindow *) 0 ;
16698 PyObject * obj0 = 0 ;
16699 PyObject * obj1 = 0 ;
16700 char *kwnames[] = {
16701 (char *) "self",(char *) "child", NULL
16702 };
16703
16704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 (arg1)->base_AddChild(arg2);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 Py_INCREF(Py_None); resultobj = Py_None;
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16726 wxWindow *arg2 = (wxWindow *) 0 ;
16727 PyObject * obj0 = 0 ;
16728 PyObject * obj1 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self",(char *) "child", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16738 {
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 (arg1)->base_RemoveChild(arg2);
16741
16742 wxPyEndAllowThreads(__tstate);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 Py_INCREF(Py_None); resultobj = Py_None;
16746 return resultobj;
16747 fail:
16748 return NULL;
16749 }
16750
16751
16752 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16753 PyObject *resultobj;
16754 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16755 bool result;
16756 PyObject * obj0 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 result = (bool)(arg1)->base_ShouldInheritColours();
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 {
16772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16773 }
16774 return resultobj;
16775 fail:
16776 return NULL;
16777 }
16778
16779
16780 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16783 wxColour *arg2 = 0 ;
16784 wxColour temp2 ;
16785 PyObject * obj0 = 0 ;
16786 PyObject * obj1 = 0 ;
16787 char *kwnames[] = {
16788 (char *) "self",(char *) "c", NULL
16789 };
16790
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16794 {
16795 arg2 = &temp2;
16796 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16797 }
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 Py_INCREF(Py_None); resultobj = Py_None;
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16813 PyObject *obj;
16814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16815 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16816 Py_INCREF(obj);
16817 return Py_BuildValue((char *)"");
16818 }
16819 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxWindow *arg1 = (wxWindow *) 0 ;
16822 int arg2 ;
16823 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16824 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16825 wxSize const &arg4_defvalue = wxDefaultSize ;
16826 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16827 long arg5 = (long) 0 ;
16828 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16829 wxString *arg6 = (wxString *) &arg6_defvalue ;
16830 wxPyScrolledWindow *result;
16831 wxPoint temp3 ;
16832 wxSize temp4 ;
16833 bool temp6 = False ;
16834 PyObject * obj0 = 0 ;
16835 PyObject * obj1 = 0 ;
16836 PyObject * obj2 = 0 ;
16837 PyObject * obj3 = 0 ;
16838 PyObject * obj4 = 0 ;
16839 PyObject * obj5 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16847 arg2 = (int const) SWIG_AsInt(obj1);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 if (obj2) {
16850 {
16851 arg3 = &temp3;
16852 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16853 }
16854 }
16855 if (obj3) {
16856 {
16857 arg4 = &temp4;
16858 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16859 }
16860 }
16861 if (obj4) {
16862 arg5 = (long) SWIG_AsLong(obj4);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 if (obj5) {
16866 {
16867 arg6 = wxString_in_helper(obj5);
16868 if (arg6 == NULL) SWIG_fail;
16869 temp6 = True;
16870 }
16871 }
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16880 {
16881 if (temp6)
16882 delete arg6;
16883 }
16884 return resultobj;
16885 fail:
16886 {
16887 if (temp6)
16888 delete arg6;
16889 }
16890 return NULL;
16891 }
16892
16893
16894 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxPyScrolledWindow *result;
16897 char *kwnames[] = {
16898 NULL
16899 };
16900
16901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
16910 return resultobj;
16911 fail:
16912 return NULL;
16913 }
16914
16915
16916 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16919 PyObject *arg2 = (PyObject *) 0 ;
16920 PyObject *arg3 = (PyObject *) 0 ;
16921 PyObject * obj0 = 0 ;
16922 PyObject * obj1 = 0 ;
16923 PyObject * obj2 = 0 ;
16924 char *kwnames[] = {
16925 (char *) "self",(char *) "self",(char *) "_class", NULL
16926 };
16927
16928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16931 arg2 = obj1;
16932 arg3 = obj2;
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 (arg1)->_setCallbackInfo(arg2,arg3);
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 Py_INCREF(Py_None); resultobj = Py_None;
16941 return resultobj;
16942 fail:
16943 return NULL;
16944 }
16945
16946
16947 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj;
16949 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16950 int arg2 ;
16951 int arg3 ;
16952 int arg4 ;
16953 int arg5 ;
16954 PyObject * obj0 = 0 ;
16955 PyObject * obj1 = 0 ;
16956 PyObject * obj2 = 0 ;
16957 PyObject * obj3 = 0 ;
16958 PyObject * obj4 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
16965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16966 arg2 = (int) SWIG_AsInt(obj1);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 arg3 = (int) SWIG_AsInt(obj2);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 arg4 = (int) SWIG_AsInt(obj3);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 arg5 = (int) SWIG_AsInt(obj4);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 Py_INCREF(Py_None); resultobj = Py_None;
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj;
16990 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
16991 int arg2 ;
16992 int arg3 ;
16993 int arg4 ;
16994 int arg5 ;
16995 int arg6 = (int) wxSIZE_AUTO ;
16996 PyObject * obj0 = 0 ;
16997 PyObject * obj1 = 0 ;
16998 PyObject * obj2 = 0 ;
16999 PyObject * obj3 = 0 ;
17000 PyObject * obj4 = 0 ;
17001 PyObject * obj5 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17009 arg2 = (int) SWIG_AsInt(obj1);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 arg3 = (int) SWIG_AsInt(obj2);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 arg4 = (int) SWIG_AsInt(obj3);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 arg5 = (int) SWIG_AsInt(obj4);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 if (obj5) {
17018 arg6 = (int) SWIG_AsInt(obj5);
17019 if (PyErr_Occurred()) SWIG_fail;
17020 }
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 Py_INCREF(Py_None); resultobj = Py_None;
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17038 int arg2 ;
17039 int arg3 ;
17040 PyObject * obj0 = 0 ;
17041 PyObject * obj1 = 0 ;
17042 PyObject * obj2 = 0 ;
17043 char *kwnames[] = {
17044 (char *) "self",(char *) "width",(char *) "height", NULL
17045 };
17046
17047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17050 arg2 = (int) SWIG_AsInt(obj1);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 arg3 = (int) SWIG_AsInt(obj2);
17053 if (PyErr_Occurred()) SWIG_fail;
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 (arg1)->base_DoSetClientSize(arg2,arg3);
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 Py_INCREF(Py_None); resultobj = Py_None;
17062 return resultobj;
17063 fail:
17064 return NULL;
17065 }
17066
17067
17068 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj;
17070 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17071 int arg2 ;
17072 int arg3 ;
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 PyObject * obj2 = 0 ;
17076 char *kwnames[] = {
17077 (char *) "self",(char *) "x",(char *) "y", NULL
17078 };
17079
17080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17083 arg2 = (int) SWIG_AsInt(obj1);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 arg3 = (int) SWIG_AsInt(obj2);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 Py_INCREF(Py_None); resultobj = Py_None;
17095 return resultobj;
17096 fail:
17097 return NULL;
17098 }
17099
17100
17101 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj;
17103 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17104 int *arg2 = (int *) 0 ;
17105 int *arg3 = (int *) 0 ;
17106 int temp2 ;
17107 int temp3 ;
17108 PyObject * obj0 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "self", NULL
17111 };
17112
17113 arg2 = &temp2;
17114 arg3 = &temp3;
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17121
17122 wxPyEndAllowThreads(__tstate);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 Py_INCREF(Py_None); resultobj = Py_None;
17126 {
17127 PyObject *o = PyInt_FromLong((long) (*arg2));
17128 resultobj = t_output_helper(resultobj,o);
17129 }
17130 {
17131 PyObject *o = PyInt_FromLong((long) (*arg3));
17132 resultobj = t_output_helper(resultobj,o);
17133 }
17134 return resultobj;
17135 fail:
17136 return NULL;
17137 }
17138
17139
17140 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17141 PyObject *resultobj;
17142 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17143 int *arg2 = (int *) 0 ;
17144 int *arg3 = (int *) 0 ;
17145 int temp2 ;
17146 int temp3 ;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self", NULL
17150 };
17151
17152 arg2 = &temp2;
17153 arg3 = &temp3;
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 Py_INCREF(Py_None); resultobj = Py_None;
17165 {
17166 PyObject *o = PyInt_FromLong((long) (*arg2));
17167 resultobj = t_output_helper(resultobj,o);
17168 }
17169 {
17170 PyObject *o = PyInt_FromLong((long) (*arg3));
17171 resultobj = t_output_helper(resultobj,o);
17172 }
17173 return resultobj;
17174 fail:
17175 return NULL;
17176 }
17177
17178
17179 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj;
17181 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17182 int *arg2 = (int *) 0 ;
17183 int *arg3 = (int *) 0 ;
17184 int temp2 ;
17185 int temp3 ;
17186 PyObject * obj0 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self", NULL
17189 };
17190
17191 arg2 = &temp2;
17192 arg3 = &temp3;
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 {
17205 PyObject *o = PyInt_FromLong((long) (*arg2));
17206 resultobj = t_output_helper(resultobj,o);
17207 }
17208 {
17209 PyObject *o = PyInt_FromLong((long) (*arg3));
17210 resultobj = t_output_helper(resultobj,o);
17211 }
17212 return resultobj;
17213 fail:
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17221 wxSize result;
17222 PyObject * obj0 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17230 {
17231 PyThreadState* __tstate = wxPyBeginAllowThreads();
17232 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17233
17234 wxPyEndAllowThreads(__tstate);
17235 if (PyErr_Occurred()) SWIG_fail;
17236 }
17237 {
17238 wxSize * resultptr;
17239 resultptr = new wxSize((wxSize &) result);
17240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17241 }
17242 return resultobj;
17243 fail:
17244 return NULL;
17245 }
17246
17247
17248 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17249 PyObject *resultobj;
17250 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17251 wxSize result;
17252 PyObject * obj0 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "self", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17263
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268 wxSize * resultptr;
17269 resultptr = new wxSize((wxSize &) result);
17270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17271 }
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17281 PyObject * obj0 = 0 ;
17282 char *kwnames[] = {
17283 (char *) "self", NULL
17284 };
17285
17286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 (arg1)->base_InitDialog();
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 Py_INCREF(Py_None); resultobj = Py_None;
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17306 bool result;
17307 PyObject * obj0 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 result = (bool)(arg1)->base_TransferDataToWindow();
17318
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 {
17323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17324 }
17325 return resultobj;
17326 fail:
17327 return NULL;
17328 }
17329
17330
17331 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17332 PyObject *resultobj;
17333 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17334 bool result;
17335 PyObject * obj0 = 0 ;
17336 char *kwnames[] = {
17337 (char *) "self", NULL
17338 };
17339
17340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 result = (bool)(arg1)->base_TransferDataFromWindow();
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 {
17351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17352 }
17353 return resultobj;
17354 fail:
17355 return NULL;
17356 }
17357
17358
17359 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17360 PyObject *resultobj;
17361 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17362 bool result;
17363 PyObject * obj0 = 0 ;
17364 char *kwnames[] = {
17365 (char *) "self", NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 result = (bool)(arg1)->base_Validate();
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 {
17379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17380 }
17381 return resultobj;
17382 fail:
17383 return NULL;
17384 }
17385
17386
17387 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17390 bool result;
17391 PyObject * obj0 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17402
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 {
17407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17408 }
17409 return resultobj;
17410 fail:
17411 return NULL;
17412 }
17413
17414
17415 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17416 PyObject *resultobj;
17417 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17418 bool result;
17419 PyObject * obj0 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17430
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17436 }
17437 return resultobj;
17438 fail:
17439 return NULL;
17440 }
17441
17442
17443 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17444 PyObject *resultobj;
17445 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17446 wxSize result;
17447 PyObject * obj0 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17458
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 {
17463 wxSize * resultptr;
17464 resultptr = new wxSize((wxSize &) result);
17465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17466 }
17467 return resultobj;
17468 fail:
17469 return NULL;
17470 }
17471
17472
17473 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17476 wxWindow *arg2 = (wxWindow *) 0 ;
17477 PyObject * obj0 = 0 ;
17478 PyObject * obj1 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self",(char *) "child", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 (arg1)->base_AddChild(arg2);
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 Py_INCREF(Py_None); resultobj = Py_None;
17496 return resultobj;
17497 fail:
17498 return NULL;
17499 }
17500
17501
17502 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17505 wxWindow *arg2 = (wxWindow *) 0 ;
17506 PyObject * obj0 = 0 ;
17507 PyObject * obj1 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self",(char *) "child", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 (arg1)->base_RemoveChild(arg2);
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 Py_INCREF(Py_None); resultobj = Py_None;
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17532 PyObject *resultobj;
17533 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17534 bool result;
17535 PyObject * obj0 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "self", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (bool)(arg1)->base_ShouldInheritColours();
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 {
17551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17552 }
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17562 wxColour *arg2 = 0 ;
17563 wxColour temp2 ;
17564 PyObject * obj0 = 0 ;
17565 PyObject * obj1 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "self",(char *) "c", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17573 {
17574 arg2 = &temp2;
17575 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17576 }
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 Py_INCREF(Py_None); resultobj = Py_None;
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17592 PyObject *obj;
17593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17594 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17595 Py_INCREF(obj);
17596 return Py_BuildValue((char *)"");
17597 }
17598 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17599 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17600 return 1;
17601 }
17602
17603
17604 static PyObject *_wrap_PrintoutTitleStr_get() {
17605 PyObject *pyobj;
17606
17607 {
17608 #if wxUSE_UNICODE
17609 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17610 #else
17611 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17612 #endif
17613 }
17614 return pyobj;
17615 }
17616
17617
17618 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17619 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17620 return 1;
17621 }
17622
17623
17624 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17625 PyObject *pyobj;
17626
17627 {
17628 #if wxUSE_UNICODE
17629 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17630 #else
17631 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17632 #endif
17633 }
17634 return pyobj;
17635 }
17636
17637
17638 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17639 PyObject *resultobj;
17640 wxPrintData *result;
17641 char *kwnames[] = {
17642 NULL
17643 };
17644
17645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17646 {
17647 PyThreadState* __tstate = wxPyBeginAllowThreads();
17648 result = (wxPrintData *)new wxPrintData();
17649
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17654 return resultobj;
17655 fail:
17656 return NULL;
17657 }
17658
17659
17660 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17661 PyObject *resultobj;
17662 wxPrintData *arg1 = (wxPrintData *) 0 ;
17663 PyObject * obj0 = 0 ;
17664 char *kwnames[] = {
17665 (char *) "self", NULL
17666 };
17667
17668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17671 {
17672 PyThreadState* __tstate = wxPyBeginAllowThreads();
17673 delete arg1;
17674
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 Py_INCREF(Py_None); resultobj = Py_None;
17679 return resultobj;
17680 fail:
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxPrintData *arg1 = (wxPrintData *) 0 ;
17688 int result;
17689 PyObject * obj0 = 0 ;
17690 char *kwnames[] = {
17691 (char *) "self", NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17697 {
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 result = (int)(arg1)->GetNoCopies();
17700
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 resultobj = SWIG_FromInt((int)result);
17705 return resultobj;
17706 fail:
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxPrintData *arg1 = (wxPrintData *) 0 ;
17714 bool result;
17715 PyObject * obj0 = 0 ;
17716 char *kwnames[] = {
17717 (char *) "self", NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (bool)(arg1)->GetCollate();
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 {
17731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17732 }
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 wxPrintData *arg1 = (wxPrintData *) 0 ;
17742 int result;
17743 PyObject * obj0 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 result = (int)(arg1)->GetOrientation();
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 resultobj = SWIG_FromInt((int)result);
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 wxPrintData *arg1 = (wxPrintData *) 0 ;
17768 bool result;
17769 PyObject * obj0 = 0 ;
17770 char *kwnames[] = {
17771 (char *) "self", NULL
17772 };
17773
17774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 result = (bool)(arg1)->Ok();
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 {
17785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17786 }
17787 return resultobj;
17788 fail:
17789 return NULL;
17790 }
17791
17792
17793 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17794 PyObject *resultobj;
17795 wxPrintData *arg1 = (wxPrintData *) 0 ;
17796 wxString *result;
17797 PyObject * obj0 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "self", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 {
17808 wxString const &_result_ref = (arg1)->GetPrinterName();
17809 result = (wxString *) &_result_ref;
17810 }
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 {
17816 #if wxUSE_UNICODE
17817 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17818 #else
17819 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17820 #endif
17821 }
17822 return resultobj;
17823 fail:
17824 return NULL;
17825 }
17826
17827
17828 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxPrintData *arg1 = (wxPrintData *) 0 ;
17831 bool result;
17832 PyObject * obj0 = 0 ;
17833 char *kwnames[] = {
17834 (char *) "self", NULL
17835 };
17836
17837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 result = (bool)(arg1)->GetColour();
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 {
17848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17849 }
17850 return resultobj;
17851 fail:
17852 return NULL;
17853 }
17854
17855
17856 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj;
17858 wxPrintData *arg1 = (wxPrintData *) 0 ;
17859 int result;
17860 PyObject * obj0 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17868 {
17869 PyThreadState* __tstate = wxPyBeginAllowThreads();
17870 result = (int)(arg1)->GetDuplex();
17871
17872 wxPyEndAllowThreads(__tstate);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 resultobj = SWIG_FromInt((int)result);
17876 return resultobj;
17877 fail:
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPrintData *arg1 = (wxPrintData *) 0 ;
17885 int result;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (int)(arg1)->GetPaperId();
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = SWIG_FromInt((int)result);
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPrintData *arg1 = (wxPrintData *) 0 ;
17911 wxSize *result;
17912 PyObject * obj0 = 0 ;
17913 char *kwnames[] = {
17914 (char *) "self", NULL
17915 };
17916
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
17918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 {
17923 wxSize const &_result_ref = (arg1)->GetPaperSize();
17924 result = (wxSize *) &_result_ref;
17925 }
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxPrintData *arg1 = (wxPrintData *) 0 ;
17940 int result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = (int)(arg1)->GetQuality();
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 resultobj = SWIG_FromInt((int)result);
17957 return resultobj;
17958 fail:
17959 return NULL;
17960 }
17961
17962
17963 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxPrintData *arg1 = (wxPrintData *) 0 ;
17966 int arg2 ;
17967 PyObject * obj0 = 0 ;
17968 PyObject * obj1 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self",(char *) "v", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 arg2 = (int) SWIG_AsInt(obj1);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 (arg1)->SetNoCopies(arg2);
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 Py_INCREF(Py_None); resultobj = Py_None;
17986 return resultobj;
17987 fail:
17988 return NULL;
17989 }
17990
17991
17992 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17993 PyObject *resultobj;
17994 wxPrintData *arg1 = (wxPrintData *) 0 ;
17995 bool arg2 ;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj1 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self",(char *) "flag", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18005 arg2 = (bool) SWIG_AsBool(obj1);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 (arg1)->SetCollate(arg2);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 Py_INCREF(Py_None); resultobj = Py_None;
18015 return resultobj;
18016 fail:
18017 return NULL;
18018 }
18019
18020
18021 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18022 PyObject *resultobj;
18023 wxPrintData *arg1 = (wxPrintData *) 0 ;
18024 int arg2 ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "orient", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 arg2 = (int) SWIG_AsInt(obj1);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 (arg1)->SetOrientation(arg2);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 Py_INCREF(Py_None); resultobj = Py_None;
18044 return resultobj;
18045 fail:
18046 return NULL;
18047 }
18048
18049
18050 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxPrintData *arg1 = (wxPrintData *) 0 ;
18053 wxString *arg2 = 0 ;
18054 bool temp2 = False ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self",(char *) "name", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18064 {
18065 arg2 = wxString_in_helper(obj1);
18066 if (arg2 == NULL) SWIG_fail;
18067 temp2 = True;
18068 }
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 (arg1)->SetPrinterName((wxString const &)*arg2);
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 Py_INCREF(Py_None); resultobj = Py_None;
18077 {
18078 if (temp2)
18079 delete arg2;
18080 }
18081 return resultobj;
18082 fail:
18083 {
18084 if (temp2)
18085 delete arg2;
18086 }
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPrintData *arg1 = (wxPrintData *) 0 ;
18094 bool arg2 ;
18095 PyObject * obj0 = 0 ;
18096 PyObject * obj1 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "self",(char *) "colour", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18104 arg2 = (bool) SWIG_AsBool(obj1);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 {
18107 PyThreadState* __tstate = wxPyBeginAllowThreads();
18108 (arg1)->SetColour(arg2);
18109
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 Py_INCREF(Py_None); resultobj = Py_None;
18114 return resultobj;
18115 fail:
18116 return NULL;
18117 }
18118
18119
18120 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18121 PyObject *resultobj;
18122 wxPrintData *arg1 = (wxPrintData *) 0 ;
18123 int arg2 ;
18124 PyObject * obj0 = 0 ;
18125 PyObject * obj1 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self",(char *) "duplex", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18133 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 (arg1)->SetDuplex((wxDuplexMode )arg2);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146 }
18147
18148
18149 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxPrintData *arg1 = (wxPrintData *) 0 ;
18152 int arg2 ;
18153 PyObject * obj0 = 0 ;
18154 PyObject * obj1 = 0 ;
18155 char *kwnames[] = {
18156 (char *) "self",(char *) "sizeId", NULL
18157 };
18158
18159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18162 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 (arg1)->SetPaperId((wxPaperSize )arg2);
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 Py_INCREF(Py_None); resultobj = Py_None;
18172 return resultobj;
18173 fail:
18174 return NULL;
18175 }
18176
18177
18178 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj;
18180 wxPrintData *arg1 = (wxPrintData *) 0 ;
18181 wxSize *arg2 = 0 ;
18182 wxSize temp2 ;
18183 PyObject * obj0 = 0 ;
18184 PyObject * obj1 = 0 ;
18185 char *kwnames[] = {
18186 (char *) "self",(char *) "sz", NULL
18187 };
18188
18189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18192 {
18193 arg2 = &temp2;
18194 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18195 }
18196 {
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 (arg1)->SetPaperSize((wxSize const &)*arg2);
18199
18200 wxPyEndAllowThreads(__tstate);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 }
18203 Py_INCREF(Py_None); resultobj = Py_None;
18204 return resultobj;
18205 fail:
18206 return NULL;
18207 }
18208
18209
18210 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18211 PyObject *resultobj;
18212 wxPrintData *arg1 = (wxPrintData *) 0 ;
18213 int arg2 ;
18214 PyObject * obj0 = 0 ;
18215 PyObject * obj1 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "self",(char *) "quality", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18223 arg2 = (int) SWIG_AsInt(obj1);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 (arg1)->SetQuality(arg2);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 Py_INCREF(Py_None); resultobj = Py_None;
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPrintData *arg1 = (wxPrintData *) 0 ;
18242 wxString *result;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 {
18254 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18255 result = (wxString *) &_result_ref;
18256 }
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 {
18262 #if wxUSE_UNICODE
18263 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18264 #else
18265 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18266 #endif
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxPrintData *arg1 = (wxPrintData *) 0 ;
18277 wxString *result;
18278 PyObject * obj0 = 0 ;
18279 char *kwnames[] = {
18280 (char *) "self", NULL
18281 };
18282
18283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 {
18289 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18290 result = (wxString *) &_result_ref;
18291 }
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 {
18297 #if wxUSE_UNICODE
18298 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18299 #else
18300 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18301 #endif
18302 }
18303 return resultobj;
18304 fail:
18305 return NULL;
18306 }
18307
18308
18309 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18310 PyObject *resultobj;
18311 wxPrintData *arg1 = (wxPrintData *) 0 ;
18312 wxString *result;
18313 PyObject * obj0 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18321 {
18322 PyThreadState* __tstate = wxPyBeginAllowThreads();
18323 {
18324 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18325 result = (wxString *) &_result_ref;
18326 }
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 {
18332 #if wxUSE_UNICODE
18333 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18334 #else
18335 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18336 #endif
18337 }
18338 return resultobj;
18339 fail:
18340 return NULL;
18341 }
18342
18343
18344 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18345 PyObject *resultobj;
18346 wxPrintData *arg1 = (wxPrintData *) 0 ;
18347 wxString *result;
18348 PyObject * obj0 = 0 ;
18349 char *kwnames[] = {
18350 (char *) "self", NULL
18351 };
18352
18353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 {
18359 wxString const &_result_ref = (arg1)->GetFilename();
18360 result = (wxString *) &_result_ref;
18361 }
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 {
18367 #if wxUSE_UNICODE
18368 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18369 #else
18370 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18371 #endif
18372 }
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 wxPrintData *arg1 = (wxPrintData *) 0 ;
18382 wxString *result;
18383 PyObject * obj0 = 0 ;
18384 char *kwnames[] = {
18385 (char *) "self", NULL
18386 };
18387
18388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 {
18394 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18395 result = (wxString *) &_result_ref;
18396 }
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 {
18402 #if wxUSE_UNICODE
18403 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18404 #else
18405 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18406 #endif
18407 }
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18415 PyObject *resultobj;
18416 wxPrintData *arg1 = (wxPrintData *) 0 ;
18417 double result;
18418 PyObject * obj0 = 0 ;
18419 char *kwnames[] = {
18420 (char *) "self", NULL
18421 };
18422
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
18428 result = (double)(arg1)->GetPrinterScaleX();
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
18433 resultobj = SWIG_FromDouble((double)result);
18434 return resultobj;
18435 fail:
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj;
18442 wxPrintData *arg1 = (wxPrintData *) 0 ;
18443 double result;
18444 PyObject * obj0 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 result = (double)(arg1)->GetPrinterScaleY();
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 resultobj = SWIG_FromDouble((double)result);
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxPrintData *arg1 = (wxPrintData *) 0 ;
18469 long result;
18470 PyObject * obj0 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 result = (long)(arg1)->GetPrinterTranslateX();
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 resultobj = SWIG_FromLong((long)result);
18486 return resultobj;
18487 fail:
18488 return NULL;
18489 }
18490
18491
18492 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18493 PyObject *resultobj;
18494 wxPrintData *arg1 = (wxPrintData *) 0 ;
18495 long result;
18496 PyObject * obj0 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (long)(arg1)->GetPrinterTranslateY();
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = SWIG_FromLong((long)result);
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxPrintData *arg1 = (wxPrintData *) 0 ;
18521 int result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (int)(arg1)->GetPrintMode();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 resultobj = SWIG_FromInt((int)result);
18538 return resultobj;
18539 fail:
18540 return NULL;
18541 }
18542
18543
18544 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxPrintData *arg1 = (wxPrintData *) 0 ;
18547 wxString *arg2 = 0 ;
18548 bool temp2 = False ;
18549 PyObject * obj0 = 0 ;
18550 PyObject * obj1 = 0 ;
18551 char *kwnames[] = {
18552 (char *) "self",(char *) "command", NULL
18553 };
18554
18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18558 {
18559 arg2 = wxString_in_helper(obj1);
18560 if (arg2 == NULL) SWIG_fail;
18561 temp2 = True;
18562 }
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 {
18572 if (temp2)
18573 delete arg2;
18574 }
18575 return resultobj;
18576 fail:
18577 {
18578 if (temp2)
18579 delete arg2;
18580 }
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPrintData *arg1 = (wxPrintData *) 0 ;
18588 wxString *arg2 = 0 ;
18589 bool temp2 = False ;
18590 PyObject * obj0 = 0 ;
18591 PyObject * obj1 = 0 ;
18592 char *kwnames[] = {
18593 (char *) "self",(char *) "options", NULL
18594 };
18595
18596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18599 {
18600 arg2 = wxString_in_helper(obj1);
18601 if (arg2 == NULL) SWIG_fail;
18602 temp2 = True;
18603 }
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 Py_INCREF(Py_None); resultobj = Py_None;
18612 {
18613 if (temp2)
18614 delete arg2;
18615 }
18616 return resultobj;
18617 fail:
18618 {
18619 if (temp2)
18620 delete arg2;
18621 }
18622 return NULL;
18623 }
18624
18625
18626 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18627 PyObject *resultobj;
18628 wxPrintData *arg1 = (wxPrintData *) 0 ;
18629 wxString *arg2 = 0 ;
18630 bool temp2 = False ;
18631 PyObject * obj0 = 0 ;
18632 PyObject * obj1 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self",(char *) "command", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18640 {
18641 arg2 = wxString_in_helper(obj1);
18642 if (arg2 == NULL) SWIG_fail;
18643 temp2 = True;
18644 }
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 Py_INCREF(Py_None); resultobj = Py_None;
18653 {
18654 if (temp2)
18655 delete arg2;
18656 }
18657 return resultobj;
18658 fail:
18659 {
18660 if (temp2)
18661 delete arg2;
18662 }
18663 return NULL;
18664 }
18665
18666
18667 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPrintData *arg1 = (wxPrintData *) 0 ;
18670 wxString *arg2 = 0 ;
18671 bool temp2 = False ;
18672 PyObject * obj0 = 0 ;
18673 PyObject * obj1 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self",(char *) "filename", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18681 {
18682 arg2 = wxString_in_helper(obj1);
18683 if (arg2 == NULL) SWIG_fail;
18684 temp2 = True;
18685 }
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 (arg1)->SetFilename((wxString const &)*arg2);
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 Py_INCREF(Py_None); resultobj = Py_None;
18694 {
18695 if (temp2)
18696 delete arg2;
18697 }
18698 return resultobj;
18699 fail:
18700 {
18701 if (temp2)
18702 delete arg2;
18703 }
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPrintData *arg1 = (wxPrintData *) 0 ;
18711 wxString *arg2 = 0 ;
18712 bool temp2 = False ;
18713 PyObject * obj0 = 0 ;
18714 PyObject * obj1 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "path", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18722 {
18723 arg2 = wxString_in_helper(obj1);
18724 if (arg2 == NULL) SWIG_fail;
18725 temp2 = True;
18726 }
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 Py_INCREF(Py_None); resultobj = Py_None;
18735 {
18736 if (temp2)
18737 delete arg2;
18738 }
18739 return resultobj;
18740 fail:
18741 {
18742 if (temp2)
18743 delete arg2;
18744 }
18745 return NULL;
18746 }
18747
18748
18749 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18750 PyObject *resultobj;
18751 wxPrintData *arg1 = (wxPrintData *) 0 ;
18752 double arg2 ;
18753 PyObject * obj0 = 0 ;
18754 PyObject * obj1 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self",(char *) "x", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18762 arg2 = (double) SWIG_AsDouble(obj1);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetPrinterScaleX(arg2);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPrintData *arg1 = (wxPrintData *) 0 ;
18781 double arg2 ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "y", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18791 arg2 = (double) SWIG_AsDouble(obj1);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 (arg1)->SetPrinterScaleY(arg2);
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 Py_INCREF(Py_None); resultobj = Py_None;
18801 return resultobj;
18802 fail:
18803 return NULL;
18804 }
18805
18806
18807 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxPrintData *arg1 = (wxPrintData *) 0 ;
18810 double arg2 ;
18811 double arg3 ;
18812 PyObject * obj0 = 0 ;
18813 PyObject * obj1 = 0 ;
18814 PyObject * obj2 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self",(char *) "x",(char *) "y", NULL
18817 };
18818
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18822 arg2 = (double) SWIG_AsDouble(obj1);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 arg3 = (double) SWIG_AsDouble(obj2);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 (arg1)->SetPrinterScaling(arg2,arg3);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 Py_INCREF(Py_None); resultobj = Py_None;
18834 return resultobj;
18835 fail:
18836 return NULL;
18837 }
18838
18839
18840 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18841 PyObject *resultobj;
18842 wxPrintData *arg1 = (wxPrintData *) 0 ;
18843 long arg2 ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self",(char *) "x", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18853 arg2 = (long) SWIG_AsLong(obj1);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 {
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 (arg1)->SetPrinterTranslateX(arg2);
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 Py_INCREF(Py_None); resultobj = Py_None;
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPrintData *arg1 = (wxPrintData *) 0 ;
18872 long arg2 ;
18873 PyObject * obj0 = 0 ;
18874 PyObject * obj1 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self",(char *) "y", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18882 arg2 = (long) SWIG_AsLong(obj1);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 (arg1)->SetPrinterTranslateY(arg2);
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 Py_INCREF(Py_None); resultobj = Py_None;
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxPrintData *arg1 = (wxPrintData *) 0 ;
18901 long arg2 ;
18902 long arg3 ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 PyObject * obj2 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self",(char *) "x",(char *) "y", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
18911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18913 arg2 = (long) SWIG_AsLong(obj1);
18914 if (PyErr_Occurred()) SWIG_fail;
18915 arg3 = (long) SWIG_AsLong(obj2);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 (arg1)->SetPrinterTranslation(arg2,arg3);
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 Py_INCREF(Py_None); resultobj = Py_None;
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxPrintData *arg1 = (wxPrintData *) 0 ;
18934 int arg2 ;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "printMode", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18944 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 (arg1)->SetPrintMode((wxPrintMode )arg2);
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 Py_INCREF(Py_None); resultobj = Py_None;
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxPrintData *arg1 = (wxPrintData *) 0 ;
18963 wxOutputStream *result;
18964 PyObject * obj0 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (wxOutputStream *)(arg1)->GetOutputStream();
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPrintData *arg1 = (wxPrintData *) 0 ;
18989 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char *kwnames[] = {
18993 (char *) "self",(char *) "outputstream", NULL
18994 };
18995
18996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
18997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 (arg1)->SetOutputStream(arg2);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 Py_INCREF(Py_None); resultobj = Py_None;
19009 return resultobj;
19010 fail:
19011 return NULL;
19012 }
19013
19014
19015 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19016 PyObject *obj;
19017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19018 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19019 Py_INCREF(obj);
19020 return Py_BuildValue((char *)"");
19021 }
19022 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPageSetupDialogData *result;
19025 char *kwnames[] = {
19026 NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19047 PyObject * obj0 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19055 {
19056 PyThreadState* __tstate = wxPyBeginAllowThreads();
19057 delete arg1;
19058
19059 wxPyEndAllowThreads(__tstate);
19060 if (PyErr_Occurred()) SWIG_fail;
19061 }
19062 Py_INCREF(Py_None); resultobj = Py_None;
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19072 bool arg2 ;
19073 PyObject * obj0 = 0 ;
19074 PyObject * obj1 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self",(char *) "flag", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19082 arg2 = (bool) SWIG_AsBool(obj1);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 (arg1)->EnableHelp(arg2);
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 Py_INCREF(Py_None); resultobj = Py_None;
19092 return resultobj;
19093 fail:
19094 return NULL;
19095 }
19096
19097
19098 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19101 bool arg2 ;
19102 PyObject * obj0 = 0 ;
19103 PyObject * obj1 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self",(char *) "flag", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19111 arg2 = (bool) SWIG_AsBool(obj1);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 (arg1)->EnableMargins(arg2);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 Py_INCREF(Py_None); resultobj = Py_None;
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19130 bool arg2 ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "flag", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19140 arg2 = (bool) SWIG_AsBool(obj1);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->EnableOrientation(arg2);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19159 bool arg2 ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "flag", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19169 arg2 = (bool) SWIG_AsBool(obj1);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 (arg1)->EnablePaper(arg2);
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 Py_INCREF(Py_None); resultobj = Py_None;
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19188 bool arg2 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "flag", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 arg2 = (bool) SWIG_AsBool(obj1);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 (arg1)->EnablePrinter(arg2);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 return resultobj;
19209 fail:
19210 return NULL;
19211 }
19212
19213
19214 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19215 PyObject *resultobj;
19216 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19217 bool result;
19218 PyObject * obj0 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 result = (bool)(arg1)->GetDefaultMinMargins();
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19235 }
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19245 bool result;
19246 PyObject * obj0 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (bool)(arg1)->GetEnableMargins();
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 {
19262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19263 }
19264 return resultobj;
19265 fail:
19266 return NULL;
19267 }
19268
19269
19270 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19273 bool result;
19274 PyObject * obj0 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 result = (bool)(arg1)->GetEnableOrientation();
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 {
19290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19291 }
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj;
19300 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19301 bool result;
19302 PyObject * obj0 = 0 ;
19303 char *kwnames[] = {
19304 (char *) "self", NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19310 {
19311 PyThreadState* __tstate = wxPyBeginAllowThreads();
19312 result = (bool)(arg1)->GetEnablePaper();
19313
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 {
19318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19319 }
19320 return resultobj;
19321 fail:
19322 return NULL;
19323 }
19324
19325
19326 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19329 bool result;
19330 PyObject * obj0 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 {
19339 PyThreadState* __tstate = wxPyBeginAllowThreads();
19340 result = (bool)(arg1)->GetEnablePrinter();
19341
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 {
19346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19357 bool result;
19358 PyObject * obj0 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 result = (bool)(arg1)->GetEnableHelp();
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 {
19374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19375 }
19376 return resultobj;
19377 fail:
19378 return NULL;
19379 }
19380
19381
19382 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19385 bool result;
19386 PyObject * obj0 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (bool)(arg1)->GetDefaultInfo();
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 {
19402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19403 }
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19413 wxPoint result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (arg1)->GetMarginTopLeft();
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 {
19430 wxPoint * resultptr;
19431 resultptr = new wxPoint((wxPoint &) result);
19432 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19433 }
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19443 wxPoint result;
19444 PyObject * obj0 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "self", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 result = (arg1)->GetMarginBottomRight();
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 {
19460 wxPoint * resultptr;
19461 resultptr = new wxPoint((wxPoint &) result);
19462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19463 }
19464 return resultobj;
19465 fail:
19466 return NULL;
19467 }
19468
19469
19470 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19473 wxPoint result;
19474 PyObject * obj0 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19482 {
19483 PyThreadState* __tstate = wxPyBeginAllowThreads();
19484 result = (arg1)->GetMinMarginTopLeft();
19485
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 {
19490 wxPoint * resultptr;
19491 resultptr = new wxPoint((wxPoint &) result);
19492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19493 }
19494 return resultobj;
19495 fail:
19496 return NULL;
19497 }
19498
19499
19500 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19501 PyObject *resultobj;
19502 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19503 wxPoint result;
19504 PyObject * obj0 = 0 ;
19505 char *kwnames[] = {
19506 (char *) "self", NULL
19507 };
19508
19509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 result = (arg1)->GetMinMarginBottomRight();
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 {
19520 wxPoint * resultptr;
19521 resultptr = new wxPoint((wxPoint &) result);
19522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19523 }
19524 return resultobj;
19525 fail:
19526 return NULL;
19527 }
19528
19529
19530 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19533 int result;
19534 PyObject * obj0 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",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 result = (int)(arg1)->GetPaperId();
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 resultobj = SWIG_FromInt((int)result);
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19559 wxSize result;
19560 PyObject * obj0 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "self", NULL
19563 };
19564
19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 result = (arg1)->GetPaperSize();
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 {
19576 wxSize * resultptr;
19577 resultptr = new wxSize((wxSize &) result);
19578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19579 }
19580 return resultobj;
19581 fail:
19582 return NULL;
19583 }
19584
19585
19586 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19589 wxPrintData *result;
19590 PyObject * obj0 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 {
19601 wxPrintData &_result_ref = (arg1)->GetPrintData();
19602 result = (wxPrintData *) &_result_ref;
19603 }
19604
19605 wxPyEndAllowThreads(__tstate);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 }
19608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19618 bool result;
19619 PyObject * obj0 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (bool)(arg1)->Ok();
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 {
19635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19636 }
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(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_SetDefaultInfo",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)->SetDefaultInfo(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_SetDefaultMinMargins(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_SetDefaultMinMargins",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)->SetDefaultMinMargins(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_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19704 wxPoint *arg2 = 0 ;
19705 wxPoint temp2 ;
19706 PyObject * obj0 = 0 ;
19707 PyObject * obj1 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self",(char *) "pt", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19715 {
19716 arg2 = &temp2;
19717 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19718 }
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19722
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 Py_INCREF(Py_None); resultobj = Py_None;
19727 return resultobj;
19728 fail:
19729 return NULL;
19730 }
19731
19732
19733 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj;
19735 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19736 wxPoint *arg2 = 0 ;
19737 wxPoint temp2 ;
19738 PyObject * obj0 = 0 ;
19739 PyObject * obj1 = 0 ;
19740 char *kwnames[] = {
19741 (char *) "self",(char *) "pt", NULL
19742 };
19743
19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19747 {
19748 arg2 = &temp2;
19749 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19750 }
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19754
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 Py_INCREF(Py_None); resultobj = Py_None;
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19768 wxPoint *arg2 = 0 ;
19769 wxPoint temp2 ;
19770 PyObject * obj0 = 0 ;
19771 PyObject * obj1 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self",(char *) "pt", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19779 {
19780 arg2 = &temp2;
19781 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19800 wxPoint *arg2 = 0 ;
19801 wxPoint temp2 ;
19802 PyObject * obj0 = 0 ;
19803 PyObject * obj1 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self",(char *) "pt", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19811 {
19812 arg2 = &temp2;
19813 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19814 }
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 Py_INCREF(Py_None); resultobj = Py_None;
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19832 int arg2 ;
19833 PyObject * obj0 = 0 ;
19834 PyObject * obj1 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self",(char *) "id", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19842 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 {
19845 PyThreadState* __tstate = wxPyBeginAllowThreads();
19846 (arg1)->SetPaperId((wxPaperSize )arg2);
19847
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 Py_INCREF(Py_None); resultobj = Py_None;
19852 return resultobj;
19853 fail:
19854 return NULL;
19855 }
19856
19857
19858 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19861 wxSize *arg2 = 0 ;
19862 wxSize temp2 ;
19863 PyObject * obj0 = 0 ;
19864 PyObject * obj1 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self",(char *) "size", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
19870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19872 {
19873 arg2 = &temp2;
19874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19875 }
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->SetPaperSize((wxSize const &)*arg2);
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 Py_INCREF(Py_None); resultobj = Py_None;
19884 return resultobj;
19885 fail:
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19893 wxPrintData *arg2 = 0 ;
19894 PyObject * obj0 = 0 ;
19895 PyObject * obj1 = 0 ;
19896 char *kwnames[] = {
19897 (char *) "self",(char *) "printData", NULL
19898 };
19899
19900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
19904 SWIG_POINTER_EXCEPTION | 0)) == -1)
19905 SWIG_fail;
19906 if (arg2 == NULL) {
19907 PyErr_SetString(PyExc_TypeError,"null reference");
19908 SWIG_fail;
19909 }
19910 {
19911 PyThreadState* __tstate = wxPyBeginAllowThreads();
19912 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 Py_INCREF(Py_None); resultobj = Py_None;
19918 return resultobj;
19919 fail:
19920 return NULL;
19921 }
19922
19923
19924 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
19925 PyObject *obj;
19926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19927 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
19928 Py_INCREF(obj);
19929 return Py_BuildValue((char *)"");
19930 }
19931 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxWindow *arg1 = (wxWindow *) 0 ;
19934 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
19935 wxPageSetupDialog *result;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "parent",(char *) "data", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19945 if (obj1) {
19946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
19947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19948 }
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19966 wxPageSetupDialogData *result;
19967 PyObject * obj0 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
19974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 {
19978 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
19979 result = (wxPageSetupDialogData *) &_result_ref;
19980 }
19981
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
19986 return resultobj;
19987 fail:
19988 return NULL;
19989 }
19990
19991
19992 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
19995 int result;
19996 PyObject * obj0 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (int)(arg1)->ShowModal();
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = SWIG_FromInt((int)result);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20019 PyObject *obj;
20020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20021 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20022 Py_INCREF(obj);
20023 return Py_BuildValue((char *)"");
20024 }
20025 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20026 PyObject *resultobj;
20027 wxPrintDialogData *result;
20028
20029 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = (wxPrintDialogData *)new wxPrintDialogData();
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20038 return resultobj;
20039 fail:
20040 return NULL;
20041 }
20042
20043
20044 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20045 PyObject *resultobj;
20046 wxPrintData *arg1 = 0 ;
20047 wxPrintDialogData *result;
20048 PyObject * obj0 = 0 ;
20049
20050 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1)
20053 SWIG_fail;
20054 if (arg1 == NULL) {
20055 PyErr_SetString(PyExc_TypeError,"null reference");
20056 SWIG_fail;
20057 }
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20073 int argc;
20074 PyObject *argv[2];
20075 int ii;
20076
20077 argc = PyObject_Length(args);
20078 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20079 argv[ii] = PyTuple_GetItem(args,ii);
20080 }
20081 if (argc == 0) {
20082 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20083 }
20084 if (argc == 1) {
20085 int _v;
20086 {
20087 void *ptr;
20088 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20089 _v = 0;
20090 PyErr_Clear();
20091 } else {
20092 _v = 1;
20093 }
20094 }
20095 if (_v) {
20096 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20097 }
20098 }
20099
20100 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20101 return NULL;
20102 }
20103
20104
20105 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20108 PyObject * obj0 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 delete arg1;
20119
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 Py_INCREF(Py_None); resultobj = Py_None;
20124 return resultobj;
20125 fail:
20126 return NULL;
20127 }
20128
20129
20130 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20133 int result;
20134 PyObject * obj0 = 0 ;
20135 char *kwnames[] = {
20136 (char *) "self", NULL
20137 };
20138
20139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 resultobj = SWIG_FromInt((int)result);
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20159 int result;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 resultobj = SWIG_FromInt((int)result);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20183 PyObject *resultobj;
20184 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20185 int result;
20186 PyObject * obj0 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 resultobj = SWIG_FromInt((int)result);
20202 return resultobj;
20203 fail:
20204 return NULL;
20205 }
20206
20207
20208 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20211 int result;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 resultobj = SWIG_FromInt((int)result);
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20237 int result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 resultobj = SWIG_FromInt((int)result);
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20263 bool result;
20264 PyObject * obj0 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "self", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 {
20280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20281 }
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20291 bool result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 {
20308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20309 }
20310 return resultobj;
20311 fail:
20312 return NULL;
20313 }
20314
20315
20316 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20319 bool result;
20320 PyObject * obj0 = 0 ;
20321 char *kwnames[] = {
20322 (char *) "self", NULL
20323 };
20324
20325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 {
20336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20337 }
20338 return resultobj;
20339 fail:
20340 return NULL;
20341 }
20342
20343
20344 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20347 bool result;
20348 PyObject * obj0 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "self", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 {
20364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20365 }
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20375 bool result;
20376 PyObject * obj0 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 {
20392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20393 }
20394 return resultobj;
20395 fail:
20396 return NULL;
20397 }
20398
20399
20400 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20401 PyObject *resultobj;
20402 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20403 int arg2 ;
20404 PyObject * obj0 = 0 ;
20405 PyObject * obj1 = 0 ;
20406 char *kwnames[] = {
20407 (char *) "self",(char *) "v", NULL
20408 };
20409
20410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20413 arg2 = (int) SWIG_AsInt(obj1);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 (arg1)->SetFromPage(arg2);
20418
20419 wxPyEndAllowThreads(__tstate);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 Py_INCREF(Py_None); resultobj = Py_None;
20423 return resultobj;
20424 fail:
20425 return NULL;
20426 }
20427
20428
20429 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20430 PyObject *resultobj;
20431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20432 int arg2 ;
20433 PyObject * obj0 = 0 ;
20434 PyObject * obj1 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self",(char *) "v", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20442 arg2 = (int) SWIG_AsInt(obj1);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 (arg1)->SetToPage(arg2);
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 Py_INCREF(Py_None); resultobj = Py_None;
20452 return resultobj;
20453 fail:
20454 return NULL;
20455 }
20456
20457
20458 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20459 PyObject *resultobj;
20460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20461 int arg2 ;
20462 PyObject * obj0 = 0 ;
20463 PyObject * obj1 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self",(char *) "v", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20471 arg2 = (int) SWIG_AsInt(obj1);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 (arg1)->SetMinPage(arg2);
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 Py_INCREF(Py_None); resultobj = Py_None;
20481 return resultobj;
20482 fail:
20483 return NULL;
20484 }
20485
20486
20487 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj;
20489 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20490 int arg2 ;
20491 PyObject * obj0 = 0 ;
20492 PyObject * obj1 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self",(char *) "v", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20500 arg2 = (int) SWIG_AsInt(obj1);
20501 if (PyErr_Occurred()) SWIG_fail;
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 (arg1)->SetMaxPage(arg2);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 Py_INCREF(Py_None); resultobj = Py_None;
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20519 int arg2 ;
20520 PyObject * obj0 = 0 ;
20521 PyObject * obj1 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self",(char *) "v", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20529 arg2 = (int) SWIG_AsInt(obj1);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->SetNoCopies(arg2);
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20548 bool arg2 ;
20549 PyObject * obj0 = 0 ;
20550 PyObject * obj1 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self",(char *) "flag", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20558 arg2 = (bool) SWIG_AsBool(obj1);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 (arg1)->SetAllPages(arg2);
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 Py_INCREF(Py_None); resultobj = Py_None;
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20577 bool arg2 ;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "flag", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20587 arg2 = (bool) SWIG_AsBool(obj1);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 {
20590 PyThreadState* __tstate = wxPyBeginAllowThreads();
20591 (arg1)->SetSelection(arg2);
20592
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 Py_INCREF(Py_None); resultobj = Py_None;
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20606 bool arg2 ;
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "flag", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20616 arg2 = (bool) SWIG_AsBool(obj1);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 (arg1)->SetCollate(arg2);
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 Py_INCREF(Py_None); resultobj = Py_None;
20626 return resultobj;
20627 fail:
20628 return NULL;
20629 }
20630
20631
20632 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20635 bool arg2 ;
20636 PyObject * obj0 = 0 ;
20637 PyObject * obj1 = 0 ;
20638 char *kwnames[] = {
20639 (char *) "self",(char *) "flag", NULL
20640 };
20641
20642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20645 arg2 = (bool) SWIG_AsBool(obj1);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 {
20648 PyThreadState* __tstate = wxPyBeginAllowThreads();
20649 (arg1)->SetPrintToFile(arg2);
20650
20651 wxPyEndAllowThreads(__tstate);
20652 if (PyErr_Occurred()) SWIG_fail;
20653 }
20654 Py_INCREF(Py_None); resultobj = Py_None;
20655 return resultobj;
20656 fail:
20657 return NULL;
20658 }
20659
20660
20661 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20662 PyObject *resultobj;
20663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20664 bool arg2 ;
20665 PyObject * obj0 = 0 ;
20666 PyObject * obj1 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self",(char *) "flag", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20674 arg2 = (bool) SWIG_AsBool(obj1);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->SetSetupDialog(arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20693 bool arg2 ;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "flag", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20703 arg2 = (bool) SWIG_AsBool(obj1);
20704 if (PyErr_Occurred()) SWIG_fail;
20705 {
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 (arg1)->EnablePrintToFile(arg2);
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 Py_INCREF(Py_None); resultobj = Py_None;
20713 return resultobj;
20714 fail:
20715 return NULL;
20716 }
20717
20718
20719 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj;
20721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20722 bool arg2 ;
20723 PyObject * obj0 = 0 ;
20724 PyObject * obj1 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self",(char *) "flag", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20732 arg2 = (bool) SWIG_AsBool(obj1);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->EnableSelection(arg2);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20751 bool arg2 ;
20752 PyObject * obj0 = 0 ;
20753 PyObject * obj1 = 0 ;
20754 char *kwnames[] = {
20755 (char *) "self",(char *) "flag", NULL
20756 };
20757
20758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20761 arg2 = (bool) SWIG_AsBool(obj1);
20762 if (PyErr_Occurred()) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 (arg1)->EnablePageNumbers(arg2);
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 Py_INCREF(Py_None); resultobj = Py_None;
20771 return resultobj;
20772 fail:
20773 return NULL;
20774 }
20775
20776
20777 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20780 bool arg2 ;
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 char *kwnames[] = {
20784 (char *) "self",(char *) "flag", NULL
20785 };
20786
20787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20790 arg2 = (bool) SWIG_AsBool(obj1);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 (arg1)->EnableHelp(arg2);
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 Py_INCREF(Py_None); resultobj = Py_None;
20800 return resultobj;
20801 fail:
20802 return NULL;
20803 }
20804
20805
20806 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20809 bool result;
20810 PyObject * obj0 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 {
20826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20827 }
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20837 bool result;
20838 PyObject * obj0 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 {
20854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20855 }
20856 return resultobj;
20857 fail:
20858 return NULL;
20859 }
20860
20861
20862 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20865 bool result;
20866 PyObject * obj0 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "self", NULL
20869 };
20870
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
20872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20874 {
20875 PyThreadState* __tstate = wxPyBeginAllowThreads();
20876 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
20877
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 {
20882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20883 }
20884 return resultobj;
20885 fail:
20886 return NULL;
20887 }
20888
20889
20890 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20893 bool result;
20894 PyObject * obj0 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 {
20910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20911 }
20912 return resultobj;
20913 fail:
20914 return NULL;
20915 }
20916
20917
20918 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20921 bool result;
20922 PyObject * obj0 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
20938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20939 }
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20949 wxPrintData *result;
20950 PyObject * obj0 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
20956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 {
20961 wxPrintData &_result_ref = (arg1)->GetPrintData();
20962 result = (wxPrintData *) &_result_ref;
20963 }
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20978 wxPrintData *arg2 = 0 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "printData", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20989 SWIG_POINTER_EXCEPTION | 0)) == -1)
20990 SWIG_fail;
20991 if (arg2 == NULL) {
20992 PyErr_SetString(PyExc_TypeError,"null reference");
20993 SWIG_fail;
20994 }
20995 {
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 Py_INCREF(Py_None); resultobj = Py_None;
21003 return resultobj;
21004 fail:
21005 return NULL;
21006 }
21007
21008
21009 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21010 PyObject *obj;
21011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21012 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21013 Py_INCREF(obj);
21014 return Py_BuildValue((char *)"");
21015 }
21016 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxWindow *arg1 = (wxWindow *) 0 ;
21019 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21020 wxPrintDialog *result;
21021 PyObject * obj0 = 0 ;
21022 PyObject * obj1 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "parent",(char *) "data", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21030 if (obj1) {
21031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21033 }
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21051 wxPrintDialogData *result;
21052 PyObject * obj0 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 {
21063 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21064 result = (wxPrintDialogData *) &_result_ref;
21065 }
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21071 return resultobj;
21072 fail:
21073 return NULL;
21074 }
21075
21076
21077 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21080 wxDC *result;
21081 PyObject * obj0 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = (wxDC *)(arg1)->GetPrintDC();
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 {
21097 resultobj = wxPyMake_wxObject(result);
21098 }
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21108 int result;
21109 PyObject * obj0 = 0 ;
21110 char *kwnames[] = {
21111 (char *) "self", NULL
21112 };
21113
21114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 result = (int)(arg1)->ShowModal();
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 resultobj = SWIG_FromInt((int)result);
21125 return resultobj;
21126 fail:
21127 return NULL;
21128 }
21129
21130
21131 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21132 PyObject *obj;
21133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21134 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21135 Py_INCREF(obj);
21136 return Py_BuildValue((char *)"");
21137 }
21138 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21141 wxPrinter *result;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "data", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21148 if (obj0) {
21149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21151 }
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 result = (wxPrinter *)new wxPrinter(arg1);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21160 return resultobj;
21161 fail:
21162 return NULL;
21163 }
21164
21165
21166 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21167 PyObject *resultobj;
21168 wxPrinter *arg1 = (wxPrinter *) 0 ;
21169 PyObject * obj0 = 0 ;
21170 char *kwnames[] = {
21171 (char *) "self", NULL
21172 };
21173
21174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21177 {
21178 PyThreadState* __tstate = wxPyBeginAllowThreads();
21179 delete arg1;
21180
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 Py_INCREF(Py_None); resultobj = Py_None;
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21192 PyObject *resultobj;
21193 wxPrinter *arg1 = (wxPrinter *) 0 ;
21194 wxWindow *arg2 = (wxWindow *) 0 ;
21195 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 PyObject * obj2 = 0 ;
21199 char *kwnames[] = {
21200 (char *) "self",(char *) "parent",(char *) "printout", NULL
21201 };
21202
21203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21208 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 (arg1)->CreateAbortWindow(arg2,arg3);
21213
21214 wxPyEndAllowThreads(__tstate);
21215 if (PyErr_Occurred()) SWIG_fail;
21216 }
21217 Py_INCREF(Py_None); resultobj = Py_None;
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPrinter *arg1 = (wxPrinter *) 0 ;
21227 wxPrintDialogData *result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 {
21239 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21240 result = (wxPrintDialogData *) &_result_ref;
21241 }
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21247 return resultobj;
21248 fail:
21249 return NULL;
21250 }
21251
21252
21253 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj;
21255 wxPrinter *arg1 = (wxPrinter *) 0 ;
21256 wxWindow *arg2 = (wxWindow *) 0 ;
21257 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21258 int arg4 = (int) True ;
21259 bool result;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 PyObject * obj2 = 0 ;
21263 PyObject * obj3 = 0 ;
21264 char *kwnames[] = {
21265 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21266 };
21267
21268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21273 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21275 if (obj3) {
21276 arg4 = (int) SWIG_AsInt(obj3);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 {
21287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21288 }
21289 return resultobj;
21290 fail:
21291 return NULL;
21292 }
21293
21294
21295 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21296 PyObject *resultobj;
21297 wxPrinter *arg1 = (wxPrinter *) 0 ;
21298 wxWindow *arg2 = (wxWindow *) 0 ;
21299 wxDC *result;
21300 PyObject * obj0 = 0 ;
21301 PyObject * obj1 = 0 ;
21302 char *kwnames[] = {
21303 (char *) "self",(char *) "parent", NULL
21304 };
21305
21306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 result = (wxDC *)(arg1)->PrintDialog(arg2);
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 {
21319 resultobj = wxPyMake_wxObject(result);
21320 }
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPrinter *arg1 = (wxPrinter *) 0 ;
21330 wxWindow *arg2 = (wxWindow *) 0 ;
21331 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21332 wxString *arg4 = 0 ;
21333 bool temp4 = False ;
21334 PyObject * obj0 = 0 ;
21335 PyObject * obj1 = 0 ;
21336 PyObject * obj2 = 0 ;
21337 PyObject * obj3 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21347 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21349 {
21350 arg4 = wxString_in_helper(obj3);
21351 if (arg4 == NULL) SWIG_fail;
21352 temp4 = True;
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 {
21363 if (temp4)
21364 delete arg4;
21365 }
21366 return resultobj;
21367 fail:
21368 {
21369 if (temp4)
21370 delete arg4;
21371 }
21372 return NULL;
21373 }
21374
21375
21376 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21377 PyObject *resultobj;
21378 wxPrinter *arg1 = (wxPrinter *) 0 ;
21379 wxWindow *arg2 = (wxWindow *) 0 ;
21380 bool result;
21381 PyObject * obj0 = 0 ;
21382 PyObject * obj1 = 0 ;
21383 char *kwnames[] = {
21384 (char *) "self",(char *) "parent", NULL
21385 };
21386
21387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 result = (bool)(arg1)->Setup(arg2);
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 {
21400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21401 }
21402 return resultobj;
21403 fail:
21404 return NULL;
21405 }
21406
21407
21408 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 wxPrinter *arg1 = (wxPrinter *) 0 ;
21411 bool result;
21412 PyObject * obj0 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 result = (bool)(arg1)->GetAbort();
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 {
21428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21429 }
21430 return resultobj;
21431 fail:
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 int result;
21439 char *kwnames[] = {
21440 NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = (int)wxPrinter::GetLastError();
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 resultobj = SWIG_FromInt((int)result);
21452 return resultobj;
21453 fail:
21454 return NULL;
21455 }
21456
21457
21458 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21459 PyObject *obj;
21460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21461 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21462 Py_INCREF(obj);
21463 return Py_BuildValue((char *)"");
21464 }
21465 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21468 wxString *arg1 = (wxString *) &arg1_defvalue ;
21469 wxPyPrintout *result;
21470 bool temp1 = False ;
21471 PyObject * obj0 = 0 ;
21472 char *kwnames[] = {
21473 (char *) "title", NULL
21474 };
21475
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21477 if (obj0) {
21478 {
21479 arg1 = wxString_in_helper(obj0);
21480 if (arg1 == NULL) SWIG_fail;
21481 temp1 = True;
21482 }
21483 }
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
21491 {
21492 resultobj = wxPyMake_wxObject(result);
21493 }
21494 {
21495 if (temp1)
21496 delete arg1;
21497 }
21498 return resultobj;
21499 fail:
21500 {
21501 if (temp1)
21502 delete arg1;
21503 }
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21511 PyObject *arg2 = (PyObject *) 0 ;
21512 PyObject *arg3 = (PyObject *) 0 ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 PyObject * obj2 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self",(char *) "self",(char *) "_class", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21523 arg2 = obj1;
21524 arg3 = obj2;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 (arg1)->_setCallbackInfo(arg2,arg3);
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 Py_INCREF(Py_None); resultobj = Py_None;
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21542 wxString result;
21543 PyObject * obj0 = 0 ;
21544 char *kwnames[] = {
21545 (char *) "self", NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 result = ((wxPyPrintout const *)arg1)->GetTitle();
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 {
21559 #if wxUSE_UNICODE
21560 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21561 #else
21562 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21563 #endif
21564 }
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21574 wxDC *result;
21575 PyObject * obj0 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "self", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (wxDC *)(arg1)->GetDC();
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 {
21591 resultobj = wxPyMake_wxObject(result);
21592 }
21593 return resultobj;
21594 fail:
21595 return NULL;
21596 }
21597
21598
21599 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21600 PyObject *resultobj;
21601 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21602 wxDC *arg2 = (wxDC *) 0 ;
21603 PyObject * obj0 = 0 ;
21604 PyObject * obj1 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "dc", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 (arg1)->SetDC(arg2);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 return resultobj;
21623 fail:
21624 return NULL;
21625 }
21626
21627
21628 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21629 PyObject *resultobj;
21630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21631 int arg2 ;
21632 int arg3 ;
21633 PyObject * obj0 = 0 ;
21634 PyObject * obj1 = 0 ;
21635 PyObject * obj2 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self",(char *) "w",(char *) "h", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21643 arg2 = (int) SWIG_AsInt(obj1);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 arg3 = (int) SWIG_AsInt(obj2);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 (arg1)->SetPageSizePixels(arg2,arg3);
21650
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
21654 Py_INCREF(Py_None); resultobj = Py_None;
21655 return resultobj;
21656 fail:
21657 return NULL;
21658 }
21659
21660
21661 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21662 PyObject *resultobj;
21663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21664 int *arg2 = (int *) 0 ;
21665 int *arg3 = (int *) 0 ;
21666 int temp2 ;
21667 int temp3 ;
21668 PyObject * obj0 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self", NULL
21671 };
21672
21673 arg2 = &temp2;
21674 arg3 = &temp3;
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 (arg1)->GetPageSizePixels(arg2,arg3);
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 Py_INCREF(Py_None); resultobj = Py_None;
21686 {
21687 PyObject *o = PyInt_FromLong((long) (*arg2));
21688 resultobj = t_output_helper(resultobj,o);
21689 }
21690 {
21691 PyObject *o = PyInt_FromLong((long) (*arg3));
21692 resultobj = t_output_helper(resultobj,o);
21693 }
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21703 int arg2 ;
21704 int arg3 ;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 PyObject * obj2 = 0 ;
21708 char *kwnames[] = {
21709 (char *) "self",(char *) "w",(char *) "h", NULL
21710 };
21711
21712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21715 arg2 = (int) SWIG_AsInt(obj1);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 arg3 = (int) SWIG_AsInt(obj2);
21718 if (PyErr_Occurred()) SWIG_fail;
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 (arg1)->SetPageSizeMM(arg2,arg3);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 Py_INCREF(Py_None); resultobj = Py_None;
21727 return resultobj;
21728 fail:
21729 return NULL;
21730 }
21731
21732
21733 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21734 PyObject *resultobj;
21735 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21736 int *arg2 = (int *) 0 ;
21737 int *arg3 = (int *) 0 ;
21738 int temp2 ;
21739 int temp3 ;
21740 PyObject * obj0 = 0 ;
21741 char *kwnames[] = {
21742 (char *) "self", NULL
21743 };
21744
21745 arg2 = &temp2;
21746 arg3 = &temp3;
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 (arg1)->GetPageSizeMM(arg2,arg3);
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
21757 Py_INCREF(Py_None); resultobj = Py_None;
21758 {
21759 PyObject *o = PyInt_FromLong((long) (*arg2));
21760 resultobj = t_output_helper(resultobj,o);
21761 }
21762 {
21763 PyObject *o = PyInt_FromLong((long) (*arg3));
21764 resultobj = t_output_helper(resultobj,o);
21765 }
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21775 int arg2 ;
21776 int arg3 ;
21777 PyObject * obj0 = 0 ;
21778 PyObject * obj1 = 0 ;
21779 PyObject * obj2 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self",(char *) "x",(char *) "y", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21787 arg2 = (int) SWIG_AsInt(obj1);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 arg3 = (int) SWIG_AsInt(obj2);
21790 if (PyErr_Occurred()) SWIG_fail;
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 (arg1)->SetPPIScreen(arg2,arg3);
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 Py_INCREF(Py_None); resultobj = Py_None;
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj;
21807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21808 int *arg2 = (int *) 0 ;
21809 int *arg3 = (int *) 0 ;
21810 int temp2 ;
21811 int temp3 ;
21812 PyObject * obj0 = 0 ;
21813 char *kwnames[] = {
21814 (char *) "self", NULL
21815 };
21816
21817 arg2 = &temp2;
21818 arg3 = &temp3;
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 (arg1)->GetPPIScreen(arg2,arg3);
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 Py_INCREF(Py_None); resultobj = Py_None;
21830 {
21831 PyObject *o = PyInt_FromLong((long) (*arg2));
21832 resultobj = t_output_helper(resultobj,o);
21833 }
21834 {
21835 PyObject *o = PyInt_FromLong((long) (*arg3));
21836 resultobj = t_output_helper(resultobj,o);
21837 }
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21847 int arg2 ;
21848 int arg3 ;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 PyObject * obj2 = 0 ;
21852 char *kwnames[] = {
21853 (char *) "self",(char *) "x",(char *) "y", NULL
21854 };
21855
21856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
21857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21859 arg2 = (int) SWIG_AsInt(obj1);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 arg3 = (int) SWIG_AsInt(obj2);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 (arg1)->SetPPIPrinter(arg2,arg3);
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 Py_INCREF(Py_None); resultobj = Py_None;
21871 return resultobj;
21872 fail:
21873 return NULL;
21874 }
21875
21876
21877 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21878 PyObject *resultobj;
21879 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21880 int *arg2 = (int *) 0 ;
21881 int *arg3 = (int *) 0 ;
21882 int temp2 ;
21883 int temp3 ;
21884 PyObject * obj0 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self", NULL
21887 };
21888
21889 arg2 = &temp2;
21890 arg3 = &temp3;
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 (arg1)->GetPPIPrinter(arg2,arg3);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 Py_INCREF(Py_None); resultobj = Py_None;
21902 {
21903 PyObject *o = PyInt_FromLong((long) (*arg2));
21904 resultobj = t_output_helper(resultobj,o);
21905 }
21906 {
21907 PyObject *o = PyInt_FromLong((long) (*arg3));
21908 resultobj = t_output_helper(resultobj,o);
21909 }
21910 return resultobj;
21911 fail:
21912 return NULL;
21913 }
21914
21915
21916 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21919 bool result;
21920 PyObject * obj0 = 0 ;
21921 char *kwnames[] = {
21922 (char *) "self", NULL
21923 };
21924
21925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
21926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 result = (bool)(arg1)->IsPreview();
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 {
21936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21937 }
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21947 bool arg2 ;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "p", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
21955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21957 arg2 = (bool) SWIG_AsBool(obj1);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 (arg1)->SetIsPreview(arg2);
21962
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 Py_INCREF(Py_None); resultobj = Py_None;
21967 return resultobj;
21968 fail:
21969 return NULL;
21970 }
21971
21972
21973 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
21974 PyObject *resultobj;
21975 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21976 int arg2 ;
21977 int arg3 ;
21978 bool result;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 char *kwnames[] = {
21983 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
21984 };
21985
21986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
21987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21989 arg2 = (int) SWIG_AsInt(obj1);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 arg3 = (int) SWIG_AsInt(obj2);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 {
22001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22002 }
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22012 PyObject * obj0 = 0 ;
22013 char *kwnames[] = {
22014 (char *) "self", NULL
22015 };
22016
22017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->base_OnEndDocument();
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 Py_INCREF(Py_None); resultobj = Py_None;
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22035 PyObject *resultobj;
22036 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22037 PyObject * obj0 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
22047 (arg1)->base_OnBeginPrinting();
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 Py_INCREF(Py_None); resultobj = Py_None;
22053 return resultobj;
22054 fail:
22055 return NULL;
22056 }
22057
22058
22059 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22060 PyObject *resultobj;
22061 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22062 PyObject * obj0 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 (arg1)->base_OnEndPrinting();
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 Py_INCREF(Py_None); resultobj = Py_None;
22078 return resultobj;
22079 fail:
22080 return NULL;
22081 }
22082
22083
22084 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22087 PyObject * obj0 = 0 ;
22088 char *kwnames[] = {
22089 (char *) "self", NULL
22090 };
22091
22092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22095 {
22096 PyThreadState* __tstate = wxPyBeginAllowThreads();
22097 (arg1)->base_OnPreparePrinting();
22098
22099 wxPyEndAllowThreads(__tstate);
22100 if (PyErr_Occurred()) SWIG_fail;
22101 }
22102 Py_INCREF(Py_None); resultobj = Py_None;
22103 return resultobj;
22104 fail:
22105 return NULL;
22106 }
22107
22108
22109 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22110 PyObject *resultobj;
22111 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22112 int arg2 ;
22113 bool result;
22114 PyObject * obj0 = 0 ;
22115 PyObject * obj1 = 0 ;
22116 char *kwnames[] = {
22117 (char *) "self",(char *) "page", NULL
22118 };
22119
22120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22123 arg2 = (int) SWIG_AsInt(obj1);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 result = (bool)(arg1)->base_HasPage(arg2);
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 {
22133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22134 }
22135 return resultobj;
22136 fail:
22137 return NULL;
22138 }
22139
22140
22141 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22142 PyObject *resultobj;
22143 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22144 int *arg2 = (int *) 0 ;
22145 int *arg3 = (int *) 0 ;
22146 int *arg4 = (int *) 0 ;
22147 int *arg5 = (int *) 0 ;
22148 int temp2 ;
22149 int temp3 ;
22150 int temp4 ;
22151 int temp5 ;
22152 PyObject * obj0 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self", NULL
22155 };
22156
22157 arg2 = &temp2;
22158 arg3 = &temp3;
22159 arg4 = &temp4;
22160 arg5 = &temp5;
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 Py_INCREF(Py_None); resultobj = Py_None;
22172 {
22173 PyObject *o = PyInt_FromLong((long) (*arg2));
22174 resultobj = t_output_helper(resultobj,o);
22175 }
22176 {
22177 PyObject *o = PyInt_FromLong((long) (*arg3));
22178 resultobj = t_output_helper(resultobj,o);
22179 }
22180 {
22181 PyObject *o = PyInt_FromLong((long) (*arg4));
22182 resultobj = t_output_helper(resultobj,o);
22183 }
22184 {
22185 PyObject *o = PyInt_FromLong((long) (*arg5));
22186 resultobj = t_output_helper(resultobj,o);
22187 }
22188 return resultobj;
22189 fail:
22190 return NULL;
22191 }
22192
22193
22194 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22195 PyObject *obj;
22196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22197 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22198 Py_INCREF(obj);
22199 return Py_BuildValue((char *)"");
22200 }
22201 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22204 wxWindow *arg2 = (wxWindow *) 0 ;
22205 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22206 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22207 wxSize const &arg4_defvalue = wxDefaultSize ;
22208 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22209 long arg5 = (long) 0 ;
22210 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22211 wxString *arg6 = (wxString *) &arg6_defvalue ;
22212 wxPreviewCanvas *result;
22213 wxPoint temp3 ;
22214 wxSize temp4 ;
22215 bool temp6 = False ;
22216 PyObject * obj0 = 0 ;
22217 PyObject * obj1 = 0 ;
22218 PyObject * obj2 = 0 ;
22219 PyObject * obj3 = 0 ;
22220 PyObject * obj4 = 0 ;
22221 PyObject * obj5 = 0 ;
22222 char *kwnames[] = {
22223 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22224 };
22225
22226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22231 if (obj2) {
22232 {
22233 arg3 = &temp3;
22234 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22235 }
22236 }
22237 if (obj3) {
22238 {
22239 arg4 = &temp4;
22240 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22241 }
22242 }
22243 if (obj4) {
22244 arg5 = (long) SWIG_AsLong(obj4);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 if (obj5) {
22248 {
22249 arg6 = wxString_in_helper(obj5);
22250 if (arg6 == NULL) SWIG_fail;
22251 temp6 = True;
22252 }
22253 }
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22262 {
22263 if (temp6)
22264 delete arg6;
22265 }
22266 return resultobj;
22267 fail:
22268 {
22269 if (temp6)
22270 delete arg6;
22271 }
22272 return NULL;
22273 }
22274
22275
22276 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22277 PyObject *obj;
22278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22279 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22280 Py_INCREF(obj);
22281 return Py_BuildValue((char *)"");
22282 }
22283 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22284 PyObject *resultobj;
22285 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22286 wxFrame *arg2 = (wxFrame *) 0 ;
22287 wxString *arg3 = 0 ;
22288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22290 wxSize const &arg5_defvalue = wxDefaultSize ;
22291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22292 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22293 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22294 wxString *arg7 = (wxString *) &arg7_defvalue ;
22295 wxPreviewFrame *result;
22296 bool temp3 = False ;
22297 wxPoint temp4 ;
22298 wxSize temp5 ;
22299 bool temp7 = False ;
22300 PyObject * obj0 = 0 ;
22301 PyObject * obj1 = 0 ;
22302 PyObject * obj2 = 0 ;
22303 PyObject * obj3 = 0 ;
22304 PyObject * obj4 = 0 ;
22305 PyObject * obj5 = 0 ;
22306 PyObject * obj6 = 0 ;
22307 char *kwnames[] = {
22308 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22309 };
22310
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22314 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22316 {
22317 arg3 = wxString_in_helper(obj2);
22318 if (arg3 == NULL) SWIG_fail;
22319 temp3 = True;
22320 }
22321 if (obj3) {
22322 {
22323 arg4 = &temp4;
22324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22325 }
22326 }
22327 if (obj4) {
22328 {
22329 arg5 = &temp5;
22330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22331 }
22332 }
22333 if (obj5) {
22334 arg6 = (long) SWIG_AsLong(obj5);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 if (obj6) {
22338 {
22339 arg7 = wxString_in_helper(obj6);
22340 if (arg7 == NULL) SWIG_fail;
22341 temp7 = True;
22342 }
22343 }
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22352 {
22353 if (temp3)
22354 delete arg3;
22355 }
22356 {
22357 if (temp7)
22358 delete arg7;
22359 }
22360 return resultobj;
22361 fail:
22362 {
22363 if (temp3)
22364 delete arg3;
22365 }
22366 {
22367 if (temp7)
22368 delete arg7;
22369 }
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->Initialize();
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22402 PyObject * obj0 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 (arg1)->CreateControlBar();
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 Py_INCREF(Py_None); resultobj = Py_None;
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->CreateCanvas();
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446 }
22447
22448
22449 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22452 wxPreviewControlBar *result;
22453 PyObject * obj0 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self", NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22469 return resultobj;
22470 fail:
22471 return NULL;
22472 }
22473
22474
22475 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22476 PyObject *obj;
22477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22478 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22479 Py_INCREF(obj);
22480 return Py_BuildValue((char *)"");
22481 }
22482 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22485 long arg2 ;
22486 wxWindow *arg3 = (wxWindow *) 0 ;
22487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22489 wxSize const &arg5_defvalue = wxDefaultSize ;
22490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22491 long arg6 = (long) wxTAB_TRAVERSAL ;
22492 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22493 wxString *arg7 = (wxString *) &arg7_defvalue ;
22494 wxPreviewControlBar *result;
22495 wxPoint temp4 ;
22496 wxSize temp5 ;
22497 bool temp7 = False ;
22498 PyObject * obj0 = 0 ;
22499 PyObject * obj1 = 0 ;
22500 PyObject * obj2 = 0 ;
22501 PyObject * obj3 = 0 ;
22502 PyObject * obj4 = 0 ;
22503 PyObject * obj5 = 0 ;
22504 PyObject * obj6 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 arg2 = (long) SWIG_AsLong(obj1);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 if (obj3) {
22517 {
22518 arg4 = &temp4;
22519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22520 }
22521 }
22522 if (obj4) {
22523 {
22524 arg5 = &temp5;
22525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22526 }
22527 }
22528 if (obj5) {
22529 arg6 = (long) SWIG_AsLong(obj5);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 if (obj6) {
22533 {
22534 arg7 = wxString_in_helper(obj6);
22535 if (arg7 == NULL) SWIG_fail;
22536 temp7 = True;
22537 }
22538 }
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22547 {
22548 if (temp7)
22549 delete arg7;
22550 }
22551 return resultobj;
22552 fail:
22553 {
22554 if (temp7)
22555 delete arg7;
22556 }
22557 return NULL;
22558 }
22559
22560
22561 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22562 PyObject *resultobj;
22563 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22564 int result;
22565 PyObject * obj0 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self", NULL
22568 };
22569
22570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 result = (int)(arg1)->GetZoomControl();
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 resultobj = SWIG_FromInt((int)result);
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22590 int arg2 ;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "zoom", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22600 arg2 = (int) SWIG_AsInt(obj1);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 (arg1)->SetZoomControl(arg2);
22605
22606 wxPyEndAllowThreads(__tstate);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
22609 Py_INCREF(Py_None); resultobj = Py_None;
22610 return resultobj;
22611 fail:
22612 return NULL;
22613 }
22614
22615
22616 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj;
22618 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22619 wxPrintPreview *result;
22620 PyObject * obj0 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->OnNext();
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22670 PyObject * obj0 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "self", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->OnPrevious();
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22695 PyObject * obj0 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->OnFirst();
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22728 {
22729 PyThreadState* __tstate = wxPyBeginAllowThreads();
22730 (arg1)->OnLast();
22731
22732 wxPyEndAllowThreads(__tstate);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 }
22735 Py_INCREF(Py_None); resultobj = Py_None;
22736 return resultobj;
22737 fail:
22738 return NULL;
22739 }
22740
22741
22742 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22743 PyObject *resultobj;
22744 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22745 PyObject * obj0 = 0 ;
22746 char *kwnames[] = {
22747 (char *) "self", NULL
22748 };
22749
22750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 (arg1)->OnGoto();
22756
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 Py_INCREF(Py_None); resultobj = Py_None;
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22768 PyObject *obj;
22769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22770 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22771 Py_INCREF(obj);
22772 return Py_BuildValue((char *)"");
22773 }
22774 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22775 PyObject *resultobj;
22776 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22777 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22778 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22779 wxPrintPreview *result;
22780 PyObject * obj0 = 0 ;
22781 PyObject * obj1 = 0 ;
22782 PyObject * obj2 = 0 ;
22783
22784 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22789 if (obj2) {
22790 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22792 }
22793 {
22794 PyThreadState* __tstate = wxPyBeginAllowThreads();
22795 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22796
22797 wxPyEndAllowThreads(__tstate);
22798 if (PyErr_Occurred()) SWIG_fail;
22799 }
22800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22801 return resultobj;
22802 fail:
22803 return NULL;
22804 }
22805
22806
22807 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22808 PyObject *resultobj;
22809 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22810 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22811 wxPrintData *arg3 = (wxPrintData *) 0 ;
22812 wxPrintPreview *result;
22813 PyObject * obj0 = 0 ;
22814 PyObject * obj1 = 0 ;
22815 PyObject * obj2 = 0 ;
22816
22817 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22822 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22824 {
22825 PyThreadState* __tstate = wxPyBeginAllowThreads();
22826 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22827
22828 wxPyEndAllowThreads(__tstate);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 }
22831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22832 return resultobj;
22833 fail:
22834 return NULL;
22835 }
22836
22837
22838 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22839 int argc;
22840 PyObject *argv[4];
22841 int ii;
22842
22843 argc = PyObject_Length(args);
22844 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22845 argv[ii] = PyTuple_GetItem(args,ii);
22846 }
22847 if ((argc >= 2) && (argc <= 3)) {
22848 int _v;
22849 {
22850 void *ptr;
22851 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22852 _v = 0;
22853 PyErr_Clear();
22854 } else {
22855 _v = 1;
22856 }
22857 }
22858 if (_v) {
22859 {
22860 void *ptr;
22861 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22862 _v = 0;
22863 PyErr_Clear();
22864 } else {
22865 _v = 1;
22866 }
22867 }
22868 if (_v) {
22869 if (argc <= 2) {
22870 return _wrap_new_PrintPreview__SWIG_0(self,args);
22871 }
22872 {
22873 void *ptr;
22874 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22875 _v = 0;
22876 PyErr_Clear();
22877 } else {
22878 _v = 1;
22879 }
22880 }
22881 if (_v) {
22882 return _wrap_new_PrintPreview__SWIG_0(self,args);
22883 }
22884 }
22885 }
22886 }
22887 if (argc == 3) {
22888 int _v;
22889 {
22890 void *ptr;
22891 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22892 _v = 0;
22893 PyErr_Clear();
22894 } else {
22895 _v = 1;
22896 }
22897 }
22898 if (_v) {
22899 {
22900 void *ptr;
22901 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
22902 _v = 0;
22903 PyErr_Clear();
22904 } else {
22905 _v = 1;
22906 }
22907 }
22908 if (_v) {
22909 {
22910 void *ptr;
22911 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22912 _v = 0;
22913 PyErr_Clear();
22914 } else {
22915 _v = 1;
22916 }
22917 }
22918 if (_v) {
22919 return _wrap_new_PrintPreview__SWIG_1(self,args);
22920 }
22921 }
22922 }
22923 }
22924
22925 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
22926 return NULL;
22927 }
22928
22929
22930 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22933 int arg2 ;
22934 bool result;
22935 PyObject * obj0 = 0 ;
22936 PyObject * obj1 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self",(char *) "pageNum", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22944 arg2 = (int) SWIG_AsInt(obj1);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 result = (bool)(arg1)->SetCurrentPage(arg2);
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
22953 {
22954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22955 }
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22965 int result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (int)(arg1)->GetCurrentPage();
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = SWIG_FromInt((int)result);
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22991 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22992 PyObject * obj0 = 0 ;
22993 PyObject * obj1 = 0 ;
22994 char *kwnames[] = {
22995 (char *) "self",(char *) "printout", NULL
22996 };
22997
22998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
22999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 (arg1)->SetPrintout(arg2);
23006
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 Py_INCREF(Py_None); resultobj = Py_None;
23011 return resultobj;
23012 fail:
23013 return NULL;
23014 }
23015
23016
23017 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23018 PyObject *resultobj;
23019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23020 wxPyPrintout *result;
23021 PyObject * obj0 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 result = (wxPyPrintout *)(arg1)->GetPrintout();
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 {
23037 resultobj = wxPyMake_wxObject(result);
23038 }
23039 return resultobj;
23040 fail:
23041 return NULL;
23042 }
23043
23044
23045 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj;
23047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23048 wxPyPrintout *result;
23049 PyObject * obj0 = 0 ;
23050 char *kwnames[] = {
23051 (char *) "self", NULL
23052 };
23053
23054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 {
23065 resultobj = wxPyMake_wxObject(result);
23066 }
23067 return resultobj;
23068 fail:
23069 return NULL;
23070 }
23071
23072
23073 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23074 PyObject *resultobj;
23075 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23076 wxFrame *arg2 = (wxFrame *) 0 ;
23077 PyObject * obj0 = 0 ;
23078 PyObject * obj1 = 0 ;
23079 char *kwnames[] = {
23080 (char *) "self",(char *) "frame", NULL
23081 };
23082
23083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 (arg1)->SetFrame(arg2);
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 Py_INCREF(Py_None); resultobj = Py_None;
23096 return resultobj;
23097 fail:
23098 return NULL;
23099 }
23100
23101
23102 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23105 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self",(char *) "canvas", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 (arg1)->SetCanvas(arg2);
23120
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 Py_INCREF(Py_None); resultobj = Py_None;
23125 return resultobj;
23126 fail:
23127 return NULL;
23128 }
23129
23130
23131 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23132 PyObject *resultobj;
23133 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23134 wxFrame *result;
23135 PyObject * obj0 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 result = (wxFrame *)(arg1)->GetFrame();
23146
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 {
23151 resultobj = wxPyMake_wxObject(result);
23152 }
23153 return resultobj;
23154 fail:
23155 return NULL;
23156 }
23157
23158
23159 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23160 PyObject *resultobj;
23161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23162 wxPreviewCanvas *result;
23163 PyObject * obj0 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23179 return resultobj;
23180 fail:
23181 return NULL;
23182 }
23183
23184
23185 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23188 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23189 wxDC *arg3 = 0 ;
23190 bool result;
23191 PyObject * obj0 = 0 ;
23192 PyObject * obj1 = 0 ;
23193 PyObject * obj2 = 0 ;
23194 char *kwnames[] = {
23195 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23196 };
23197
23198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23203 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23204 SWIG_POINTER_EXCEPTION | 0)) == -1)
23205 SWIG_fail;
23206 if (arg3 == NULL) {
23207 PyErr_SetString(PyExc_TypeError,"null reference");
23208 SWIG_fail;
23209 }
23210 {
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23213
23214 wxPyEndAllowThreads(__tstate);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 {
23218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23219 }
23220 return resultobj;
23221 fail:
23222 return NULL;
23223 }
23224
23225
23226 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23227 PyObject *resultobj;
23228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23229 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23230 wxDC *arg3 = 0 ;
23231 bool result;
23232 PyObject * obj0 = 0 ;
23233 PyObject * obj1 = 0 ;
23234 PyObject * obj2 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23244 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23245 SWIG_POINTER_EXCEPTION | 0)) == -1)
23246 SWIG_fail;
23247 if (arg3 == NULL) {
23248 PyErr_SetString(PyExc_TypeError,"null reference");
23249 SWIG_fail;
23250 }
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23254
23255 wxPyEndAllowThreads(__tstate);
23256 if (PyErr_Occurred()) SWIG_fail;
23257 }
23258 {
23259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23260 }
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23270 int arg2 ;
23271 bool result;
23272 PyObject * obj0 = 0 ;
23273 PyObject * obj1 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self",(char *) "pageNum", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23281 arg2 = (int) SWIG_AsInt(obj1);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 {
23284 PyThreadState* __tstate = wxPyBeginAllowThreads();
23285 result = (bool)(arg1)->RenderPage(arg2);
23286
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 {
23291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23292 }
23293 return resultobj;
23294 fail:
23295 return NULL;
23296 }
23297
23298
23299 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23300 PyObject *resultobj;
23301 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23302 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "canvas", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 (arg1)->AdjustScrollbars(arg2);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23331 wxPrintDialogData *result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 {
23343 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23344 result = (wxPrintDialogData *) &_result_ref;
23345 }
23346
23347 wxPyEndAllowThreads(__tstate);
23348 if (PyErr_Occurred()) SWIG_fail;
23349 }
23350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23351 return resultobj;
23352 fail:
23353 return NULL;
23354 }
23355
23356
23357 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23358 PyObject *resultobj;
23359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23360 int arg2 ;
23361 PyObject * obj0 = 0 ;
23362 PyObject * obj1 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self",(char *) "percent", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23370 arg2 = (int) SWIG_AsInt(obj1);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 {
23373 PyThreadState* __tstate = wxPyBeginAllowThreads();
23374 (arg1)->SetZoom(arg2);
23375
23376 wxPyEndAllowThreads(__tstate);
23377 if (PyErr_Occurred()) SWIG_fail;
23378 }
23379 Py_INCREF(Py_None); resultobj = Py_None;
23380 return resultobj;
23381 fail:
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23389 int result;
23390 PyObject * obj0 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = (int)(arg1)->GetZoom();
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 resultobj = SWIG_FromInt((int)result);
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23413 PyObject *resultobj;
23414 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23415 int result;
23416 PyObject * obj0 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "self", NULL
23419 };
23420
23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (int)(arg1)->GetMaxPage();
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = SWIG_FromInt((int)result);
23432 return resultobj;
23433 fail:
23434 return NULL;
23435 }
23436
23437
23438 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23441 int result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 result = (int)(arg1)->GetMinPage();
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 resultobj = SWIG_FromInt((int)result);
23458 return resultobj;
23459 fail:
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23467 bool result;
23468 PyObject * obj0 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 result = (bool)(arg1)->Ok();
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 {
23484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23485 }
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23493 PyObject *resultobj;
23494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23495 bool arg2 ;
23496 PyObject * obj0 = 0 ;
23497 PyObject * obj1 = 0 ;
23498 char *kwnames[] = {
23499 (char *) "self",(char *) "ok", NULL
23500 };
23501
23502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23505 arg2 = (bool) SWIG_AsBool(obj1);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 {
23508 PyThreadState* __tstate = wxPyBeginAllowThreads();
23509 (arg1)->SetOk(arg2);
23510
23511 wxPyEndAllowThreads(__tstate);
23512 if (PyErr_Occurred()) SWIG_fail;
23513 }
23514 Py_INCREF(Py_None); resultobj = Py_None;
23515 return resultobj;
23516 fail:
23517 return NULL;
23518 }
23519
23520
23521 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23522 PyObject *resultobj;
23523 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23524 bool arg2 ;
23525 bool result;
23526 PyObject * obj0 = 0 ;
23527 PyObject * obj1 = 0 ;
23528 char *kwnames[] = {
23529 (char *) "self",(char *) "interactive", NULL
23530 };
23531
23532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23535 arg2 = (bool) SWIG_AsBool(obj1);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 result = (bool)(arg1)->Print(arg2);
23540
23541 wxPyEndAllowThreads(__tstate);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 }
23544 {
23545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23546 }
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23554 PyObject *resultobj;
23555 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23556 PyObject * obj0 = 0 ;
23557 char *kwnames[] = {
23558 (char *) "self", NULL
23559 };
23560
23561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->DetermineScaling();
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 Py_INCREF(Py_None); resultobj = Py_None;
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23579 PyObject *obj;
23580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23581 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23582 Py_INCREF(obj);
23583 return Py_BuildValue((char *)"");
23584 }
23585 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23586 PyObject *resultobj;
23587 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23588 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23589 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23590 wxPyPrintPreview *result;
23591 PyObject * obj0 = 0 ;
23592 PyObject * obj1 = 0 ;
23593 PyObject * obj2 = 0 ;
23594
23595 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23598 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23600 if (obj2) {
23601 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23603 }
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23619 PyObject *resultobj;
23620 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23621 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23622 wxPrintData *arg3 = (wxPrintData *) 0 ;
23623 wxPyPrintPreview *result;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 PyObject * obj2 = 0 ;
23627
23628 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23633 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23650 int argc;
23651 PyObject *argv[4];
23652 int ii;
23653
23654 argc = PyObject_Length(args);
23655 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23656 argv[ii] = PyTuple_GetItem(args,ii);
23657 }
23658 if ((argc >= 2) && (argc <= 3)) {
23659 int _v;
23660 {
23661 void *ptr;
23662 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23663 _v = 0;
23664 PyErr_Clear();
23665 } else {
23666 _v = 1;
23667 }
23668 }
23669 if (_v) {
23670 {
23671 void *ptr;
23672 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23673 _v = 0;
23674 PyErr_Clear();
23675 } else {
23676 _v = 1;
23677 }
23678 }
23679 if (_v) {
23680 if (argc <= 2) {
23681 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23682 }
23683 {
23684 void *ptr;
23685 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23686 _v = 0;
23687 PyErr_Clear();
23688 } else {
23689 _v = 1;
23690 }
23691 }
23692 if (_v) {
23693 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23694 }
23695 }
23696 }
23697 }
23698 if (argc == 3) {
23699 int _v;
23700 {
23701 void *ptr;
23702 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23703 _v = 0;
23704 PyErr_Clear();
23705 } else {
23706 _v = 1;
23707 }
23708 }
23709 if (_v) {
23710 {
23711 void *ptr;
23712 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23713 _v = 0;
23714 PyErr_Clear();
23715 } else {
23716 _v = 1;
23717 }
23718 }
23719 if (_v) {
23720 {
23721 void *ptr;
23722 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23723 _v = 0;
23724 PyErr_Clear();
23725 } else {
23726 _v = 1;
23727 }
23728 }
23729 if (_v) {
23730 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23731 }
23732 }
23733 }
23734 }
23735
23736 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23737 return NULL;
23738 }
23739
23740
23741 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23744 PyObject *arg2 = (PyObject *) 0 ;
23745 PyObject *arg3 = (PyObject *) 0 ;
23746 PyObject * obj0 = 0 ;
23747 PyObject * obj1 = 0 ;
23748 PyObject * obj2 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self",(char *) "self",(char *) "_class", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23756 arg2 = obj1;
23757 arg3 = obj2;
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 (arg1)->_setCallbackInfo(arg2,arg3);
23761
23762 wxPyEndAllowThreads(__tstate);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 Py_INCREF(Py_None); resultobj = Py_None;
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23773 PyObject *resultobj;
23774 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23775 int arg2 ;
23776 bool result;
23777 PyObject * obj0 = 0 ;
23778 PyObject * obj1 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "pageNum", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23786 arg2 = (int) SWIG_AsInt(obj1);
23787 if (PyErr_Occurred()) SWIG_fail;
23788 {
23789 PyThreadState* __tstate = wxPyBeginAllowThreads();
23790 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23791
23792 wxPyEndAllowThreads(__tstate);
23793 if (PyErr_Occurred()) SWIG_fail;
23794 }
23795 {
23796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23797 }
23798 return resultobj;
23799 fail:
23800 return NULL;
23801 }
23802
23803
23804 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23805 PyObject *resultobj;
23806 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23807 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23808 wxDC *arg3 = 0 ;
23809 bool result;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 PyObject * obj2 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23822 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23823 SWIG_POINTER_EXCEPTION | 0)) == -1)
23824 SWIG_fail;
23825 if (arg3 == NULL) {
23826 PyErr_SetString(PyExc_TypeError,"null reference");
23827 SWIG_fail;
23828 }
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 {
23837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23838 }
23839 return resultobj;
23840 fail:
23841 return NULL;
23842 }
23843
23844
23845 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23846 PyObject *resultobj;
23847 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23848 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23849 wxDC *arg3 = 0 ;
23850 bool result;
23851 PyObject * obj0 = 0 ;
23852 PyObject * obj1 = 0 ;
23853 PyObject * obj2 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23863 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23864 SWIG_POINTER_EXCEPTION | 0)) == -1)
23865 SWIG_fail;
23866 if (arg3 == NULL) {
23867 PyErr_SetString(PyExc_TypeError,"null reference");
23868 SWIG_fail;
23869 }
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 {
23878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23879 }
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23889 int arg2 ;
23890 bool result;
23891 PyObject * obj0 = 0 ;
23892 PyObject * obj1 = 0 ;
23893 char *kwnames[] = {
23894 (char *) "self",(char *) "pageNum", NULL
23895 };
23896
23897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23900 arg2 = (int) SWIG_AsInt(obj1);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 {
23903 PyThreadState* __tstate = wxPyBeginAllowThreads();
23904 result = (bool)(arg1)->base_RenderPage(arg2);
23905
23906 wxPyEndAllowThreads(__tstate);
23907 if (PyErr_Occurred()) SWIG_fail;
23908 }
23909 {
23910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23911 }
23912 return resultobj;
23913 fail:
23914 return NULL;
23915 }
23916
23917
23918 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23921 int arg2 ;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 char *kwnames[] = {
23925 (char *) "self",(char *) "percent", NULL
23926 };
23927
23928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23931 arg2 = (int) SWIG_AsInt(obj1);
23932 if (PyErr_Occurred()) SWIG_fail;
23933 {
23934 PyThreadState* __tstate = wxPyBeginAllowThreads();
23935 (arg1)->base_SetZoom(arg2);
23936
23937 wxPyEndAllowThreads(__tstate);
23938 if (PyErr_Occurred()) SWIG_fail;
23939 }
23940 Py_INCREF(Py_None); resultobj = Py_None;
23941 return resultobj;
23942 fail:
23943 return NULL;
23944 }
23945
23946
23947 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23948 PyObject *resultobj;
23949 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23950 bool arg2 ;
23951 bool result;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "self",(char *) "interactive", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
23959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23961 arg2 = (bool) SWIG_AsBool(obj1);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 result = (bool)(arg1)->base_Print(arg2);
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 {
23971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23972 }
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23980 PyObject *resultobj;
23981 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23982 PyObject * obj0 = 0 ;
23983 char *kwnames[] = {
23984 (char *) "self", NULL
23985 };
23986
23987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
23988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 (arg1)->base_DetermineScaling();
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 Py_INCREF(Py_None); resultobj = Py_None;
23998 return resultobj;
23999 fail:
24000 return NULL;
24001 }
24002
24003
24004 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24005 PyObject *obj;
24006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24007 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24008 Py_INCREF(obj);
24009 return Py_BuildValue((char *)"");
24010 }
24011 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24014 wxFrame *arg2 = (wxFrame *) 0 ;
24015 wxString *arg3 = 0 ;
24016 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24017 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24018 wxSize const &arg5_defvalue = wxDefaultSize ;
24019 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24020 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24021 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24022 wxString *arg7 = (wxString *) &arg7_defvalue ;
24023 wxPyPreviewFrame *result;
24024 bool temp3 = False ;
24025 wxPoint temp4 ;
24026 wxSize temp5 ;
24027 bool temp7 = False ;
24028 PyObject * obj0 = 0 ;
24029 PyObject * obj1 = 0 ;
24030 PyObject * obj2 = 0 ;
24031 PyObject * obj3 = 0 ;
24032 PyObject * obj4 = 0 ;
24033 PyObject * obj5 = 0 ;
24034 PyObject * obj6 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24042 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24044 {
24045 arg3 = wxString_in_helper(obj2);
24046 if (arg3 == NULL) SWIG_fail;
24047 temp3 = True;
24048 }
24049 if (obj3) {
24050 {
24051 arg4 = &temp4;
24052 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24053 }
24054 }
24055 if (obj4) {
24056 {
24057 arg5 = &temp5;
24058 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24059 }
24060 }
24061 if (obj5) {
24062 arg6 = (long) SWIG_AsLong(obj5);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 if (obj6) {
24066 {
24067 arg7 = wxString_in_helper(obj6);
24068 if (arg7 == NULL) SWIG_fail;
24069 temp7 = True;
24070 }
24071 }
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24075
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24080 {
24081 if (temp3)
24082 delete arg3;
24083 }
24084 {
24085 if (temp7)
24086 delete arg7;
24087 }
24088 return resultobj;
24089 fail:
24090 {
24091 if (temp3)
24092 delete arg3;
24093 }
24094 {
24095 if (temp7)
24096 delete arg7;
24097 }
24098 return NULL;
24099 }
24100
24101
24102 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24103 PyObject *resultobj;
24104 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24105 PyObject *arg2 = (PyObject *) 0 ;
24106 PyObject *arg3 = (PyObject *) 0 ;
24107 PyObject * obj0 = 0 ;
24108 PyObject * obj1 = 0 ;
24109 PyObject * obj2 = 0 ;
24110 char *kwnames[] = {
24111 (char *) "self",(char *) "self",(char *) "_class", NULL
24112 };
24113
24114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24117 arg2 = obj1;
24118 arg3 = obj2;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 (arg1)->_setCallbackInfo(arg2,arg3);
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 Py_INCREF(Py_None); resultobj = Py_None;
24127 return resultobj;
24128 fail:
24129 return NULL;
24130 }
24131
24132
24133 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24136 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self",(char *) "canvas", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24146 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 (arg1)->SetPreviewCanvas(arg2);
24151
24152 wxPyEndAllowThreads(__tstate);
24153 if (PyErr_Occurred()) SWIG_fail;
24154 }
24155 Py_INCREF(Py_None); resultobj = Py_None;
24156 return resultobj;
24157 fail:
24158 return NULL;
24159 }
24160
24161
24162 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24163 PyObject *resultobj;
24164 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24165 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24166 PyObject * obj0 = 0 ;
24167 PyObject * obj1 = 0 ;
24168 char *kwnames[] = {
24169 (char *) "self",(char *) "bar", NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24177 {
24178 PyThreadState* __tstate = wxPyBeginAllowThreads();
24179 (arg1)->SetControlBar(arg2);
24180
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 Py_INCREF(Py_None); resultobj = Py_None;
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24194 PyObject * obj0 = 0 ;
24195 char *kwnames[] = {
24196 (char *) "self", NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->base_Initialize();
24205
24206 wxPyEndAllowThreads(__tstate);
24207 if (PyErr_Occurred()) SWIG_fail;
24208 }
24209 Py_INCREF(Py_None); resultobj = Py_None;
24210 return resultobj;
24211 fail:
24212 return NULL;
24213 }
24214
24215
24216 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24217 PyObject *resultobj;
24218 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24219 PyObject * obj0 = 0 ;
24220 char *kwnames[] = {
24221 (char *) "self", NULL
24222 };
24223
24224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 (arg1)->base_CreateCanvas();
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 Py_INCREF(Py_None); resultobj = Py_None;
24235 return resultobj;
24236 fail:
24237 return NULL;
24238 }
24239
24240
24241 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj;
24243 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24244 PyObject * obj0 = 0 ;
24245 char *kwnames[] = {
24246 (char *) "self", NULL
24247 };
24248
24249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 (arg1)->base_CreateControlBar();
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 Py_INCREF(Py_None); resultobj = Py_None;
24260 return resultobj;
24261 fail:
24262 return NULL;
24263 }
24264
24265
24266 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24267 PyObject *obj;
24268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24269 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24270 Py_INCREF(obj);
24271 return Py_BuildValue((char *)"");
24272 }
24273 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj;
24275 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24276 long arg2 ;
24277 wxWindow *arg3 = (wxWindow *) 0 ;
24278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24280 wxSize const &arg5_defvalue = wxDefaultSize ;
24281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24282 long arg6 = (long) 0 ;
24283 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24284 wxString *arg7 = (wxString *) &arg7_defvalue ;
24285 wxPyPreviewControlBar *result;
24286 wxPoint temp4 ;
24287 wxSize temp5 ;
24288 bool temp7 = False ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 PyObject * obj2 = 0 ;
24292 PyObject * obj3 = 0 ;
24293 PyObject * obj4 = 0 ;
24294 PyObject * obj5 = 0 ;
24295 PyObject * obj6 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24303 arg2 = (long) SWIG_AsLong(obj1);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24307 if (obj3) {
24308 {
24309 arg4 = &temp4;
24310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24311 }
24312 }
24313 if (obj4) {
24314 {
24315 arg5 = &temp5;
24316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24317 }
24318 }
24319 if (obj5) {
24320 arg6 = (long) SWIG_AsLong(obj5);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 if (obj6) {
24324 {
24325 arg7 = wxString_in_helper(obj6);
24326 if (arg7 == NULL) SWIG_fail;
24327 temp7 = True;
24328 }
24329 }
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24338 {
24339 if (temp7)
24340 delete arg7;
24341 }
24342 return resultobj;
24343 fail:
24344 {
24345 if (temp7)
24346 delete arg7;
24347 }
24348 return NULL;
24349 }
24350
24351
24352 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24353 PyObject *resultobj;
24354 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24355 PyObject *arg2 = (PyObject *) 0 ;
24356 PyObject *arg3 = (PyObject *) 0 ;
24357 PyObject * obj0 = 0 ;
24358 PyObject * obj1 = 0 ;
24359 PyObject * obj2 = 0 ;
24360 char *kwnames[] = {
24361 (char *) "self",(char *) "self",(char *) "_class", NULL
24362 };
24363
24364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24367 arg2 = obj1;
24368 arg3 = obj2;
24369 {
24370 PyThreadState* __tstate = wxPyBeginAllowThreads();
24371 (arg1)->_setCallbackInfo(arg2,arg3);
24372
24373 wxPyEndAllowThreads(__tstate);
24374 if (PyErr_Occurred()) SWIG_fail;
24375 }
24376 Py_INCREF(Py_None); resultobj = Py_None;
24377 return resultobj;
24378 fail:
24379 return NULL;
24380 }
24381
24382
24383 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24384 PyObject *resultobj;
24385 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24386 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24387 PyObject * obj0 = 0 ;
24388 PyObject * obj1 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "self",(char *) "preview", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 (arg1)->SetPrintPreview(arg2);
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 Py_INCREF(Py_None); resultobj = Py_None;
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj;
24414 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24415 PyObject * obj0 = 0 ;
24416 char *kwnames[] = {
24417 (char *) "self", NULL
24418 };
24419
24420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 (arg1)->base_CreateButtons();
24426
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 Py_INCREF(Py_None); resultobj = Py_None;
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj;
24439 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24440 int arg2 ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self",(char *) "zoom", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24450 arg2 = (int) SWIG_AsInt(obj1);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 (arg1)->base_SetZoomControl(arg2);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 Py_INCREF(Py_None); resultobj = Py_None;
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24467 PyObject *obj;
24468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24469 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24470 Py_INCREF(obj);
24471 return Py_BuildValue((char *)"");
24472 }
24473 static PyMethodDef SwigMethods[] = {
24474 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24475 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24476 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24477 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24478 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24479 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24480 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24481 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24482 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24483 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24484 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24485 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24486 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24487 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24488 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24489 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24490 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24491 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24492 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24493 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24494 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24495 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24496 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24497 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24498 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24499 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24500 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24501 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24502 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24503 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24504 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24505 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24506 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24507 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24508 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24509 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24510 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24511 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24512 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24513 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24514 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24515 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24516 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24517 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24518 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24519 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24520 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24521 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24522 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24523 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24524 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24525 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24526 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24527 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24528 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24529 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24530 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24531 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24532 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24533 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24534 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24535 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24536 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24537 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24538 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24539 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24540 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24541 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24542 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24543 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24544 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24545 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24546 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24547 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24548 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24549 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24550 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24551 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24552 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24553 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24554 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24555 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24556 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24557 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24558 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24559 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24560 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24561 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24562 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24563 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24564 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24565 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24566 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24567 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24568 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24569 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24570 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24571 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24572 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24573 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24574 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24575 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24576 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24577 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24578 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24579 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24580 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24581 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24582 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24583 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24584 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24585 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24586 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24587 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24588 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24589 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24590 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24591 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24592 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24593 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24594 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24595 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24596 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24597 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24598 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24599 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24600 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24601 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24602 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24603 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24604 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24605 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24606 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24607 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24608 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24609 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24610 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24611 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24612 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24613 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24614 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24615 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24616 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24617 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24618 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24619 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24620 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24621 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24622 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24628 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24639 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24643 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24644 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24647 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24652 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24659 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24665 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24666 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24674 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24680 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24685 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24691 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24695 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24713 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24739 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24747 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24756 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24758 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24767 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24770 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24777 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24795 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24799 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24804 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24808 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24824 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24827 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24829 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24833 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24842 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
24851 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
24857 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
24869 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
24876 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
24880 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
24904 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
24928 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
24952 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
24998 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25030 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25034 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25035 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25068 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25073 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25084 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25107 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25109 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25115 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25125 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25126 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25149 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25150 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25159 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25167 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25173 { NULL, NULL }
25174 };
25175
25176
25177 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25178
25179 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25180 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25181 }
25182 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25184 }
25185 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25186 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25187 }
25188 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25189 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25190 }
25191 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25192 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25193 }
25194 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25195 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25196 }
25197 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25198 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25199 }
25200 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25201 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25202 }
25203 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25204 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25205 }
25206 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25207 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25208 }
25209 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25210 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25211 }
25212 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25213 return (void *)((wxEvent *) ((wxPyEvent *) x));
25214 }
25215 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25216 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25217 }
25218 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25219 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25220 }
25221 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25222 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25223 }
25224 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25226 }
25227 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25228 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25229 }
25230 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25231 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25232 }
25233 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25234 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25235 }
25236 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25237 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25238 }
25239 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25240 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25241 }
25242 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25243 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25244 }
25245 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25246 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25247 }
25248 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25249 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25250 }
25251 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25252 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25253 }
25254 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25255 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25256 }
25257 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25258 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25259 }
25260 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25261 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25262 }
25263 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25264 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25265 }
25266 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25267 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25268 }
25269 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25270 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25271 }
25272 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25274 }
25275 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25277 }
25278 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25279 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25280 }
25281 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25282 return (void *)((wxEvent *) ((wxShowEvent *) x));
25283 }
25284 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25285 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25286 }
25287 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25288 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25289 }
25290 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25291 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25292 }
25293 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25294 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25295 }
25296 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25297 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25298 }
25299 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25300 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25301 }
25302 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25303 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25304 }
25305 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25306 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25307 }
25308 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25310 }
25311 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25312 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25313 }
25314 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25315 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25316 }
25317 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25318 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25319 }
25320 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25321 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25322 }
25323 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25324 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25325 }
25326 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25327 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25328 }
25329 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25330 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25331 }
25332 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25333 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25334 }
25335 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25337 }
25338 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25340 }
25341 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25343 }
25344 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25346 }
25347 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25348 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25349 }
25350 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25351 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25352 }
25353 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25354 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25355 }
25356 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25357 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25358 }
25359 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25360 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25361 }
25362 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25363 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25364 }
25365 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25366 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25367 }
25368 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25369 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25370 }
25371 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25372 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25373 }
25374 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25375 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25376 }
25377 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25378 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25379 }
25380 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25381 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25382 }
25383 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25384 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25385 }
25386 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25387 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25388 }
25389 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25390 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25391 }
25392 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25393 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25394 }
25395 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25396 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25397 }
25398 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25400 }
25401 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25403 }
25404 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25405 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25406 }
25407 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25408 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25409 }
25410 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25411 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25412 }
25413 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25414 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25415 }
25416 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25417 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25418 }
25419 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25420 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25421 }
25422 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25424 }
25425 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25426 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25427 }
25428 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25429 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25430 }
25431 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25432 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25433 }
25434 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25436 }
25437 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25439 }
25440 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25442 }
25443 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25445 }
25446 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25448 }
25449 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25451 }
25452 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25454 }
25455 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25457 }
25458 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25459 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25460 }
25461 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25462 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25463 }
25464 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25465 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25466 }
25467 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25468 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25469 }
25470 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25471 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25472 }
25473 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25474 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25475 }
25476 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25477 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25478 }
25479 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25480 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25481 }
25482 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25483 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25484 }
25485 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25486 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25487 }
25488 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25490 }
25491 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25493 }
25494 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25495 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25496 }
25497 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25498 return (void *)((wxObject *) ((wxSizerItem *) x));
25499 }
25500 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25502 }
25503 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25504 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25505 }
25506 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25507 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25508 }
25509 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25510 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25511 }
25512 static void *_p_wxSizerTo_p_wxObject(void *x) {
25513 return (void *)((wxObject *) ((wxSizer *) x));
25514 }
25515 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25516 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25517 }
25518 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25519 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25520 }
25521 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25523 }
25524 static void *_p_wxEventTo_p_wxObject(void *x) {
25525 return (void *)((wxObject *) ((wxEvent *) x));
25526 }
25527 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25528 return (void *)((wxObject *) ((wxFontData *) x));
25529 }
25530 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25531 return (void *)((wxObject *) ((wxPrintData *) x));
25532 }
25533 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25534 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25535 }
25536 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25537 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25538 }
25539 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25540 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25541 }
25542 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25543 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25544 }
25545 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25546 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25547 }
25548 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25550 }
25551 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25552 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25553 }
25554 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25555 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25556 }
25557 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25558 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25559 }
25560 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25561 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25562 }
25563 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25564 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25565 }
25566 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25567 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25568 }
25569 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25571 }
25572 static void *_p_wxControlTo_p_wxObject(void *x) {
25573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25574 }
25575 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25576 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25577 }
25578 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25579 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25580 }
25581 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25582 return (void *)((wxObject *) ((wxFSFile *) x));
25583 }
25584 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25585 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25586 }
25587 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25588 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25589 }
25590 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25592 }
25593 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25594 return (void *)((wxObject *) ((wxColourData *) x));
25595 }
25596 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25597 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25598 }
25599 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25601 }
25602 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25604 }
25605 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25607 }
25608 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25610 }
25611 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25613 }
25614 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25616 }
25617 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25619 }
25620 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25622 }
25623 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25625 }
25626 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25628 }
25629 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25630 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25631 }
25632 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25633 return (void *)((wxObject *) ((wxPrinter *) x));
25634 }
25635 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) ((wxMenuItem *) x));
25637 }
25638 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25640 }
25641 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25643 }
25644 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25646 }
25647 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25649 }
25650 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25652 }
25653 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25655 }
25656 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25658 }
25659 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25661 }
25662 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25664 }
25665 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25667 }
25668 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25670 }
25671 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25673 }
25674 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25676 }
25677 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25679 }
25680 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25682 }
25683 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25685 }
25686 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25688 }
25689 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25691 }
25692 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) ((wxImageHandler *) x));
25694 }
25695 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25697 }
25698 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) ((wxEvtHandler *) x));
25700 }
25701 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25703 }
25704 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25706 }
25707 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25709 }
25710 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25712 }
25713 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25715 }
25716 static void *_p_wxImageTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) ((wxImage *) x));
25718 }
25719 static void *_p_wxFrameTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25721 }
25722 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) ((wxPyPrintout *) x));
25724 }
25725 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25727 }
25728 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25730 }
25731 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25733 }
25734 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25736 }
25737 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25739 }
25740 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25742 }
25743 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25745 }
25746 static void *_p_wxWindowTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25748 }
25749 static void *_p_wxMenuTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25751 }
25752 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25754 }
25755 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25757 }
25758 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25760 }
25761 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25763 }
25764 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25766 }
25767 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25769 }
25770 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25772 }
25773 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25775 }
25776 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25778 }
25779 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25781 }
25782 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25784 }
25785 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25787 }
25788 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25790 }
25791 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25793 }
25794 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) ((wxPrintPreview *) x));
25796 }
25797 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25799 }
25800 static void *_p_wxPanelTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25802 }
25803 static void *_p_wxDialogTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25805 }
25806 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25808 }
25809 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25811 }
25812 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25814 }
25815 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25817 }
25818 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25820 }
25821 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) ((wxFileSystem *) x));
25823 }
25824 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25826 }
25827 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25828 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25829 }
25830 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25831 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25832 }
25833 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25834 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25835 }
25836 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25837 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25838 }
25839 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25840 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25841 }
25842 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25843 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25844 }
25845 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25846 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
25847 }
25848 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
25849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25850 }
25851 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
25852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25853 }
25854 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
25855 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
25856 }
25857 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
25858 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
25859 }
25860 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
25861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
25862 }
25863 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
25864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25865 }
25866 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
25867 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
25868 }
25869 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
25870 return (void *)((wxObject *) ((wxPrintDialogData *) x));
25871 }
25872 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
25873 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
25874 }
25875 static void *_p_wxValidatorTo_p_wxObject(void *x) {
25876 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
25877 }
25878 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
25879 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25880 }
25881 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
25882 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
25883 }
25884 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
25885 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25886 }
25887 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
25888 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25889 }
25890 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
25891 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25892 }
25893 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
25894 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
25895 }
25896 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
25897 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
25898 }
25899 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
25900 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
25901 }
25902 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
25903 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
25904 }
25905 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
25906 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
25907 }
25908 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
25909 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
25910 }
25911 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
25912 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
25913 }
25914 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
25915 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
25916 }
25917 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
25918 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
25919 }
25920 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
25921 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
25922 }
25923 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
25924 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
25925 }
25926 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
25927 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
25928 }
25929 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
25930 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
25931 }
25932 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
25933 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
25934 }
25935 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
25936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
25937 }
25938 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
25939 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
25940 }
25941 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25942 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
25943 }
25944 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
25945 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
25946 }
25947 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
25948 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
25949 }
25950 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25951 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
25952 }
25953 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
25954 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25955 }
25956 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
25957 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25958 }
25959 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
25960 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25961 }
25962 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
25963 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
25964 }
25965 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
25966 return (void *)((wxWindow *) ((wxMenuBar *) x));
25967 }
25968 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
25969 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25970 }
25971 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
25972 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25973 }
25974 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
25975 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25976 }
25977 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
25978 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25979 }
25980 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
25981 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25982 }
25983 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
25984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25985 }
25986 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
25987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25988 }
25989 static void *_p_wxPanelTo_p_wxWindow(void *x) {
25990 return (void *)((wxWindow *) ((wxPanel *) x));
25991 }
25992 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
25993 return (void *)((wxWindow *) ((wxStatusBar *) x));
25994 }
25995 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
25996 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
25997 }
25998 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
25999 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26000 }
26001 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26002 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26003 }
26004 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26005 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26006 }
26007 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26008 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26009 }
26010 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26011 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26012 }
26013 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26014 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26015 }
26016 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26017 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26018 }
26019 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26020 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26021 }
26022 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26023 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26024 }
26025 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26026 return (void *)((wxWindow *) ((wxSashWindow *) x));
26027 }
26028 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26029 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26030 }
26031 static void *_p_wxControlTo_p_wxWindow(void *x) {
26032 return (void *)((wxWindow *) ((wxControl *) x));
26033 }
26034 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26035 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26036 }
26037 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26038 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26039 }
26040 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26041 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26042 }
26043 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26044 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26045 }
26046 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26047 return (void *)((wxWindow *) ((wxPyWindow *) x));
26048 }
26049 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26050 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26051 }
26052 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26053 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26054 }
26055 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26056 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26057 }
26058 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26059 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26060 }
26061 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26062 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26063 }
26064 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26065 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26066 }
26067 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26068 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26069 }
26070 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26072 }
26073 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26075 }
26076 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26077 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26078 }
26079 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26081 }
26082 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26084 }
26085 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26087 }
26088 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26089 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26090 }
26091 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26092 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26093 }
26094 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26095 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26096 }
26097 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26098 return (void *)((wxDialog *) ((wxColourDialog *) x));
26099 }
26100 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26101 return (void *)((wxDialog *) ((wxDirDialog *) x));
26102 }
26103 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26104 return (void *)((wxDialog *) ((wxFontDialog *) x));
26105 }
26106 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26107 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26108 }
26109 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26110 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26111 }
26112 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26113 return (void *)((wxDialog *) ((wxFileDialog *) x));
26114 }
26115 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26116 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26117 }
26118 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26119 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26120 }
26121 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26122 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26123 }
26124 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26125 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26126 }
26127 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26128 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26129 }
26130 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26131 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26132 }
26133 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26134 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26135 }
26136 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26137 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26138 }
26139 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26140 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26141 }
26142 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26143 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26144 }
26145 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26146 return (void *)((wxPanel *) ((wxPyPanel *) x));
26147 }
26148 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26149 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26150 }
26151 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26152 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26153 }
26154 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26155 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26156 }
26157 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26158 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26159 }
26160 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26161 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26162 }
26163 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26164 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26165 }
26166 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26167 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26168 }
26169 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26170 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26171 }
26172 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26173 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26174 }
26175 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26176 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26177 }
26178 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26179 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26180 }
26181 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26182 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26183 }
26184 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26185 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26186 }
26187 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26188 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26189 }
26190 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26191 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26192 }
26193 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}};
26194 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}};
26195 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}};
26196 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}};
26197 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}};
26198 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}};
26199 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}};
26200 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}};
26201 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}};
26202 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}};
26203 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}};
26204 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}};
26205 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}};
26206 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}};
26207 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}};
26208 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}};
26209 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}};
26210 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}};
26211 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}};
26212 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}};
26213 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}};
26214 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}};
26215 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}};
26216 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}};
26217 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}};
26218 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}};
26219 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}};
26220 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}};
26221 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}};
26222 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}};
26223 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}};
26224 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}};
26225 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}};
26226 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}};
26227 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}};
26228 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}};
26229 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}};
26230 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}};
26231 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}};
26232 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}};
26233 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}};
26234 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}};
26235 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}};
26236 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}};
26237 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}};
26238 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}};
26239 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}};
26240 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}};
26241 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}};
26242 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}};
26243 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}};
26244 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}};
26245 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26246 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}};
26247 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}};
26248 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}};
26249 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}};
26250 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}};
26251 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}};
26252 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}};
26253 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}};
26254 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}};
26255 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}};
26256 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}};
26257 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}};
26258 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}};
26259 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}};
26260 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}};
26261 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}};
26262 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}};
26263 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}};
26264 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}};
26265 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}};
26266 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}};
26267 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}};
26268 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}};
26269 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}};
26270 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}};
26271 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}};
26272 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}};
26273 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}};
26274 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}};
26275 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}};
26276 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}};
26277 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}};
26278 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}};
26279 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}};
26280
26281 static swig_type_info *swig_types_initial[] = {
26282 _swigt__p_wxQueryLayoutInfoEvent,
26283 _swigt__p_wxPreviewFrame,
26284 _swigt__p_wxPyPreviewFrame,
26285 _swigt__p_wxPyPanel,
26286 _swigt__p_wxMenu,
26287 _swigt__p_wxFontData,
26288 _swigt__p_wxEvent,
26289 _swigt__p_wxPrintData,
26290 _swigt__p_wxTaskBarIcon,
26291 _swigt__p_wxIconBundle,
26292 _swigt__p_wxLayoutAlgorithm,
26293 _swigt__p_wxFindDialogEvent,
26294 _swigt__p_wxPreviewCanvas,
26295 _swigt__p_wxFont,
26296 _swigt__p_wxSplitterEvent,
26297 _swigt__p_wxRegion,
26298 _swigt__p_wxFindReplaceData,
26299 _swigt__p_int,
26300 _swigt__p_wxSize,
26301 _swigt__p_wxDC,
26302 _swigt__p_wxIcon,
26303 _swigt__p_wxVisualAttributes,
26304 _swigt__p_wxMDIChildFrame,
26305 _swigt__p_wxColourData,
26306 _swigt__p_wxNotifyEvent,
26307 _swigt__p_wxPyWindow,
26308 _swigt__p_wxSplashScreen,
26309 _swigt__p_wxFindReplaceDialog,
26310 _swigt__p_wxProgressDialog,
26311 _swigt__p_wxMessageDialog,
26312 _swigt__p_wxTextEntryDialog,
26313 _swigt__p_wxSingleChoiceDialog,
26314 _swigt__p_wxMultiChoiceDialog,
26315 _swigt__p_wxFileDialog,
26316 _swigt__p_wxPrinter,
26317 _swigt__p_wxArrayInt,
26318 _swigt__p_wxEvtHandler,
26319 _swigt__p_wxCalculateLayoutEvent,
26320 _swigt__p_wxPyHtmlListBox,
26321 _swigt__p_wxPyVListBox,
26322 _swigt__p_wxRect,
26323 _swigt__p_char,
26324 _swigt__p_wxMiniFrame,
26325 _swigt__p_wxFrame,
26326 _swigt__p_wxPyPrintout,
26327 _swigt__p_wxTaskBarIconEvent,
26328 _swigt__p_wxScrollWinEvent,
26329 _swigt__p_wxStatusBar,
26330 _swigt__p_wxMDIParentFrame,
26331 _swigt__p_wxPoint,
26332 _swigt__p_wxObject,
26333 _swigt__p_wxOutputStream,
26334 _swigt__p_unsigned_long,
26335 _swigt__p_wxPyScrolledWindow,
26336 _swigt__p_wxMDIClientWindow,
26337 _swigt__p_wxTipWindow,
26338 _swigt__p_wxSashLayoutWindow,
26339 _swigt__p_wxSplitterWindow,
26340 _swigt__p_wxPyVScrolledWindow,
26341 _swigt__p_wxPyPopupTransientWindow,
26342 _swigt__p_wxPopupWindow,
26343 _swigt__p_wxSashWindow,
26344 _swigt__p_wxTopLevelWindow,
26345 _swigt__p_wxWindow,
26346 _swigt__p_wxScrolledWindow,
26347 _swigt__p_wxSplashScreenWindow,
26348 _swigt__p_wxMenuBar,
26349 _swigt__p_wxPrintPreview,
26350 _swigt__p_wxSashEvent,
26351 _swigt__p_wxString,
26352 _swigt__p_wxPyPrintPreview,
26353 _swigt__p_wxFontDialog,
26354 _swigt__p_wxDirDialog,
26355 _swigt__p_wxColourDialog,
26356 _swigt__p_wxDialog,
26357 _swigt__p_wxPanel,
26358 _swigt__p_wxPageSetupDialog,
26359 _swigt__p_wxPrintDialog,
26360 _swigt__p_wxFileSystem,
26361 _swigt__p_wxBitmap,
26362 _swigt__p_wxCommandEvent,
26363 _swigt__p_wxPreviewControlBar,
26364 _swigt__p_wxPyPreviewControlBar,
26365 _swigt__p_wxColour,
26366 _swigt__p_wxToolBar,
26367 _swigt__p_wxPageSetupDialogData,
26368 _swigt__p_wxPrintDialogData,
26369 0
26370 };
26371
26372
26373 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26374
26375 static swig_const_info swig_const_table[] = {
26376 {0}};
26377
26378 #ifdef __cplusplus
26379 }
26380 #endif
26381
26382 #ifdef __cplusplus
26383 extern "C"
26384 #endif
26385 SWIGEXPORT(void) SWIG_init(void) {
26386 static PyObject *SWIG_globals = 0;
26387 static int typeinit = 0;
26388 PyObject *m, *d;
26389 int i;
26390 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26391 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26392 d = PyModule_GetDict(m);
26393
26394 if (!typeinit) {
26395 for (i = 0; swig_types_initial[i]; i++) {
26396 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26397 }
26398 typeinit = 1;
26399 }
26400 SWIG_InstallConstants(d,swig_const_table);
26401
26402 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26403 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26404 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26405 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26406 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26407 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26408 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26409 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26410 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26411 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26412 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26413 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26414 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26415 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26416 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26417 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26418 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26419 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26420 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26421 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26422 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26423 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26424 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26425 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26426 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26427 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26428 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26429 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26430 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26431 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26432 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26433 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26434 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26435 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26436 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26437 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26438 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26439 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26440 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26441 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26442 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26443 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26444 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26445 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26446 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26447 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26448 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26449 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26450 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26451 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26452 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26453 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26454 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26455 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26456 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26457 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26458 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26459 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26460 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26461 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26462 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26463 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26464 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26465 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26466 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26467 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26468 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26469 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26470 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26471 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26472 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26473 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26474 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26475 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26476 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26477 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26478 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26479 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26480 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26481 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26482 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26483 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26484 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26485 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26486 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26487 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26488 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26489 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26490 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26491 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26492 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26493 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26494 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26495
26496 // Map renamed classes back to their common name for OOR
26497 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26498 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26499 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26500
26501 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26502 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26503 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26504 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26505 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26506 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26507 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26508 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26509 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26510 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26511 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26512 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26513 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26514 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26515 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26516 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26517 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26518 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26519 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26520 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26521 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26522 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26523 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26524 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26525 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26526 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26527 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26528 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26529 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26530 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26531 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26532 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26533 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26534 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26535 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26536 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26537 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26538 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26539 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26540 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26541 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26542 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26543 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26544 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26545 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26546 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26547 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26548 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26549 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26550 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26551 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26552 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26553 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26554 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26555 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26556 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26557 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26558 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26559 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26560 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26561
26562 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26563
26564 }
26565