]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Patch# 893337, Fix for line control point handling in wxLineShape
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_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_wxSplashScreenWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[59]
269 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[60]
270 #define SWIGTYPE_p_wxPopupWindow swig_types[61]
271 #define SWIGTYPE_p_wxSashWindow swig_types[62]
272 #define SWIGTYPE_p_wxTopLevelWindow swig_types[63]
273 #define SWIGTYPE_p_wxWindow swig_types[64]
274 #define SWIGTYPE_p_wxScrolledWindow 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_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2477 wxRect *arg2 = 0 ;
2478 wxRect temp2 ;
2479 PyObject * obj0 = 0 ;
2480 PyObject * obj1 = 0 ;
2481 char *kwnames[] = {
2482 (char *) "self",(char *) "rect", NULL
2483 };
2484
2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2488 {
2489 arg2 = &temp2;
2490 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2491 }
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 (arg1)->SetTargetRect((wxRect const &)*arg2);
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
2499 Py_INCREF(Py_None); resultobj = Py_None;
2500 return resultobj;
2501 fail:
2502 return NULL;
2503 }
2504
2505
2506 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject *resultobj;
2508 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2509 wxRect result;
2510 PyObject * obj0 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 {
2526 wxRect * resultptr;
2527 resultptr = new wxRect((wxRect &) result);
2528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2529 }
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2539 wxVisualAttributes result;
2540 PyObject * obj0 = 0 ;
2541 char *kwnames[] = {
2542 (char *) "variant", NULL
2543 };
2544
2545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2546 if (obj0) {
2547 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 {
2558 wxVisualAttributes * resultptr;
2559 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2561 }
2562 return resultobj;
2563 fail:
2564 return NULL;
2565 }
2566
2567
2568 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2569 PyObject *obj;
2570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2571 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2572 Py_INCREF(obj);
2573 return Py_BuildValue((char *)"");
2574 }
2575 static int _wrap_FrameNameStr_set(PyObject *_val) {
2576 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2577 return 1;
2578 }
2579
2580
2581 static PyObject *_wrap_FrameNameStr_get() {
2582 PyObject *pyobj;
2583
2584 {
2585 #if wxUSE_UNICODE
2586 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2587 #else
2588 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2589 #endif
2590 }
2591 return pyobj;
2592 }
2593
2594
2595 static int _wrap_DialogNameStr_set(PyObject *_val) {
2596 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2597 return 1;
2598 }
2599
2600
2601 static PyObject *_wrap_DialogNameStr_get() {
2602 PyObject *pyobj;
2603
2604 {
2605 #if wxUSE_UNICODE
2606 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2607 #else
2608 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2609 #endif
2610 }
2611 return pyobj;
2612 }
2613
2614
2615 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2616 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2617 return 1;
2618 }
2619
2620
2621 static PyObject *_wrap_StatusLineNameStr_get() {
2622 PyObject *pyobj;
2623
2624 {
2625 #if wxUSE_UNICODE
2626 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2627 #else
2628 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2629 #endif
2630 }
2631 return pyobj;
2632 }
2633
2634
2635 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2636 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2637 return 1;
2638 }
2639
2640
2641 static PyObject *_wrap_ToolBarNameStr_get() {
2642 PyObject *pyobj;
2643
2644 {
2645 #if wxUSE_UNICODE
2646 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2647 #else
2648 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2649 #endif
2650 }
2651 return pyobj;
2652 }
2653
2654
2655 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2658 bool arg2 = (bool) True ;
2659 PyObject * obj0 = 0 ;
2660 PyObject * obj1 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "self",(char *) "maximize", NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2668 if (obj1) {
2669 arg2 = (bool) SWIG_AsBool(obj1);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->Maximize(arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->Restore();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708 }
2709
2710
2711 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2714 bool arg2 = (bool) True ;
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "iconize", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2724 if (obj1) {
2725 arg2 = (bool) SWIG_AsBool(obj1);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 {
2729 PyThreadState* __tstate = wxPyBeginAllowThreads();
2730 (arg1)->Iconize(arg2);
2731
2732 wxPyEndAllowThreads(__tstate);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 }
2735 Py_INCREF(Py_None); resultobj = Py_None;
2736 return resultobj;
2737 fail:
2738 return NULL;
2739 }
2740
2741
2742 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2743 PyObject *resultobj;
2744 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2745 bool result;
2746 PyObject * obj0 = 0 ;
2747 char *kwnames[] = {
2748 (char *) "self", NULL
2749 };
2750
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 {
2762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2763 }
2764 return resultobj;
2765 fail:
2766 return NULL;
2767 }
2768
2769
2770 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2771 PyObject *resultobj;
2772 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2773 bool result;
2774 PyObject * obj0 = 0 ;
2775 char *kwnames[] = {
2776 (char *) "self", NULL
2777 };
2778
2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2782 {
2783 PyThreadState* __tstate = wxPyBeginAllowThreads();
2784 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2785
2786 wxPyEndAllowThreads(__tstate);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 }
2789 {
2790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2791 }
2792 return resultobj;
2793 fail:
2794 return NULL;
2795 }
2796
2797
2798 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2799 PyObject *resultobj;
2800 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2801 wxIcon result;
2802 PyObject * obj0 = 0 ;
2803 char *kwnames[] = {
2804 (char *) "self", NULL
2805 };
2806
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
2817 {
2818 wxIcon * resultptr;
2819 resultptr = new wxIcon((wxIcon &) result);
2820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2821 }
2822 return resultobj;
2823 fail:
2824 return NULL;
2825 }
2826
2827
2828 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2829 PyObject *resultobj;
2830 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2831 wxIcon *arg2 = 0 ;
2832 PyObject * obj0 = 0 ;
2833 PyObject * obj1 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "self",(char *) "icon", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2842 SWIG_POINTER_EXCEPTION | 0)) == -1)
2843 SWIG_fail;
2844 if (arg2 == NULL) {
2845 PyErr_SetString(PyExc_TypeError,"null reference");
2846 SWIG_fail;
2847 }
2848 {
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 (arg1)->SetIcon((wxIcon const &)*arg2);
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 Py_INCREF(Py_None); resultobj = Py_None;
2856 return resultobj;
2857 fail:
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2865 wxIconBundle *arg2 = 0 ;
2866 PyObject * obj0 = 0 ;
2867 PyObject * obj1 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "self",(char *) "icons", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2876 SWIG_POINTER_EXCEPTION | 0)) == -1)
2877 SWIG_fail;
2878 if (arg2 == NULL) {
2879 PyErr_SetString(PyExc_TypeError,"null reference");
2880 SWIG_fail;
2881 }
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2884 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
2889 Py_INCREF(Py_None); resultobj = Py_None;
2890 return resultobj;
2891 fail:
2892 return NULL;
2893 }
2894
2895
2896 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject *resultobj;
2898 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2899 bool arg2 ;
2900 long arg3 = (long) wxFULLSCREEN_ALL ;
2901 bool result;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2904 PyObject * obj2 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self",(char *) "show",(char *) "style", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2912 arg2 = (bool) SWIG_AsBool(obj1);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 if (obj2) {
2915 arg3 = (long) SWIG_AsLong(obj2);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 {
2926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2927 }
2928 return resultobj;
2929 fail:
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2937 bool result;
2938 PyObject * obj0 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 {
2954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2955 }
2956 return resultobj;
2957 fail:
2958 return NULL;
2959 }
2960
2961
2962 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject *resultobj;
2964 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2965 wxString *arg2 = 0 ;
2966 bool temp2 = False ;
2967 PyObject * obj0 = 0 ;
2968 PyObject * obj1 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "self",(char *) "title", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2976 {
2977 arg2 = wxString_in_helper(obj1);
2978 if (arg2 == NULL) SWIG_fail;
2979 temp2 = True;
2980 }
2981 {
2982 PyThreadState* __tstate = wxPyBeginAllowThreads();
2983 (arg1)->SetTitle((wxString const &)*arg2);
2984
2985 wxPyEndAllowThreads(__tstate);
2986 if (PyErr_Occurred()) SWIG_fail;
2987 }
2988 Py_INCREF(Py_None); resultobj = Py_None;
2989 {
2990 if (temp2)
2991 delete arg2;
2992 }
2993 return resultobj;
2994 fail:
2995 {
2996 if (temp2)
2997 delete arg2;
2998 }
2999 return NULL;
3000 }
3001
3002
3003 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3004 PyObject *resultobj;
3005 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3006 wxString result;
3007 PyObject * obj0 = 0 ;
3008 char *kwnames[] = {
3009 (char *) "self", NULL
3010 };
3011
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 {
3023 #if wxUSE_UNICODE
3024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3025 #else
3026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3027 #endif
3028 }
3029 return resultobj;
3030 fail:
3031 return NULL;
3032 }
3033
3034
3035 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3038 wxRegion *arg2 = 0 ;
3039 bool result;
3040 PyObject * obj0 = 0 ;
3041 PyObject * obj1 = 0 ;
3042 char *kwnames[] = {
3043 (char *) "self",(char *) "region", NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3050 SWIG_POINTER_EXCEPTION | 0)) == -1)
3051 SWIG_fail;
3052 if (arg2 == NULL) {
3053 PyErr_SetString(PyExc_TypeError,"null reference");
3054 SWIG_fail;
3055 }
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3059
3060 wxPyEndAllowThreads(__tstate);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 }
3063 {
3064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3065 }
3066 return resultobj;
3067 fail:
3068 return NULL;
3069 }
3070
3071
3072 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3073 PyObject *obj;
3074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3075 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3076 Py_INCREF(obj);
3077 return Py_BuildValue((char *)"");
3078 }
3079 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3080 PyObject *resultobj;
3081 wxWindow *arg1 = (wxWindow *) 0 ;
3082 int arg2 ;
3083 wxString *arg3 = 0 ;
3084 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3085 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3086 wxSize const &arg5_defvalue = wxDefaultSize ;
3087 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3088 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3089 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3090 wxString *arg7 = (wxString *) &arg7_defvalue ;
3091 wxFrame *result;
3092 bool temp3 = False ;
3093 wxPoint temp4 ;
3094 wxSize temp5 ;
3095 bool temp7 = False ;
3096 PyObject * obj0 = 0 ;
3097 PyObject * obj1 = 0 ;
3098 PyObject * obj2 = 0 ;
3099 PyObject * obj3 = 0 ;
3100 PyObject * obj4 = 0 ;
3101 PyObject * obj5 = 0 ;
3102 PyObject * obj6 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3110 arg2 = (int const) SWIG_AsInt(obj1);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 {
3113 arg3 = wxString_in_helper(obj2);
3114 if (arg3 == NULL) SWIG_fail;
3115 temp3 = True;
3116 }
3117 if (obj3) {
3118 {
3119 arg4 = &temp4;
3120 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3121 }
3122 }
3123 if (obj4) {
3124 {
3125 arg5 = &temp5;
3126 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3127 }
3128 }
3129 if (obj5) {
3130 arg6 = (long) SWIG_AsLong(obj5);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 if (obj6) {
3134 {
3135 arg7 = wxString_in_helper(obj6);
3136 if (arg7 == NULL) SWIG_fail;
3137 temp7 = True;
3138 }
3139 }
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
3147 {
3148 resultobj = wxPyMake_wxObject(result);
3149 }
3150 {
3151 if (temp3)
3152 delete arg3;
3153 }
3154 {
3155 if (temp7)
3156 delete arg7;
3157 }
3158 return resultobj;
3159 fail:
3160 {
3161 if (temp3)
3162 delete arg3;
3163 }
3164 {
3165 if (temp7)
3166 delete arg7;
3167 }
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject *resultobj;
3174 wxFrame *result;
3175 char *kwnames[] = {
3176 NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3180 {
3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
3182 result = (wxFrame *)new wxFrame();
3183
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 {
3188 resultobj = wxPyMake_wxObject(result);
3189 }
3190 return resultobj;
3191 fail:
3192 return NULL;
3193 }
3194
3195
3196 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj;
3198 wxFrame *arg1 = (wxFrame *) 0 ;
3199 wxWindow *arg2 = (wxWindow *) 0 ;
3200 int arg3 ;
3201 wxString *arg4 = 0 ;
3202 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3203 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3204 wxSize const &arg6_defvalue = wxDefaultSize ;
3205 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3206 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3207 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3208 wxString *arg8 = (wxString *) &arg8_defvalue ;
3209 bool result;
3210 bool temp4 = False ;
3211 wxPoint temp5 ;
3212 wxSize temp6 ;
3213 bool temp8 = False ;
3214 PyObject * obj0 = 0 ;
3215 PyObject * obj1 = 0 ;
3216 PyObject * obj2 = 0 ;
3217 PyObject * obj3 = 0 ;
3218 PyObject * obj4 = 0 ;
3219 PyObject * obj5 = 0 ;
3220 PyObject * obj6 = 0 ;
3221 PyObject * obj7 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3231 arg3 = (int const) SWIG_AsInt(obj2);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 {
3234 arg4 = wxString_in_helper(obj3);
3235 if (arg4 == NULL) SWIG_fail;
3236 temp4 = True;
3237 }
3238 if (obj4) {
3239 {
3240 arg5 = &temp5;
3241 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3242 }
3243 }
3244 if (obj5) {
3245 {
3246 arg6 = &temp6;
3247 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3248 }
3249 }
3250 if (obj6) {
3251 arg7 = (long) SWIG_AsLong(obj6);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 if (obj7) {
3255 {
3256 arg8 = wxString_in_helper(obj7);
3257 if (arg8 == NULL) SWIG_fail;
3258 temp8 = True;
3259 }
3260 }
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 {
3269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3270 }
3271 {
3272 if (temp4)
3273 delete arg4;
3274 }
3275 {
3276 if (temp8)
3277 delete arg8;
3278 }
3279 return resultobj;
3280 fail:
3281 {
3282 if (temp4)
3283 delete arg4;
3284 }
3285 {
3286 if (temp8)
3287 delete arg8;
3288 }
3289 return NULL;
3290 }
3291
3292
3293 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3294 PyObject *resultobj;
3295 wxFrame *arg1 = (wxFrame *) 0 ;
3296 wxPoint result;
3297 PyObject * obj0 = 0 ;
3298 char *kwnames[] = {
3299 (char *) "self", NULL
3300 };
3301
3302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 {
3313 wxPoint * resultptr;
3314 resultptr = new wxPoint((wxPoint &) result);
3315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3316 }
3317 return resultobj;
3318 fail:
3319 return NULL;
3320 }
3321
3322
3323 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxFrame *arg1 = (wxFrame *) 0 ;
3326 PyObject * obj0 = 0 ;
3327 char *kwnames[] = {
3328 (char *) "self", NULL
3329 };
3330
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 (arg1)->SendSizeEvent();
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 return resultobj;
3343 fail:
3344 return NULL;
3345 }
3346
3347
3348 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj;
3350 wxFrame *arg1 = (wxFrame *) 0 ;
3351 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3352 PyObject * obj0 = 0 ;
3353 PyObject * obj1 = 0 ;
3354 char *kwnames[] = {
3355 (char *) "self",(char *) "menubar", NULL
3356 };
3357
3358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 (arg1)->SetMenuBar(arg2);
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 Py_INCREF(Py_None); resultobj = Py_None;
3371 return resultobj;
3372 fail:
3373 return NULL;
3374 }
3375
3376
3377 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxFrame *arg1 = (wxFrame *) 0 ;
3380 wxMenuBar *result;
3381 PyObject * obj0 = 0 ;
3382 char *kwnames[] = {
3383 (char *) "self", NULL
3384 };
3385
3386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 {
3397 resultobj = wxPyMake_wxObject(result);
3398 }
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxFrame *arg1 = (wxFrame *) 0 ;
3408 int arg2 ;
3409 bool result;
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "winid", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3419 arg2 = (int) SWIG_AsInt(obj1);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (bool)(arg1)->ProcessCommand(arg2);
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
3428 {
3429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3430 }
3431 return resultobj;
3432 fail:
3433 return NULL;
3434 }
3435
3436
3437 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxFrame *arg1 = (wxFrame *) 0 ;
3440 int arg2 = (int) 1 ;
3441 long arg3 = (long) wxST_SIZEGRIP ;
3442 int arg4 = (int) 0 ;
3443 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3444 wxString *arg5 = (wxString *) &arg5_defvalue ;
3445 wxStatusBar *result;
3446 bool temp5 = False ;
3447 PyObject * obj0 = 0 ;
3448 PyObject * obj1 = 0 ;
3449 PyObject * obj2 = 0 ;
3450 PyObject * obj3 = 0 ;
3451 PyObject * obj4 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3459 if (obj1) {
3460 arg2 = (int) SWIG_AsInt(obj1);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 if (obj2) {
3464 arg3 = (long) SWIG_AsLong(obj2);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 if (obj3) {
3468 arg4 = (int) SWIG_AsInt(obj3);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 if (obj4) {
3472 {
3473 arg5 = wxString_in_helper(obj4);
3474 if (arg5 == NULL) SWIG_fail;
3475 temp5 = True;
3476 }
3477 }
3478 {
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 {
3486 resultobj = wxPyMake_wxObject(result);
3487 }
3488 {
3489 if (temp5)
3490 delete arg5;
3491 }
3492 return resultobj;
3493 fail:
3494 {
3495 if (temp5)
3496 delete arg5;
3497 }
3498 return NULL;
3499 }
3500
3501
3502 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject *resultobj;
3504 wxFrame *arg1 = (wxFrame *) 0 ;
3505 wxStatusBar *result;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 {
3522 resultobj = wxPyMake_wxObject(result);
3523 }
3524 return resultobj;
3525 fail:
3526 return NULL;
3527 }
3528
3529
3530 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj;
3532 wxFrame *arg1 = (wxFrame *) 0 ;
3533 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3534 PyObject * obj0 = 0 ;
3535 PyObject * obj1 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "self",(char *) "statBar", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3545 {
3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
3547 (arg1)->SetStatusBar(arg2);
3548
3549 wxPyEndAllowThreads(__tstate);
3550 if (PyErr_Occurred()) SWIG_fail;
3551 }
3552 Py_INCREF(Py_None); resultobj = Py_None;
3553 return resultobj;
3554 fail:
3555 return NULL;
3556 }
3557
3558
3559 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3560 PyObject *resultobj;
3561 wxFrame *arg1 = (wxFrame *) 0 ;
3562 wxString *arg2 = 0 ;
3563 int arg3 = (int) 0 ;
3564 bool temp2 = False ;
3565 PyObject * obj0 = 0 ;
3566 PyObject * obj1 = 0 ;
3567 PyObject * obj2 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "self",(char *) "text",(char *) "number", NULL
3570 };
3571
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3575 {
3576 arg2 = wxString_in_helper(obj1);
3577 if (arg2 == NULL) SWIG_fail;
3578 temp2 = True;
3579 }
3580 if (obj2) {
3581 arg3 = (int) SWIG_AsInt(obj2);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 {
3593 if (temp2)
3594 delete arg2;
3595 }
3596 return resultobj;
3597 fail:
3598 {
3599 if (temp2)
3600 delete arg2;
3601 }
3602 return NULL;
3603 }
3604
3605
3606 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 wxFrame *arg1 = (wxFrame *) 0 ;
3609 int arg2 ;
3610 int *arg3 = (int *) 0 ;
3611 PyObject * obj0 = 0 ;
3612 PyObject * obj1 = 0 ;
3613 char *kwnames[] = {
3614 (char *) "self",(char *) "widths", NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3620 {
3621 arg2 = PyList_Size(obj1);
3622 arg3 = int_LIST_helper(obj1);
3623 if (arg3 == NULL) SWIG_fail;
3624 }
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
3632 Py_INCREF(Py_None); resultobj = Py_None;
3633 {
3634 if (arg3) delete [] arg3;
3635 }
3636 return resultobj;
3637 fail:
3638 {
3639 if (arg3) delete [] arg3;
3640 }
3641 return NULL;
3642 }
3643
3644
3645 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject *resultobj;
3647 wxFrame *arg1 = (wxFrame *) 0 ;
3648 wxString *arg2 = 0 ;
3649 int arg3 = (int) 0 ;
3650 bool temp2 = False ;
3651 PyObject * obj0 = 0 ;
3652 PyObject * obj1 = 0 ;
3653 PyObject * obj2 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "text",(char *) "number", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 {
3662 arg2 = wxString_in_helper(obj1);
3663 if (arg2 == NULL) SWIG_fail;
3664 temp2 = True;
3665 }
3666 if (obj2) {
3667 arg3 = (int) SWIG_AsInt(obj2);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 Py_INCREF(Py_None); resultobj = Py_None;
3678 {
3679 if (temp2)
3680 delete arg2;
3681 }
3682 return resultobj;
3683 fail:
3684 {
3685 if (temp2)
3686 delete arg2;
3687 }
3688 return NULL;
3689 }
3690
3691
3692 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3693 PyObject *resultobj;
3694 wxFrame *arg1 = (wxFrame *) 0 ;
3695 int arg2 = (int) 0 ;
3696 PyObject * obj0 = 0 ;
3697 PyObject * obj1 = 0 ;
3698 char *kwnames[] = {
3699 (char *) "self",(char *) "number", NULL
3700 };
3701
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3705 if (obj1) {
3706 arg2 = (int) SWIG_AsInt(obj1);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 (arg1)->PopStatusText(arg2);
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 Py_INCREF(Py_None); resultobj = Py_None;
3717 return resultobj;
3718 fail:
3719 return NULL;
3720 }
3721
3722
3723 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj;
3725 wxFrame *arg1 = (wxFrame *) 0 ;
3726 int arg2 ;
3727 PyObject * obj0 = 0 ;
3728 PyObject * obj1 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "self",(char *) "n", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3736 arg2 = (int) SWIG_AsInt(obj1);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 (arg1)->SetStatusBarPane(arg2);
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 Py_INCREF(Py_None); resultobj = Py_None;
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3753 PyObject *resultobj;
3754 wxFrame *arg1 = (wxFrame *) 0 ;
3755 int result;
3756 PyObject * obj0 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 resultobj = SWIG_FromInt((int)result);
3772 return resultobj;
3773 fail:
3774 return NULL;
3775 }
3776
3777
3778 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 wxFrame *arg1 = (wxFrame *) 0 ;
3781 long arg2 = (long) -1 ;
3782 int arg3 = (int) -1 ;
3783 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3784 wxString *arg4 = (wxString *) &arg4_defvalue ;
3785 wxToolBar *result;
3786 bool temp4 = False ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 PyObject * obj3 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3798 if (obj1) {
3799 arg2 = (long) SWIG_AsLong(obj1);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 if (obj2) {
3803 arg3 = (int) SWIG_AsInt(obj2);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 if (obj3) {
3807 {
3808 arg4 = wxString_in_helper(obj3);
3809 if (arg4 == NULL) SWIG_fail;
3810 temp4 = True;
3811 }
3812 }
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3816
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 {
3821 resultobj = wxPyMake_wxObject(result);
3822 }
3823 {
3824 if (temp4)
3825 delete arg4;
3826 }
3827 return resultobj;
3828 fail:
3829 {
3830 if (temp4)
3831 delete arg4;
3832 }
3833 return NULL;
3834 }
3835
3836
3837 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj;
3839 wxFrame *arg1 = (wxFrame *) 0 ;
3840 wxToolBar *result;
3841 PyObject * obj0 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 {
3857 resultobj = wxPyMake_wxObject(result);
3858 }
3859 return resultobj;
3860 fail:
3861 return NULL;
3862 }
3863
3864
3865 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj;
3867 wxFrame *arg1 = (wxFrame *) 0 ;
3868 wxToolBar *arg2 = (wxToolBar *) 0 ;
3869 PyObject * obj0 = 0 ;
3870 PyObject * obj1 = 0 ;
3871 char *kwnames[] = {
3872 (char *) "self",(char *) "toolbar", NULL
3873 };
3874
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 (arg1)->SetToolBar(arg2);
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 Py_INCREF(Py_None); resultobj = Py_None;
3888 return resultobj;
3889 fail:
3890 return NULL;
3891 }
3892
3893
3894 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxFrame *arg1 = (wxFrame *) 0 ;
3897 wxString *arg2 = 0 ;
3898 bool arg3 ;
3899 bool temp2 = False ;
3900 PyObject * obj0 = 0 ;
3901 PyObject * obj1 = 0 ;
3902 PyObject * obj2 = 0 ;
3903 char *kwnames[] = {
3904 (char *) "self",(char *) "text",(char *) "show", NULL
3905 };
3906
3907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3910 {
3911 arg2 = wxString_in_helper(obj1);
3912 if (arg2 == NULL) SWIG_fail;
3913 temp2 = True;
3914 }
3915 arg3 = (bool) SWIG_AsBool(obj2);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3920
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 Py_INCREF(Py_None); resultobj = Py_None;
3925 {
3926 if (temp2)
3927 delete arg2;
3928 }
3929 return resultobj;
3930 fail:
3931 {
3932 if (temp2)
3933 delete arg2;
3934 }
3935 return NULL;
3936 }
3937
3938
3939 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxFrame *arg1 = (wxFrame *) 0 ;
3942 wxMenu *arg2 = (wxMenu *) NULL ;
3943 PyObject * obj0 = 0 ;
3944 PyObject * obj1 = 0 ;
3945 char *kwnames[] = {
3946 (char *) "self",(char *) "menu", NULL
3947 };
3948
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3952 if (obj1) {
3953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3955 }
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->DoMenuUpdates(arg2);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj;
3972 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3973 wxVisualAttributes result;
3974 PyObject * obj0 = 0 ;
3975 char *kwnames[] = {
3976 (char *) "variant", NULL
3977 };
3978
3979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3980 if (obj0) {
3981 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 {
3992 wxVisualAttributes * resultptr;
3993 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3994 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3995 }
3996 return resultobj;
3997 fail:
3998 return NULL;
3999 }
4000
4001
4002 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4003 PyObject *obj;
4004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4005 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4006 Py_INCREF(obj);
4007 return Py_BuildValue((char *)"");
4008 }
4009 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject *resultobj;
4011 wxWindow *arg1 = (wxWindow *) 0 ;
4012 int arg2 ;
4013 wxString *arg3 = 0 ;
4014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4016 wxSize const &arg5_defvalue = wxDefaultSize ;
4017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4018 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4019 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4020 wxString *arg7 = (wxString *) &arg7_defvalue ;
4021 wxDialog *result;
4022 bool temp3 = False ;
4023 wxPoint temp4 ;
4024 wxSize temp5 ;
4025 bool temp7 = False ;
4026 PyObject * obj0 = 0 ;
4027 PyObject * obj1 = 0 ;
4028 PyObject * obj2 = 0 ;
4029 PyObject * obj3 = 0 ;
4030 PyObject * obj4 = 0 ;
4031 PyObject * obj5 = 0 ;
4032 PyObject * obj6 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4040 arg2 = (int const) SWIG_AsInt(obj1);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 {
4043 arg3 = wxString_in_helper(obj2);
4044 if (arg3 == NULL) SWIG_fail;
4045 temp3 = True;
4046 }
4047 if (obj3) {
4048 {
4049 arg4 = &temp4;
4050 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4051 }
4052 }
4053 if (obj4) {
4054 {
4055 arg5 = &temp5;
4056 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4057 }
4058 }
4059 if (obj5) {
4060 arg6 = (long) SWIG_AsLong(obj5);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 if (obj6) {
4064 {
4065 arg7 = wxString_in_helper(obj6);
4066 if (arg7 == NULL) SWIG_fail;
4067 temp7 = True;
4068 }
4069 }
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 {
4078 resultobj = wxPyMake_wxObject(result);
4079 }
4080 {
4081 if (temp3)
4082 delete arg3;
4083 }
4084 {
4085 if (temp7)
4086 delete arg7;
4087 }
4088 return resultobj;
4089 fail:
4090 {
4091 if (temp3)
4092 delete arg3;
4093 }
4094 {
4095 if (temp7)
4096 delete arg7;
4097 }
4098 return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxDialog *result;
4105 char *kwnames[] = {
4106 NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4110 {
4111 PyThreadState* __tstate = wxPyBeginAllowThreads();
4112 result = (wxDialog *)new wxDialog();
4113
4114 wxPyEndAllowThreads(__tstate);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 {
4118 resultobj = wxPyMake_wxObject(result);
4119 }
4120 return resultobj;
4121 fail:
4122 return NULL;
4123 }
4124
4125
4126 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject *resultobj;
4128 wxDialog *arg1 = (wxDialog *) 0 ;
4129 wxWindow *arg2 = (wxWindow *) 0 ;
4130 int arg3 ;
4131 wxString *arg4 = 0 ;
4132 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4133 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4134 wxSize const &arg6_defvalue = wxDefaultSize ;
4135 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4136 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4137 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4138 wxString *arg8 = (wxString *) &arg8_defvalue ;
4139 bool result;
4140 bool temp4 = False ;
4141 wxPoint temp5 ;
4142 wxSize temp6 ;
4143 bool temp8 = False ;
4144 PyObject * obj0 = 0 ;
4145 PyObject * obj1 = 0 ;
4146 PyObject * obj2 = 0 ;
4147 PyObject * obj3 = 0 ;
4148 PyObject * obj4 = 0 ;
4149 PyObject * obj5 = 0 ;
4150 PyObject * obj6 = 0 ;
4151 PyObject * obj7 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4159 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4161 arg3 = (int const) SWIG_AsInt(obj2);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 {
4164 arg4 = wxString_in_helper(obj3);
4165 if (arg4 == NULL) SWIG_fail;
4166 temp4 = True;
4167 }
4168 if (obj4) {
4169 {
4170 arg5 = &temp5;
4171 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4172 }
4173 }
4174 if (obj5) {
4175 {
4176 arg6 = &temp6;
4177 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4178 }
4179 }
4180 if (obj6) {
4181 arg7 = (long) SWIG_AsLong(obj6);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4184 if (obj7) {
4185 {
4186 arg8 = wxString_in_helper(obj7);
4187 if (arg8 == NULL) SWIG_fail;
4188 temp8 = True;
4189 }
4190 }
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 {
4199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4200 }
4201 {
4202 if (temp4)
4203 delete arg4;
4204 }
4205 {
4206 if (temp8)
4207 delete arg8;
4208 }
4209 return resultobj;
4210 fail:
4211 {
4212 if (temp4)
4213 delete arg4;
4214 }
4215 {
4216 if (temp8)
4217 delete arg8;
4218 }
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxDialog *arg1 = (wxDialog *) 0 ;
4226 int arg2 ;
4227 PyObject * obj0 = 0 ;
4228 PyObject * obj1 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self",(char *) "returnCode", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4236 arg2 = (int) SWIG_AsInt(obj1);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 (arg1)->SetReturnCode(arg2);
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 Py_INCREF(Py_None); resultobj = Py_None;
4246 return resultobj;
4247 fail:
4248 return NULL;
4249 }
4250
4251
4252 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxDialog *arg1 = (wxDialog *) 0 ;
4255 int result;
4256 PyObject * obj0 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self", NULL
4259 };
4260
4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 resultobj = SWIG_FromInt((int)result);
4272 return resultobj;
4273 fail:
4274 return NULL;
4275 }
4276
4277
4278 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4279 PyObject *resultobj;
4280 wxDialog *arg1 = (wxDialog *) 0 ;
4281 wxString *arg2 = 0 ;
4282 wxSizer *result;
4283 bool temp2 = False ;
4284 PyObject * obj0 = 0 ;
4285 PyObject * obj1 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self",(char *) "message", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4293 {
4294 arg2 = wxString_in_helper(obj1);
4295 if (arg2 == NULL) SWIG_fail;
4296 temp2 = True;
4297 }
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
4305 {
4306 resultobj = wxPyMake_wxSizer(result);
4307 }
4308 {
4309 if (temp2)
4310 delete arg2;
4311 }
4312 return resultobj;
4313 fail:
4314 {
4315 if (temp2)
4316 delete arg2;
4317 }
4318 return NULL;
4319 }
4320
4321
4322 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj;
4324 wxDialog *arg1 = (wxDialog *) 0 ;
4325 long arg2 ;
4326 wxSizer *result;
4327 PyObject * obj0 = 0 ;
4328 PyObject * obj1 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self",(char *) "flags", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4336 arg2 = (long) SWIG_AsLong(obj1);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 {
4346 resultobj = wxPyMake_wxSizer(result);
4347 }
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj;
4356 wxDialog *arg1 = (wxDialog *) 0 ;
4357 bool result;
4358 PyObject * obj0 = 0 ;
4359 char *kwnames[] = {
4360 (char *) "self", NULL
4361 };
4362
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 result = (bool)((wxDialog const *)arg1)->IsModal();
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 {
4374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4375 }
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 wxDialog *arg1 = (wxDialog *) 0 ;
4385 int result;
4386 PyObject * obj0 = 0 ;
4387 char *kwnames[] = {
4388 (char *) "self", NULL
4389 };
4390
4391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 result = (int)(arg1)->ShowModal();
4397
4398 wxPyEndAllowThreads(__tstate);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 resultobj = SWIG_FromInt((int)result);
4402 return resultobj;
4403 fail:
4404 return NULL;
4405 }
4406
4407
4408 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj;
4410 wxDialog *arg1 = (wxDialog *) 0 ;
4411 int arg2 ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 char *kwnames[] = {
4415 (char *) "self",(char *) "retCode", NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4421 arg2 = (int) SWIG_AsInt(obj1);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 (arg1)->EndModal(arg2);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 Py_INCREF(Py_None); resultobj = Py_None;
4431 return resultobj;
4432 fail:
4433 return NULL;
4434 }
4435
4436
4437 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4440 wxVisualAttributes result;
4441 PyObject * obj0 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "variant", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4447 if (obj0) {
4448 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 {
4459 wxVisualAttributes * resultptr;
4460 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4462 }
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4470 PyObject *obj;
4471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4472 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4473 Py_INCREF(obj);
4474 return Py_BuildValue((char *)"");
4475 }
4476 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxWindow *arg1 = (wxWindow *) 0 ;
4479 int arg2 ;
4480 wxString *arg3 = 0 ;
4481 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4482 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4483 wxSize const &arg5_defvalue = wxDefaultSize ;
4484 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4485 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4486 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4487 wxString *arg7 = (wxString *) &arg7_defvalue ;
4488 wxMiniFrame *result;
4489 bool temp3 = False ;
4490 wxPoint temp4 ;
4491 wxSize temp5 ;
4492 bool temp7 = False ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 PyObject * obj2 = 0 ;
4496 PyObject * obj3 = 0 ;
4497 PyObject * obj4 = 0 ;
4498 PyObject * obj5 = 0 ;
4499 PyObject * obj6 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4507 arg2 = (int const) SWIG_AsInt(obj1);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 {
4510 arg3 = wxString_in_helper(obj2);
4511 if (arg3 == NULL) SWIG_fail;
4512 temp3 = True;
4513 }
4514 if (obj3) {
4515 {
4516 arg4 = &temp4;
4517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4518 }
4519 }
4520 if (obj4) {
4521 {
4522 arg5 = &temp5;
4523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4524 }
4525 }
4526 if (obj5) {
4527 arg6 = (long) SWIG_AsLong(obj5);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 if (obj6) {
4531 {
4532 arg7 = wxString_in_helper(obj6);
4533 if (arg7 == NULL) SWIG_fail;
4534 temp7 = True;
4535 }
4536 }
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4545 {
4546 if (temp3)
4547 delete arg3;
4548 }
4549 {
4550 if (temp7)
4551 delete arg7;
4552 }
4553 return resultobj;
4554 fail:
4555 {
4556 if (temp3)
4557 delete arg3;
4558 }
4559 {
4560 if (temp7)
4561 delete arg7;
4562 }
4563 return NULL;
4564 }
4565
4566
4567 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4568 PyObject *resultobj;
4569 wxMiniFrame *result;
4570 char *kwnames[] = {
4571 NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 result = (wxMiniFrame *)new wxMiniFrame();
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj;
4591 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4592 wxWindow *arg2 = (wxWindow *) 0 ;
4593 int arg3 ;
4594 wxString *arg4 = 0 ;
4595 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4596 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4597 wxSize const &arg6_defvalue = wxDefaultSize ;
4598 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4599 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4600 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4601 wxString *arg8 = (wxString *) &arg8_defvalue ;
4602 bool result;
4603 bool temp4 = False ;
4604 wxPoint temp5 ;
4605 wxSize temp6 ;
4606 bool temp8 = False ;
4607 PyObject * obj0 = 0 ;
4608 PyObject * obj1 = 0 ;
4609 PyObject * obj2 = 0 ;
4610 PyObject * obj3 = 0 ;
4611 PyObject * obj4 = 0 ;
4612 PyObject * obj5 = 0 ;
4613 PyObject * obj6 = 0 ;
4614 PyObject * obj7 = 0 ;
4615 char *kwnames[] = {
4616 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4617 };
4618
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4624 arg3 = (int const) SWIG_AsInt(obj2);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 {
4627 arg4 = wxString_in_helper(obj3);
4628 if (arg4 == NULL) SWIG_fail;
4629 temp4 = True;
4630 }
4631 if (obj4) {
4632 {
4633 arg5 = &temp5;
4634 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4635 }
4636 }
4637 if (obj5) {
4638 {
4639 arg6 = &temp6;
4640 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4641 }
4642 }
4643 if (obj6) {
4644 arg7 = (long) SWIG_AsLong(obj6);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 if (obj7) {
4648 {
4649 arg8 = wxString_in_helper(obj7);
4650 if (arg8 == NULL) SWIG_fail;
4651 temp8 = True;
4652 }
4653 }
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 {
4662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4663 }
4664 {
4665 if (temp4)
4666 delete arg4;
4667 }
4668 {
4669 if (temp8)
4670 delete arg8;
4671 }
4672 return resultobj;
4673 fail:
4674 {
4675 if (temp4)
4676 delete arg4;
4677 }
4678 {
4679 if (temp8)
4680 delete arg8;
4681 }
4682 return NULL;
4683 }
4684
4685
4686 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4687 PyObject *obj;
4688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4689 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4690 Py_INCREF(obj);
4691 return Py_BuildValue((char *)"");
4692 }
4693 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxBitmap *arg1 = 0 ;
4696 wxWindow *arg2 = (wxWindow *) 0 ;
4697 int arg3 ;
4698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4700 wxSize const &arg5_defvalue = wxDefaultSize ;
4701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4702 long arg6 = (long) wxNO_BORDER ;
4703 wxSplashScreenWindow *result;
4704 wxPoint temp4 ;
4705 wxSize temp5 ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 PyObject * obj2 = 0 ;
4709 PyObject * obj3 = 0 ;
4710 PyObject * obj4 = 0 ;
4711 PyObject * obj5 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4718 SWIG_POINTER_EXCEPTION | 0)) == -1)
4719 SWIG_fail;
4720 if (arg1 == NULL) {
4721 PyErr_SetString(PyExc_TypeError,"null reference");
4722 SWIG_fail;
4723 }
4724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4726 arg3 = (int) SWIG_AsInt(obj2);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 if (obj3) {
4729 {
4730 arg4 = &temp4;
4731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4732 }
4733 }
4734 if (obj4) {
4735 {
4736 arg5 = &temp5;
4737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4738 }
4739 }
4740 if (obj5) {
4741 arg6 = (long) SWIG_AsLong(obj5);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4759 PyObject *resultobj;
4760 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4761 wxBitmap *arg2 = 0 ;
4762 PyObject * obj0 = 0 ;
4763 PyObject * obj1 = 0 ;
4764 char *kwnames[] = {
4765 (char *) "self",(char *) "bitmap", NULL
4766 };
4767
4768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4772 SWIG_POINTER_EXCEPTION | 0)) == -1)
4773 SWIG_fail;
4774 if (arg2 == NULL) {
4775 PyErr_SetString(PyExc_TypeError,"null reference");
4776 SWIG_fail;
4777 }
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4781
4782 wxPyEndAllowThreads(__tstate);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 Py_INCREF(Py_None); resultobj = Py_None;
4786 return resultobj;
4787 fail:
4788 return NULL;
4789 }
4790
4791
4792 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject *resultobj;
4794 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4795 wxBitmap *result;
4796 PyObject * obj0 = 0 ;
4797 char *kwnames[] = {
4798 (char *) "self", NULL
4799 };
4800
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4804 {
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 {
4807 wxBitmap &_result_ref = (arg1)->GetBitmap();
4808 result = (wxBitmap *) &_result_ref;
4809 }
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 {
4815 wxBitmap* resultptr = new wxBitmap(*result);
4816 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4817 }
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4825 PyObject *obj;
4826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4827 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4828 Py_INCREF(obj);
4829 return Py_BuildValue((char *)"");
4830 }
4831 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj;
4833 wxBitmap *arg1 = 0 ;
4834 long arg2 ;
4835 int arg3 ;
4836 wxWindow *arg4 = (wxWindow *) 0 ;
4837 int arg5 ;
4838 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4839 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4840 wxSize const &arg7_defvalue = wxDefaultSize ;
4841 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4842 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4843 wxSplashScreen *result;
4844 wxPoint temp6 ;
4845 wxSize temp7 ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
4848 PyObject * obj2 = 0 ;
4849 PyObject * obj3 = 0 ;
4850 PyObject * obj4 = 0 ;
4851 PyObject * obj5 = 0 ;
4852 PyObject * obj6 = 0 ;
4853 PyObject * obj7 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4860 SWIG_POINTER_EXCEPTION | 0)) == -1)
4861 SWIG_fail;
4862 if (arg1 == NULL) {
4863 PyErr_SetString(PyExc_TypeError,"null reference");
4864 SWIG_fail;
4865 }
4866 arg2 = (long) SWIG_AsLong(obj1);
4867 if (PyErr_Occurred()) SWIG_fail;
4868 arg3 = (int) SWIG_AsInt(obj2);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4872 arg5 = (int) SWIG_AsInt(obj4);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 if (obj5) {
4875 {
4876 arg6 = &temp6;
4877 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4878 }
4879 }
4880 if (obj6) {
4881 {
4882 arg7 = &temp7;
4883 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4884 }
4885 }
4886 if (obj7) {
4887 arg8 = (long) SWIG_AsLong(obj7);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4907 long result;
4908 PyObject * obj0 = 0 ;
4909 char *kwnames[] = {
4910 (char *) "self", NULL
4911 };
4912
4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 resultobj = SWIG_FromLong((long)result);
4924 return resultobj;
4925 fail:
4926 return NULL;
4927 }
4928
4929
4930 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4931 PyObject *resultobj;
4932 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4933 wxSplashScreenWindow *result;
4934 PyObject * obj0 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 char *kwnames[] = {
4962 (char *) "self", NULL
4963 };
4964
4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 resultobj = SWIG_FromInt((int)result);
4976 return resultobj;
4977 fail:
4978 return NULL;
4979 }
4980
4981
4982 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4983 PyObject *obj;
4984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4985 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4986 Py_INCREF(obj);
4987 return Py_BuildValue((char *)"");
4988 }
4989 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxWindow *arg1 = (wxWindow *) 0 ;
4992 int arg2 = (int) -1 ;
4993 long arg3 = (long) wxST_SIZEGRIP ;
4994 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4995 wxString *arg4 = (wxString *) &arg4_defvalue ;
4996 wxStatusBar *result;
4997 bool temp4 = False ;
4998 PyObject * obj0 = 0 ;
4999 PyObject * obj1 = 0 ;
5000 PyObject * obj2 = 0 ;
5001 PyObject * obj3 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5004 };
5005
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5009 if (obj1) {
5010 arg2 = (int) SWIG_AsInt(obj1);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 if (obj2) {
5014 arg3 = (long) SWIG_AsLong(obj2);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 if (obj3) {
5018 {
5019 arg4 = wxString_in_helper(obj3);
5020 if (arg4 == NULL) SWIG_fail;
5021 temp4 = True;
5022 }
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 {
5032 resultobj = wxPyMake_wxObject(result);
5033 }
5034 {
5035 if (temp4)
5036 delete arg4;
5037 }
5038 return resultobj;
5039 fail:
5040 {
5041 if (temp4)
5042 delete arg4;
5043 }
5044 return NULL;
5045 }
5046
5047
5048 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxStatusBar *result;
5051 char *kwnames[] = {
5052 NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 result = (wxStatusBar *)new wxStatusBar();
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 {
5064 resultobj = wxPyMake_wxObject(result);
5065 }
5066 return resultobj;
5067 fail:
5068 return NULL;
5069 }
5070
5071
5072 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj;
5074 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5075 wxWindow *arg2 = (wxWindow *) 0 ;
5076 int arg3 ;
5077 long arg4 = (long) wxST_SIZEGRIP ;
5078 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5079 wxString *arg5 = (wxString *) &arg5_defvalue ;
5080 bool result;
5081 bool temp5 = False ;
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 PyObject * obj2 = 0 ;
5085 PyObject * obj3 = 0 ;
5086 PyObject * obj4 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 arg3 = (int) SWIG_AsInt(obj2);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 if (obj3) {
5099 arg4 = (long) SWIG_AsLong(obj3);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 if (obj4) {
5103 {
5104 arg5 = wxString_in_helper(obj4);
5105 if (arg5 == NULL) SWIG_fail;
5106 temp5 = True;
5107 }
5108 }
5109 {
5110 PyThreadState* __tstate = wxPyBeginAllowThreads();
5111 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5112
5113 wxPyEndAllowThreads(__tstate);
5114 if (PyErr_Occurred()) SWIG_fail;
5115 }
5116 {
5117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5118 }
5119 {
5120 if (temp5)
5121 delete arg5;
5122 }
5123 return resultobj;
5124 fail:
5125 {
5126 if (temp5)
5127 delete arg5;
5128 }
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5136 int arg2 = (int) 1 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char *kwnames[] = {
5140 (char *) "self",(char *) "number", NULL
5141 };
5142
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5146 if (obj1) {
5147 arg2 = (int) SWIG_AsInt(obj1);
5148 if (PyErr_Occurred()) SWIG_fail;
5149 }
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 (arg1)->SetFieldsCount(arg2);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 Py_INCREF(Py_None); resultobj = Py_None;
5158 return resultobj;
5159 fail:
5160 return NULL;
5161 }
5162
5163
5164 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5167 int result;
5168 PyObject * obj0 = 0 ;
5169 char *kwnames[] = {
5170 (char *) "self", NULL
5171 };
5172
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 resultobj = SWIG_FromInt((int)result);
5184 return resultobj;
5185 fail:
5186 return NULL;
5187 }
5188
5189
5190 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj;
5192 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5193 wxString *arg2 = 0 ;
5194 int arg3 = (int) 0 ;
5195 bool temp2 = False ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 PyObject * obj2 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "text",(char *) "number", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 {
5207 arg2 = wxString_in_helper(obj1);
5208 if (arg2 == NULL) SWIG_fail;
5209 temp2 = True;
5210 }
5211 if (obj2) {
5212 arg3 = (int) SWIG_AsInt(obj2);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 Py_INCREF(Py_None); resultobj = Py_None;
5223 {
5224 if (temp2)
5225 delete arg2;
5226 }
5227 return resultobj;
5228 fail:
5229 {
5230 if (temp2)
5231 delete arg2;
5232 }
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5240 int arg2 = (int) 0 ;
5241 wxString result;
5242 PyObject * obj0 = 0 ;
5243 PyObject * obj1 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "number", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5251 if (obj1) {
5252 arg2 = (int) SWIG_AsInt(obj1);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 {
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5258
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 {
5263 #if wxUSE_UNICODE
5264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5265 #else
5266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5267 #endif
5268 }
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5278 wxString *arg2 = 0 ;
5279 int arg3 = (int) 0 ;
5280 bool temp2 = False ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 PyObject * obj2 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self",(char *) "text",(char *) "number", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5291 {
5292 arg2 = wxString_in_helper(obj1);
5293 if (arg2 == NULL) SWIG_fail;
5294 temp2 = True;
5295 }
5296 if (obj2) {
5297 arg3 = (int) SWIG_AsInt(obj2);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 Py_INCREF(Py_None); resultobj = Py_None;
5308 {
5309 if (temp2)
5310 delete arg2;
5311 }
5312 return resultobj;
5313 fail:
5314 {
5315 if (temp2)
5316 delete arg2;
5317 }
5318 return NULL;
5319 }
5320
5321
5322 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj;
5324 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5325 int arg2 = (int) 0 ;
5326 PyObject * obj0 = 0 ;
5327 PyObject * obj1 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "number", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5335 if (obj1) {
5336 arg2 = (int) SWIG_AsInt(obj1);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 (arg1)->PopStatusText(arg2);
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 Py_INCREF(Py_None); resultobj = Py_None;
5347 return resultobj;
5348 fail:
5349 return NULL;
5350 }
5351
5352
5353 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5356 int arg2 ;
5357 int *arg3 = (int *) 0 ;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "self",(char *) "widths", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5367 {
5368 arg2 = PyList_Size(obj1);
5369 arg3 = int_LIST_helper(obj1);
5370 if (arg3 == NULL) SWIG_fail;
5371 }
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 Py_INCREF(Py_None); resultobj = Py_None;
5380 {
5381 if (arg3) delete [] arg3;
5382 }
5383 return resultobj;
5384 fail:
5385 {
5386 if (arg3) delete [] arg3;
5387 }
5388 return NULL;
5389 }
5390
5391
5392 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5393 PyObject *resultobj;
5394 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5395 int arg2 ;
5396 wxRect result;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "i", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5406 arg2 = (int) SWIG_AsInt(obj1);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = wxStatusBar_GetFieldRect(arg1,arg2);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416 wxRect * resultptr;
5417 resultptr = new wxRect((wxRect &) result);
5418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5419 }
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5429 int arg2 ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self",(char *) "height", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5439 arg2 = (int) SWIG_AsInt(obj1);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 (arg1)->SetMinHeight(arg2);
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 Py_INCREF(Py_None); resultobj = Py_None;
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj;
5457 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5458 int result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = SWIG_FromInt((int)result);
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5484 int result;
5485 PyObject * obj0 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 resultobj = SWIG_FromInt((int)result);
5501 return resultobj;
5502 fail:
5503 return NULL;
5504 }
5505
5506
5507 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5508 PyObject *resultobj;
5509 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5510 wxVisualAttributes result;
5511 PyObject * obj0 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "variant", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5517 if (obj0) {
5518 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529 wxVisualAttributes * resultptr;
5530 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5532 }
5533 return resultobj;
5534 fail:
5535 return NULL;
5536 }
5537
5538
5539 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5540 PyObject *obj;
5541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5542 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5543 Py_INCREF(obj);
5544 return Py_BuildValue((char *)"");
5545 }
5546 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5547 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5548 return 1;
5549 }
5550
5551
5552 static PyObject *_wrap_SplitterNameStr_get() {
5553 PyObject *pyobj;
5554
5555 {
5556 #if wxUSE_UNICODE
5557 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5558 #else
5559 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5560 #endif
5561 }
5562 return pyobj;
5563 }
5564
5565
5566 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxWindow *arg1 = (wxWindow *) 0 ;
5569 int arg2 = (int) -1 ;
5570 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5571 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5572 wxSize const &arg4_defvalue = wxDefaultSize ;
5573 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5574 long arg5 = (long) wxSP_3D ;
5575 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5576 wxString *arg6 = (wxString *) &arg6_defvalue ;
5577 wxSplitterWindow *result;
5578 wxPoint temp3 ;
5579 wxSize temp4 ;
5580 bool temp6 = False ;
5581 PyObject * obj0 = 0 ;
5582 PyObject * obj1 = 0 ;
5583 PyObject * obj2 = 0 ;
5584 PyObject * obj3 = 0 ;
5585 PyObject * obj4 = 0 ;
5586 PyObject * obj5 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5594 if (obj1) {
5595 arg2 = (int) SWIG_AsInt(obj1);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 if (obj2) {
5599 {
5600 arg3 = &temp3;
5601 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5602 }
5603 }
5604 if (obj3) {
5605 {
5606 arg4 = &temp4;
5607 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5608 }
5609 }
5610 if (obj4) {
5611 arg5 = (long) SWIG_AsLong(obj4);
5612 if (PyErr_Occurred()) SWIG_fail;
5613 }
5614 if (obj5) {
5615 {
5616 arg6 = wxString_in_helper(obj5);
5617 if (arg6 == NULL) SWIG_fail;
5618 temp6 = True;
5619 }
5620 }
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5629 {
5630 if (temp6)
5631 delete arg6;
5632 }
5633 return resultobj;
5634 fail:
5635 {
5636 if (temp6)
5637 delete arg6;
5638 }
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj;
5645 wxSplitterWindow *result;
5646 char *kwnames[] = {
5647 NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 result = (wxSplitterWindow *)new wxSplitterWindow();
5654
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj;
5667 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5668 wxWindow *arg2 = (wxWindow *) 0 ;
5669 int arg3 = (int) -1 ;
5670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5672 wxSize const &arg5_defvalue = wxDefaultSize ;
5673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5674 long arg6 = (long) wxSP_3D ;
5675 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5676 wxString *arg7 = (wxString *) &arg7_defvalue ;
5677 bool result;
5678 wxPoint temp4 ;
5679 wxSize temp5 ;
5680 bool temp7 = False ;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 PyObject * obj2 = 0 ;
5684 PyObject * obj3 = 0 ;
5685 PyObject * obj4 = 0 ;
5686 PyObject * obj5 = 0 ;
5687 PyObject * obj6 = 0 ;
5688 char *kwnames[] = {
5689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5690 };
5691
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5697 if (obj2) {
5698 arg3 = (int) SWIG_AsInt(obj2);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 if (obj3) {
5702 {
5703 arg4 = &temp4;
5704 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5705 }
5706 }
5707 if (obj4) {
5708 {
5709 arg5 = &temp5;
5710 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5711 }
5712 }
5713 if (obj5) {
5714 arg6 = (long) SWIG_AsLong(obj5);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 if (obj6) {
5718 {
5719 arg7 = wxString_in_helper(obj6);
5720 if (arg7 == NULL) SWIG_fail;
5721 temp7 = True;
5722 }
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 {
5732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5733 }
5734 {
5735 if (temp7)
5736 delete arg7;
5737 }
5738 return resultobj;
5739 fail:
5740 {
5741 if (temp7)
5742 delete arg7;
5743 }
5744 return NULL;
5745 }
5746
5747
5748 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5751 wxWindow *result;
5752 PyObject * obj0 = 0 ;
5753 char *kwnames[] = {
5754 (char *) "self", NULL
5755 };
5756
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
5767 {
5768 resultobj = wxPyMake_wxObject(result);
5769 }
5770 return resultobj;
5771 fail:
5772 return NULL;
5773 }
5774
5775
5776 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5777 PyObject *resultobj;
5778 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5779 wxWindow *result;
5780 PyObject * obj0 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 resultobj = wxPyMake_wxObject(result);
5797 }
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5807 int arg2 ;
5808 PyObject * obj0 = 0 ;
5809 PyObject * obj1 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self",(char *) "mode", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5817 arg2 = (int) SWIG_AsInt(obj1);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->SetSplitMode(arg2);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 return resultobj;
5828 fail:
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5836 int result;
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 resultobj = SWIG_FromInt((int)result);
5853 return resultobj;
5854 fail:
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5862 wxWindow *arg2 = (wxWindow *) 0 ;
5863 PyObject * obj0 = 0 ;
5864 PyObject * obj1 = 0 ;
5865 char *kwnames[] = {
5866 (char *) "self",(char *) "window", NULL
5867 };
5868
5869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 (arg1)->Initialize(arg2);
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 Py_INCREF(Py_None); resultobj = Py_None;
5882 return resultobj;
5883 fail:
5884 return NULL;
5885 }
5886
5887
5888 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5891 wxWindow *arg2 = (wxWindow *) 0 ;
5892 wxWindow *arg3 = (wxWindow *) 0 ;
5893 int arg4 = (int) 0 ;
5894 bool result;
5895 PyObject * obj0 = 0 ;
5896 PyObject * obj1 = 0 ;
5897 PyObject * obj2 = 0 ;
5898 PyObject * obj3 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5908 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5910 if (obj3) {
5911 arg4 = (int) SWIG_AsInt(obj3);
5912 if (PyErr_Occurred()) SWIG_fail;
5913 }
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 {
5922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5923 }
5924 return resultobj;
5925 fail:
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5933 wxWindow *arg2 = (wxWindow *) 0 ;
5934 wxWindow *arg3 = (wxWindow *) 0 ;
5935 int arg4 = (int) 0 ;
5936 bool result;
5937 PyObject * obj0 = 0 ;
5938 PyObject * obj1 = 0 ;
5939 PyObject * obj2 = 0 ;
5940 PyObject * obj3 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5950 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5952 if (obj3) {
5953 arg4 = (int) SWIG_AsInt(obj3);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 {
5964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5965 }
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj;
5974 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5975 wxWindow *arg2 = (wxWindow *) NULL ;
5976 bool result;
5977 PyObject * obj0 = 0 ;
5978 PyObject * obj1 = 0 ;
5979 char *kwnames[] = {
5980 (char *) "self",(char *) "toRemove", NULL
5981 };
5982
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5986 if (obj1) {
5987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5989 }
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 result = (bool)(arg1)->Unsplit(arg2);
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 {
5998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5999 }
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6009 wxWindow *arg2 = (wxWindow *) 0 ;
6010 wxWindow *arg3 = (wxWindow *) 0 ;
6011 bool result;
6012 PyObject * obj0 = 0 ;
6013 PyObject * obj1 = 0 ;
6014 PyObject * obj2 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6024 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 {
6034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6035 }
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6045 PyObject * obj0 = 0 ;
6046 char *kwnames[] = {
6047 (char *) "self", NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->UpdateSize();
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 Py_INCREF(Py_None); resultobj = Py_None;
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6088 }
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6098 int arg2 ;
6099 PyObject * obj0 = 0 ;
6100 PyObject * obj1 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "width", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6108 arg2 = (int) SWIG_AsInt(obj1);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 {
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 (arg1)->SetSashSize(arg2);
6113
6114 wxPyEndAllowThreads(__tstate);
6115 if (PyErr_Occurred()) SWIG_fail;
6116 }
6117 Py_INCREF(Py_None); resultobj = Py_None;
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6127 int arg2 ;
6128 PyObject * obj0 = 0 ;
6129 PyObject * obj1 = 0 ;
6130 char *kwnames[] = {
6131 (char *) "self",(char *) "width", NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6137 arg2 = (int) SWIG_AsInt(obj1);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 (arg1)->SetBorderSize(arg2);
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 Py_INCREF(Py_None); resultobj = Py_None;
6147 return resultobj;
6148 fail:
6149 return NULL;
6150 }
6151
6152
6153 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6156 int result;
6157 PyObject * obj0 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 resultobj = SWIG_FromInt((int)result);
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6182 int result;
6183 PyObject * obj0 = 0 ;
6184 char *kwnames[] = {
6185 (char *) "self", NULL
6186 };
6187
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 resultobj = SWIG_FromInt((int)result);
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6208 int arg2 ;
6209 bool arg3 = (bool) True ;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj1 = 0 ;
6212 PyObject * obj2 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self",(char *) "position",(char *) "redraw", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6220 arg2 = (int) SWIG_AsInt(obj1);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 if (obj2) {
6223 arg3 = (bool) SWIG_AsBool(obj2);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 (arg1)->SetSashPosition(arg2,arg3);
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 Py_INCREF(Py_None); resultobj = Py_None;
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6243 int result;
6244 PyObject * obj0 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "self", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 resultobj = SWIG_FromInt((int)result);
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6269 int arg2 ;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self",(char *) "min", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6279 arg2 = (int) SWIG_AsInt(obj1);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 (arg1)->SetMinimumPaneSize(arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 Py_INCREF(Py_None); resultobj = Py_None;
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6298 int result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 resultobj = SWIG_FromInt((int)result);
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6324 int arg2 ;
6325 int arg3 ;
6326 int arg4 = (int) 5 ;
6327 bool result;
6328 PyObject * obj0 = 0 ;
6329 PyObject * obj1 = 0 ;
6330 PyObject * obj2 = 0 ;
6331 PyObject * obj3 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6339 arg2 = (int) SWIG_AsInt(obj1);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 arg3 = (int) SWIG_AsInt(obj2);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 if (obj3) {
6344 arg4 = (int) SWIG_AsInt(obj3);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 {
6355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6356 }
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6366 PyObject * obj0 = 0 ;
6367 char *kwnames[] = {
6368 (char *) "self", NULL
6369 };
6370
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 (arg1)->SizeWindows();
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 Py_INCREF(Py_None); resultobj = Py_None;
6382 return resultobj;
6383 fail:
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6391 bool arg2 ;
6392 PyObject * obj0 = 0 ;
6393 PyObject * obj1 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self",(char *) "needUpdating", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6401 arg2 = (bool) SWIG_AsBool(obj1);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 (arg1)->SetNeedUpdating(arg2);
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 Py_INCREF(Py_None); resultobj = Py_None;
6411 return resultobj;
6412 fail:
6413 return NULL;
6414 }
6415
6416
6417 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj;
6419 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6420 bool result;
6421 PyObject * obj0 = 0 ;
6422 char *kwnames[] = {
6423 (char *) "self", NULL
6424 };
6425
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442 }
6443
6444
6445 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6448 wxVisualAttributes result;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "variant", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6455 if (obj0) {
6456 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6457 if (PyErr_Occurred()) SWIG_fail;
6458 }
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 {
6467 wxVisualAttributes * resultptr;
6468 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6470 }
6471 return resultobj;
6472 fail:
6473 return NULL;
6474 }
6475
6476
6477 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6478 PyObject *obj;
6479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6480 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6481 Py_INCREF(obj);
6482 return Py_BuildValue((char *)"");
6483 }
6484 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6487 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6488 wxSplitterEvent *result;
6489 PyObject * obj0 = 0 ;
6490 PyObject * obj1 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "type",(char *) "splitter", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6496 if (obj0) {
6497 arg1 = (wxEventType) SWIG_AsInt(obj0);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 if (obj1) {
6501 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 }
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6521 int arg2 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "pos", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6531 arg2 = (int) SWIG_AsInt(obj1);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 (arg1)->SetSashPosition(arg2);
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 Py_INCREF(Py_None); resultobj = Py_None;
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj;
6549 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6550 int result;
6551 PyObject * obj0 = 0 ;
6552 char *kwnames[] = {
6553 (char *) "self", NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6562
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 resultobj = SWIG_FromInt((int)result);
6567 return resultobj;
6568 fail:
6569 return NULL;
6570 }
6571
6572
6573 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6576 wxWindow *result;
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 {
6593 resultobj = wxPyMake_wxObject(result);
6594 }
6595 return resultobj;
6596 fail:
6597 return NULL;
6598 }
6599
6600
6601 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj;
6603 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6604 int result;
6605 PyObject * obj0 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6616
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 resultobj = SWIG_FromInt((int)result);
6621 return resultobj;
6622 fail:
6623 return NULL;
6624 }
6625
6626
6627 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj;
6629 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6630 int result;
6631 PyObject * obj0 = 0 ;
6632 char *kwnames[] = {
6633 (char *) "self", NULL
6634 };
6635
6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = SWIG_FromInt((int)result);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6654 PyObject *obj;
6655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6656 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6657 Py_INCREF(obj);
6658 return Py_BuildValue((char *)"");
6659 }
6660 static int _wrap_SashNameStr_set(PyObject *_val) {
6661 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6662 return 1;
6663 }
6664
6665
6666 static PyObject *_wrap_SashNameStr_get() {
6667 PyObject *pyobj;
6668
6669 {
6670 #if wxUSE_UNICODE
6671 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6672 #else
6673 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6674 #endif
6675 }
6676 return pyobj;
6677 }
6678
6679
6680 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6681 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6682 return 1;
6683 }
6684
6685
6686 static PyObject *_wrap_SashLayoutNameStr_get() {
6687 PyObject *pyobj;
6688
6689 {
6690 #if wxUSE_UNICODE
6691 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6692 #else
6693 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6694 #endif
6695 }
6696 return pyobj;
6697 }
6698
6699
6700 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxWindow *arg1 = (wxWindow *) 0 ;
6703 int arg2 ;
6704 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6705 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6706 wxSize const &arg4_defvalue = wxDefaultSize ;
6707 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6708 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6709 wxString const &arg6_defvalue = wxPySashNameStr ;
6710 wxString *arg6 = (wxString *) &arg6_defvalue ;
6711 wxSashWindow *result;
6712 wxPoint temp3 ;
6713 wxSize temp4 ;
6714 bool temp6 = False ;
6715 PyObject * obj0 = 0 ;
6716 PyObject * obj1 = 0 ;
6717 PyObject * obj2 = 0 ;
6718 PyObject * obj3 = 0 ;
6719 PyObject * obj4 = 0 ;
6720 PyObject * obj5 = 0 ;
6721 char *kwnames[] = {
6722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6723 };
6724
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6728 arg2 = (int) SWIG_AsInt(obj1);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 if (obj2) {
6731 {
6732 arg3 = &temp3;
6733 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6734 }
6735 }
6736 if (obj3) {
6737 {
6738 arg4 = &temp4;
6739 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6740 }
6741 }
6742 if (obj4) {
6743 arg5 = (long) SWIG_AsLong(obj4);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 if (obj5) {
6747 {
6748 arg6 = wxString_in_helper(obj5);
6749 if (arg6 == NULL) SWIG_fail;
6750 temp6 = True;
6751 }
6752 }
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6756
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6761 {
6762 if (temp6)
6763 delete arg6;
6764 }
6765 return resultobj;
6766 fail:
6767 {
6768 if (temp6)
6769 delete arg6;
6770 }
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxSashWindow *result;
6778 char *kwnames[] = {
6779 NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 result = (wxSashWindow *)new wxSashWindow();
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6800 wxWindow *arg2 = (wxWindow *) 0 ;
6801 int arg3 ;
6802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6804 wxSize const &arg5_defvalue = wxDefaultSize ;
6805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6806 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6807 wxString const &arg7_defvalue = wxPySashNameStr ;
6808 wxString *arg7 = (wxString *) &arg7_defvalue ;
6809 bool result;
6810 wxPoint temp4 ;
6811 wxSize temp5 ;
6812 bool temp7 = False ;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 PyObject * obj2 = 0 ;
6816 PyObject * obj3 = 0 ;
6817 PyObject * obj4 = 0 ;
6818 PyObject * obj5 = 0 ;
6819 PyObject * obj6 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6829 arg3 = (int) SWIG_AsInt(obj2);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 if (obj3) {
6832 {
6833 arg4 = &temp4;
6834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6835 }
6836 }
6837 if (obj4) {
6838 {
6839 arg5 = &temp5;
6840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6841 }
6842 }
6843 if (obj5) {
6844 arg6 = (long) SWIG_AsLong(obj5);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 if (obj6) {
6848 {
6849 arg7 = wxString_in_helper(obj6);
6850 if (arg7 == NULL) SWIG_fail;
6851 temp7 = True;
6852 }
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 {
6862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6863 }
6864 {
6865 if (temp7)
6866 delete arg7;
6867 }
6868 return resultobj;
6869 fail:
6870 {
6871 if (temp7)
6872 delete arg7;
6873 }
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6881 int arg2 ;
6882 bool arg3 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 PyObject * obj2 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "edge",(char *) "sash", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6893 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 arg3 = (bool) SWIG_AsBool(obj2);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 Py_INCREF(Py_None); resultobj = Py_None;
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6914 int arg2 ;
6915 bool result;
6916 PyObject * obj0 = 0 ;
6917 PyObject * obj1 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self",(char *) "edge", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6925 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 {
6935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6936 }
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6946 int arg2 ;
6947 bool arg3 ;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 PyObject * obj2 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "self",(char *) "edge",(char *) "border", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6958 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 arg3 = (bool) SWIG_AsBool(obj2);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 Py_INCREF(Py_None); resultobj = Py_None;
6970 return resultobj;
6971 fail:
6972 return NULL;
6973 }
6974
6975
6976 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj;
6978 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6979 int arg2 ;
6980 bool result;
6981 PyObject * obj0 = 0 ;
6982 PyObject * obj1 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self",(char *) "edge", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6990 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 {
6993 PyThreadState* __tstate = wxPyBeginAllowThreads();
6994 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6995
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 {
7000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7001 }
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7009 PyObject *resultobj;
7010 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7011 int arg2 ;
7012 int result;
7013 PyObject * obj0 = 0 ;
7014 PyObject * obj1 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "edge", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7022 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 resultobj = SWIG_FromInt((int)result);
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj;
7040 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7041 int arg2 ;
7042 PyObject * obj0 = 0 ;
7043 PyObject * obj1 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "width", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7051 arg2 = (int) SWIG_AsInt(obj1);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 (arg1)->SetDefaultBorderSize(arg2);
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 Py_INCREF(Py_None); resultobj = Py_None;
7061 return resultobj;
7062 fail:
7063 return NULL;
7064 }
7065
7066
7067 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7070 int result;
7071 PyObject * obj0 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 resultobj = SWIG_FromInt((int)result);
7087 return resultobj;
7088 fail:
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7096 int arg2 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "width", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7106 arg2 = (int) SWIG_AsInt(obj1);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 (arg1)->SetExtraBorderSize(arg2);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 Py_INCREF(Py_None); resultobj = Py_None;
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7125 int result;
7126 PyObject * obj0 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "self", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 resultobj = SWIG_FromInt((int)result);
7142 return resultobj;
7143 fail:
7144 return NULL;
7145 }
7146
7147
7148 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj;
7150 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7151 int arg2 ;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self",(char *) "min", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7161 arg2 = (int) SWIG_AsInt(obj1);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->SetMinimumSizeX(arg2);
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 Py_INCREF(Py_None); resultobj = Py_None;
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7180 int arg2 ;
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
7183 char *kwnames[] = {
7184 (char *) "self",(char *) "min", NULL
7185 };
7186
7187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7190 arg2 = (int) SWIG_AsInt(obj1);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 {
7193 PyThreadState* __tstate = wxPyBeginAllowThreads();
7194 (arg1)->SetMinimumSizeY(arg2);
7195
7196 wxPyEndAllowThreads(__tstate);
7197 if (PyErr_Occurred()) SWIG_fail;
7198 }
7199 Py_INCREF(Py_None); resultobj = Py_None;
7200 return resultobj;
7201 fail:
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7209 int result;
7210 PyObject * obj0 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7218 {
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_FromInt((int)result);
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj;
7234 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7235 int result;
7236 PyObject * obj0 = 0 ;
7237 char *kwnames[] = {
7238 (char *) "self", NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 resultobj = SWIG_FromInt((int)result);
7252 return resultobj;
7253 fail:
7254 return NULL;
7255 }
7256
7257
7258 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj;
7260 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7261 int arg2 ;
7262 PyObject * obj0 = 0 ;
7263 PyObject * obj1 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self",(char *) "max", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7271 arg2 = (int) SWIG_AsInt(obj1);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 (arg1)->SetMaximumSizeX(arg2);
7276
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 Py_INCREF(Py_None); resultobj = Py_None;
7281 return resultobj;
7282 fail:
7283 return NULL;
7284 }
7285
7286
7287 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7288 PyObject *resultobj;
7289 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7290 int arg2 ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 char *kwnames[] = {
7294 (char *) "self",(char *) "max", NULL
7295 };
7296
7297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7300 arg2 = (int) SWIG_AsInt(obj1);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 (arg1)->SetMaximumSizeY(arg2);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 return resultobj;
7311 fail:
7312 return NULL;
7313 }
7314
7315
7316 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7319 int result;
7320 PyObject * obj0 = 0 ;
7321 char *kwnames[] = {
7322 (char *) "self", NULL
7323 };
7324
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) SWIG_fail;
7334 }
7335 resultobj = SWIG_FromInt((int)result);
7336 return resultobj;
7337 fail:
7338 return NULL;
7339 }
7340
7341
7342 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj;
7344 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7345 int result;
7346 PyObject * obj0 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 resultobj = SWIG_FromInt((int)result);
7362 return resultobj;
7363 fail:
7364 return NULL;
7365 }
7366
7367
7368 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject *resultobj;
7370 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7371 int arg2 ;
7372 int arg3 ;
7373 int arg4 = (int) 2 ;
7374 int result;
7375 PyObject * obj0 = 0 ;
7376 PyObject * obj1 = 0 ;
7377 PyObject * obj2 = 0 ;
7378 PyObject * obj3 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7386 arg2 = (int) SWIG_AsInt(obj1);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 arg3 = (int) SWIG_AsInt(obj2);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 if (obj3) {
7391 arg4 = (int) SWIG_AsInt(obj3);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 resultobj = SWIG_FromInt((int)result);
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7411 PyObject * obj0 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "self", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 (arg1)->SizeWindows();
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 Py_INCREF(Py_None); resultobj = Py_None;
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7434 PyObject *obj;
7435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7436 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7437 Py_INCREF(obj);
7438 return Py_BuildValue((char *)"");
7439 }
7440 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 int arg1 = (int) 0 ;
7443 int arg2 = (int) wxSASH_NONE ;
7444 wxSashEvent *result;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "id",(char *) "edge", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7452 if (obj0) {
7453 arg1 = (int) SWIG_AsInt(obj0);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 if (obj1) {
7457 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7468 return resultobj;
7469 fail:
7470 return NULL;
7471 }
7472
7473
7474 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7477 int arg2 ;
7478 PyObject * obj0 = 0 ;
7479 PyObject * obj1 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self",(char *) "edge", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7487 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7506 int result;
7507 PyObject * obj0 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 resultobj = SWIG_FromInt((int)result);
7523 return resultobj;
7524 fail:
7525 return NULL;
7526 }
7527
7528
7529 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7532 wxRect *arg2 = 0 ;
7533 wxRect temp2 ;
7534 PyObject * obj0 = 0 ;
7535 PyObject * obj1 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self",(char *) "rect", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7543 {
7544 arg2 = &temp2;
7545 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7546 }
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 (arg1)->SetDragRect((wxRect const &)*arg2);
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 Py_INCREF(Py_None); resultobj = Py_None;
7555 return resultobj;
7556 fail:
7557 return NULL;
7558 }
7559
7560
7561 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7562 PyObject *resultobj;
7563 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7564 wxRect result;
7565 PyObject * obj0 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 result = ((wxSashEvent const *)arg1)->GetDragRect();
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 {
7581 wxRect * resultptr;
7582 resultptr = new wxRect((wxRect &) result);
7583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7584 }
7585 return resultobj;
7586 fail:
7587 return NULL;
7588 }
7589
7590
7591 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7594 int arg2 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self",(char *) "status", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7604 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 Py_INCREF(Py_None); resultobj = Py_None;
7614 return resultobj;
7615 fail:
7616 return NULL;
7617 }
7618
7619
7620 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7623 int result;
7624 PyObject * obj0 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_FromInt((int)result);
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7647 PyObject *obj;
7648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7649 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7650 Py_INCREF(obj);
7651 return Py_BuildValue((char *)"");
7652 }
7653 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj;
7655 int arg1 = (int) 0 ;
7656 wxQueryLayoutInfoEvent *result;
7657 PyObject * obj0 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "id", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7663 if (obj0) {
7664 arg1 = (int) SWIG_AsInt(obj0);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7684 int arg2 ;
7685 PyObject * obj0 = 0 ;
7686 PyObject * obj1 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "length", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7694 arg2 = (int) SWIG_AsInt(obj1);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 (arg1)->SetRequestedLength(arg2);
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 return resultobj;
7705 fail:
7706 return NULL;
7707 }
7708
7709
7710 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7713 int result;
7714 PyObject * obj0 = 0 ;
7715 char *kwnames[] = {
7716 (char *) "self", NULL
7717 };
7718
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7725
7726 wxPyEndAllowThreads(__tstate);
7727 if (PyErr_Occurred()) SWIG_fail;
7728 }
7729 resultobj = SWIG_FromInt((int)result);
7730 return resultobj;
7731 fail:
7732 return NULL;
7733 }
7734
7735
7736 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj;
7738 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7739 int arg2 ;
7740 PyObject * obj0 = 0 ;
7741 PyObject * obj1 = 0 ;
7742 char *kwnames[] = {
7743 (char *) "self",(char *) "flags", NULL
7744 };
7745
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7749 arg2 = (int) SWIG_AsInt(obj1);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->SetFlags(arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7768 int result;
7769 PyObject * obj0 = 0 ;
7770 char *kwnames[] = {
7771 (char *) "self", NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 resultobj = SWIG_FromInt((int)result);
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7794 wxSize *arg2 = 0 ;
7795 wxSize temp2 ;
7796 PyObject * obj0 = 0 ;
7797 PyObject * obj1 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self",(char *) "size", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7805 {
7806 arg2 = &temp2;
7807 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7808 }
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 (arg1)->SetSize((wxSize const &)*arg2);
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 Py_INCREF(Py_None); resultobj = Py_None;
7817 return resultobj;
7818 fail:
7819 return NULL;
7820 }
7821
7822
7823 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7826 wxSize result;
7827 PyObject * obj0 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self", NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 {
7843 wxSize * resultptr;
7844 resultptr = new wxSize((wxSize &) result);
7845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7846 }
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7854 PyObject *resultobj;
7855 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7856 int arg2 ;
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "self",(char *) "orient", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7866 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 Py_INCREF(Py_None); resultobj = Py_None;
7876 return resultobj;
7877 fail:
7878 return NULL;
7879 }
7880
7881
7882 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7885 int result;
7886 PyObject * obj0 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = SWIG_FromInt((int)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7911 int arg2 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "align", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7921 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 Py_INCREF(Py_None); resultobj = Py_None;
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7940 int result;
7941 PyObject * obj0 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 resultobj = SWIG_FromInt((int)result);
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7964 PyObject *obj;
7965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7966 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7967 Py_INCREF(obj);
7968 return Py_BuildValue((char *)"");
7969 }
7970 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7971 PyObject *resultobj;
7972 int arg1 = (int) 0 ;
7973 wxCalculateLayoutEvent *result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "id", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7980 if (obj0) {
7981 arg1 = (int) SWIG_AsInt(obj0);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7987
7988 wxPyEndAllowThreads(__tstate);
7989 if (PyErr_Occurred()) SWIG_fail;
7990 }
7991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7992 return resultobj;
7993 fail:
7994 return NULL;
7995 }
7996
7997
7998 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject *resultobj;
8000 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8001 int arg2 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self",(char *) "flags", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8011 arg2 = (int) SWIG_AsInt(obj1);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->SetFlags(arg2);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 Py_INCREF(Py_None); resultobj = Py_None;
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8030 int result;
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "self", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = SWIG_FromInt((int)result);
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8056 wxRect *arg2 = 0 ;
8057 wxRect temp2 ;
8058 PyObject * obj0 = 0 ;
8059 PyObject * obj1 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "rect", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8067 {
8068 arg2 = &temp2;
8069 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 (arg1)->SetRect((wxRect const &)*arg2);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 Py_INCREF(Py_None); resultobj = Py_None;
8079 return resultobj;
8080 fail:
8081 return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj;
8087 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8088 wxRect result;
8089 PyObject * obj0 = 0 ;
8090 char *kwnames[] = {
8091 (char *) "self", NULL
8092 };
8093
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 {
8105 wxRect * resultptr;
8106 resultptr = new wxRect((wxRect &) result);
8107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8108 }
8109 return resultobj;
8110 fail:
8111 return NULL;
8112 }
8113
8114
8115 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8116 PyObject *obj;
8117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8118 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8119 Py_INCREF(obj);
8120 return Py_BuildValue((char *)"");
8121 }
8122 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj;
8124 wxWindow *arg1 = (wxWindow *) 0 ;
8125 int arg2 ;
8126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8128 wxSize const &arg4_defvalue = wxDefaultSize ;
8129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8130 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8131 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8132 wxString *arg6 = (wxString *) &arg6_defvalue ;
8133 wxSashLayoutWindow *result;
8134 wxPoint temp3 ;
8135 wxSize temp4 ;
8136 bool temp6 = False ;
8137 PyObject * obj0 = 0 ;
8138 PyObject * obj1 = 0 ;
8139 PyObject * obj2 = 0 ;
8140 PyObject * obj3 = 0 ;
8141 PyObject * obj4 = 0 ;
8142 PyObject * obj5 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8145 };
8146
8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8150 arg2 = (int) SWIG_AsInt(obj1);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 if (obj2) {
8153 {
8154 arg3 = &temp3;
8155 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8156 }
8157 }
8158 if (obj3) {
8159 {
8160 arg4 = &temp4;
8161 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8162 }
8163 }
8164 if (obj4) {
8165 arg5 = (long) SWIG_AsLong(obj4);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 if (obj5) {
8169 {
8170 arg6 = wxString_in_helper(obj5);
8171 if (arg6 == NULL) SWIG_fail;
8172 temp6 = True;
8173 }
8174 }
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8178
8179 wxPyEndAllowThreads(__tstate);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8183 {
8184 if (temp6)
8185 delete arg6;
8186 }
8187 return resultobj;
8188 fail:
8189 {
8190 if (temp6)
8191 delete arg6;
8192 }
8193 return NULL;
8194 }
8195
8196
8197 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj;
8199 wxSashLayoutWindow *result;
8200 char *kwnames[] = {
8201 NULL
8202 };
8203
8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8222 wxWindow *arg2 = (wxWindow *) 0 ;
8223 int arg3 ;
8224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8226 wxSize const &arg5_defvalue = wxDefaultSize ;
8227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8228 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8229 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8230 wxString *arg7 = (wxString *) &arg7_defvalue ;
8231 bool result;
8232 wxPoint temp4 ;
8233 wxSize temp5 ;
8234 bool temp7 = False ;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237 PyObject * obj2 = 0 ;
8238 PyObject * obj3 = 0 ;
8239 PyObject * obj4 = 0 ;
8240 PyObject * obj5 = 0 ;
8241 PyObject * obj6 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8251 arg3 = (int) SWIG_AsInt(obj2);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 if (obj3) {
8254 {
8255 arg4 = &temp4;
8256 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8257 }
8258 }
8259 if (obj4) {
8260 {
8261 arg5 = &temp5;
8262 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8263 }
8264 }
8265 if (obj5) {
8266 arg6 = (long) SWIG_AsLong(obj5);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 if (obj6) {
8270 {
8271 arg7 = wxString_in_helper(obj6);
8272 if (arg7 == NULL) SWIG_fail;
8273 temp7 = True;
8274 }
8275 }
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 {
8284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8285 }
8286 {
8287 if (temp7)
8288 delete arg7;
8289 }
8290 return resultobj;
8291 fail:
8292 {
8293 if (temp7)
8294 delete arg7;
8295 }
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8303 int result;
8304 PyObject * obj0 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (int)(arg1)->GetAlignment();
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 resultobj = SWIG_FromInt((int)result);
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8329 int result;
8330 PyObject * obj0 = 0 ;
8331 char *kwnames[] = {
8332 (char *) "self", NULL
8333 };
8334
8335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (int)(arg1)->GetOrientation();
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_FromInt((int)result);
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj;
8354 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8355 int arg2 ;
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self",(char *) "alignment", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8365 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 Py_INCREF(Py_None); resultobj = Py_None;
8375 return resultobj;
8376 fail:
8377 return NULL;
8378 }
8379
8380
8381 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8382 PyObject *resultobj;
8383 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8384 wxSize *arg2 = 0 ;
8385 wxSize temp2 ;
8386 PyObject * obj0 = 0 ;
8387 PyObject * obj1 = 0 ;
8388 char *kwnames[] = {
8389 (char *) "self",(char *) "size", NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8395 {
8396 arg2 = &temp2;
8397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8398 }
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 Py_INCREF(Py_None); resultobj = Py_None;
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8416 int arg2 ;
8417 PyObject * obj0 = 0 ;
8418 PyObject * obj1 = 0 ;
8419 char *kwnames[] = {
8420 (char *) "self",(char *) "orientation", NULL
8421 };
8422
8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8426 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 Py_INCREF(Py_None); resultobj = Py_None;
8436 return resultobj;
8437 fail:
8438 return NULL;
8439 }
8440
8441
8442 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8443 PyObject *obj;
8444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8445 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8446 Py_INCREF(obj);
8447 return Py_BuildValue((char *)"");
8448 }
8449 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj;
8451 wxLayoutAlgorithm *result;
8452 char *kwnames[] = {
8453 NULL
8454 };
8455
8456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 delete arg1;
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
8489 Py_INCREF(Py_None); resultobj = Py_None;
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj;
8498 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8499 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8500 wxRect *arg3 = (wxRect *) NULL ;
8501 bool result;
8502 PyObject * obj0 = 0 ;
8503 PyObject * obj1 = 0 ;
8504 PyObject * obj2 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "self",(char *) "frame",(char *) "rect", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8514 if (obj2) {
8515 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 {
8526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8527 }
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8537 wxFrame *arg2 = (wxFrame *) 0 ;
8538 wxWindow *arg3 = (wxWindow *) NULL ;
8539 bool result;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8552 if (obj2) {
8553 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8555 }
8556 {
8557 PyThreadState* __tstate = wxPyBeginAllowThreads();
8558 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8559
8560 wxPyEndAllowThreads(__tstate);
8561 if (PyErr_Occurred()) SWIG_fail;
8562 }
8563 {
8564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8565 }
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8575 wxWindow *arg2 = (wxWindow *) 0 ;
8576 wxWindow *arg3 = (wxWindow *) NULL ;
8577 bool result;
8578 PyObject * obj0 = 0 ;
8579 PyObject * obj1 = 0 ;
8580 PyObject * obj2 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8590 if (obj2) {
8591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 {
8602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8603 }
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8611 PyObject *obj;
8612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8613 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8614 Py_INCREF(obj);
8615 return Py_BuildValue((char *)"");
8616 }
8617 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8618 PyObject *resultobj;
8619 wxWindow *arg1 = (wxWindow *) 0 ;
8620 int arg2 = (int) wxBORDER_NONE ;
8621 wxPopupWindow *result;
8622 PyObject * obj0 = 0 ;
8623 PyObject * obj1 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "parent",(char *) "flags", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8631 if (obj1) {
8632 arg2 = (int) SWIG_AsInt(obj1);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8643 return resultobj;
8644 fail:
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxPopupWindow *result;
8652 char *kwnames[] = {
8653 NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (wxPopupWindow *)new wxPopupWindow();
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8674 wxWindow *arg2 = (wxWindow *) 0 ;
8675 int arg3 = (int) wxBORDER_NONE ;
8676 bool result;
8677 PyObject * obj0 = 0 ;
8678 PyObject * obj1 = 0 ;
8679 PyObject * obj2 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self",(char *) "parent",(char *) "flags", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8689 if (obj2) {
8690 arg3 = (int) SWIG_AsInt(obj2);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = (bool)(arg1)->Create(arg2,arg3);
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 {
8701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8702 }
8703 return resultobj;
8704 fail:
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8712 wxPoint *arg2 = 0 ;
8713 wxSize *arg3 = 0 ;
8714 wxPoint temp2 ;
8715 wxSize temp3 ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 PyObject * obj2 = 0 ;
8719 char *kwnames[] = {
8720 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8721 };
8722
8723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8726 {
8727 arg2 = &temp2;
8728 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8729 }
8730 {
8731 arg3 = &temp3;
8732 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8733 }
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 Py_INCREF(Py_None); resultobj = Py_None;
8742 return resultobj;
8743 fail:
8744 return NULL;
8745 }
8746
8747
8748 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8749 PyObject *obj;
8750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8751 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8752 Py_INCREF(obj);
8753 return Py_BuildValue((char *)"");
8754 }
8755 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxWindow *arg1 = (wxWindow *) 0 ;
8758 int arg2 = (int) wxBORDER_NONE ;
8759 wxPyPopupTransientWindow *result;
8760 PyObject * obj0 = 0 ;
8761 PyObject * obj1 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "parent",(char *) "style", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8769 if (obj1) {
8770 arg2 = (int) SWIG_AsInt(obj1);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxPyPopupTransientWindow *result;
8790 char *kwnames[] = {
8791 NULL
8792 };
8793
8794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8812 PyObject *arg2 = (PyObject *) 0 ;
8813 PyObject *arg3 = (PyObject *) 0 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 PyObject * obj2 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "self",(char *) "self",(char *) "_class", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8824 arg2 = obj1;
8825 arg3 = obj2;
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 (arg1)->_setCallbackInfo(arg2,arg3);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 Py_INCREF(Py_None); resultobj = Py_None;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj;
8842 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8843 wxWindow *arg2 = (wxWindow *) NULL ;
8844 PyObject * obj0 = 0 ;
8845 PyObject * obj1 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "focus", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8853 if (obj1) {
8854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8856 }
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 (arg1)->Popup(arg2);
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 Py_INCREF(Py_None); resultobj = Py_None;
8865 return resultobj;
8866 fail:
8867 return NULL;
8868 }
8869
8870
8871 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject *resultobj;
8873 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8874 PyObject * obj0 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 (arg1)->Dismiss();
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 Py_INCREF(Py_None); resultobj = Py_None;
8890 return resultobj;
8891 fail:
8892 return NULL;
8893 }
8894
8895
8896 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8897 PyObject *obj;
8898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8899 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8900 Py_INCREF(obj);
8901 return Py_BuildValue((char *)"");
8902 }
8903 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxWindow *arg1 = (wxWindow *) 0 ;
8906 wxString *arg2 = 0 ;
8907 int arg3 = (int) 100 ;
8908 wxRect *arg4 = (wxRect *) NULL ;
8909 wxTipWindow *result;
8910 bool temp2 = False ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 PyObject * obj2 = 0 ;
8914 PyObject * obj3 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8922 {
8923 arg2 = wxString_in_helper(obj1);
8924 if (arg2 == NULL) SWIG_fail;
8925 temp2 = True;
8926 }
8927 if (obj2) {
8928 arg3 = (int) SWIG_AsInt(obj2);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 if (obj3) {
8932 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8943 {
8944 if (temp2)
8945 delete arg2;
8946 }
8947 return resultobj;
8948 fail:
8949 {
8950 if (temp2)
8951 delete arg2;
8952 }
8953 return NULL;
8954 }
8955
8956
8957 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8958 PyObject *resultobj;
8959 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8960 wxRect *arg2 = 0 ;
8961 wxRect temp2 ;
8962 PyObject * obj0 = 0 ;
8963 PyObject * obj1 = 0 ;
8964 char *kwnames[] = {
8965 (char *) "self",(char *) "rectBound", NULL
8966 };
8967
8968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8971 {
8972 arg2 = &temp2;
8973 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 Py_INCREF(Py_None); resultobj = Py_None;
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8992 PyObject * obj0 = 0 ;
8993 char *kwnames[] = {
8994 (char *) "self", NULL
8995 };
8996
8997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 (arg1)->Close();
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 Py_INCREF(Py_None); resultobj = Py_None;
9008 return resultobj;
9009 fail:
9010 return NULL;
9011 }
9012
9013
9014 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9015 PyObject *obj;
9016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9017 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9018 Py_INCREF(obj);
9019 return Py_BuildValue((char *)"");
9020 }
9021 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj;
9023 wxWindow *arg1 = (wxWindow *) 0 ;
9024 int arg2 = (int) wxID_ANY ;
9025 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9026 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9027 wxSize const &arg4_defvalue = wxDefaultSize ;
9028 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9029 long arg5 = (long) 0 ;
9030 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9031 wxString *arg6 = (wxString *) &arg6_defvalue ;
9032 wxPyVScrolledWindow *result;
9033 wxPoint temp3 ;
9034 wxSize temp4 ;
9035 bool temp6 = False ;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 PyObject * obj2 = 0 ;
9039 PyObject * obj3 = 0 ;
9040 PyObject * obj4 = 0 ;
9041 PyObject * obj5 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9049 if (obj1) {
9050 arg2 = (int) SWIG_AsInt(obj1);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 if (obj2) {
9054 {
9055 arg3 = &temp3;
9056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9057 }
9058 }
9059 if (obj3) {
9060 {
9061 arg4 = &temp4;
9062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9063 }
9064 }
9065 if (obj4) {
9066 arg5 = (long) SWIG_AsLong(obj4);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 if (obj5) {
9070 {
9071 arg6 = wxString_in_helper(obj5);
9072 if (arg6 == NULL) SWIG_fail;
9073 temp6 = True;
9074 }
9075 }
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9084 {
9085 if (temp6)
9086 delete arg6;
9087 }
9088 return resultobj;
9089 fail:
9090 {
9091 if (temp6)
9092 delete arg6;
9093 }
9094 return NULL;
9095 }
9096
9097
9098 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxPyVScrolledWindow *result;
9101 char *kwnames[] = {
9102 NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9114 return resultobj;
9115 fail:
9116 return NULL;
9117 }
9118
9119
9120 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9121 PyObject *resultobj;
9122 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9123 PyObject *arg2 = (PyObject *) 0 ;
9124 PyObject *arg3 = (PyObject *) 0 ;
9125 PyObject * obj0 = 0 ;
9126 PyObject * obj1 = 0 ;
9127 PyObject * obj2 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self",(char *) "self",(char *) "_class", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9135 arg2 = obj1;
9136 arg3 = obj2;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->_setCallbackInfo(arg2,arg3);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9154 wxWindow *arg2 = (wxWindow *) 0 ;
9155 int arg3 = (int) wxID_ANY ;
9156 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9157 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9158 wxSize const &arg5_defvalue = wxDefaultSize ;
9159 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9160 long arg6 = (long) 0 ;
9161 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9162 wxString *arg7 = (wxString *) &arg7_defvalue ;
9163 bool result;
9164 wxPoint temp4 ;
9165 wxSize temp5 ;
9166 bool temp7 = False ;
9167 PyObject * obj0 = 0 ;
9168 PyObject * obj1 = 0 ;
9169 PyObject * obj2 = 0 ;
9170 PyObject * obj3 = 0 ;
9171 PyObject * obj4 = 0 ;
9172 PyObject * obj5 = 0 ;
9173 PyObject * obj6 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9183 if (obj2) {
9184 arg3 = (int) SWIG_AsInt(obj2);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 if (obj3) {
9188 {
9189 arg4 = &temp4;
9190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9191 }
9192 }
9193 if (obj4) {
9194 {
9195 arg5 = &temp5;
9196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9197 }
9198 }
9199 if (obj5) {
9200 arg6 = (long) SWIG_AsLong(obj5);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 if (obj6) {
9204 {
9205 arg7 = wxString_in_helper(obj6);
9206 if (arg7 == NULL) SWIG_fail;
9207 temp7 = True;
9208 }
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 {
9218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9219 }
9220 {
9221 if (temp7)
9222 delete arg7;
9223 }
9224 return resultobj;
9225 fail:
9226 {
9227 if (temp7)
9228 delete arg7;
9229 }
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9237 size_t arg2 ;
9238 PyObject * obj0 = 0 ;
9239 PyObject * obj1 = 0 ;
9240 char *kwnames[] = {
9241 (char *) "self",(char *) "count", NULL
9242 };
9243
9244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",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 = (size_t) SWIG_AsUnsignedLong(obj1);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 (arg1)->SetLineCount(arg2);
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 Py_INCREF(Py_None); resultobj = Py_None;
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9266 size_t arg2 ;
9267 bool result;
9268 PyObject * obj0 = 0 ;
9269 PyObject * obj1 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self",(char *) "line", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9277 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 result = (bool)(arg1)->ScrollToLine(arg2);
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 {
9287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9288 }
9289 return resultobj;
9290 fail:
9291 return NULL;
9292 }
9293
9294
9295 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject *resultobj;
9297 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9298 int arg2 ;
9299 bool result;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self",(char *) "lines", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9309 arg2 = (int) SWIG_AsInt(obj1);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (bool)(arg1)->ScrollLines(arg2);
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 {
9319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9320 }
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9330 int arg2 ;
9331 bool result;
9332 PyObject * obj0 = 0 ;
9333 PyObject * obj1 = 0 ;
9334 char *kwnames[] = {
9335 (char *) "self",(char *) "pages", NULL
9336 };
9337
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9341 arg2 = (int) SWIG_AsInt(obj1);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (bool)(arg1)->ScrollPages(arg2);
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9362 size_t arg2 ;
9363 PyObject * obj0 = 0 ;
9364 PyObject * obj1 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self",(char *) "line", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9372 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 (arg1)->RefreshLine(arg2);
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 Py_INCREF(Py_None); resultobj = Py_None;
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9391 size_t arg2 ;
9392 size_t arg3 ;
9393 PyObject * obj0 = 0 ;
9394 PyObject * obj1 = 0 ;
9395 PyObject * obj2 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "from",(char *) "to", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9403 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 (arg1)->RefreshLines(arg2,arg3);
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 Py_INCREF(Py_None); resultobj = Py_None;
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj;
9423 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9424 int arg2 ;
9425 int arg3 ;
9426 int result;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 PyObject * obj2 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self",(char *) "x",(char *) "y", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9437 arg2 = (int) SWIG_AsInt(obj1);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 arg3 = (int) SWIG_AsInt(obj2);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 resultobj = SWIG_FromInt((int)result);
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9458 wxPoint *arg2 = 0 ;
9459 int result;
9460 wxPoint temp2 ;
9461 PyObject * obj0 = 0 ;
9462 PyObject * obj1 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "self",(char *) "pt", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9470 {
9471 arg2 = &temp2;
9472 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9473 }
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 resultobj = SWIG_FromInt((int)result);
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj;
9490 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9491 PyObject * obj0 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 (arg1)->RefreshAll();
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 Py_INCREF(Py_None); resultobj = Py_None;
9507 return resultobj;
9508 fail:
9509 return NULL;
9510 }
9511
9512
9513 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9514 PyObject *resultobj;
9515 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9516 size_t result;
9517 PyObject * obj0 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "self", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9525 {
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9528
9529 wxPyEndAllowThreads(__tstate);
9530 if (PyErr_Occurred()) SWIG_fail;
9531 }
9532 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9533 return resultobj;
9534 fail:
9535 return NULL;
9536 }
9537
9538
9539 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9540 PyObject *resultobj;
9541 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9542 size_t result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9559 return resultobj;
9560 fail:
9561 return NULL;
9562 }
9563
9564
9565 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9568 size_t result;
9569 PyObject * obj0 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9585 return resultobj;
9586 fail:
9587 return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9594 size_t arg2 ;
9595 bool result;
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
9598 char *kwnames[] = {
9599 (char *) "self",(char *) "line", NULL
9600 };
9601
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9605 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 {
9615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9616 }
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9624 PyObject *obj;
9625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9626 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9627 Py_INCREF(obj);
9628 return Py_BuildValue((char *)"");
9629 }
9630 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9631 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9632 return 1;
9633 }
9634
9635
9636 static PyObject *_wrap_VListBoxNameStr_get() {
9637 PyObject *pyobj;
9638
9639 {
9640 #if wxUSE_UNICODE
9641 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9642 #else
9643 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9644 #endif
9645 }
9646 return pyobj;
9647 }
9648
9649
9650 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxWindow *arg1 = (wxWindow *) 0 ;
9653 int arg2 = (int) wxID_ANY ;
9654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9656 wxSize const &arg4_defvalue = wxDefaultSize ;
9657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9658 long arg5 = (long) 0 ;
9659 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9660 wxString *arg6 = (wxString *) &arg6_defvalue ;
9661 wxPyVListBox *result;
9662 wxPoint temp3 ;
9663 wxSize temp4 ;
9664 bool temp6 = False ;
9665 PyObject * obj0 = 0 ;
9666 PyObject * obj1 = 0 ;
9667 PyObject * obj2 = 0 ;
9668 PyObject * obj3 = 0 ;
9669 PyObject * obj4 = 0 ;
9670 PyObject * obj5 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 if (obj1) {
9679 arg2 = (int) SWIG_AsInt(obj1);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 if (obj2) {
9683 {
9684 arg3 = &temp3;
9685 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9686 }
9687 }
9688 if (obj3) {
9689 {
9690 arg4 = &temp4;
9691 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9692 }
9693 }
9694 if (obj4) {
9695 arg5 = (long) SWIG_AsLong(obj4);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 if (obj5) {
9699 {
9700 arg6 = wxString_in_helper(obj5);
9701 if (arg6 == NULL) SWIG_fail;
9702 temp6 = True;
9703 }
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9713 {
9714 if (temp6)
9715 delete arg6;
9716 }
9717 return resultobj;
9718 fail:
9719 {
9720 if (temp6)
9721 delete arg6;
9722 }
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxPyVListBox *result;
9730 char *kwnames[] = {
9731 NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (wxPyVListBox *)new wxPyVListBox();
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9752 PyObject *arg2 = (PyObject *) 0 ;
9753 PyObject *arg3 = (PyObject *) 0 ;
9754 PyObject * obj0 = 0 ;
9755 PyObject * obj1 = 0 ;
9756 PyObject * obj2 = 0 ;
9757 char *kwnames[] = {
9758 (char *) "self",(char *) "self",(char *) "_class", NULL
9759 };
9760
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9764 arg2 = obj1;
9765 arg3 = obj2;
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 (arg1)->_setCallbackInfo(arg2,arg3);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 Py_INCREF(Py_None); resultobj = Py_None;
9774 return resultobj;
9775 fail:
9776 return NULL;
9777 }
9778
9779
9780 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj;
9782 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9783 wxWindow *arg2 = (wxWindow *) 0 ;
9784 int arg3 = (int) wxID_ANY ;
9785 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9786 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9787 wxSize const &arg5_defvalue = wxDefaultSize ;
9788 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9789 long arg6 = (long) 0 ;
9790 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9791 wxString *arg7 = (wxString *) &arg7_defvalue ;
9792 bool result;
9793 wxPoint temp4 ;
9794 wxSize temp5 ;
9795 bool temp7 = False ;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 PyObject * obj2 = 0 ;
9799 PyObject * obj3 = 0 ;
9800 PyObject * obj4 = 0 ;
9801 PyObject * obj5 = 0 ;
9802 PyObject * obj6 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9812 if (obj2) {
9813 arg3 = (int) SWIG_AsInt(obj2);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 if (obj3) {
9817 {
9818 arg4 = &temp4;
9819 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9820 }
9821 }
9822 if (obj4) {
9823 {
9824 arg5 = &temp5;
9825 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9826 }
9827 }
9828 if (obj5) {
9829 arg6 = (long) SWIG_AsLong(obj5);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 if (obj6) {
9833 {
9834 arg7 = wxString_in_helper(obj6);
9835 if (arg7 == NULL) SWIG_fail;
9836 temp7 = True;
9837 }
9838 }
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 {
9847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9848 }
9849 {
9850 if (temp7)
9851 delete arg7;
9852 }
9853 return resultobj;
9854 fail:
9855 {
9856 if (temp7)
9857 delete arg7;
9858 }
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9866 size_t result;
9867 PyObject * obj0 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9892 bool result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 {
9909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9910 }
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9920 int result;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 resultobj = SWIG_FromInt((int)result);
9937 return resultobj;
9938 fail:
9939 return NULL;
9940 }
9941
9942
9943 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9946 size_t arg2 ;
9947 bool result;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self",(char *) "item", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9957 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 {
9967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9968 }
9969 return resultobj;
9970 fail:
9971 return NULL;
9972 }
9973
9974
9975 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9978 size_t arg2 ;
9979 bool result;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self",(char *) "item", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9989 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9994
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 {
9999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10000 }
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10010 size_t result;
10011 PyObject * obj0 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10019 {
10020 PyThreadState* __tstate = wxPyBeginAllowThreads();
10021 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10022
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj;
10035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10036 unsigned long *arg2 = 0 ;
10037 int result;
10038 PyObject * obj0 = 0 ;
10039 PyObject * obj1 = 0 ;
10040 char *kwnames[] = {
10041 (char *) "self",(char *) "cookie", NULL
10042 };
10043
10044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
10045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10048 SWIG_POINTER_EXCEPTION | 0)) == -1)
10049 SWIG_fail;
10050 if (arg2 == NULL) {
10051 PyErr_SetString(PyExc_TypeError,"null reference");
10052 SWIG_fail;
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = SWIG_FromInt((int)result);
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10071 unsigned long *arg2 = 0 ;
10072 int result;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 char *kwnames[] = {
10076 (char *) "self",(char *) "cookie", NULL
10077 };
10078
10079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10083 SWIG_POINTER_EXCEPTION | 0)) == -1)
10084 SWIG_fail;
10085 if (arg2 == NULL) {
10086 PyErr_SetString(PyExc_TypeError,"null reference");
10087 SWIG_fail;
10088 }
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10092
10093 wxPyEndAllowThreads(__tstate);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 }
10096 resultobj = SWIG_FromInt((int)result);
10097 return resultobj;
10098 fail:
10099 return NULL;
10100 }
10101
10102
10103 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10106 wxPoint result;
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 result = ((wxPyVListBox const *)arg1)->GetMargins();
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 {
10123 wxPoint * resultptr;
10124 resultptr = new wxPoint((wxPoint &) result);
10125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10126 }
10127 return resultobj;
10128 fail:
10129 return NULL;
10130 }
10131
10132
10133 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj;
10135 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10136 wxColour *result;
10137 PyObject * obj0 = 0 ;
10138 char *kwnames[] = {
10139 (char *) "self", NULL
10140 };
10141
10142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 {
10148 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10149 result = (wxColour *) &_result_ref;
10150 }
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10156 return resultobj;
10157 fail:
10158 return NULL;
10159 }
10160
10161
10162 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10163 PyObject *resultobj;
10164 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10165 size_t arg2 ;
10166 PyObject * obj0 = 0 ;
10167 PyObject * obj1 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "self",(char *) "count", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10175 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 (arg1)->SetItemCount(arg2);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 Py_INCREF(Py_None); resultobj = Py_None;
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10194 PyObject * obj0 = 0 ;
10195 char *kwnames[] = {
10196 (char *) "self", NULL
10197 };
10198
10199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 (arg1)->Clear();
10205
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 Py_INCREF(Py_None); resultobj = Py_None;
10210 return resultobj;
10211 fail:
10212 return NULL;
10213 }
10214
10215
10216 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj;
10218 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10219 int arg2 ;
10220 PyObject * obj0 = 0 ;
10221 PyObject * obj1 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self",(char *) "selection", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10229 arg2 = (int) SWIG_AsInt(obj1);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 (arg1)->SetSelection(arg2);
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 Py_INCREF(Py_None); resultobj = Py_None;
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10248 size_t arg2 ;
10249 bool arg3 = (bool) True ;
10250 bool result;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 PyObject * obj2 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self",(char *) "item",(char *) "select", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10261 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 if (obj2) {
10264 arg3 = (bool) SWIG_AsBool(obj2);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 result = (bool)(arg1)->Select(arg2,arg3);
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 {
10275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10276 }
10277 return resultobj;
10278 fail:
10279 return NULL;
10280 }
10281
10282
10283 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10284 PyObject *resultobj;
10285 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10286 size_t arg2 ;
10287 size_t arg3 ;
10288 bool result;
10289 PyObject * obj0 = 0 ;
10290 PyObject * obj1 = 0 ;
10291 PyObject * obj2 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self",(char *) "from",(char *) "to", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10299 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (bool)(arg1)->SelectRange(arg2,arg3);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 {
10311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10312 }
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10322 size_t arg2 ;
10323 PyObject * obj0 = 0 ;
10324 PyObject * obj1 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "item", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10332 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 (arg1)->Toggle(arg2);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 Py_INCREF(Py_None); resultobj = Py_None;
10342 return resultobj;
10343 fail:
10344 return NULL;
10345 }
10346
10347
10348 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj;
10350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10351 bool result;
10352 PyObject * obj0 = 0 ;
10353 char *kwnames[] = {
10354 (char *) "self", NULL
10355 };
10356
10357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 result = (bool)(arg1)->SelectAll();
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 {
10368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10369 }
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10379 bool result;
10380 PyObject * obj0 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 result = (bool)(arg1)->DeselectAll();
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 {
10396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10397 }
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10407 wxPoint *arg2 = 0 ;
10408 wxPoint temp2 ;
10409 PyObject * obj0 = 0 ;
10410 PyObject * obj1 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self",(char *) "pt", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 {
10419 arg2 = &temp2;
10420 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10421 }
10422 {
10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
10424 (arg1)->SetMargins((wxPoint const &)*arg2);
10425
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 Py_INCREF(Py_None); resultobj = Py_None;
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10439 int arg2 ;
10440 int arg3 ;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 PyObject * obj2 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self",(char *) "x",(char *) "y", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10451 arg2 = (int) SWIG_AsInt(obj1);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 arg3 = (int) SWIG_AsInt(obj2);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 (arg1)->SetMargins(arg2,arg3);
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 Py_INCREF(Py_None); resultobj = Py_None;
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10472 wxColour *arg2 = 0 ;
10473 wxColour temp2 ;
10474 PyObject * obj0 = 0 ;
10475 PyObject * obj1 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self",(char *) "col", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10483 {
10484 arg2 = &temp2;
10485 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10486 }
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10502 PyObject *obj;
10503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10504 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10505 Py_INCREF(obj);
10506 return Py_BuildValue((char *)"");
10507 }
10508 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxWindow *arg1 = (wxWindow *) 0 ;
10511 int arg2 = (int) wxID_ANY ;
10512 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10513 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10514 wxSize const &arg4_defvalue = wxDefaultSize ;
10515 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10516 long arg5 = (long) 0 ;
10517 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10518 wxString *arg6 = (wxString *) &arg6_defvalue ;
10519 wxPyHtmlListBox *result;
10520 wxPoint temp3 ;
10521 wxSize temp4 ;
10522 bool temp6 = False ;
10523 PyObject * obj0 = 0 ;
10524 PyObject * obj1 = 0 ;
10525 PyObject * obj2 = 0 ;
10526 PyObject * obj3 = 0 ;
10527 PyObject * obj4 = 0 ;
10528 PyObject * obj5 = 0 ;
10529 char *kwnames[] = {
10530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10531 };
10532
10533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10536 if (obj1) {
10537 arg2 = (int) SWIG_AsInt(obj1);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 if (obj2) {
10541 {
10542 arg3 = &temp3;
10543 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10544 }
10545 }
10546 if (obj3) {
10547 {
10548 arg4 = &temp4;
10549 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10550 }
10551 }
10552 if (obj4) {
10553 arg5 = (long) SWIG_AsLong(obj4);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 if (obj5) {
10557 {
10558 arg6 = wxString_in_helper(obj5);
10559 if (arg6 == NULL) SWIG_fail;
10560 temp6 = True;
10561 }
10562 }
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10571 {
10572 if (temp6)
10573 delete arg6;
10574 }
10575 return resultobj;
10576 fail:
10577 {
10578 if (temp6)
10579 delete arg6;
10580 }
10581 return NULL;
10582 }
10583
10584
10585 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10586 PyObject *resultobj;
10587 wxPyHtmlListBox *result;
10588 char *kwnames[] = {
10589 NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10596
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10601 return resultobj;
10602 fail:
10603 return NULL;
10604 }
10605
10606
10607 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj;
10609 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10610 PyObject *arg2 = (PyObject *) 0 ;
10611 PyObject *arg3 = (PyObject *) 0 ;
10612 PyObject * obj0 = 0 ;
10613 PyObject * obj1 = 0 ;
10614 PyObject * obj2 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "self",(char *) "self",(char *) "_class", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10622 arg2 = obj1;
10623 arg3 = obj2;
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->_setCallbackInfo(arg2,arg3);
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10641 wxWindow *arg2 = (wxWindow *) 0 ;
10642 int arg3 = (int) wxID_ANY ;
10643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10645 wxSize const &arg5_defvalue = wxDefaultSize ;
10646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10647 long arg6 = (long) 0 ;
10648 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10649 wxString *arg7 = (wxString *) &arg7_defvalue ;
10650 bool result;
10651 wxPoint temp4 ;
10652 wxSize temp5 ;
10653 bool temp7 = False ;
10654 PyObject * obj0 = 0 ;
10655 PyObject * obj1 = 0 ;
10656 PyObject * obj2 = 0 ;
10657 PyObject * obj3 = 0 ;
10658 PyObject * obj4 = 0 ;
10659 PyObject * obj5 = 0 ;
10660 PyObject * obj6 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10668 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10670 if (obj2) {
10671 arg3 = (int) SWIG_AsInt(obj2);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 if (obj3) {
10675 {
10676 arg4 = &temp4;
10677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10678 }
10679 }
10680 if (obj4) {
10681 {
10682 arg5 = &temp5;
10683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10684 }
10685 }
10686 if (obj5) {
10687 arg6 = (long) SWIG_AsLong(obj5);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 if (obj6) {
10691 {
10692 arg7 = wxString_in_helper(obj6);
10693 if (arg7 == NULL) SWIG_fail;
10694 temp7 = True;
10695 }
10696 }
10697 {
10698 PyThreadState* __tstate = wxPyBeginAllowThreads();
10699 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10700
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 {
10705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10706 }
10707 {
10708 if (temp7)
10709 delete arg7;
10710 }
10711 return resultobj;
10712 fail:
10713 {
10714 if (temp7)
10715 delete arg7;
10716 }
10717 return NULL;
10718 }
10719
10720
10721 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10722 PyObject *resultobj;
10723 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10732 {
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 (arg1)->RefreshAll();
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 Py_INCREF(Py_None); resultobj = Py_None;
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10749 size_t arg2 ;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "self",(char *) "count", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10759 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->SetItemCount(arg2);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10778 wxFileSystem *result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 {
10790 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10791 result = (wxFileSystem *) &_result_ref;
10792 }
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10805 PyObject *obj;
10806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10807 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10808 Py_INCREF(obj);
10809 return Py_BuildValue((char *)"");
10810 }
10811 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10812 PyObject *resultobj;
10813 wxTaskBarIcon *result;
10814 char *kwnames[] = {
10815 NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 delete arg1;
10847
10848 wxPyEndAllowThreads(__tstate);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
10851 Py_INCREF(Py_None); resultobj = Py_None;
10852 return resultobj;
10853 fail:
10854 return NULL;
10855 }
10856
10857
10858 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10861 PyObject * obj0 = 0 ;
10862 char *kwnames[] = {
10863 (char *) "self", NULL
10864 };
10865
10866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 wxTaskBarIcon_Destroy(arg1);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 Py_INCREF(Py_None); resultobj = Py_None;
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10886 bool result;
10887 PyObject * obj0 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10895 {
10896 PyThreadState* __tstate = wxPyBeginAllowThreads();
10897 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10898
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 {
10903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10904 }
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10914 bool result;
10915 PyObject * obj0 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 {
10931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10932 }
10933 return resultobj;
10934 fail:
10935 return NULL;
10936 }
10937
10938
10939 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10942 wxIcon *arg2 = 0 ;
10943 wxString const &arg3_defvalue = wxPyEmptyString ;
10944 wxString *arg3 = (wxString *) &arg3_defvalue ;
10945 bool result;
10946 bool temp3 = False ;
10947 PyObject * obj0 = 0 ;
10948 PyObject * obj1 = 0 ;
10949 PyObject * obj2 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1)
10959 SWIG_fail;
10960 if (arg2 == NULL) {
10961 PyErr_SetString(PyExc_TypeError,"null reference");
10962 SWIG_fail;
10963 }
10964 if (obj2) {
10965 {
10966 arg3 = wxString_in_helper(obj2);
10967 if (arg3 == NULL) SWIG_fail;
10968 temp3 = True;
10969 }
10970 }
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 {
10979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10980 }
10981 {
10982 if (temp3)
10983 delete arg3;
10984 }
10985 return resultobj;
10986 fail:
10987 {
10988 if (temp3)
10989 delete arg3;
10990 }
10991 return NULL;
10992 }
10993
10994
10995 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10996 PyObject *resultobj;
10997 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10998 bool result;
10999 PyObject * obj0 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "self", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (bool)(arg1)->RemoveIcon();
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 {
11015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11016 }
11017 return resultobj;
11018 fail:
11019 return NULL;
11020 }
11021
11022
11023 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11026 wxMenu *arg2 = (wxMenu *) 0 ;
11027 bool result;
11028 PyObject * obj0 = 0 ;
11029 PyObject * obj1 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self",(char *) "menu", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11039 {
11040 PyThreadState* __tstate = wxPyBeginAllowThreads();
11041 result = (bool)(arg1)->PopupMenu(arg2);
11042
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 {
11047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11048 }
11049 return resultobj;
11050 fail:
11051 return NULL;
11052 }
11053
11054
11055 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11056 PyObject *obj;
11057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11059 Py_INCREF(obj);
11060 return Py_BuildValue((char *)"");
11061 }
11062 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxEventType arg1 ;
11065 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11066 wxTaskBarIconEvent *result;
11067 PyObject * obj0 = 0 ;
11068 PyObject * obj1 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "evtType",(char *) "tbIcon", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11074 arg1 = (wxEventType) SWIG_AsInt(obj0);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11093 PyObject *obj;
11094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11095 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11096 Py_INCREF(obj);
11097 return Py_BuildValue((char *)"");
11098 }
11099 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11100 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11101 return 1;
11102 }
11103
11104
11105 static PyObject *_wrap_FileSelectorPromptStr_get() {
11106 PyObject *pyobj;
11107
11108 {
11109 #if wxUSE_UNICODE
11110 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11111 #else
11112 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11113 #endif
11114 }
11115 return pyobj;
11116 }
11117
11118
11119 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11120 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11121 return 1;
11122 }
11123
11124
11125 static PyObject *_wrap_DirSelectorPromptStr_get() {
11126 PyObject *pyobj;
11127
11128 {
11129 #if wxUSE_UNICODE
11130 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11131 #else
11132 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11133 #endif
11134 }
11135 return pyobj;
11136 }
11137
11138
11139 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11140 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11141 return 1;
11142 }
11143
11144
11145 static PyObject *_wrap_DirDialogNameStr_get() {
11146 PyObject *pyobj;
11147
11148 {
11149 #if wxUSE_UNICODE
11150 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11151 #else
11152 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11153 #endif
11154 }
11155 return pyobj;
11156 }
11157
11158
11159 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11160 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11161 return 1;
11162 }
11163
11164
11165 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11166 PyObject *pyobj;
11167
11168 {
11169 #if wxUSE_UNICODE
11170 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11171 #else
11172 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11173 #endif
11174 }
11175 return pyobj;
11176 }
11177
11178
11179 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11180 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11181 return 1;
11182 }
11183
11184
11185 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11186 PyObject *pyobj;
11187
11188 {
11189 #if wxUSE_UNICODE
11190 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11191 #else
11192 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11193 #endif
11194 }
11195 return pyobj;
11196 }
11197
11198
11199 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11200 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11201 return 1;
11202 }
11203
11204
11205 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11206 PyObject *pyobj;
11207
11208 {
11209 #if wxUSE_UNICODE
11210 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11211 #else
11212 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11213 #endif
11214 }
11215 return pyobj;
11216 }
11217
11218
11219 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxColourData *result;
11222 char *kwnames[] = {
11223 NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 result = (wxColourData *)new wxColourData();
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11235 return resultobj;
11236 fail:
11237 return NULL;
11238 }
11239
11240
11241 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11242 PyObject *resultobj;
11243 wxColourData *arg1 = (wxColourData *) 0 ;
11244 PyObject * obj0 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 delete arg1;
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj;
11268 wxColourData *arg1 = (wxColourData *) 0 ;
11269 bool result;
11270 PyObject * obj0 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (bool)(arg1)->GetChooseFull();
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 {
11286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11287 }
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11295 PyObject *resultobj;
11296 wxColourData *arg1 = (wxColourData *) 0 ;
11297 wxColour result;
11298 PyObject * obj0 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (arg1)->GetColour();
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 wxColour * resultptr;
11315 resultptr = new wxColour((wxColour &) result);
11316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11317 }
11318 return resultobj;
11319 fail:
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxColourData *arg1 = (wxColourData *) 0 ;
11327 int arg2 ;
11328 wxColour result;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self",(char *) "i", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 arg2 = (int) SWIG_AsInt(obj1);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (arg1)->GetCustomColour(arg2);
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 {
11348 wxColour * resultptr;
11349 resultptr = new wxColour((wxColour &) result);
11350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11351 }
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxColourData *arg1 = (wxColourData *) 0 ;
11361 int arg2 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char *kwnames[] = {
11365 (char *) "self",(char *) "flag", NULL
11366 };
11367
11368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11371 arg2 = (int) SWIG_AsInt(obj1);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 (arg1)->SetChooseFull(arg2);
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 Py_INCREF(Py_None); resultobj = Py_None;
11381 return resultobj;
11382 fail:
11383 return NULL;
11384 }
11385
11386
11387 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxColourData *arg1 = (wxColourData *) 0 ;
11390 wxColour *arg2 = 0 ;
11391 wxColour temp2 ;
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "colour", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11401 {
11402 arg2 = &temp2;
11403 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11404 }
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 (arg1)->SetColour((wxColour const &)*arg2);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 Py_INCREF(Py_None); resultobj = Py_None;
11413 return resultobj;
11414 fail:
11415 return NULL;
11416 }
11417
11418
11419 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11420 PyObject *resultobj;
11421 wxColourData *arg1 = (wxColourData *) 0 ;
11422 int arg2 ;
11423 wxColour *arg3 = 0 ;
11424 wxColour temp3 ;
11425 PyObject * obj0 = 0 ;
11426 PyObject * obj1 = 0 ;
11427 PyObject * obj2 = 0 ;
11428 char *kwnames[] = {
11429 (char *) "self",(char *) "i",(char *) "colour", NULL
11430 };
11431
11432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11435 arg2 = (int) SWIG_AsInt(obj1);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 {
11438 arg3 = &temp3;
11439 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11440 }
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 Py_INCREF(Py_None); resultobj = Py_None;
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11456 PyObject *obj;
11457 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11458 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11459 Py_INCREF(obj);
11460 return Py_BuildValue((char *)"");
11461 }
11462 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxWindow *arg1 = (wxWindow *) 0 ;
11465 wxColourData *arg2 = (wxColourData *) NULL ;
11466 wxColourDialog *result;
11467 PyObject * obj0 = 0 ;
11468 PyObject * obj1 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "parent",(char *) "data", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11476 if (obj1) {
11477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11479 }
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11488 return resultobj;
11489 fail:
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11497 wxColourData *result;
11498 PyObject * obj0 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 {
11509 wxColourData &_result_ref = (arg1)->GetColourData();
11510 result = (wxColourData *) &_result_ref;
11511 }
11512
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11517 return resultobj;
11518 fail:
11519 return NULL;
11520 }
11521
11522
11523 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11524 PyObject *obj;
11525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11527 Py_INCREF(obj);
11528 return Py_BuildValue((char *)"");
11529 }
11530 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxWindow *arg1 = (wxWindow *) 0 ;
11533 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11534 wxString *arg2 = (wxString *) &arg2_defvalue ;
11535 wxString const &arg3_defvalue = wxPyEmptyString ;
11536 wxString *arg3 = (wxString *) &arg3_defvalue ;
11537 long arg4 = (long) 0 ;
11538 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11539 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11540 wxSize const &arg6_defvalue = wxDefaultSize ;
11541 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11542 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11543 wxString *arg7 = (wxString *) &arg7_defvalue ;
11544 wxDirDialog *result;
11545 bool temp2 = False ;
11546 bool temp3 = False ;
11547 wxPoint temp5 ;
11548 wxSize temp6 ;
11549 bool temp7 = False ;
11550 PyObject * obj0 = 0 ;
11551 PyObject * obj1 = 0 ;
11552 PyObject * obj2 = 0 ;
11553 PyObject * obj3 = 0 ;
11554 PyObject * obj4 = 0 ;
11555 PyObject * obj5 = 0 ;
11556 PyObject * obj6 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11564 if (obj1) {
11565 {
11566 arg2 = wxString_in_helper(obj1);
11567 if (arg2 == NULL) SWIG_fail;
11568 temp2 = True;
11569 }
11570 }
11571 if (obj2) {
11572 {
11573 arg3 = wxString_in_helper(obj2);
11574 if (arg3 == NULL) SWIG_fail;
11575 temp3 = True;
11576 }
11577 }
11578 if (obj3) {
11579 arg4 = (long) SWIG_AsLong(obj3);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 if (obj4) {
11583 {
11584 arg5 = &temp5;
11585 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11586 }
11587 }
11588 if (obj5) {
11589 {
11590 arg6 = &temp6;
11591 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11592 }
11593 }
11594 if (obj6) {
11595 {
11596 arg7 = wxString_in_helper(obj6);
11597 if (arg7 == NULL) SWIG_fail;
11598 temp7 = True;
11599 }
11600 }
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11609 {
11610 if (temp2)
11611 delete arg2;
11612 }
11613 {
11614 if (temp3)
11615 delete arg3;
11616 }
11617 {
11618 if (temp7)
11619 delete arg7;
11620 }
11621 return resultobj;
11622 fail:
11623 {
11624 if (temp2)
11625 delete arg2;
11626 }
11627 {
11628 if (temp3)
11629 delete arg3;
11630 }
11631 {
11632 if (temp7)
11633 delete arg7;
11634 }
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11642 wxString result;
11643 PyObject * obj0 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 result = (arg1)->GetPath();
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 {
11659 #if wxUSE_UNICODE
11660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11661 #else
11662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11663 #endif
11664 }
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11674 wxString result;
11675 PyObject * obj0 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 result = (arg1)->GetMessage();
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 {
11691 #if wxUSE_UNICODE
11692 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11693 #else
11694 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11695 #endif
11696 }
11697 return resultobj;
11698 fail:
11699 return NULL;
11700 }
11701
11702
11703 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11704 PyObject *resultobj;
11705 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11706 long result;
11707 PyObject * obj0 = 0 ;
11708 char *kwnames[] = {
11709 (char *) "self", NULL
11710 };
11711
11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 result = (long)(arg1)->GetStyle();
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = SWIG_FromLong((long)result);
11723 return resultobj;
11724 fail:
11725 return NULL;
11726 }
11727
11728
11729 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj;
11731 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11732 wxString *arg2 = 0 ;
11733 bool temp2 = False ;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self",(char *) "message", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11743 {
11744 arg2 = wxString_in_helper(obj1);
11745 if (arg2 == NULL) SWIG_fail;
11746 temp2 = True;
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 (arg1)->SetMessage((wxString const &)*arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 Py_INCREF(Py_None); resultobj = Py_None;
11756 {
11757 if (temp2)
11758 delete arg2;
11759 }
11760 return resultobj;
11761 fail:
11762 {
11763 if (temp2)
11764 delete arg2;
11765 }
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11773 wxString *arg2 = 0 ;
11774 bool temp2 = False ;
11775 PyObject * obj0 = 0 ;
11776 PyObject * obj1 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self",(char *) "path", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11784 {
11785 arg2 = wxString_in_helper(obj1);
11786 if (arg2 == NULL) SWIG_fail;
11787 temp2 = True;
11788 }
11789 {
11790 PyThreadState* __tstate = wxPyBeginAllowThreads();
11791 (arg1)->SetPath((wxString const &)*arg2);
11792
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 Py_INCREF(Py_None); resultobj = Py_None;
11797 {
11798 if (temp2)
11799 delete arg2;
11800 }
11801 return resultobj;
11802 fail:
11803 {
11804 if (temp2)
11805 delete arg2;
11806 }
11807 return NULL;
11808 }
11809
11810
11811 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11812 PyObject *obj;
11813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11814 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11815 Py_INCREF(obj);
11816 return Py_BuildValue((char *)"");
11817 }
11818 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj;
11820 wxWindow *arg1 = (wxWindow *) 0 ;
11821 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11822 wxString *arg2 = (wxString *) &arg2_defvalue ;
11823 wxString const &arg3_defvalue = wxPyEmptyString ;
11824 wxString *arg3 = (wxString *) &arg3_defvalue ;
11825 wxString const &arg4_defvalue = wxPyEmptyString ;
11826 wxString *arg4 = (wxString *) &arg4_defvalue ;
11827 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11828 wxString *arg5 = (wxString *) &arg5_defvalue ;
11829 long arg6 = (long) 0 ;
11830 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11831 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11832 wxFileDialog *result;
11833 bool temp2 = False ;
11834 bool temp3 = False ;
11835 bool temp4 = False ;
11836 bool temp5 = False ;
11837 wxPoint temp7 ;
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
11840 PyObject * obj2 = 0 ;
11841 PyObject * obj3 = 0 ;
11842 PyObject * obj4 = 0 ;
11843 PyObject * obj5 = 0 ;
11844 PyObject * obj6 = 0 ;
11845 char *kwnames[] = {
11846 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11847 };
11848
11849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11852 if (obj1) {
11853 {
11854 arg2 = wxString_in_helper(obj1);
11855 if (arg2 == NULL) SWIG_fail;
11856 temp2 = True;
11857 }
11858 }
11859 if (obj2) {
11860 {
11861 arg3 = wxString_in_helper(obj2);
11862 if (arg3 == NULL) SWIG_fail;
11863 temp3 = True;
11864 }
11865 }
11866 if (obj3) {
11867 {
11868 arg4 = wxString_in_helper(obj3);
11869 if (arg4 == NULL) SWIG_fail;
11870 temp4 = True;
11871 }
11872 }
11873 if (obj4) {
11874 {
11875 arg5 = wxString_in_helper(obj4);
11876 if (arg5 == NULL) SWIG_fail;
11877 temp5 = True;
11878 }
11879 }
11880 if (obj5) {
11881 arg6 = (long) SWIG_AsLong(obj5);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 if (obj6) {
11885 {
11886 arg7 = &temp7;
11887 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11888 }
11889 }
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11893
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11898 {
11899 if (temp2)
11900 delete arg2;
11901 }
11902 {
11903 if (temp3)
11904 delete arg3;
11905 }
11906 {
11907 if (temp4)
11908 delete arg4;
11909 }
11910 {
11911 if (temp5)
11912 delete arg5;
11913 }
11914 return resultobj;
11915 fail:
11916 {
11917 if (temp2)
11918 delete arg2;
11919 }
11920 {
11921 if (temp3)
11922 delete arg3;
11923 }
11924 {
11925 if (temp4)
11926 delete arg4;
11927 }
11928 {
11929 if (temp5)
11930 delete arg5;
11931 }
11932 return NULL;
11933 }
11934
11935
11936 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11937 PyObject *resultobj;
11938 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11939 wxString *arg2 = 0 ;
11940 bool temp2 = False ;
11941 PyObject * obj0 = 0 ;
11942 PyObject * obj1 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self",(char *) "message", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11950 {
11951 arg2 = wxString_in_helper(obj1);
11952 if (arg2 == NULL) SWIG_fail;
11953 temp2 = True;
11954 }
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetMessage((wxString const &)*arg2);
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 Py_INCREF(Py_None); resultobj = Py_None;
11963 {
11964 if (temp2)
11965 delete arg2;
11966 }
11967 return resultobj;
11968 fail:
11969 {
11970 if (temp2)
11971 delete arg2;
11972 }
11973 return NULL;
11974 }
11975
11976
11977 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11978 PyObject *resultobj;
11979 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11980 wxString *arg2 = 0 ;
11981 bool temp2 = False ;
11982 PyObject * obj0 = 0 ;
11983 PyObject * obj1 = 0 ;
11984 char *kwnames[] = {
11985 (char *) "self",(char *) "path", NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11991 {
11992 arg2 = wxString_in_helper(obj1);
11993 if (arg2 == NULL) SWIG_fail;
11994 temp2 = True;
11995 }
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 (arg1)->SetPath((wxString const &)*arg2);
11999
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 Py_INCREF(Py_None); resultobj = Py_None;
12004 {
12005 if (temp2)
12006 delete arg2;
12007 }
12008 return resultobj;
12009 fail:
12010 {
12011 if (temp2)
12012 delete arg2;
12013 }
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj;
12020 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12021 wxString *arg2 = 0 ;
12022 bool temp2 = False ;
12023 PyObject * obj0 = 0 ;
12024 PyObject * obj1 = 0 ;
12025 char *kwnames[] = {
12026 (char *) "self",(char *) "dir", NULL
12027 };
12028
12029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12032 {
12033 arg2 = wxString_in_helper(obj1);
12034 if (arg2 == NULL) SWIG_fail;
12035 temp2 = True;
12036 }
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 (arg1)->SetDirectory((wxString const &)*arg2);
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 Py_INCREF(Py_None); resultobj = Py_None;
12045 {
12046 if (temp2)
12047 delete arg2;
12048 }
12049 return resultobj;
12050 fail:
12051 {
12052 if (temp2)
12053 delete arg2;
12054 }
12055 return NULL;
12056 }
12057
12058
12059 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj;
12061 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12062 wxString *arg2 = 0 ;
12063 bool temp2 = False ;
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
12066 char *kwnames[] = {
12067 (char *) "self",(char *) "name", NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12073 {
12074 arg2 = wxString_in_helper(obj1);
12075 if (arg2 == NULL) SWIG_fail;
12076 temp2 = True;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 (arg1)->SetFilename((wxString const &)*arg2);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 Py_INCREF(Py_None); resultobj = Py_None;
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 return resultobj;
12091 fail:
12092 {
12093 if (temp2)
12094 delete arg2;
12095 }
12096 return NULL;
12097 }
12098
12099
12100 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12103 wxString *arg2 = 0 ;
12104 bool temp2 = False ;
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self",(char *) "wildCard", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12114 {
12115 arg2 = wxString_in_helper(obj1);
12116 if (arg2 == NULL) SWIG_fail;
12117 temp2 = True;
12118 }
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 (arg1)->SetWildcard((wxString const &)*arg2);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 Py_INCREF(Py_None); resultobj = Py_None;
12127 {
12128 if (temp2)
12129 delete arg2;
12130 }
12131 return resultobj;
12132 fail:
12133 {
12134 if (temp2)
12135 delete arg2;
12136 }
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12144 long arg2 ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "style", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12154 arg2 = (long) SWIG_AsLong(obj1);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetStyle(arg2);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 Py_INCREF(Py_None); resultobj = Py_None;
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12173 int arg2 ;
12174 PyObject * obj0 = 0 ;
12175 PyObject * obj1 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self",(char *) "filterIndex", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12183 arg2 = (int) SWIG_AsInt(obj1);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 (arg1)->SetFilterIndex(arg2);
12188
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 Py_INCREF(Py_None); resultobj = Py_None;
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj;
12201 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12202 wxString result;
12203 PyObject * obj0 = 0 ;
12204 char *kwnames[] = {
12205 (char *) "self", NULL
12206 };
12207
12208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 result = ((wxFileDialog const *)arg1)->GetMessage();
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 {
12219 #if wxUSE_UNICODE
12220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12221 #else
12222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12223 #endif
12224 }
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12234 wxString result;
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = ((wxFileDialog const *)arg1)->GetPath();
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 {
12251 #if wxUSE_UNICODE
12252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12253 #else
12254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12255 #endif
12256 }
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12266 wxString result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = ((wxFileDialog const *)arg1)->GetDirectory();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 #if wxUSE_UNICODE
12284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12285 #else
12286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12287 #endif
12288 }
12289 return resultobj;
12290 fail:
12291 return NULL;
12292 }
12293
12294
12295 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12296 PyObject *resultobj;
12297 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12298 wxString result;
12299 PyObject * obj0 = 0 ;
12300 char *kwnames[] = {
12301 (char *) "self", NULL
12302 };
12303
12304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12307 {
12308 PyThreadState* __tstate = wxPyBeginAllowThreads();
12309 result = ((wxFileDialog const *)arg1)->GetFilename();
12310
12311 wxPyEndAllowThreads(__tstate);
12312 if (PyErr_Occurred()) SWIG_fail;
12313 }
12314 {
12315 #if wxUSE_UNICODE
12316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12317 #else
12318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12319 #endif
12320 }
12321 return resultobj;
12322 fail:
12323 return NULL;
12324 }
12325
12326
12327 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12328 PyObject *resultobj;
12329 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12330 wxString result;
12331 PyObject * obj0 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "self", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 result = ((wxFileDialog const *)arg1)->GetWildcard();
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 {
12347 #if wxUSE_UNICODE
12348 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12349 #else
12350 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12351 #endif
12352 }
12353 return resultobj;
12354 fail:
12355 return NULL;
12356 }
12357
12358
12359 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12362 long result;
12363 PyObject * obj0 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 resultobj = SWIG_FromLong((long)result);
12379 return resultobj;
12380 fail:
12381 return NULL;
12382 }
12383
12384
12385 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12388 int result;
12389 PyObject * obj0 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 resultobj = SWIG_FromInt((int)result);
12405 return resultobj;
12406 fail:
12407 return NULL;
12408 }
12409
12410
12411 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12414 PyObject *result;
12415 PyObject * obj0 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "self", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = result;
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12440 PyObject *result;
12441 PyObject * obj0 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12452
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 resultobj = result;
12457 return resultobj;
12458 fail:
12459 return NULL;
12460 }
12461
12462
12463 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12464 PyObject *obj;
12465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12466 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12467 Py_INCREF(obj);
12468 return Py_BuildValue((char *)"");
12469 }
12470 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12471 PyObject *resultobj;
12472 wxWindow *arg1 = (wxWindow *) 0 ;
12473 wxString *arg2 = 0 ;
12474 wxString *arg3 = 0 ;
12475 int arg4 = (int) 0 ;
12476 wxString *arg5 = (wxString *) 0 ;
12477 long arg6 = (long) wxCHOICEDLG_STYLE ;
12478 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12479 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12480 wxMultiChoiceDialog *result;
12481 bool temp2 = False ;
12482 bool temp3 = False ;
12483 wxPoint temp6 ;
12484 PyObject * obj0 = 0 ;
12485 PyObject * obj1 = 0 ;
12486 PyObject * obj2 = 0 ;
12487 PyObject * obj3 = 0 ;
12488 PyObject * obj4 = 0 ;
12489 PyObject * obj5 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12497 {
12498 arg2 = wxString_in_helper(obj1);
12499 if (arg2 == NULL) SWIG_fail;
12500 temp2 = True;
12501 }
12502 {
12503 arg3 = wxString_in_helper(obj2);
12504 if (arg3 == NULL) SWIG_fail;
12505 temp3 = True;
12506 }
12507 if (obj3) {
12508 {
12509 arg4 = PyList_Size(obj3);
12510 arg5 = wxString_LIST_helper(obj3);
12511 if (arg5 == NULL) SWIG_fail;
12512 }
12513 }
12514 if (obj4) {
12515 arg6 = (long) SWIG_AsLong(obj4);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 if (obj5) {
12519 {
12520 arg7 = &temp6;
12521 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12522 }
12523 }
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12532 {
12533 if (temp2)
12534 delete arg2;
12535 }
12536 {
12537 if (temp3)
12538 delete arg3;
12539 }
12540 {
12541 if (arg5) delete [] arg5;
12542 }
12543 return resultobj;
12544 fail:
12545 {
12546 if (temp2)
12547 delete arg2;
12548 }
12549 {
12550 if (temp3)
12551 delete arg3;
12552 }
12553 {
12554 if (arg5) delete [] arg5;
12555 }
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12563 wxArrayInt *arg2 = 0 ;
12564 bool temp2 = False ;
12565 PyObject * obj0 = 0 ;
12566 PyObject * obj1 = 0 ;
12567 char *kwnames[] = {
12568 (char *) "self",(char *) "selections", NULL
12569 };
12570
12571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12574 {
12575 if (! PySequence_Check(obj1)) {
12576 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12577 SWIG_fail;
12578 }
12579 arg2 = new wxArrayInt;
12580 temp2 = True;
12581 int i, len=PySequence_Length(obj1);
12582 for (i=0; i<len; i++) {
12583 PyObject* item = PySequence_GetItem(obj1, i);
12584 PyObject* number = PyNumber_Int(item);
12585 arg2->Add(PyInt_AS_LONG(number));
12586 Py_DECREF(item);
12587 Py_DECREF(number);
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 Py_INCREF(Py_None); resultobj = Py_None;
12598 {
12599 if (temp2) delete arg2;
12600 }
12601 return resultobj;
12602 fail:
12603 {
12604 if (temp2) delete arg2;
12605 }
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12613 PyObject *result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 resultobj = result;
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12637 PyObject *obj;
12638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12639 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12640 Py_INCREF(obj);
12641 return Py_BuildValue((char *)"");
12642 }
12643 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12644 PyObject *resultobj;
12645 wxWindow *arg1 = (wxWindow *) 0 ;
12646 wxString *arg2 = 0 ;
12647 wxString *arg3 = 0 ;
12648 int arg4 ;
12649 wxString *arg5 = (wxString *) 0 ;
12650 long arg6 = (long) wxCHOICEDLG_STYLE ;
12651 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12652 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12653 wxSingleChoiceDialog *result;
12654 bool temp2 = False ;
12655 bool temp3 = False ;
12656 wxPoint temp6 ;
12657 PyObject * obj0 = 0 ;
12658 PyObject * obj1 = 0 ;
12659 PyObject * obj2 = 0 ;
12660 PyObject * obj3 = 0 ;
12661 PyObject * obj4 = 0 ;
12662 PyObject * obj5 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12670 {
12671 arg2 = wxString_in_helper(obj1);
12672 if (arg2 == NULL) SWIG_fail;
12673 temp2 = True;
12674 }
12675 {
12676 arg3 = wxString_in_helper(obj2);
12677 if (arg3 == NULL) SWIG_fail;
12678 temp3 = True;
12679 }
12680 {
12681 arg4 = PyList_Size(obj3);
12682 arg5 = wxString_LIST_helper(obj3);
12683 if (arg5 == NULL) SWIG_fail;
12684 }
12685 if (obj4) {
12686 arg6 = (long) SWIG_AsLong(obj4);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 if (obj5) {
12690 {
12691 arg7 = &temp6;
12692 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12693 }
12694 }
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12703 {
12704 if (temp2)
12705 delete arg2;
12706 }
12707 {
12708 if (temp3)
12709 delete arg3;
12710 }
12711 {
12712 if (arg5) delete [] arg5;
12713 }
12714 return resultobj;
12715 fail:
12716 {
12717 if (temp2)
12718 delete arg2;
12719 }
12720 {
12721 if (temp3)
12722 delete arg3;
12723 }
12724 {
12725 if (arg5) delete [] arg5;
12726 }
12727 return NULL;
12728 }
12729
12730
12731 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12734 int result;
12735 PyObject * obj0 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (int)(arg1)->GetSelection();
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_FromInt((int)result);
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12758 PyObject *resultobj;
12759 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12760 wxString result;
12761 PyObject * obj0 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "self", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (arg1)->GetStringSelection();
12772
12773 wxPyEndAllowThreads(__tstate);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 {
12777 #if wxUSE_UNICODE
12778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12779 #else
12780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12781 #endif
12782 }
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12792 int arg2 ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self",(char *) "sel", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12802 arg2 = (int) SWIG_AsInt(obj1);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 (arg1)->SetSelection(arg2);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 return resultobj;
12813 fail:
12814 return NULL;
12815 }
12816
12817
12818 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12819 PyObject *obj;
12820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12821 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12822 Py_INCREF(obj);
12823 return Py_BuildValue((char *)"");
12824 }
12825 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxWindow *arg1 = (wxWindow *) 0 ;
12828 wxString *arg2 = 0 ;
12829 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12830 wxString *arg3 = (wxString *) &arg3_defvalue ;
12831 wxString const &arg4_defvalue = wxPyEmptyString ;
12832 wxString *arg4 = (wxString *) &arg4_defvalue ;
12833 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12834 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12835 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12836 wxTextEntryDialog *result;
12837 bool temp2 = False ;
12838 bool temp3 = False ;
12839 bool temp4 = False ;
12840 wxPoint temp6 ;
12841 PyObject * obj0 = 0 ;
12842 PyObject * obj1 = 0 ;
12843 PyObject * obj2 = 0 ;
12844 PyObject * obj3 = 0 ;
12845 PyObject * obj4 = 0 ;
12846 PyObject * obj5 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12854 {
12855 arg2 = wxString_in_helper(obj1);
12856 if (arg2 == NULL) SWIG_fail;
12857 temp2 = True;
12858 }
12859 if (obj2) {
12860 {
12861 arg3 = wxString_in_helper(obj2);
12862 if (arg3 == NULL) SWIG_fail;
12863 temp3 = True;
12864 }
12865 }
12866 if (obj3) {
12867 {
12868 arg4 = wxString_in_helper(obj3);
12869 if (arg4 == NULL) SWIG_fail;
12870 temp4 = True;
12871 }
12872 }
12873 if (obj4) {
12874 arg5 = (long) SWIG_AsLong(obj4);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 if (obj5) {
12878 {
12879 arg6 = &temp6;
12880 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12881 }
12882 }
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12891 {
12892 if (temp2)
12893 delete arg2;
12894 }
12895 {
12896 if (temp3)
12897 delete arg3;
12898 }
12899 {
12900 if (temp4)
12901 delete arg4;
12902 }
12903 return resultobj;
12904 fail:
12905 {
12906 if (temp2)
12907 delete arg2;
12908 }
12909 {
12910 if (temp3)
12911 delete arg3;
12912 }
12913 {
12914 if (temp4)
12915 delete arg4;
12916 }
12917 return NULL;
12918 }
12919
12920
12921 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj;
12923 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12924 wxString result;
12925 PyObject * obj0 = 0 ;
12926 char *kwnames[] = {
12927 (char *) "self", NULL
12928 };
12929
12930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (arg1)->GetValue();
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 {
12941 #if wxUSE_UNICODE
12942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12943 #else
12944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12945 #endif
12946 }
12947 return resultobj;
12948 fail:
12949 return NULL;
12950 }
12951
12952
12953 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj;
12955 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12956 wxString *arg2 = 0 ;
12957 bool temp2 = False ;
12958 PyObject * obj0 = 0 ;
12959 PyObject * obj1 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self",(char *) "value", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12967 {
12968 arg2 = wxString_in_helper(obj1);
12969 if (arg2 == NULL) SWIG_fail;
12970 temp2 = True;
12971 }
12972 {
12973 PyThreadState* __tstate = wxPyBeginAllowThreads();
12974 (arg1)->SetValue((wxString const &)*arg2);
12975
12976 wxPyEndAllowThreads(__tstate);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 Py_INCREF(Py_None); resultobj = Py_None;
12980 {
12981 if (temp2)
12982 delete arg2;
12983 }
12984 return resultobj;
12985 fail:
12986 {
12987 if (temp2)
12988 delete arg2;
12989 }
12990 return NULL;
12991 }
12992
12993
12994 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12995 PyObject *obj;
12996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12998 Py_INCREF(obj);
12999 return Py_BuildValue((char *)"");
13000 }
13001 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxFontData *result;
13004 char *kwnames[] = {
13005 NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (wxFontData *)new wxFontData();
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxFontData *arg1 = (wxFontData *) 0 ;
13026 PyObject * obj0 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 delete arg1;
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 Py_INCREF(Py_None); resultobj = Py_None;
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxFontData *arg1 = (wxFontData *) 0 ;
13051 bool arg2 ;
13052 PyObject * obj0 = 0 ;
13053 PyObject * obj1 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self",(char *) "enable", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13061 arg2 = (bool) SWIG_AsBool(obj1);
13062 if (PyErr_Occurred()) SWIG_fail;
13063 {
13064 PyThreadState* __tstate = wxPyBeginAllowThreads();
13065 (arg1)->EnableEffects(arg2);
13066
13067 wxPyEndAllowThreads(__tstate);
13068 if (PyErr_Occurred()) SWIG_fail;
13069 }
13070 Py_INCREF(Py_None); resultobj = Py_None;
13071 return resultobj;
13072 fail:
13073 return NULL;
13074 }
13075
13076
13077 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13078 PyObject *resultobj;
13079 wxFontData *arg1 = (wxFontData *) 0 ;
13080 bool result;
13081 PyObject * obj0 = 0 ;
13082 char *kwnames[] = {
13083 (char *) "self", NULL
13084 };
13085
13086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (bool)(arg1)->GetAllowSymbols();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 {
13097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13098 }
13099 return resultobj;
13100 fail:
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxFontData *arg1 = (wxFontData *) 0 ;
13108 wxColour result;
13109 PyObject * obj0 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = (arg1)->GetColour();
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 {
13125 wxColour * resultptr;
13126 resultptr = new wxColour((wxColour &) result);
13127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13128 }
13129 return resultobj;
13130 fail:
13131 return NULL;
13132 }
13133
13134
13135 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj;
13137 wxFontData *arg1 = (wxFontData *) 0 ;
13138 wxFont result;
13139 PyObject * obj0 = 0 ;
13140 char *kwnames[] = {
13141 (char *) "self", NULL
13142 };
13143
13144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (arg1)->GetChosenFont();
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 {
13155 wxFont * resultptr;
13156 resultptr = new wxFont((wxFont &) result);
13157 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13158 }
13159 return resultobj;
13160 fail:
13161 return NULL;
13162 }
13163
13164
13165 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13166 PyObject *resultobj;
13167 wxFontData *arg1 = (wxFontData *) 0 ;
13168 bool result;
13169 PyObject * obj0 = 0 ;
13170 char *kwnames[] = {
13171 (char *) "self", NULL
13172 };
13173
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (bool)(arg1)->GetEnableEffects();
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 {
13185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13186 }
13187 return resultobj;
13188 fail:
13189 return NULL;
13190 }
13191
13192
13193 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13194 PyObject *resultobj;
13195 wxFontData *arg1 = (wxFontData *) 0 ;
13196 wxFont result;
13197 PyObject * obj0 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "self", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (arg1)->GetInitialFont();
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 {
13213 wxFont * resultptr;
13214 resultptr = new wxFont((wxFont &) result);
13215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13216 }
13217 return resultobj;
13218 fail:
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxFontData *arg1 = (wxFontData *) 0 ;
13226 bool result;
13227 PyObject * obj0 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (bool)(arg1)->GetShowHelp();
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 {
13243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13244 }
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxFontData *arg1 = (wxFontData *) 0 ;
13254 bool arg2 ;
13255 PyObject * obj0 = 0 ;
13256 PyObject * obj1 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "allowSymbols", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13264 arg2 = (bool) SWIG_AsBool(obj1);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 (arg1)->SetAllowSymbols(arg2);
13269
13270 wxPyEndAllowThreads(__tstate);
13271 if (PyErr_Occurred()) SWIG_fail;
13272 }
13273 Py_INCREF(Py_None); resultobj = Py_None;
13274 return resultobj;
13275 fail:
13276 return NULL;
13277 }
13278
13279
13280 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13281 PyObject *resultobj;
13282 wxFontData *arg1 = (wxFontData *) 0 ;
13283 wxFont *arg2 = 0 ;
13284 PyObject * obj0 = 0 ;
13285 PyObject * obj1 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "font", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13294 SWIG_POINTER_EXCEPTION | 0)) == -1)
13295 SWIG_fail;
13296 if (arg2 == NULL) {
13297 PyErr_SetString(PyExc_TypeError,"null reference");
13298 SWIG_fail;
13299 }
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 (arg1)->SetChosenFont((wxFont const &)*arg2);
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 Py_INCREF(Py_None); resultobj = Py_None;
13308 return resultobj;
13309 fail:
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxFontData *arg1 = (wxFontData *) 0 ;
13317 wxColour *arg2 = 0 ;
13318 wxColour temp2 ;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "colour", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13328 {
13329 arg2 = &temp2;
13330 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13331 }
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->SetColour((wxColour const &)*arg2);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxFontData *arg1 = (wxFontData *) 0 ;
13349 wxFont *arg2 = 0 ;
13350 PyObject * obj0 = 0 ;
13351 PyObject * obj1 = 0 ;
13352 char *kwnames[] = {
13353 (char *) "self",(char *) "font", NULL
13354 };
13355
13356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13360 SWIG_POINTER_EXCEPTION | 0)) == -1)
13361 SWIG_fail;
13362 if (arg2 == NULL) {
13363 PyErr_SetString(PyExc_TypeError,"null reference");
13364 SWIG_fail;
13365 }
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 (arg1)->SetInitialFont((wxFont const &)*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 *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxFontData *arg1 = (wxFontData *) 0 ;
13383 int arg2 ;
13384 int arg3 ;
13385 PyObject * obj0 = 0 ;
13386 PyObject * obj1 = 0 ;
13387 PyObject * obj2 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "self",(char *) "min",(char *) "max", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13395 arg2 = (int) SWIG_AsInt(obj1);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 arg3 = (int) SWIG_AsInt(obj2);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->SetRange(arg2,arg3);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 Py_INCREF(Py_None); resultobj = Py_None;
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxFontData *arg1 = (wxFontData *) 0 ;
13416 bool arg2 ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "showHelp", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13426 arg2 = (bool) SWIG_AsBool(obj1);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 {
13429 PyThreadState* __tstate = wxPyBeginAllowThreads();
13430 (arg1)->SetShowHelp(arg2);
13431
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 Py_INCREF(Py_None); resultobj = Py_None;
13436 return resultobj;
13437 fail:
13438 return NULL;
13439 }
13440
13441
13442 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13443 PyObject *obj;
13444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13445 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13446 Py_INCREF(obj);
13447 return Py_BuildValue((char *)"");
13448 }
13449 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxWindow *arg1 = (wxWindow *) 0 ;
13452 wxFontData *arg2 = 0 ;
13453 wxFontDialog *result;
13454 PyObject * obj0 = 0 ;
13455 PyObject * obj1 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "parent",(char *) "data", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13464 SWIG_POINTER_EXCEPTION | 0)) == -1)
13465 SWIG_fail;
13466 if (arg2 == NULL) {
13467 PyErr_SetString(PyExc_TypeError,"null reference");
13468 SWIG_fail;
13469 }
13470 {
13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
13472 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13473
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13487 wxFontData *result;
13488 PyObject * obj0 = 0 ;
13489 char *kwnames[] = {
13490 (char *) "self", NULL
13491 };
13492
13493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 {
13499 wxFontData &_result_ref = (arg1)->GetFontData();
13500 result = (wxFontData *) &_result_ref;
13501 }
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13514 PyObject *obj;
13515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13516 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13517 Py_INCREF(obj);
13518 return Py_BuildValue((char *)"");
13519 }
13520 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxWindow *arg1 = (wxWindow *) 0 ;
13523 wxString *arg2 = 0 ;
13524 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13525 wxString *arg3 = (wxString *) &arg3_defvalue ;
13526 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13529 wxMessageDialog *result;
13530 bool temp2 = False ;
13531 bool temp3 = False ;
13532 wxPoint temp5 ;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 PyObject * obj2 = 0 ;
13536 PyObject * obj3 = 0 ;
13537 PyObject * obj4 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13545 {
13546 arg2 = wxString_in_helper(obj1);
13547 if (arg2 == NULL) SWIG_fail;
13548 temp2 = True;
13549 }
13550 if (obj2) {
13551 {
13552 arg3 = wxString_in_helper(obj2);
13553 if (arg3 == NULL) SWIG_fail;
13554 temp3 = True;
13555 }
13556 }
13557 if (obj3) {
13558 arg4 = (long) SWIG_AsLong(obj3);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 if (obj4) {
13562 {
13563 arg5 = &temp5;
13564 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13565 }
13566 }
13567 {
13568 PyThreadState* __tstate = wxPyBeginAllowThreads();
13569 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13570
13571 wxPyEndAllowThreads(__tstate);
13572 if (PyErr_Occurred()) SWIG_fail;
13573 }
13574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13575 {
13576 if (temp2)
13577 delete arg2;
13578 }
13579 {
13580 if (temp3)
13581 delete arg3;
13582 }
13583 return resultobj;
13584 fail:
13585 {
13586 if (temp2)
13587 delete arg2;
13588 }
13589 {
13590 if (temp3)
13591 delete arg3;
13592 }
13593 return NULL;
13594 }
13595
13596
13597 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13598 PyObject *obj;
13599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13600 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13601 Py_INCREF(obj);
13602 return Py_BuildValue((char *)"");
13603 }
13604 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13605 PyObject *resultobj;
13606 wxString *arg1 = 0 ;
13607 wxString *arg2 = 0 ;
13608 int arg3 = (int) 100 ;
13609 wxWindow *arg4 = (wxWindow *) NULL ;
13610 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13611 wxProgressDialog *result;
13612 bool temp1 = False ;
13613 bool temp2 = False ;
13614 PyObject * obj0 = 0 ;
13615 PyObject * obj1 = 0 ;
13616 PyObject * obj2 = 0 ;
13617 PyObject * obj3 = 0 ;
13618 PyObject * obj4 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13624 {
13625 arg1 = wxString_in_helper(obj0);
13626 if (arg1 == NULL) SWIG_fail;
13627 temp1 = True;
13628 }
13629 {
13630 arg2 = wxString_in_helper(obj1);
13631 if (arg2 == NULL) SWIG_fail;
13632 temp2 = True;
13633 }
13634 if (obj2) {
13635 arg3 = (int) SWIG_AsInt(obj2);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 if (obj3) {
13639 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13641 }
13642 if (obj4) {
13643 arg5 = (int) SWIG_AsInt(obj4);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
13653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13654 {
13655 if (temp1)
13656 delete arg1;
13657 }
13658 {
13659 if (temp2)
13660 delete arg2;
13661 }
13662 return resultobj;
13663 fail:
13664 {
13665 if (temp1)
13666 delete arg1;
13667 }
13668 {
13669 if (temp2)
13670 delete arg2;
13671 }
13672 return NULL;
13673 }
13674
13675
13676 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13679 int arg2 ;
13680 wxString const &arg3_defvalue = wxPyEmptyString ;
13681 wxString *arg3 = (wxString *) &arg3_defvalue ;
13682 bool result;
13683 bool temp3 = False ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 PyObject * obj2 = 0 ;
13687 char *kwnames[] = {
13688 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13689 };
13690
13691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13694 arg2 = (int) SWIG_AsInt(obj1);
13695 if (PyErr_Occurred()) SWIG_fail;
13696 if (obj2) {
13697 {
13698 arg3 = wxString_in_helper(obj2);
13699 if (arg3 == NULL) SWIG_fail;
13700 temp3 = True;
13701 }
13702 }
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 {
13711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13712 }
13713 {
13714 if (temp3)
13715 delete arg3;
13716 }
13717 return resultobj;
13718 fail:
13719 {
13720 if (temp3)
13721 delete arg3;
13722 }
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13730 PyObject * obj0 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 (arg1)->Resume();
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 Py_INCREF(Py_None); resultobj = Py_None;
13746 return resultobj;
13747 fail:
13748 return NULL;
13749 }
13750
13751
13752 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13753 PyObject *obj;
13754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13755 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13756 Py_INCREF(obj);
13757 return Py_BuildValue((char *)"");
13758 }
13759 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj;
13761 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13762 int arg2 = (int) 0 ;
13763 wxFindDialogEvent *result;
13764 PyObject * obj0 = 0 ;
13765 PyObject * obj1 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "commandType",(char *) "id", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13771 if (obj0) {
13772 arg1 = (wxEventType) SWIG_AsInt(obj0);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 if (obj1) {
13776 arg2 = (int) SWIG_AsInt(obj1);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13796 int result;
13797 PyObject * obj0 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 result = (int)(arg1)->GetFlags();
13808
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 resultobj = SWIG_FromInt((int)result);
13813 return resultobj;
13814 fail:
13815 return NULL;
13816 }
13817
13818
13819 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj;
13821 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13822 wxString *result;
13823 PyObject * obj0 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13831 {
13832 PyThreadState* __tstate = wxPyBeginAllowThreads();
13833 {
13834 wxString const &_result_ref = (arg1)->GetFindString();
13835 result = (wxString *) &_result_ref;
13836 }
13837
13838 wxPyEndAllowThreads(__tstate);
13839 if (PyErr_Occurred()) SWIG_fail;
13840 }
13841 {
13842 #if wxUSE_UNICODE
13843 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13844 #else
13845 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13846 #endif
13847 }
13848 return resultobj;
13849 fail:
13850 return NULL;
13851 }
13852
13853
13854 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13857 wxString *result;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 {
13869 wxString const &_result_ref = (arg1)->GetReplaceString();
13870 result = (wxString *) &_result_ref;
13871 }
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 {
13877 #if wxUSE_UNICODE
13878 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13879 #else
13880 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13881 #endif
13882 }
13883 return resultobj;
13884 fail:
13885 return NULL;
13886 }
13887
13888
13889 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13892 wxFindReplaceDialog *result;
13893 PyObject * obj0 = 0 ;
13894 char *kwnames[] = {
13895 (char *) "self", NULL
13896 };
13897
13898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13901 {
13902 PyThreadState* __tstate = wxPyBeginAllowThreads();
13903 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13904
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13909 return resultobj;
13910 fail:
13911 return NULL;
13912 }
13913
13914
13915 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj;
13917 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13918 int arg2 ;
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self",(char *) "flags", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13928 arg2 = (int) SWIG_AsInt(obj1);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 (arg1)->SetFlags(arg2);
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 Py_INCREF(Py_None); resultobj = Py_None;
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13947 wxString *arg2 = 0 ;
13948 bool temp2 = False ;
13949 PyObject * obj0 = 0 ;
13950 PyObject * obj1 = 0 ;
13951 char *kwnames[] = {
13952 (char *) "self",(char *) "str", NULL
13953 };
13954
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13958 {
13959 arg2 = wxString_in_helper(obj1);
13960 if (arg2 == NULL) SWIG_fail;
13961 temp2 = True;
13962 }
13963 {
13964 PyThreadState* __tstate = wxPyBeginAllowThreads();
13965 (arg1)->SetFindString((wxString const &)*arg2);
13966
13967 wxPyEndAllowThreads(__tstate);
13968 if (PyErr_Occurred()) SWIG_fail;
13969 }
13970 Py_INCREF(Py_None); resultobj = Py_None;
13971 {
13972 if (temp2)
13973 delete arg2;
13974 }
13975 return resultobj;
13976 fail:
13977 {
13978 if (temp2)
13979 delete arg2;
13980 }
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13988 wxString *arg2 = 0 ;
13989 bool temp2 = False ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "str", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13999 {
14000 arg2 = wxString_in_helper(obj1);
14001 if (arg2 == NULL) SWIG_fail;
14002 temp2 = True;
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->SetReplaceString((wxString const &)*arg2);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return resultobj;
14017 fail:
14018 {
14019 if (temp2)
14020 delete arg2;
14021 }
14022 return NULL;
14023 }
14024
14025
14026 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14027 PyObject *obj;
14028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14029 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14030 Py_INCREF(obj);
14031 return Py_BuildValue((char *)"");
14032 }
14033 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14034 PyObject *resultobj;
14035 int arg1 = (int) 0 ;
14036 wxFindReplaceData *result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "flags", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14043 if (obj0) {
14044 arg1 = (int) SWIG_AsInt(obj0);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 }
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14064 PyObject * obj0 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 delete arg1;
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14089 wxString *result;
14090 PyObject * obj0 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
14100 {
14101 wxString const &_result_ref = (arg1)->GetFindString();
14102 result = (wxString *) &_result_ref;
14103 }
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 {
14109 #if wxUSE_UNICODE
14110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14111 #else
14112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14113 #endif
14114 }
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14124 wxString *result;
14125 PyObject * obj0 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 {
14136 wxString const &_result_ref = (arg1)->GetReplaceString();
14137 result = (wxString *) &_result_ref;
14138 }
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 {
14144 #if wxUSE_UNICODE
14145 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14146 #else
14147 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14148 #endif
14149 }
14150 return resultobj;
14151 fail:
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14159 int result;
14160 PyObject * obj0 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 result = (int)(arg1)->GetFlags();
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 resultobj = SWIG_FromInt((int)result);
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14185 int arg2 ;
14186 PyObject * obj0 = 0 ;
14187 PyObject * obj1 = 0 ;
14188 char *kwnames[] = {
14189 (char *) "self",(char *) "flags", NULL
14190 };
14191
14192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14195 arg2 = (int) SWIG_AsInt(obj1);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 (arg1)->SetFlags(arg2);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 Py_INCREF(Py_None); resultobj = Py_None;
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14214 wxString *arg2 = 0 ;
14215 bool temp2 = False ;
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "str", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14225 {
14226 arg2 = wxString_in_helper(obj1);
14227 if (arg2 == NULL) SWIG_fail;
14228 temp2 = True;
14229 }
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 (arg1)->SetFindString((wxString const &)*arg2);
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14255 wxString *arg2 = 0 ;
14256 bool temp2 = False ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "str", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14266 {
14267 arg2 = wxString_in_helper(obj1);
14268 if (arg2 == NULL) SWIG_fail;
14269 temp2 = True;
14270 }
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 (arg1)->SetReplaceString((wxString const &)*arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 Py_INCREF(Py_None); resultobj = Py_None;
14279 {
14280 if (temp2)
14281 delete arg2;
14282 }
14283 return resultobj;
14284 fail:
14285 {
14286 if (temp2)
14287 delete arg2;
14288 }
14289 return NULL;
14290 }
14291
14292
14293 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14294 PyObject *obj;
14295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14297 Py_INCREF(obj);
14298 return Py_BuildValue((char *)"");
14299 }
14300 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj;
14302 wxWindow *arg1 = (wxWindow *) 0 ;
14303 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14304 wxString *arg3 = 0 ;
14305 int arg4 = (int) 0 ;
14306 wxFindReplaceDialog *result;
14307 bool temp3 = False ;
14308 PyObject * obj0 = 0 ;
14309 PyObject * obj1 = 0 ;
14310 PyObject * obj2 = 0 ;
14311 PyObject * obj3 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14314 };
14315
14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14321 {
14322 arg3 = wxString_in_helper(obj2);
14323 if (arg3 == NULL) SWIG_fail;
14324 temp3 = True;
14325 }
14326 if (obj3) {
14327 arg4 = (int) SWIG_AsInt(obj3);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14338 {
14339 if (temp3)
14340 delete arg3;
14341 }
14342 return resultobj;
14343 fail:
14344 {
14345 if (temp3)
14346 delete arg3;
14347 }
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxFindReplaceDialog *result;
14355 char *kwnames[] = {
14356 NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14368 return resultobj;
14369 fail:
14370 return NULL;
14371 }
14372
14373
14374 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14377 wxWindow *arg2 = (wxWindow *) 0 ;
14378 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14379 wxString *arg4 = 0 ;
14380 int arg5 = (int) 0 ;
14381 bool result;
14382 bool temp4 = False ;
14383 PyObject * obj0 = 0 ;
14384 PyObject * obj1 = 0 ;
14385 PyObject * obj2 = 0 ;
14386 PyObject * obj3 = 0 ;
14387 PyObject * obj4 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14390 };
14391
14392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14397 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14399 {
14400 arg4 = wxString_in_helper(obj3);
14401 if (arg4 == NULL) SWIG_fail;
14402 temp4 = True;
14403 }
14404 if (obj4) {
14405 arg5 = (int) SWIG_AsInt(obj4);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 {
14416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14417 }
14418 {
14419 if (temp4)
14420 delete arg4;
14421 }
14422 return resultobj;
14423 fail:
14424 {
14425 if (temp4)
14426 delete arg4;
14427 }
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14435 wxFindReplaceData *result;
14436 PyObject * obj0 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 result = (wxFindReplaceData *)(arg1)->GetData();
14447
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14461 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14462 PyObject * obj0 = 0 ;
14463 PyObject * obj1 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self",(char *) "data", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 (arg1)->SetData(arg2);
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 Py_INCREF(Py_None); resultobj = Py_None;
14481 return resultobj;
14482 fail:
14483 return NULL;
14484 }
14485
14486
14487 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14488 PyObject *obj;
14489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14490 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14491 Py_INCREF(obj);
14492 return Py_BuildValue((char *)"");
14493 }
14494 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14495 PyObject *resultobj;
14496 wxWindow *arg1 = (wxWindow *) 0 ;
14497 int arg2 ;
14498 wxString *arg3 = 0 ;
14499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14501 wxSize const &arg5_defvalue = wxDefaultSize ;
14502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14503 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14504 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14505 wxString *arg7 = (wxString *) &arg7_defvalue ;
14506 wxMDIParentFrame *result;
14507 bool temp3 = False ;
14508 wxPoint temp4 ;
14509 wxSize temp5 ;
14510 bool temp7 = False ;
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 PyObject * obj2 = 0 ;
14514 PyObject * obj3 = 0 ;
14515 PyObject * obj4 = 0 ;
14516 PyObject * obj5 = 0 ;
14517 PyObject * obj6 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14525 arg2 = (int const) SWIG_AsInt(obj1);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 {
14528 arg3 = wxString_in_helper(obj2);
14529 if (arg3 == NULL) SWIG_fail;
14530 temp3 = True;
14531 }
14532 if (obj3) {
14533 {
14534 arg4 = &temp4;
14535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14536 }
14537 }
14538 if (obj4) {
14539 {
14540 arg5 = &temp5;
14541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14542 }
14543 }
14544 if (obj5) {
14545 arg6 = (long) SWIG_AsLong(obj5);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 if (obj6) {
14549 {
14550 arg7 = wxString_in_helper(obj6);
14551 if (arg7 == NULL) SWIG_fail;
14552 temp7 = True;
14553 }
14554 }
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14563 {
14564 if (temp3)
14565 delete arg3;
14566 }
14567 {
14568 if (temp7)
14569 delete arg7;
14570 }
14571 return resultobj;
14572 fail:
14573 {
14574 if (temp3)
14575 delete arg3;
14576 }
14577 {
14578 if (temp7)
14579 delete arg7;
14580 }
14581 return NULL;
14582 }
14583
14584
14585 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14586 PyObject *resultobj;
14587 wxMDIParentFrame *result;
14588 char *kwnames[] = {
14589 NULL
14590 };
14591
14592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14601 return resultobj;
14602 fail:
14603 return NULL;
14604 }
14605
14606
14607 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14610 wxWindow *arg2 = (wxWindow *) 0 ;
14611 int arg3 ;
14612 wxString *arg4 = 0 ;
14613 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14614 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14615 wxSize const &arg6_defvalue = wxDefaultSize ;
14616 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14617 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14618 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14619 wxString *arg8 = (wxString *) &arg8_defvalue ;
14620 bool result;
14621 bool temp4 = False ;
14622 wxPoint temp5 ;
14623 wxSize temp6 ;
14624 bool temp8 = False ;
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 PyObject * obj2 = 0 ;
14628 PyObject * obj3 = 0 ;
14629 PyObject * obj4 = 0 ;
14630 PyObject * obj5 = 0 ;
14631 PyObject * obj6 = 0 ;
14632 PyObject * obj7 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14642 arg3 = (int const) SWIG_AsInt(obj2);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 {
14645 arg4 = wxString_in_helper(obj3);
14646 if (arg4 == NULL) SWIG_fail;
14647 temp4 = True;
14648 }
14649 if (obj4) {
14650 {
14651 arg5 = &temp5;
14652 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14653 }
14654 }
14655 if (obj5) {
14656 {
14657 arg6 = &temp6;
14658 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14659 }
14660 }
14661 if (obj6) {
14662 arg7 = (long) SWIG_AsLong(obj6);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 if (obj7) {
14666 {
14667 arg8 = wxString_in_helper(obj7);
14668 if (arg8 == NULL) SWIG_fail;
14669 temp8 = True;
14670 }
14671 }
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14675
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 {
14680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14681 }
14682 {
14683 if (temp4)
14684 delete arg4;
14685 }
14686 {
14687 if (temp8)
14688 delete arg8;
14689 }
14690 return resultobj;
14691 fail:
14692 {
14693 if (temp4)
14694 delete arg4;
14695 }
14696 {
14697 if (temp8)
14698 delete arg8;
14699 }
14700 return NULL;
14701 }
14702
14703
14704 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14707 PyObject * obj0 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 (arg1)->ActivateNext();
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 (arg1)->ActivatePrevious();
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 Py_INCREF(Py_None); resultobj = Py_None;
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14755 PyObject *resultobj;
14756 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14757 PyObject * obj0 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 (arg1)->ArrangeIcons();
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 Py_INCREF(Py_None); resultobj = Py_None;
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14782 PyObject * obj0 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "self", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 (arg1)->Cascade();
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 Py_INCREF(Py_None); resultobj = Py_None;
14798 return resultobj;
14799 fail:
14800 return NULL;
14801 }
14802
14803
14804 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj;
14806 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14807 wxMDIChildFrame *result;
14808 PyObject * obj0 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 {
14824 resultobj = wxPyMake_wxObject(result);
14825 }
14826 return resultobj;
14827 fail:
14828 return NULL;
14829 }
14830
14831
14832 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14833 PyObject *resultobj;
14834 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14835 wxMDIClientWindow *result;
14836 PyObject * obj0 = 0 ;
14837 char *kwnames[] = {
14838 (char *) "self", NULL
14839 };
14840
14841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14847
14848 wxPyEndAllowThreads(__tstate);
14849 if (PyErr_Occurred()) SWIG_fail;
14850 }
14851 {
14852 resultobj = wxPyMake_wxObject(result);
14853 }
14854 return resultobj;
14855 fail:
14856 return NULL;
14857 }
14858
14859
14860 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14863 wxWindow *result;
14864 PyObject * obj0 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14872 {
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (wxWindow *)(arg1)->GetToolBar();
14875
14876 wxPyEndAllowThreads(__tstate);
14877 if (PyErr_Occurred()) SWIG_fail;
14878 }
14879 {
14880 resultobj = wxPyMake_wxObject(result);
14881 }
14882 return resultobj;
14883 fail:
14884 return NULL;
14885 }
14886
14887
14888 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14891 wxMenu *result;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14900 {
14901 PyThreadState* __tstate = wxPyBeginAllowThreads();
14902 result = (wxMenu *)(arg1)->GetWindowMenu();
14903
14904 wxPyEndAllowThreads(__tstate);
14905 if (PyErr_Occurred()) SWIG_fail;
14906 }
14907 {
14908 resultobj = wxPyMake_wxObject(result);
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14919 wxMenu *arg2 = (wxMenu *) 0 ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "menu", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 (arg1)->SetWindowMenu(arg2);
14934
14935 wxPyEndAllowThreads(__tstate);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 Py_INCREF(Py_None); resultobj = Py_None;
14939 return resultobj;
14940 fail:
14941 return NULL;
14942 }
14943
14944
14945 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14946 PyObject *resultobj;
14947 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14948 wxToolBar *arg2 = (wxToolBar *) 0 ;
14949 PyObject * obj0 = 0 ;
14950 PyObject * obj1 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "self",(char *) "toolbar", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 (arg1)->SetToolBar(arg2);
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 Py_INCREF(Py_None); resultobj = Py_None;
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject *resultobj;
14976 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14977 PyObject * obj0 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 (arg1)->Tile();
14988
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 Py_INCREF(Py_None); resultobj = Py_None;
14993 return resultobj;
14994 fail:
14995 return NULL;
14996 }
14997
14998
14999 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
15000 PyObject *obj;
15001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15002 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15003 Py_INCREF(obj);
15004 return Py_BuildValue((char *)"");
15005 }
15006 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj;
15008 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15009 int arg2 ;
15010 wxString *arg3 = 0 ;
15011 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15012 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15013 wxSize const &arg5_defvalue = wxDefaultSize ;
15014 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15015 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15016 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15017 wxString *arg7 = (wxString *) &arg7_defvalue ;
15018 wxMDIChildFrame *result;
15019 bool temp3 = False ;
15020 wxPoint temp4 ;
15021 wxSize temp5 ;
15022 bool temp7 = False ;
15023 PyObject * obj0 = 0 ;
15024 PyObject * obj1 = 0 ;
15025 PyObject * obj2 = 0 ;
15026 PyObject * obj3 = 0 ;
15027 PyObject * obj4 = 0 ;
15028 PyObject * obj5 = 0 ;
15029 PyObject * obj6 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15037 arg2 = (int const) SWIG_AsInt(obj1);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 {
15040 arg3 = wxString_in_helper(obj2);
15041 if (arg3 == NULL) SWIG_fail;
15042 temp3 = True;
15043 }
15044 if (obj3) {
15045 {
15046 arg4 = &temp4;
15047 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15048 }
15049 }
15050 if (obj4) {
15051 {
15052 arg5 = &temp5;
15053 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15054 }
15055 }
15056 if (obj5) {
15057 arg6 = (long) SWIG_AsLong(obj5);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15060 if (obj6) {
15061 {
15062 arg7 = wxString_in_helper(obj6);
15063 if (arg7 == NULL) SWIG_fail;
15064 temp7 = True;
15065 }
15066 }
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15070
15071 wxPyEndAllowThreads(__tstate);
15072 if (PyErr_Occurred()) SWIG_fail;
15073 }
15074 {
15075 resultobj = wxPyMake_wxObject(result);
15076 }
15077 {
15078 if (temp3)
15079 delete arg3;
15080 }
15081 {
15082 if (temp7)
15083 delete arg7;
15084 }
15085 return resultobj;
15086 fail:
15087 {
15088 if (temp3)
15089 delete arg3;
15090 }
15091 {
15092 if (temp7)
15093 delete arg7;
15094 }
15095 return NULL;
15096 }
15097
15098
15099 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxMDIChildFrame *result;
15102 char *kwnames[] = {
15103 NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 {
15115 resultobj = wxPyMake_wxObject(result);
15116 }
15117 return resultobj;
15118 fail:
15119 return NULL;
15120 }
15121
15122
15123 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15126 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15127 int arg3 ;
15128 wxString *arg4 = 0 ;
15129 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15130 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15131 wxSize const &arg6_defvalue = wxDefaultSize ;
15132 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15133 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15134 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15135 wxString *arg8 = (wxString *) &arg8_defvalue ;
15136 bool result;
15137 bool temp4 = False ;
15138 wxPoint temp5 ;
15139 wxSize temp6 ;
15140 bool temp8 = False ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 PyObject * obj2 = 0 ;
15144 PyObject * obj3 = 0 ;
15145 PyObject * obj4 = 0 ;
15146 PyObject * obj5 = 0 ;
15147 PyObject * obj6 = 0 ;
15148 PyObject * obj7 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15158 arg3 = (int const) SWIG_AsInt(obj2);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 {
15161 arg4 = wxString_in_helper(obj3);
15162 if (arg4 == NULL) SWIG_fail;
15163 temp4 = True;
15164 }
15165 if (obj4) {
15166 {
15167 arg5 = &temp5;
15168 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15169 }
15170 }
15171 if (obj5) {
15172 {
15173 arg6 = &temp6;
15174 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15175 }
15176 }
15177 if (obj6) {
15178 arg7 = (long) SWIG_AsLong(obj6);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 if (obj7) {
15182 {
15183 arg8 = wxString_in_helper(obj7);
15184 if (arg8 == NULL) SWIG_fail;
15185 temp8 = True;
15186 }
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 {
15196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15197 }
15198 {
15199 if (temp4)
15200 delete arg4;
15201 }
15202 {
15203 if (temp8)
15204 delete arg8;
15205 }
15206 return resultobj;
15207 fail:
15208 {
15209 if (temp4)
15210 delete arg4;
15211 }
15212 {
15213 if (temp8)
15214 delete arg8;
15215 }
15216 return NULL;
15217 }
15218
15219
15220 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 (arg1)->Activate();
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 Py_INCREF(Py_None); resultobj = Py_None;
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15248 bool arg2 ;
15249 PyObject * obj0 = 0 ;
15250 PyObject * obj1 = 0 ;
15251 char *kwnames[] = {
15252 (char *) "self",(char *) "maximize", NULL
15253 };
15254
15255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15258 arg2 = (bool) SWIG_AsBool(obj1);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 (arg1)->Maximize(arg2);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 Py_INCREF(Py_None); resultobj = Py_None;
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15277 PyObject * obj0 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 (arg1)->Restore();
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15300 PyObject *obj;
15301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15302 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15303 Py_INCREF(obj);
15304 return Py_BuildValue((char *)"");
15305 }
15306 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15309 long arg2 = (long) 0 ;
15310 wxMDIClientWindow *result;
15311 PyObject * obj0 = 0 ;
15312 PyObject * obj1 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "parent",(char *) "style", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15320 if (obj1) {
15321 arg2 = (long) SWIG_AsLong(obj1);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 resultobj = wxPyMake_wxObject(result);
15333 }
15334 return resultobj;
15335 fail:
15336 return NULL;
15337 }
15338
15339
15340 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxMDIClientWindow *result;
15343 char *kwnames[] = {
15344 NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 {
15356 resultobj = wxPyMake_wxObject(result);
15357 }
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15367 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15368 long arg3 = (long) 0 ;
15369 bool result;
15370 PyObject * obj0 = 0 ;
15371 PyObject * obj1 = 0 ;
15372 PyObject * obj2 = 0 ;
15373 char *kwnames[] = {
15374 (char *) "self",(char *) "parent",(char *) "style", NULL
15375 };
15376
15377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15382 if (obj2) {
15383 arg3 = (long) SWIG_AsLong(obj2);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 result = (bool)(arg1)->Create(arg2,arg3);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 {
15394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15395 }
15396 return resultobj;
15397 fail:
15398 return NULL;
15399 }
15400
15401
15402 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15403 PyObject *obj;
15404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15405 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15406 Py_INCREF(obj);
15407 return Py_BuildValue((char *)"");
15408 }
15409 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxWindow *arg1 = (wxWindow *) 0 ;
15412 int arg2 ;
15413 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15414 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15415 wxSize const &arg4_defvalue = wxDefaultSize ;
15416 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15417 long arg5 = (long) 0 ;
15418 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15419 wxString *arg6 = (wxString *) &arg6_defvalue ;
15420 wxPyWindow *result;
15421 wxPoint temp3 ;
15422 wxSize temp4 ;
15423 bool temp6 = False ;
15424 PyObject * obj0 = 0 ;
15425 PyObject * obj1 = 0 ;
15426 PyObject * obj2 = 0 ;
15427 PyObject * obj3 = 0 ;
15428 PyObject * obj4 = 0 ;
15429 PyObject * obj5 = 0 ;
15430 char *kwnames[] = {
15431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15432 };
15433
15434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15437 arg2 = (int const) SWIG_AsInt(obj1);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 if (obj2) {
15440 {
15441 arg3 = &temp3;
15442 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15443 }
15444 }
15445 if (obj3) {
15446 {
15447 arg4 = &temp4;
15448 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15449 }
15450 }
15451 if (obj4) {
15452 arg5 = (long) SWIG_AsLong(obj4);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 }
15455 if (obj5) {
15456 {
15457 arg6 = wxString_in_helper(obj5);
15458 if (arg6 == NULL) SWIG_fail;
15459 temp6 = True;
15460 }
15461 }
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15465
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15470 {
15471 if (temp6)
15472 delete arg6;
15473 }
15474 return resultobj;
15475 fail:
15476 {
15477 if (temp6)
15478 delete arg6;
15479 }
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxPyWindow *result;
15487 char *kwnames[] = {
15488 NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (wxPyWindow *)new wxPyWindow();
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
15499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15500 return resultobj;
15501 fail:
15502 return NULL;
15503 }
15504
15505
15506 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15507 PyObject *resultobj;
15508 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15509 PyObject *arg2 = (PyObject *) 0 ;
15510 PyObject *arg3 = (PyObject *) 0 ;
15511 PyObject * obj0 = 0 ;
15512 PyObject * obj1 = 0 ;
15513 PyObject * obj2 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "self",(char *) "self",(char *) "_class", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15521 arg2 = obj1;
15522 arg3 = obj2;
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 (arg1)->_setCallbackInfo(arg2,arg3);
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 Py_INCREF(Py_None); resultobj = Py_None;
15531 return resultobj;
15532 fail:
15533 return NULL;
15534 }
15535
15536
15537 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15538 PyObject *resultobj;
15539 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15540 int arg2 ;
15541 int arg3 ;
15542 int arg4 ;
15543 int arg5 ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 PyObject * obj2 = 0 ;
15547 PyObject * obj3 = 0 ;
15548 PyObject * obj4 = 0 ;
15549 char *kwnames[] = {
15550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15551 };
15552
15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15556 arg2 = (int) SWIG_AsInt(obj1);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 arg3 = (int) SWIG_AsInt(obj2);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 arg4 = (int) SWIG_AsInt(obj3);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 arg5 = (int) SWIG_AsInt(obj4);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 {
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 Py_INCREF(Py_None); resultobj = Py_None;
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15581 int arg2 ;
15582 int arg3 ;
15583 int arg4 ;
15584 int arg5 ;
15585 int arg6 = (int) wxSIZE_AUTO ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 PyObject * obj3 = 0 ;
15590 PyObject * obj4 = 0 ;
15591 PyObject * obj5 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15599 arg2 = (int) SWIG_AsInt(obj1);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 arg3 = (int) SWIG_AsInt(obj2);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 arg4 = (int) SWIG_AsInt(obj3);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 arg5 = (int) SWIG_AsInt(obj4);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 if (obj5) {
15608 arg6 = (int) SWIG_AsInt(obj5);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 Py_INCREF(Py_None); resultobj = Py_None;
15619 return resultobj;
15620 fail:
15621 return NULL;
15622 }
15623
15624
15625 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj;
15627 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15628 int arg2 ;
15629 int arg3 ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 PyObject * obj2 = 0 ;
15633 char *kwnames[] = {
15634 (char *) "self",(char *) "width",(char *) "height", NULL
15635 };
15636
15637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15640 arg2 = (int) SWIG_AsInt(obj1);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 arg3 = (int) SWIG_AsInt(obj2);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 (arg1)->base_DoSetClientSize(arg2,arg3);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 Py_INCREF(Py_None); resultobj = Py_None;
15652 return resultobj;
15653 fail:
15654 return NULL;
15655 }
15656
15657
15658 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15659 PyObject *resultobj;
15660 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15661 int arg2 ;
15662 int arg3 ;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 PyObject * obj2 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self",(char *) "x",(char *) "y", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15673 arg2 = (int) SWIG_AsInt(obj1);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 arg3 = (int) SWIG_AsInt(obj2);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 Py_INCREF(Py_None); resultobj = Py_None;
15685 return resultobj;
15686 fail:
15687 return NULL;
15688 }
15689
15690
15691 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15692 PyObject *resultobj;
15693 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15694 int *arg2 = (int *) 0 ;
15695 int *arg3 = (int *) 0 ;
15696 int temp2 ;
15697 int temp3 ;
15698 PyObject * obj0 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self", NULL
15701 };
15702
15703 arg2 = &temp2;
15704 arg3 = &temp3;
15705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 Py_INCREF(Py_None); resultobj = Py_None;
15716 {
15717 PyObject *o = PyInt_FromLong((long) (*arg2));
15718 resultobj = t_output_helper(resultobj,o);
15719 }
15720 {
15721 PyObject *o = PyInt_FromLong((long) (*arg3));
15722 resultobj = t_output_helper(resultobj,o);
15723 }
15724 return resultobj;
15725 fail:
15726 return NULL;
15727 }
15728
15729
15730 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15731 PyObject *resultobj;
15732 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15733 int *arg2 = (int *) 0 ;
15734 int *arg3 = (int *) 0 ;
15735 int temp2 ;
15736 int temp3 ;
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self", NULL
15740 };
15741
15742 arg2 = &temp2;
15743 arg3 = &temp3;
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15750
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 Py_INCREF(Py_None); resultobj = Py_None;
15755 {
15756 PyObject *o = PyInt_FromLong((long) (*arg2));
15757 resultobj = t_output_helper(resultobj,o);
15758 }
15759 {
15760 PyObject *o = PyInt_FromLong((long) (*arg3));
15761 resultobj = t_output_helper(resultobj,o);
15762 }
15763 return resultobj;
15764 fail:
15765 return NULL;
15766 }
15767
15768
15769 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15772 int *arg2 = (int *) 0 ;
15773 int *arg3 = (int *) 0 ;
15774 int temp2 ;
15775 int temp3 ;
15776 PyObject * obj0 = 0 ;
15777 char *kwnames[] = {
15778 (char *) "self", NULL
15779 };
15780
15781 arg2 = &temp2;
15782 arg3 = &temp3;
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 {
15795 PyObject *o = PyInt_FromLong((long) (*arg2));
15796 resultobj = t_output_helper(resultobj,o);
15797 }
15798 {
15799 PyObject *o = PyInt_FromLong((long) (*arg3));
15800 resultobj = t_output_helper(resultobj,o);
15801 }
15802 return resultobj;
15803 fail:
15804 return NULL;
15805 }
15806
15807
15808 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15809 PyObject *resultobj;
15810 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15811 wxSize result;
15812 PyObject * obj0 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self", NULL
15815 };
15816
15817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 {
15828 wxSize * resultptr;
15829 resultptr = new wxSize((wxSize &) result);
15830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15831 }
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15841 wxSize result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15853
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 {
15858 wxSize * resultptr;
15859 resultptr = new wxSize((wxSize &) result);
15860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15861 }
15862 return resultobj;
15863 fail:
15864 return NULL;
15865 }
15866
15867
15868 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15871 PyObject * obj0 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 (arg1)->base_InitDialog();
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 Py_INCREF(Py_None); resultobj = Py_None;
15887 return resultobj;
15888 fail:
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15896 bool result;
15897 PyObject * obj0 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "self", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 result = (bool)(arg1)->base_TransferDataToWindow();
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 {
15913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15914 }
15915 return resultobj;
15916 fail:
15917 return NULL;
15918 }
15919
15920
15921 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15924 bool result;
15925 PyObject * obj0 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (bool)(arg1)->base_TransferDataFromWindow();
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 {
15941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15942 }
15943 return resultobj;
15944 fail:
15945 return NULL;
15946 }
15947
15948
15949 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj;
15951 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15952 bool result;
15953 PyObject * obj0 = 0 ;
15954 char *kwnames[] = {
15955 (char *) "self", NULL
15956 };
15957
15958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15961 {
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 result = (bool)(arg1)->base_Validate();
15964
15965 wxPyEndAllowThreads(__tstate);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 {
15969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15970 }
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15980 bool result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 {
15997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15998 }
15999 return resultobj;
16000 fail:
16001 return NULL;
16002 }
16003
16004
16005 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16008 bool result;
16009 PyObject * obj0 = 0 ;
16010 char *kwnames[] = {
16011 (char *) "self", NULL
16012 };
16013
16014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 {
16025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16026 }
16027 return resultobj;
16028 fail:
16029 return NULL;
16030 }
16031
16032
16033 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16034 PyObject *resultobj;
16035 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16036 wxSize result;
16037 PyObject * obj0 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 {
16053 wxSize * resultptr;
16054 resultptr = new wxSize((wxSize &) result);
16055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16056 }
16057 return resultobj;
16058 fail:
16059 return NULL;
16060 }
16061
16062
16063 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16066 wxWindow *arg2 = (wxWindow *) 0 ;
16067 PyObject * obj0 = 0 ;
16068 PyObject * obj1 = 0 ;
16069 char *kwnames[] = {
16070 (char *) "self",(char *) "child", NULL
16071 };
16072
16073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 (arg1)->base_AddChild(arg2);
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 Py_INCREF(Py_None); resultobj = Py_None;
16086 return resultobj;
16087 fail:
16088 return NULL;
16089 }
16090
16091
16092 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16093 PyObject *resultobj;
16094 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16095 wxWindow *arg2 = (wxWindow *) 0 ;
16096 PyObject * obj0 = 0 ;
16097 PyObject * obj1 = 0 ;
16098 char *kwnames[] = {
16099 (char *) "self",(char *) "child", NULL
16100 };
16101
16102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 (arg1)->base_RemoveChild(arg2);
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 Py_INCREF(Py_None); resultobj = Py_None;
16115 return resultobj;
16116 fail:
16117 return NULL;
16118 }
16119
16120
16121 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16122 PyObject *resultobj;
16123 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16124 bool result;
16125 PyObject * obj0 = 0 ;
16126 char *kwnames[] = {
16127 (char *) "self", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16133 {
16134 PyThreadState* __tstate = wxPyBeginAllowThreads();
16135 result = (bool)(arg1)->base_ShouldInheritColours();
16136
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 {
16141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16142 }
16143 return resultobj;
16144 fail:
16145 return NULL;
16146 }
16147
16148
16149 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16152 wxColour *arg2 = 0 ;
16153 wxColour temp2 ;
16154 PyObject * obj0 = 0 ;
16155 PyObject * obj1 = 0 ;
16156 char *kwnames[] = {
16157 (char *) "self",(char *) "c", NULL
16158 };
16159
16160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16163 {
16164 arg2 = &temp2;
16165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16166 }
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 Py_INCREF(Py_None); resultobj = Py_None;
16175 return resultobj;
16176 fail:
16177 return NULL;
16178 }
16179
16180
16181 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16182 PyObject *obj;
16183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16184 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16185 Py_INCREF(obj);
16186 return Py_BuildValue((char *)"");
16187 }
16188 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxWindow *arg1 = (wxWindow *) 0 ;
16191 int arg2 ;
16192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16194 wxSize const &arg4_defvalue = wxDefaultSize ;
16195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16196 long arg5 = (long) 0 ;
16197 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16198 wxString *arg6 = (wxString *) &arg6_defvalue ;
16199 wxPyPanel *result;
16200 wxPoint temp3 ;
16201 wxSize temp4 ;
16202 bool temp6 = False ;
16203 PyObject * obj0 = 0 ;
16204 PyObject * obj1 = 0 ;
16205 PyObject * obj2 = 0 ;
16206 PyObject * obj3 = 0 ;
16207 PyObject * obj4 = 0 ;
16208 PyObject * obj5 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16216 arg2 = (int const) SWIG_AsInt(obj1);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 if (obj2) {
16219 {
16220 arg3 = &temp3;
16221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16222 }
16223 }
16224 if (obj3) {
16225 {
16226 arg4 = &temp4;
16227 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16228 }
16229 }
16230 if (obj4) {
16231 arg5 = (long) SWIG_AsLong(obj4);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 if (obj5) {
16235 {
16236 arg6 = wxString_in_helper(obj5);
16237 if (arg6 == NULL) SWIG_fail;
16238 temp6 = True;
16239 }
16240 }
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16249 {
16250 if (temp6)
16251 delete arg6;
16252 }
16253 return resultobj;
16254 fail:
16255 {
16256 if (temp6)
16257 delete arg6;
16258 }
16259 return NULL;
16260 }
16261
16262
16263 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxPyPanel *result;
16266 char *kwnames[] = {
16267 NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 result = (wxPyPanel *)new wxPyPanel();
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16279 return resultobj;
16280 fail:
16281 return NULL;
16282 }
16283
16284
16285 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16288 PyObject *arg2 = (PyObject *) 0 ;
16289 PyObject *arg3 = (PyObject *) 0 ;
16290 PyObject * obj0 = 0 ;
16291 PyObject * obj1 = 0 ;
16292 PyObject * obj2 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "self",(char *) "_class", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16300 arg2 = obj1;
16301 arg3 = obj2;
16302 {
16303 PyThreadState* __tstate = wxPyBeginAllowThreads();
16304 (arg1)->_setCallbackInfo(arg2,arg3);
16305
16306 wxPyEndAllowThreads(__tstate);
16307 if (PyErr_Occurred()) SWIG_fail;
16308 }
16309 Py_INCREF(Py_None); resultobj = Py_None;
16310 return resultobj;
16311 fail:
16312 return NULL;
16313 }
16314
16315
16316 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj;
16318 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16319 int arg2 ;
16320 int arg3 ;
16321 int arg4 ;
16322 int arg5 ;
16323 PyObject * obj0 = 0 ;
16324 PyObject * obj1 = 0 ;
16325 PyObject * obj2 = 0 ;
16326 PyObject * obj3 = 0 ;
16327 PyObject * obj4 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16335 arg2 = (int) SWIG_AsInt(obj1);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 arg3 = (int) SWIG_AsInt(obj2);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 arg4 = (int) SWIG_AsInt(obj3);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 arg5 = (int) SWIG_AsInt(obj4);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 Py_INCREF(Py_None); resultobj = Py_None;
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16360 int arg2 ;
16361 int arg3 ;
16362 int arg4 ;
16363 int arg5 ;
16364 int arg6 = (int) wxSIZE_AUTO ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 PyObject * obj2 = 0 ;
16368 PyObject * obj3 = 0 ;
16369 PyObject * obj4 = 0 ;
16370 PyObject * obj5 = 0 ;
16371 char *kwnames[] = {
16372 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16378 arg2 = (int) SWIG_AsInt(obj1);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 arg3 = (int) SWIG_AsInt(obj2);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 arg4 = (int) SWIG_AsInt(obj3);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 arg5 = (int) SWIG_AsInt(obj4);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 if (obj5) {
16387 arg6 = (int) SWIG_AsInt(obj5);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16393
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 Py_INCREF(Py_None); resultobj = Py_None;
16398 return resultobj;
16399 fail:
16400 return NULL;
16401 }
16402
16403
16404 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16407 int arg2 ;
16408 int arg3 ;
16409 PyObject * obj0 = 0 ;
16410 PyObject * obj1 = 0 ;
16411 PyObject * obj2 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self",(char *) "width",(char *) "height", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16419 arg2 = (int) SWIG_AsInt(obj1);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 arg3 = (int) SWIG_AsInt(obj2);
16422 if (PyErr_Occurred()) SWIG_fail;
16423 {
16424 PyThreadState* __tstate = wxPyBeginAllowThreads();
16425 (arg1)->base_DoSetClientSize(arg2,arg3);
16426
16427 wxPyEndAllowThreads(__tstate);
16428 if (PyErr_Occurred()) SWIG_fail;
16429 }
16430 Py_INCREF(Py_None); resultobj = Py_None;
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16440 int arg2 ;
16441 int arg3 ;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
16444 PyObject * obj2 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self",(char *) "x",(char *) "y", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16452 arg2 = (int) SWIG_AsInt(obj1);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 arg3 = (int) SWIG_AsInt(obj2);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 Py_INCREF(Py_None); resultobj = Py_None;
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16473 int *arg2 = (int *) 0 ;
16474 int *arg3 = (int *) 0 ;
16475 int temp2 ;
16476 int temp3 ;
16477 PyObject * obj0 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self", NULL
16480 };
16481
16482 arg2 = &temp2;
16483 arg3 = &temp3;
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 {
16496 PyObject *o = PyInt_FromLong((long) (*arg2));
16497 resultobj = t_output_helper(resultobj,o);
16498 }
16499 {
16500 PyObject *o = PyInt_FromLong((long) (*arg3));
16501 resultobj = t_output_helper(resultobj,o);
16502 }
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj;
16511 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16512 int *arg2 = (int *) 0 ;
16513 int *arg3 = (int *) 0 ;
16514 int temp2 ;
16515 int temp3 ;
16516 PyObject * obj0 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "self", NULL
16519 };
16520
16521 arg2 = &temp2;
16522 arg3 = &temp3;
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 Py_INCREF(Py_None); resultobj = Py_None;
16534 {
16535 PyObject *o = PyInt_FromLong((long) (*arg2));
16536 resultobj = t_output_helper(resultobj,o);
16537 }
16538 {
16539 PyObject *o = PyInt_FromLong((long) (*arg3));
16540 resultobj = t_output_helper(resultobj,o);
16541 }
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16551 int *arg2 = (int *) 0 ;
16552 int *arg3 = (int *) 0 ;
16553 int temp2 ;
16554 int temp3 ;
16555 PyObject * obj0 = 0 ;
16556 char *kwnames[] = {
16557 (char *) "self", NULL
16558 };
16559
16560 arg2 = &temp2;
16561 arg3 = &temp3;
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 Py_INCREF(Py_None); resultobj = Py_None;
16573 {
16574 PyObject *o = PyInt_FromLong((long) (*arg2));
16575 resultobj = t_output_helper(resultobj,o);
16576 }
16577 {
16578 PyObject *o = PyInt_FromLong((long) (*arg3));
16579 resultobj = t_output_helper(resultobj,o);
16580 }
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16590 wxSize result;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16599 {
16600 PyThreadState* __tstate = wxPyBeginAllowThreads();
16601 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16602
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 {
16607 wxSize * resultptr;
16608 resultptr = new wxSize((wxSize &) result);
16609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16610 }
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16620 wxSize result;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 wxSize * resultptr;
16638 resultptr = new wxSize((wxSize &) result);
16639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16640 }
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16650 PyObject * obj0 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self", NULL
16653 };
16654
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16658 {
16659 PyThreadState* __tstate = wxPyBeginAllowThreads();
16660 (arg1)->base_InitDialog();
16661
16662 wxPyEndAllowThreads(__tstate);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 }
16665 Py_INCREF(Py_None); resultobj = Py_None;
16666 return resultobj;
16667 fail:
16668 return NULL;
16669 }
16670
16671
16672 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj;
16674 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16675 bool result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (bool)(arg1)->base_TransferDataToWindow();
16687
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
16691 {
16692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16703 bool result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = (bool)(arg1)->base_TransferDataFromWindow();
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16721 }
16722 return resultobj;
16723 fail:
16724 return NULL;
16725 }
16726
16727
16728 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16729 PyObject *resultobj;
16730 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16731 bool result;
16732 PyObject * obj0 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (bool)(arg1)->base_Validate();
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16759 bool result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
16775 {
16776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16777 }
16778 return resultobj;
16779 fail:
16780 return NULL;
16781 }
16782
16783
16784 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16787 bool result;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16799
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 {
16804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16805 }
16806 return resultobj;
16807 fail:
16808 return NULL;
16809 }
16810
16811
16812 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16815 wxSize result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16824 {
16825 PyThreadState* __tstate = wxPyBeginAllowThreads();
16826 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16827
16828 wxPyEndAllowThreads(__tstate);
16829 if (PyErr_Occurred()) SWIG_fail;
16830 }
16831 {
16832 wxSize * resultptr;
16833 resultptr = new wxSize((wxSize &) result);
16834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj;
16844 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16845 wxWindow *arg2 = (wxWindow *) 0 ;
16846 PyObject * obj0 = 0 ;
16847 PyObject * obj1 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self",(char *) "child", NULL
16850 };
16851
16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16855 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 (arg1)->base_AddChild(arg2);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 Py_INCREF(Py_None); resultobj = Py_None;
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16874 wxWindow *arg2 = (wxWindow *) 0 ;
16875 PyObject * obj0 = 0 ;
16876 PyObject * obj1 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self",(char *) "child", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 (arg1)->base_RemoveChild(arg2);
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 Py_INCREF(Py_None); resultobj = Py_None;
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16903 bool result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (bool)(arg1)->base_ShouldInheritColours();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 {
16920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16921 }
16922 return resultobj;
16923 fail:
16924 return NULL;
16925 }
16926
16927
16928 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16931 wxColour *arg2 = 0 ;
16932 wxColour temp2 ;
16933 PyObject * obj0 = 0 ;
16934 PyObject * obj1 = 0 ;
16935 char *kwnames[] = {
16936 (char *) "self",(char *) "c", NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16942 {
16943 arg2 = &temp2;
16944 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16945 }
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 Py_INCREF(Py_None); resultobj = Py_None;
16954 return resultobj;
16955 fail:
16956 return NULL;
16957 }
16958
16959
16960 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16961 PyObject *obj;
16962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16963 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16964 Py_INCREF(obj);
16965 return Py_BuildValue((char *)"");
16966 }
16967 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxWindow *arg1 = (wxWindow *) 0 ;
16970 int arg2 ;
16971 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16972 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16973 wxSize const &arg4_defvalue = wxDefaultSize ;
16974 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16975 long arg5 = (long) 0 ;
16976 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16977 wxString *arg6 = (wxString *) &arg6_defvalue ;
16978 wxPyScrolledWindow *result;
16979 wxPoint temp3 ;
16980 wxSize temp4 ;
16981 bool temp6 = False ;
16982 PyObject * obj0 = 0 ;
16983 PyObject * obj1 = 0 ;
16984 PyObject * obj2 = 0 ;
16985 PyObject * obj3 = 0 ;
16986 PyObject * obj4 = 0 ;
16987 PyObject * obj5 = 0 ;
16988 char *kwnames[] = {
16989 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16990 };
16991
16992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16995 arg2 = (int const) SWIG_AsInt(obj1);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 if (obj2) {
16998 {
16999 arg3 = &temp3;
17000 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17001 }
17002 }
17003 if (obj3) {
17004 {
17005 arg4 = &temp4;
17006 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17007 }
17008 }
17009 if (obj4) {
17010 arg5 = (long) SWIG_AsLong(obj4);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 if (obj5) {
17014 {
17015 arg6 = wxString_in_helper(obj5);
17016 if (arg6 == NULL) SWIG_fail;
17017 temp6 = True;
17018 }
17019 }
17020 {
17021 PyThreadState* __tstate = wxPyBeginAllowThreads();
17022 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17023
17024 wxPyEndAllowThreads(__tstate);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
17027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17028 {
17029 if (temp6)
17030 delete arg6;
17031 }
17032 return resultobj;
17033 fail:
17034 {
17035 if (temp6)
17036 delete arg6;
17037 }
17038 return NULL;
17039 }
17040
17041
17042 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxPyScrolledWindow *result;
17045 char *kwnames[] = {
17046 NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17050 {
17051 PyThreadState* __tstate = wxPyBeginAllowThreads();
17052 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17053
17054 wxPyEndAllowThreads(__tstate);
17055 if (PyErr_Occurred()) SWIG_fail;
17056 }
17057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17058 return resultobj;
17059 fail:
17060 return NULL;
17061 }
17062
17063
17064 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17067 PyObject *arg2 = (PyObject *) 0 ;
17068 PyObject *arg3 = (PyObject *) 0 ;
17069 PyObject * obj0 = 0 ;
17070 PyObject * obj1 = 0 ;
17071 PyObject * obj2 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self",(char *) "self",(char *) "_class", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17079 arg2 = obj1;
17080 arg3 = obj2;
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->_setCallbackInfo(arg2,arg3);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 Py_INCREF(Py_None); resultobj = Py_None;
17089 return resultobj;
17090 fail:
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17098 int arg2 ;
17099 int arg3 ;
17100 int arg4 ;
17101 int arg5 ;
17102 PyObject * obj0 = 0 ;
17103 PyObject * obj1 = 0 ;
17104 PyObject * obj2 = 0 ;
17105 PyObject * obj3 = 0 ;
17106 PyObject * obj4 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17114 arg2 = (int) SWIG_AsInt(obj1);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 arg3 = (int) SWIG_AsInt(obj2);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 arg4 = (int) SWIG_AsInt(obj3);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 arg5 = (int) SWIG_AsInt(obj4);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 Py_INCREF(Py_None); resultobj = Py_None;
17130 return resultobj;
17131 fail:
17132 return NULL;
17133 }
17134
17135
17136 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17137 PyObject *resultobj;
17138 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17139 int arg2 ;
17140 int arg3 ;
17141 int arg4 ;
17142 int arg5 ;
17143 int arg6 = (int) wxSIZE_AUTO ;
17144 PyObject * obj0 = 0 ;
17145 PyObject * obj1 = 0 ;
17146 PyObject * obj2 = 0 ;
17147 PyObject * obj3 = 0 ;
17148 PyObject * obj4 = 0 ;
17149 PyObject * obj5 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17157 arg2 = (int) SWIG_AsInt(obj1);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 arg3 = (int) SWIG_AsInt(obj2);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 arg4 = (int) SWIG_AsInt(obj3);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 arg5 = (int) SWIG_AsInt(obj4);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 if (obj5) {
17166 arg6 = (int) SWIG_AsInt(obj5);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 Py_INCREF(Py_None); resultobj = Py_None;
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17186 int arg2 ;
17187 int arg3 ;
17188 PyObject * obj0 = 0 ;
17189 PyObject * obj1 = 0 ;
17190 PyObject * obj2 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self",(char *) "width",(char *) "height", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 arg2 = (int) SWIG_AsInt(obj1);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 arg3 = (int) SWIG_AsInt(obj2);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 {
17203 PyThreadState* __tstate = wxPyBeginAllowThreads();
17204 (arg1)->base_DoSetClientSize(arg2,arg3);
17205
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 Py_INCREF(Py_None); resultobj = Py_None;
17210 return resultobj;
17211 fail:
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17219 int arg2 ;
17220 int arg3 ;
17221 PyObject * obj0 = 0 ;
17222 PyObject * obj1 = 0 ;
17223 PyObject * obj2 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "x",(char *) "y", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17231 arg2 = (int) SWIG_AsInt(obj1);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 arg3 = (int) SWIG_AsInt(obj2);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 Py_INCREF(Py_None); resultobj = Py_None;
17243 return resultobj;
17244 fail:
17245 return NULL;
17246 }
17247
17248
17249 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17250 PyObject *resultobj;
17251 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17252 int *arg2 = (int *) 0 ;
17253 int *arg3 = (int *) 0 ;
17254 int temp2 ;
17255 int temp3 ;
17256 PyObject * obj0 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self", NULL
17259 };
17260
17261 arg2 = &temp2;
17262 arg3 = &temp3;
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 Py_INCREF(Py_None); resultobj = Py_None;
17274 {
17275 PyObject *o = PyInt_FromLong((long) (*arg2));
17276 resultobj = t_output_helper(resultobj,o);
17277 }
17278 {
17279 PyObject *o = PyInt_FromLong((long) (*arg3));
17280 resultobj = t_output_helper(resultobj,o);
17281 }
17282 return resultobj;
17283 fail:
17284 return NULL;
17285 }
17286
17287
17288 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17291 int *arg2 = (int *) 0 ;
17292 int *arg3 = (int *) 0 ;
17293 int temp2 ;
17294 int temp3 ;
17295 PyObject * obj0 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self", NULL
17298 };
17299
17300 arg2 = &temp2;
17301 arg3 = &temp3;
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 Py_INCREF(Py_None); resultobj = Py_None;
17313 {
17314 PyObject *o = PyInt_FromLong((long) (*arg2));
17315 resultobj = t_output_helper(resultobj,o);
17316 }
17317 {
17318 PyObject *o = PyInt_FromLong((long) (*arg3));
17319 resultobj = t_output_helper(resultobj,o);
17320 }
17321 return resultobj;
17322 fail:
17323 return NULL;
17324 }
17325
17326
17327 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj;
17329 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17330 int *arg2 = (int *) 0 ;
17331 int *arg3 = (int *) 0 ;
17332 int temp2 ;
17333 int temp3 ;
17334 PyObject * obj0 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self", NULL
17337 };
17338
17339 arg2 = &temp2;
17340 arg3 = &temp3;
17341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17344 {
17345 PyThreadState* __tstate = wxPyBeginAllowThreads();
17346 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17347
17348 wxPyEndAllowThreads(__tstate);
17349 if (PyErr_Occurred()) SWIG_fail;
17350 }
17351 Py_INCREF(Py_None); resultobj = Py_None;
17352 {
17353 PyObject *o = PyInt_FromLong((long) (*arg2));
17354 resultobj = t_output_helper(resultobj,o);
17355 }
17356 {
17357 PyObject *o = PyInt_FromLong((long) (*arg3));
17358 resultobj = t_output_helper(resultobj,o);
17359 }
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17369 wxSize result;
17370 PyObject * obj0 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17378 {
17379 PyThreadState* __tstate = wxPyBeginAllowThreads();
17380 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17381
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 {
17386 wxSize * resultptr;
17387 resultptr = new wxSize((wxSize &) result);
17388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17389 }
17390 return resultobj;
17391 fail:
17392 return NULL;
17393 }
17394
17395
17396 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17399 wxSize result;
17400 PyObject * obj0 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 {
17416 wxSize * resultptr;
17417 resultptr = new wxSize((wxSize &) result);
17418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17419 }
17420 return resultobj;
17421 fail:
17422 return NULL;
17423 }
17424
17425
17426 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17427 PyObject *resultobj;
17428 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17429 PyObject * obj0 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "self", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 (arg1)->base_InitDialog();
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 Py_INCREF(Py_None); resultobj = Py_None;
17445 return resultobj;
17446 fail:
17447 return NULL;
17448 }
17449
17450
17451 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17454 bool result;
17455 PyObject * obj0 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 result = (bool)(arg1)->base_TransferDataToWindow();
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 {
17471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17472 }
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17482 bool result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 result = (bool)(arg1)->base_TransferDataFromWindow();
17494
17495 wxPyEndAllowThreads(__tstate);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 }
17498 {
17499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17500 }
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17510 bool result;
17511 PyObject * obj0 = 0 ;
17512 char *kwnames[] = {
17513 (char *) "self", NULL
17514 };
17515
17516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 result = (bool)(arg1)->base_Validate();
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 {
17527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17528 }
17529 return resultobj;
17530 fail:
17531 return NULL;
17532 }
17533
17534
17535 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj;
17537 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17538 bool result;
17539 PyObject * obj0 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 {
17555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17556 }
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17566 bool result;
17567 PyObject * obj0 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 {
17583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17584 }
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17594 wxSize result;
17595 PyObject * obj0 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 wxSize * resultptr;
17612 resultptr = new wxSize((wxSize &) result);
17613 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17614 }
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17624 wxWindow *arg2 = (wxWindow *) 0 ;
17625 PyObject * obj0 = 0 ;
17626 PyObject * obj1 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "child", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 (arg1)->base_AddChild(arg2);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 Py_INCREF(Py_None); resultobj = Py_None;
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17653 wxWindow *arg2 = (wxWindow *) 0 ;
17654 PyObject * obj0 = 0 ;
17655 PyObject * obj1 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self",(char *) "child", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17665 {
17666 PyThreadState* __tstate = wxPyBeginAllowThreads();
17667 (arg1)->base_RemoveChild(arg2);
17668
17669 wxPyEndAllowThreads(__tstate);
17670 if (PyErr_Occurred()) SWIG_fail;
17671 }
17672 Py_INCREF(Py_None); resultobj = Py_None;
17673 return resultobj;
17674 fail:
17675 return NULL;
17676 }
17677
17678
17679 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17680 PyObject *resultobj;
17681 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17682 bool result;
17683 PyObject * obj0 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (bool)(arg1)->base_ShouldInheritColours();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 {
17699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17700 }
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17710 wxColour *arg2 = 0 ;
17711 wxColour temp2 ;
17712 PyObject * obj0 = 0 ;
17713 PyObject * obj1 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "c", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17721 {
17722 arg2 = &temp2;
17723 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17724 }
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 Py_INCREF(Py_None); resultobj = Py_None;
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17740 PyObject *obj;
17741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17742 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17743 Py_INCREF(obj);
17744 return Py_BuildValue((char *)"");
17745 }
17746 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17747 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17748 return 1;
17749 }
17750
17751
17752 static PyObject *_wrap_PrintoutTitleStr_get() {
17753 PyObject *pyobj;
17754
17755 {
17756 #if wxUSE_UNICODE
17757 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17758 #else
17759 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17760 #endif
17761 }
17762 return pyobj;
17763 }
17764
17765
17766 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17767 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17768 return 1;
17769 }
17770
17771
17772 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17773 PyObject *pyobj;
17774
17775 {
17776 #if wxUSE_UNICODE
17777 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17778 #else
17779 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17780 #endif
17781 }
17782 return pyobj;
17783 }
17784
17785
17786 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintData *result;
17789 char *kwnames[] = {
17790 NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (wxPrintData *)new wxPrintData();
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPrintData *arg1 = (wxPrintData *) 0 ;
17811 PyObject * obj0 = 0 ;
17812 char *kwnames[] = {
17813 (char *) "self", NULL
17814 };
17815
17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 delete arg1;
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 Py_INCREF(Py_None); resultobj = Py_None;
17827 return resultobj;
17828 fail:
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxPrintData *arg1 = (wxPrintData *) 0 ;
17836 int result;
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17845 {
17846 PyThreadState* __tstate = wxPyBeginAllowThreads();
17847 result = (int)(arg1)->GetNoCopies();
17848
17849 wxPyEndAllowThreads(__tstate);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 }
17852 resultobj = SWIG_FromInt((int)result);
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj;
17861 wxPrintData *arg1 = (wxPrintData *) 0 ;
17862 bool result;
17863 PyObject * obj0 = 0 ;
17864 char *kwnames[] = {
17865 (char *) "self", NULL
17866 };
17867
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 result = (bool)(arg1)->GetCollate();
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 {
17879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17880 }
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj;
17889 wxPrintData *arg1 = (wxPrintData *) 0 ;
17890 int result;
17891 PyObject * obj0 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17899 {
17900 PyThreadState* __tstate = wxPyBeginAllowThreads();
17901 result = (int)(arg1)->GetOrientation();
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 resultobj = SWIG_FromInt((int)result);
17907 return resultobj;
17908 fail:
17909 return NULL;
17910 }
17911
17912
17913 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxPrintData *arg1 = (wxPrintData *) 0 ;
17916 bool result;
17917 PyObject * obj0 = 0 ;
17918 char *kwnames[] = {
17919 (char *) "self", NULL
17920 };
17921
17922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 result = (bool)(arg1)->Ok();
17928
17929 wxPyEndAllowThreads(__tstate);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 {
17933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17934 }
17935 return resultobj;
17936 fail:
17937 return NULL;
17938 }
17939
17940
17941 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17942 PyObject *resultobj;
17943 wxPrintData *arg1 = (wxPrintData *) 0 ;
17944 wxString *result;
17945 PyObject * obj0 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 {
17956 wxString const &_result_ref = (arg1)->GetPrinterName();
17957 result = (wxString *) &_result_ref;
17958 }
17959
17960 wxPyEndAllowThreads(__tstate);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 {
17964 #if wxUSE_UNICODE
17965 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17966 #else
17967 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17968 #endif
17969 }
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxPrintData *arg1 = (wxPrintData *) 0 ;
17979 bool result;
17980 PyObject * obj0 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 result = (bool)(arg1)->GetColour();
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 {
17996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17997 }
17998 return resultobj;
17999 fail:
18000 return NULL;
18001 }
18002
18003
18004 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18005 PyObject *resultobj;
18006 wxPrintData *arg1 = (wxPrintData *) 0 ;
18007 int result;
18008 PyObject * obj0 = 0 ;
18009 char *kwnames[] = {
18010 (char *) "self", NULL
18011 };
18012
18013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 result = (int)(arg1)->GetDuplex();
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 resultobj = SWIG_FromInt((int)result);
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPrintData *arg1 = (wxPrintData *) 0 ;
18033 int result;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (int)(arg1)->GetPaperId();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 resultobj = SWIG_FromInt((int)result);
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18057 PyObject *resultobj;
18058 wxPrintData *arg1 = (wxPrintData *) 0 ;
18059 wxSize *result;
18060 PyObject * obj0 = 0 ;
18061 char *kwnames[] = {
18062 (char *) "self", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 {
18071 wxSize const &_result_ref = (arg1)->GetPaperSize();
18072 result = (wxSize *) &_result_ref;
18073 }
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18086 PyObject *resultobj;
18087 wxPrintData *arg1 = (wxPrintData *) 0 ;
18088 int result;
18089 PyObject * obj0 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 result = (int)(arg1)->GetQuality();
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 resultobj = SWIG_FromInt((int)result);
18105 return resultobj;
18106 fail:
18107 return NULL;
18108 }
18109
18110
18111 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj;
18113 wxPrintData *arg1 = (wxPrintData *) 0 ;
18114 int arg2 ;
18115 PyObject * obj0 = 0 ;
18116 PyObject * obj1 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self",(char *) "v", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18124 arg2 = (int) SWIG_AsInt(obj1);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 {
18127 PyThreadState* __tstate = wxPyBeginAllowThreads();
18128 (arg1)->SetNoCopies(arg2);
18129
18130 wxPyEndAllowThreads(__tstate);
18131 if (PyErr_Occurred()) SWIG_fail;
18132 }
18133 Py_INCREF(Py_None); resultobj = Py_None;
18134 return resultobj;
18135 fail:
18136 return NULL;
18137 }
18138
18139
18140 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18141 PyObject *resultobj;
18142 wxPrintData *arg1 = (wxPrintData *) 0 ;
18143 bool arg2 ;
18144 PyObject * obj0 = 0 ;
18145 PyObject * obj1 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self",(char *) "flag", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18153 arg2 = (bool) SWIG_AsBool(obj1);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 (arg1)->SetCollate(arg2);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 Py_INCREF(Py_None); resultobj = Py_None;
18163 return resultobj;
18164 fail:
18165 return NULL;
18166 }
18167
18168
18169 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj;
18171 wxPrintData *arg1 = (wxPrintData *) 0 ;
18172 int arg2 ;
18173 PyObject * obj0 = 0 ;
18174 PyObject * obj1 = 0 ;
18175 char *kwnames[] = {
18176 (char *) "self",(char *) "orient", NULL
18177 };
18178
18179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18182 arg2 = (int) SWIG_AsInt(obj1);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 (arg1)->SetOrientation(arg2);
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 Py_INCREF(Py_None); resultobj = Py_None;
18192 return resultobj;
18193 fail:
18194 return NULL;
18195 }
18196
18197
18198 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj;
18200 wxPrintData *arg1 = (wxPrintData *) 0 ;
18201 wxString *arg2 = 0 ;
18202 bool temp2 = False ;
18203 PyObject * obj0 = 0 ;
18204 PyObject * obj1 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self",(char *) "name", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18212 {
18213 arg2 = wxString_in_helper(obj1);
18214 if (arg2 == NULL) SWIG_fail;
18215 temp2 = True;
18216 }
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 (arg1)->SetPrinterName((wxString const &)*arg2);
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 Py_INCREF(Py_None); resultobj = Py_None;
18225 {
18226 if (temp2)
18227 delete arg2;
18228 }
18229 return resultobj;
18230 fail:
18231 {
18232 if (temp2)
18233 delete arg2;
18234 }
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPrintData *arg1 = (wxPrintData *) 0 ;
18242 bool arg2 ;
18243 PyObject * obj0 = 0 ;
18244 PyObject * obj1 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self",(char *) "colour", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18252 arg2 = (bool) SWIG_AsBool(obj1);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 (arg1)->SetColour(arg2);
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 Py_INCREF(Py_None); resultobj = Py_None;
18262 return resultobj;
18263 fail:
18264 return NULL;
18265 }
18266
18267
18268 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPrintData *arg1 = (wxPrintData *) 0 ;
18271 int arg2 ;
18272 PyObject * obj0 = 0 ;
18273 PyObject * obj1 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self",(char *) "duplex", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18281 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 {
18284 PyThreadState* __tstate = wxPyBeginAllowThreads();
18285 (arg1)->SetDuplex((wxDuplexMode )arg2);
18286
18287 wxPyEndAllowThreads(__tstate);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 Py_INCREF(Py_None); resultobj = Py_None;
18291 return resultobj;
18292 fail:
18293 return NULL;
18294 }
18295
18296
18297 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18298 PyObject *resultobj;
18299 wxPrintData *arg1 = (wxPrintData *) 0 ;
18300 int arg2 ;
18301 PyObject * obj0 = 0 ;
18302 PyObject * obj1 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self",(char *) "sizeId", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18310 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 (arg1)->SetPaperId((wxPaperSize )arg2);
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 Py_INCREF(Py_None); resultobj = Py_None;
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPrintData *arg1 = (wxPrintData *) 0 ;
18329 wxSize *arg2 = 0 ;
18330 wxSize temp2 ;
18331 PyObject * obj0 = 0 ;
18332 PyObject * obj1 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self",(char *) "sz", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18340 {
18341 arg2 = &temp2;
18342 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18343 }
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->SetPaperSize((wxSize const &)*arg2);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPrintData *arg1 = (wxPrintData *) 0 ;
18361 int arg2 ;
18362 PyObject * obj0 = 0 ;
18363 PyObject * obj1 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self",(char *) "quality", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18371 arg2 = (int) SWIG_AsInt(obj1);
18372 if (PyErr_Occurred()) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetQuality(arg2);
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPrintData *arg1 = (wxPrintData *) 0 ;
18390 wxString *result;
18391 PyObject * obj0 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 {
18402 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18403 result = (wxString *) &_result_ref;
18404 }
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 {
18410 #if wxUSE_UNICODE
18411 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18412 #else
18413 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18414 #endif
18415 }
18416 return resultobj;
18417 fail:
18418 return NULL;
18419 }
18420
18421
18422 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxPrintData *arg1 = (wxPrintData *) 0 ;
18425 wxString *result;
18426 PyObject * obj0 = 0 ;
18427 char *kwnames[] = {
18428 (char *) "self", NULL
18429 };
18430
18431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 {
18437 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18438 result = (wxString *) &_result_ref;
18439 }
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 {
18445 #if wxUSE_UNICODE
18446 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18447 #else
18448 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18449 #endif
18450 }
18451 return resultobj;
18452 fail:
18453 return NULL;
18454 }
18455
18456
18457 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj;
18459 wxPrintData *arg1 = (wxPrintData *) 0 ;
18460 wxString *result;
18461 PyObject * obj0 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 {
18472 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18473 result = (wxString *) &_result_ref;
18474 }
18475
18476 wxPyEndAllowThreads(__tstate);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
18479 {
18480 #if wxUSE_UNICODE
18481 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18482 #else
18483 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18484 #endif
18485 }
18486 return resultobj;
18487 fail:
18488 return NULL;
18489 }
18490
18491
18492 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18493 PyObject *resultobj;
18494 wxPrintData *arg1 = (wxPrintData *) 0 ;
18495 wxString *result;
18496 PyObject * obj0 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",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 {
18507 wxString const &_result_ref = (arg1)->GetFilename();
18508 result = (wxString *) &_result_ref;
18509 }
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 {
18515 #if wxUSE_UNICODE
18516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18517 #else
18518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18519 #endif
18520 }
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPrintData *arg1 = (wxPrintData *) 0 ;
18530 wxString *result;
18531 PyObject * obj0 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 {
18542 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18543 result = (wxString *) &_result_ref;
18544 }
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 {
18550 #if wxUSE_UNICODE
18551 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18552 #else
18553 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18554 #endif
18555 }
18556 return resultobj;
18557 fail:
18558 return NULL;
18559 }
18560
18561
18562 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18563 PyObject *resultobj;
18564 wxPrintData *arg1 = (wxPrintData *) 0 ;
18565 double result;
18566 PyObject * obj0 = 0 ;
18567 char *kwnames[] = {
18568 (char *) "self", NULL
18569 };
18570
18571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (double)(arg1)->GetPrinterScaleX();
18577
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = SWIG_FromDouble((double)result);
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj;
18590 wxPrintData *arg1 = (wxPrintData *) 0 ;
18591 double result;
18592 PyObject * obj0 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (double)(arg1)->GetPrinterScaleY();
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = SWIG_FromDouble((double)result);
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxPrintData *arg1 = (wxPrintData *) 0 ;
18617 long result;
18618 PyObject * obj0 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (long)(arg1)->GetPrinterTranslateX();
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = SWIG_FromLong((long)result);
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxPrintData *arg1 = (wxPrintData *) 0 ;
18643 long result;
18644 PyObject * obj0 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (long)(arg1)->GetPrinterTranslateY();
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 resultobj = SWIG_FromLong((long)result);
18660 return resultobj;
18661 fail:
18662 return NULL;
18663 }
18664
18665
18666 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18667 PyObject *resultobj;
18668 wxPrintData *arg1 = (wxPrintData *) 0 ;
18669 int result;
18670 PyObject * obj0 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (int)(arg1)->GetPrintMode();
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = SWIG_FromInt((int)result);
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxPrintData *arg1 = (wxPrintData *) 0 ;
18695 wxString *arg2 = 0 ;
18696 bool temp2 = False ;
18697 PyObject * obj0 = 0 ;
18698 PyObject * obj1 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "command", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18706 {
18707 arg2 = wxString_in_helper(obj1);
18708 if (arg2 == NULL) SWIG_fail;
18709 temp2 = True;
18710 }
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 Py_INCREF(Py_None); resultobj = Py_None;
18719 {
18720 if (temp2)
18721 delete arg2;
18722 }
18723 return resultobj;
18724 fail:
18725 {
18726 if (temp2)
18727 delete arg2;
18728 }
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPrintData *arg1 = (wxPrintData *) 0 ;
18736 wxString *arg2 = 0 ;
18737 bool temp2 = False ;
18738 PyObject * obj0 = 0 ;
18739 PyObject * obj1 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "options", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18747 {
18748 arg2 = wxString_in_helper(obj1);
18749 if (arg2 == NULL) SWIG_fail;
18750 temp2 = True;
18751 }
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 Py_INCREF(Py_None); resultobj = Py_None;
18760 {
18761 if (temp2)
18762 delete arg2;
18763 }
18764 return resultobj;
18765 fail:
18766 {
18767 if (temp2)
18768 delete arg2;
18769 }
18770 return NULL;
18771 }
18772
18773
18774 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxPrintData *arg1 = (wxPrintData *) 0 ;
18777 wxString *arg2 = 0 ;
18778 bool temp2 = False ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self",(char *) "command", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18788 {
18789 arg2 = wxString_in_helper(obj1);
18790 if (arg2 == NULL) SWIG_fail;
18791 temp2 = True;
18792 }
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 Py_INCREF(Py_None); resultobj = Py_None;
18801 {
18802 if (temp2)
18803 delete arg2;
18804 }
18805 return resultobj;
18806 fail:
18807 {
18808 if (temp2)
18809 delete arg2;
18810 }
18811 return NULL;
18812 }
18813
18814
18815 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxPrintData *arg1 = (wxPrintData *) 0 ;
18818 wxString *arg2 = 0 ;
18819 bool temp2 = False ;
18820 PyObject * obj0 = 0 ;
18821 PyObject * obj1 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self",(char *) "filename", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18829 {
18830 arg2 = wxString_in_helper(obj1);
18831 if (arg2 == NULL) SWIG_fail;
18832 temp2 = True;
18833 }
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 (arg1)->SetFilename((wxString const &)*arg2);
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 Py_INCREF(Py_None); resultobj = Py_None;
18842 {
18843 if (temp2)
18844 delete arg2;
18845 }
18846 return resultobj;
18847 fail:
18848 {
18849 if (temp2)
18850 delete arg2;
18851 }
18852 return NULL;
18853 }
18854
18855
18856 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj;
18858 wxPrintData *arg1 = (wxPrintData *) 0 ;
18859 wxString *arg2 = 0 ;
18860 bool temp2 = False ;
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj1 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self",(char *) "path", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18870 {
18871 arg2 = wxString_in_helper(obj1);
18872 if (arg2 == NULL) SWIG_fail;
18873 temp2 = True;
18874 }
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18878
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
18882 Py_INCREF(Py_None); resultobj = Py_None;
18883 {
18884 if (temp2)
18885 delete arg2;
18886 }
18887 return resultobj;
18888 fail:
18889 {
18890 if (temp2)
18891 delete arg2;
18892 }
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPrintData *arg1 = (wxPrintData *) 0 ;
18900 double arg2 ;
18901 PyObject * obj0 = 0 ;
18902 PyObject * obj1 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "x", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18910 arg2 = (double) SWIG_AsDouble(obj1);
18911 if (PyErr_Occurred()) SWIG_fail;
18912 {
18913 PyThreadState* __tstate = wxPyBeginAllowThreads();
18914 (arg1)->SetPrinterScaleX(arg2);
18915
18916 wxPyEndAllowThreads(__tstate);
18917 if (PyErr_Occurred()) SWIG_fail;
18918 }
18919 Py_INCREF(Py_None); resultobj = Py_None;
18920 return resultobj;
18921 fail:
18922 return NULL;
18923 }
18924
18925
18926 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18927 PyObject *resultobj;
18928 wxPrintData *arg1 = (wxPrintData *) 0 ;
18929 double arg2 ;
18930 PyObject * obj0 = 0 ;
18931 PyObject * obj1 = 0 ;
18932 char *kwnames[] = {
18933 (char *) "self",(char *) "y", NULL
18934 };
18935
18936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18939 arg2 = (double) SWIG_AsDouble(obj1);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 (arg1)->SetPrinterScaleY(arg2);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 Py_INCREF(Py_None); resultobj = Py_None;
18949 return resultobj;
18950 fail:
18951 return NULL;
18952 }
18953
18954
18955 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
18956 PyObject *resultobj;
18957 wxPrintData *arg1 = (wxPrintData *) 0 ;
18958 double arg2 ;
18959 double arg3 ;
18960 PyObject * obj0 = 0 ;
18961 PyObject * obj1 = 0 ;
18962 PyObject * obj2 = 0 ;
18963 char *kwnames[] = {
18964 (char *) "self",(char *) "x",(char *) "y", NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
18968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18970 arg2 = (double) SWIG_AsDouble(obj1);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 arg3 = (double) SWIG_AsDouble(obj2);
18973 if (PyErr_Occurred()) SWIG_fail;
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 (arg1)->SetPrinterScaling(arg2,arg3);
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 Py_INCREF(Py_None); resultobj = Py_None;
18982 return resultobj;
18983 fail:
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPrintData *arg1 = (wxPrintData *) 0 ;
18991 long arg2 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "x", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19001 arg2 = (long) SWIG_AsLong(obj1);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 (arg1)->SetPrinterTranslateX(arg2);
19006
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 Py_INCREF(Py_None); resultobj = Py_None;
19011 return resultobj;
19012 fail:
19013 return NULL;
19014 }
19015
19016
19017 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 wxPrintData *arg1 = (wxPrintData *) 0 ;
19020 long arg2 ;
19021 PyObject * obj0 = 0 ;
19022 PyObject * obj1 = 0 ;
19023 char *kwnames[] = {
19024 (char *) "self",(char *) "y", NULL
19025 };
19026
19027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19030 arg2 = (long) SWIG_AsLong(obj1);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->SetPrinterTranslateY(arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 return resultobj;
19041 fail:
19042 return NULL;
19043 }
19044
19045
19046 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPrintData *arg1 = (wxPrintData *) 0 ;
19049 long arg2 ;
19050 long arg3 ;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj1 = 0 ;
19053 PyObject * obj2 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "x",(char *) "y", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19061 arg2 = (long) SWIG_AsLong(obj1);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 arg3 = (long) SWIG_AsLong(obj2);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 (arg1)->SetPrinterTranslation(arg2,arg3);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 Py_INCREF(Py_None); resultobj = Py_None;
19073 return resultobj;
19074 fail:
19075 return NULL;
19076 }
19077
19078
19079 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxPrintData *arg1 = (wxPrintData *) 0 ;
19082 int arg2 ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "printMode", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->SetPrintMode((wxPrintMode )arg2);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxPrintData *arg1 = (wxPrintData *) 0 ;
19111 wxOutputStream *result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 result = (wxOutputStream *)(arg1)->GetOutputStream();
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxPrintData *arg1 = (wxPrintData *) 0 ;
19137 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19138 PyObject * obj0 = 0 ;
19139 PyObject * obj1 = 0 ;
19140 char *kwnames[] = {
19141 (char *) "self",(char *) "outputstream", NULL
19142 };
19143
19144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 (arg1)->SetOutputStream(arg2);
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 Py_INCREF(Py_None); resultobj = Py_None;
19157 return resultobj;
19158 fail:
19159 return NULL;
19160 }
19161
19162
19163 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19164 PyObject *obj;
19165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19166 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19167 Py_INCREF(obj);
19168 return Py_BuildValue((char *)"");
19169 }
19170 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19171 PyObject *resultobj;
19172 wxPageSetupDialogData *result;
19173 char *kwnames[] = {
19174 NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19195 PyObject * obj0 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 delete arg1;
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19220 bool arg2 ;
19221 PyObject * obj0 = 0 ;
19222 PyObject * obj1 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "flag", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19230 arg2 = (bool) SWIG_AsBool(obj1);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 (arg1)->EnableHelp(arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 Py_INCREF(Py_None); resultobj = Py_None;
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19249 bool arg2 ;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "flag", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19259 arg2 = (bool) SWIG_AsBool(obj1);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 (arg1)->EnableMargins(arg2);
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 Py_INCREF(Py_None); resultobj = Py_None;
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19278 bool arg2 ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "flag", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 arg2 = (bool) SWIG_AsBool(obj1);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 (arg1)->EnableOrientation(arg2);
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 Py_INCREF(Py_None); resultobj = Py_None;
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19307 bool arg2 ;
19308 PyObject * obj0 = 0 ;
19309 PyObject * obj1 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self",(char *) "flag", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19317 arg2 = (bool) SWIG_AsBool(obj1);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 (arg1)->EnablePaper(arg2);
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 Py_INCREF(Py_None); resultobj = Py_None;
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19336 bool arg2 ;
19337 PyObject * obj0 = 0 ;
19338 PyObject * obj1 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self",(char *) "flag", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19346 arg2 = (bool) SWIG_AsBool(obj1);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 (arg1)->EnablePrinter(arg2);
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 Py_INCREF(Py_None); resultobj = Py_None;
19356 return resultobj;
19357 fail:
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19365 bool result;
19366 PyObject * obj0 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 result = (bool)(arg1)->GetDefaultMinMargins();
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 {
19382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19383 }
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19393 bool result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19402 {
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = (bool)(arg1)->GetEnableMargins();
19405
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
19409 {
19410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19411 }
19412 return resultobj;
19413 fail:
19414 return NULL;
19415 }
19416
19417
19418 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19421 bool result;
19422 PyObject * obj0 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 result = (bool)(arg1)->GetEnableOrientation();
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 {
19438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19439 }
19440 return resultobj;
19441 fail:
19442 return NULL;
19443 }
19444
19445
19446 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19449 bool result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (bool)(arg1)->GetEnablePaper();
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 {
19466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19467 }
19468 return resultobj;
19469 fail:
19470 return NULL;
19471 }
19472
19473
19474 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19475 PyObject *resultobj;
19476 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19477 bool result;
19478 PyObject * obj0 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 result = (bool)(arg1)->GetEnablePrinter();
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 {
19494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19495 }
19496 return resultobj;
19497 fail:
19498 return NULL;
19499 }
19500
19501
19502 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19505 bool result;
19506 PyObject * obj0 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 result = (bool)(arg1)->GetEnableHelp();
19517
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 {
19522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19523 }
19524 return resultobj;
19525 fail:
19526 return NULL;
19527 }
19528
19529
19530 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19533 bool result;
19534 PyObject * obj0 = 0 ;
19535 char *kwnames[] = {
19536 (char *) "self", NULL
19537 };
19538
19539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",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 = (bool)(arg1)->GetDefaultInfo();
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 {
19550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19551 }
19552 return resultobj;
19553 fail:
19554 return NULL;
19555 }
19556
19557
19558 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19559 PyObject *resultobj;
19560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19561 wxPoint result;
19562 PyObject * obj0 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19570 {
19571 PyThreadState* __tstate = wxPyBeginAllowThreads();
19572 result = (arg1)->GetMarginTopLeft();
19573
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 {
19578 wxPoint * resultptr;
19579 resultptr = new wxPoint((wxPoint &) result);
19580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19581 }
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19591 wxPoint result;
19592 PyObject * obj0 = 0 ;
19593 char *kwnames[] = {
19594 (char *) "self", NULL
19595 };
19596
19597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (arg1)->GetMarginBottomRight();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 {
19608 wxPoint * resultptr;
19609 resultptr = new wxPoint((wxPoint &) result);
19610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19611 }
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19621 wxPoint result;
19622 PyObject * obj0 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 result = (arg1)->GetMinMarginTopLeft();
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 {
19638 wxPoint * resultptr;
19639 resultptr = new wxPoint((wxPoint &) result);
19640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19641 }
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19651 wxPoint result;
19652 PyObject * obj0 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = (arg1)->GetMinMarginBottomRight();
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 {
19668 wxPoint * resultptr;
19669 resultptr = new wxPoint((wxPoint &) result);
19670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19681 int result;
19682 PyObject * obj0 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 result = (int)(arg1)->GetPaperId();
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 resultobj = SWIG_FromInt((int)result);
19698 return resultobj;
19699 fail:
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19707 wxSize result;
19708 PyObject * obj0 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
19718 result = (arg1)->GetPaperSize();
19719
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 {
19724 wxSize * resultptr;
19725 resultptr = new wxSize((wxSize &) result);
19726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19727 }
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19737 wxPrintData *result;
19738 PyObject * obj0 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 {
19749 wxPrintData &_result_ref = (arg1)->GetPrintData();
19750 result = (wxPrintData *) &_result_ref;
19751 }
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19766 bool result;
19767 PyObject * obj0 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19775 {
19776 PyThreadState* __tstate = wxPyBeginAllowThreads();
19777 result = (bool)(arg1)->Ok();
19778
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 {
19783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19784 }
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19794 bool arg2 ;
19795 PyObject * obj0 = 0 ;
19796 PyObject * obj1 = 0 ;
19797 char *kwnames[] = {
19798 (char *) "self",(char *) "flag", NULL
19799 };
19800
19801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19804 arg2 = (bool) SWIG_AsBool(obj1);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 (arg1)->SetDefaultInfo(arg2);
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 Py_INCREF(Py_None); resultobj = Py_None;
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj;
19822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19823 bool arg2 ;
19824 PyObject * obj0 = 0 ;
19825 PyObject * obj1 = 0 ;
19826 char *kwnames[] = {
19827 (char *) "self",(char *) "flag", NULL
19828 };
19829
19830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19833 arg2 = (bool) SWIG_AsBool(obj1);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 (arg1)->SetDefaultMinMargins(arg2);
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 Py_INCREF(Py_None); resultobj = Py_None;
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19852 wxPoint *arg2 = 0 ;
19853 wxPoint temp2 ;
19854 PyObject * obj0 = 0 ;
19855 PyObject * obj1 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self",(char *) "pt", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19863 {
19864 arg2 = &temp2;
19865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19866 }
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 Py_INCREF(Py_None); resultobj = Py_None;
19875 return resultobj;
19876 fail:
19877 return NULL;
19878 }
19879
19880
19881 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19882 PyObject *resultobj;
19883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19884 wxPoint *arg2 = 0 ;
19885 wxPoint temp2 ;
19886 PyObject * obj0 = 0 ;
19887 PyObject * obj1 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self",(char *) "pt", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 {
19896 arg2 = &temp2;
19897 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19898 }
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19902
19903 wxPyEndAllowThreads(__tstate);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 Py_INCREF(Py_None); resultobj = Py_None;
19907 return resultobj;
19908 fail:
19909 return NULL;
19910 }
19911
19912
19913 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19914 PyObject *resultobj;
19915 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19916 wxPoint *arg2 = 0 ;
19917 wxPoint temp2 ;
19918 PyObject * obj0 = 0 ;
19919 PyObject * obj1 = 0 ;
19920 char *kwnames[] = {
19921 (char *) "self",(char *) "pt", NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19927 {
19928 arg2 = &temp2;
19929 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19930 }
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 Py_INCREF(Py_None); resultobj = Py_None;
19939 return resultobj;
19940 fail:
19941 return NULL;
19942 }
19943
19944
19945 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19946 PyObject *resultobj;
19947 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19948 wxPoint *arg2 = 0 ;
19949 wxPoint temp2 ;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self",(char *) "pt", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19959 {
19960 arg2 = &temp2;
19961 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19962 }
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
19966
19967 wxPyEndAllowThreads(__tstate);
19968 if (PyErr_Occurred()) SWIG_fail;
19969 }
19970 Py_INCREF(Py_None); resultobj = Py_None;
19971 return resultobj;
19972 fail:
19973 return NULL;
19974 }
19975
19976
19977 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj;
19979 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19980 int arg2 ;
19981 PyObject * obj0 = 0 ;
19982 PyObject * obj1 = 0 ;
19983 char *kwnames[] = {
19984 (char *) "self",(char *) "id", NULL
19985 };
19986
19987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
19988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19990 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 {
19993 PyThreadState* __tstate = wxPyBeginAllowThreads();
19994 (arg1)->SetPaperId((wxPaperSize )arg2);
19995
19996 wxPyEndAllowThreads(__tstate);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 Py_INCREF(Py_None); resultobj = Py_None;
20000 return resultobj;
20001 fail:
20002 return NULL;
20003 }
20004
20005
20006 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj;
20008 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20009 wxSize *arg2 = 0 ;
20010 wxSize temp2 ;
20011 PyObject * obj0 = 0 ;
20012 PyObject * obj1 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self",(char *) "size", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20020 {
20021 arg2 = &temp2;
20022 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20023 }
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 (arg1)->SetPaperSize((wxSize const &)*arg2);
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 Py_INCREF(Py_None); resultobj = Py_None;
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20041 wxPrintData *arg2 = 0 ;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 char *kwnames[] = {
20045 (char *) "self",(char *) "printData", NULL
20046 };
20047
20048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20051 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1)
20053 SWIG_fail;
20054 if (arg2 == NULL) {
20055 PyErr_SetString(PyExc_TypeError,"null reference");
20056 SWIG_fail;
20057 }
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 Py_INCREF(Py_None); resultobj = Py_None;
20066 return resultobj;
20067 fail:
20068 return NULL;
20069 }
20070
20071
20072 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20073 PyObject *obj;
20074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20075 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20076 Py_INCREF(obj);
20077 return Py_BuildValue((char *)"");
20078 }
20079 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxWindow *arg1 = (wxWindow *) 0 ;
20082 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20083 wxPageSetupDialog *result;
20084 PyObject * obj0 = 0 ;
20085 PyObject * obj1 = 0 ;
20086 char *kwnames[] = {
20087 (char *) "parent",(char *) "data", NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20093 if (obj1) {
20094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20096 }
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20105 return resultobj;
20106 fail:
20107 return NULL;
20108 }
20109
20110
20111 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj;
20113 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20114 wxPageSetupDialogData *result;
20115 PyObject * obj0 = 0 ;
20116 char *kwnames[] = {
20117 (char *) "self", NULL
20118 };
20119
20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 {
20126 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20127 result = (wxPageSetupDialogData *) &_result_ref;
20128 }
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20134 return resultobj;
20135 fail:
20136 return NULL;
20137 }
20138
20139
20140 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20143 int result;
20144 PyObject * obj0 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20152 {
20153 PyThreadState* __tstate = wxPyBeginAllowThreads();
20154 result = (int)(arg1)->ShowModal();
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 resultobj = SWIG_FromInt((int)result);
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20167 PyObject *obj;
20168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20169 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20170 Py_INCREF(obj);
20171 return Py_BuildValue((char *)"");
20172 }
20173 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20174 PyObject *resultobj;
20175 wxPrintDialogData *result;
20176
20177 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = (wxPrintDialogData *)new wxPrintDialogData();
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20193 PyObject *resultobj;
20194 wxPrintData *arg1 = 0 ;
20195 wxPrintDialogData *result;
20196 PyObject * obj0 = 0 ;
20197
20198 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20200 SWIG_POINTER_EXCEPTION | 0)) == -1)
20201 SWIG_fail;
20202 if (arg1 == NULL) {
20203 PyErr_SetString(PyExc_TypeError,"null reference");
20204 SWIG_fail;
20205 }
20206 {
20207 PyThreadState* __tstate = wxPyBeginAllowThreads();
20208 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20209
20210 wxPyEndAllowThreads(__tstate);
20211 if (PyErr_Occurred()) SWIG_fail;
20212 }
20213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20214 return resultobj;
20215 fail:
20216 return NULL;
20217 }
20218
20219
20220 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20221 int argc;
20222 PyObject *argv[2];
20223 int ii;
20224
20225 argc = PyObject_Length(args);
20226 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20227 argv[ii] = PyTuple_GetItem(args,ii);
20228 }
20229 if (argc == 0) {
20230 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20231 }
20232 if (argc == 1) {
20233 int _v;
20234 {
20235 void *ptr;
20236 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20237 _v = 0;
20238 PyErr_Clear();
20239 } else {
20240 _v = 1;
20241 }
20242 }
20243 if (_v) {
20244 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20245 }
20246 }
20247
20248 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20249 return NULL;
20250 }
20251
20252
20253 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20256 PyObject * obj0 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "self", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 delete arg1;
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 return resultobj;
20273 fail:
20274 return NULL;
20275 }
20276
20277
20278 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20281 int result;
20282 PyObject * obj0 = 0 ;
20283 char *kwnames[] = {
20284 (char *) "self", NULL
20285 };
20286
20287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = SWIG_FromInt((int)result);
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20307 int result;
20308 PyObject * obj0 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20319
20320 wxPyEndAllowThreads(__tstate);
20321 if (PyErr_Occurred()) SWIG_fail;
20322 }
20323 resultobj = SWIG_FromInt((int)result);
20324 return resultobj;
20325 fail:
20326 return NULL;
20327 }
20328
20329
20330 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj;
20332 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20333 int result;
20334 PyObject * obj0 = 0 ;
20335 char *kwnames[] = {
20336 (char *) "self", NULL
20337 };
20338
20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 resultobj = SWIG_FromInt((int)result);
20350 return resultobj;
20351 fail:
20352 return NULL;
20353 }
20354
20355
20356 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20359 int result;
20360 PyObject * obj0 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20368 {
20369 PyThreadState* __tstate = wxPyBeginAllowThreads();
20370 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20371
20372 wxPyEndAllowThreads(__tstate);
20373 if (PyErr_Occurred()) SWIG_fail;
20374 }
20375 resultobj = SWIG_FromInt((int)result);
20376 return resultobj;
20377 fail:
20378 return NULL;
20379 }
20380
20381
20382 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj;
20384 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20385 int result;
20386 PyObject * obj0 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 resultobj = SWIG_FromInt((int)result);
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20411 bool result;
20412 PyObject * obj0 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20429 }
20430 return resultobj;
20431 fail:
20432 return NULL;
20433 }
20434
20435
20436 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20437 PyObject *resultobj;
20438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20439 bool result;
20440 PyObject * obj0 = 0 ;
20441 char *kwnames[] = {
20442 (char *) "self", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 {
20456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20457 }
20458 return resultobj;
20459 fail:
20460 return NULL;
20461 }
20462
20463
20464 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20465 PyObject *resultobj;
20466 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20467 bool result;
20468 PyObject * obj0 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "self", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 {
20484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20485 }
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20495 bool result;
20496 PyObject * obj0 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 {
20512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20513 }
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20523 bool result;
20524 PyObject * obj0 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 {
20540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20541 }
20542 return resultobj;
20543 fail:
20544 return NULL;
20545 }
20546
20547
20548 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20551 int arg2 ;
20552 PyObject * obj0 = 0 ;
20553 PyObject * obj1 = 0 ;
20554 char *kwnames[] = {
20555 (char *) "self",(char *) "v", NULL
20556 };
20557
20558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20561 arg2 = (int) SWIG_AsInt(obj1);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 {
20564 PyThreadState* __tstate = wxPyBeginAllowThreads();
20565 (arg1)->SetFromPage(arg2);
20566
20567 wxPyEndAllowThreads(__tstate);
20568 if (PyErr_Occurred()) SWIG_fail;
20569 }
20570 Py_INCREF(Py_None); resultobj = Py_None;
20571 return resultobj;
20572 fail:
20573 return NULL;
20574 }
20575
20576
20577 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20580 int arg2 ;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self",(char *) "v", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20590 arg2 = (int) SWIG_AsInt(obj1);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 (arg1)->SetToPage(arg2);
20595
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 Py_INCREF(Py_None); resultobj = Py_None;
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20609 int arg2 ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self",(char *) "v", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20619 arg2 = (int) SWIG_AsInt(obj1);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->SetMinPage(arg2);
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20638 int arg2 ;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 char *kwnames[] = {
20642 (char *) "self",(char *) "v", NULL
20643 };
20644
20645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20648 arg2 = (int) SWIG_AsInt(obj1);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 (arg1)->SetMaxPage(arg2);
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 Py_INCREF(Py_None); resultobj = Py_None;
20658 return resultobj;
20659 fail:
20660 return NULL;
20661 }
20662
20663
20664 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20667 int arg2 ;
20668 PyObject * obj0 = 0 ;
20669 PyObject * obj1 = 0 ;
20670 char *kwnames[] = {
20671 (char *) "self",(char *) "v", NULL
20672 };
20673
20674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20677 arg2 = (int) SWIG_AsInt(obj1);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 (arg1)->SetNoCopies(arg2);
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20696 bool arg2 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "flag", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20706 arg2 = (bool) SWIG_AsBool(obj1);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->SetAllPages(arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 Py_INCREF(Py_None); resultobj = Py_None;
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20725 bool arg2 ;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 char *kwnames[] = {
20729 (char *) "self",(char *) "flag", NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20735 arg2 = (bool) SWIG_AsBool(obj1);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 (arg1)->SetSelection(arg2);
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 Py_INCREF(Py_None); resultobj = Py_None;
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20754 bool arg2 ;
20755 PyObject * obj0 = 0 ;
20756 PyObject * obj1 = 0 ;
20757 char *kwnames[] = {
20758 (char *) "self",(char *) "flag", NULL
20759 };
20760
20761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20764 arg2 = (bool) SWIG_AsBool(obj1);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 (arg1)->SetCollate(arg2);
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 Py_INCREF(Py_None); resultobj = Py_None;
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20783 bool arg2 ;
20784 PyObject * obj0 = 0 ;
20785 PyObject * obj1 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self",(char *) "flag", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20793 arg2 = (bool) SWIG_AsBool(obj1);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 (arg1)->SetPrintToFile(arg2);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 Py_INCREF(Py_None); resultobj = Py_None;
20803 return resultobj;
20804 fail:
20805 return NULL;
20806 }
20807
20808
20809 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj;
20811 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20812 bool arg2 ;
20813 PyObject * obj0 = 0 ;
20814 PyObject * obj1 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self",(char *) "flag", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20822 arg2 = (bool) SWIG_AsBool(obj1);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 (arg1)->SetSetupDialog(arg2);
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 Py_INCREF(Py_None); resultobj = Py_None;
20832 return resultobj;
20833 fail:
20834 return NULL;
20835 }
20836
20837
20838 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20841 bool arg2 ;
20842 PyObject * obj0 = 0 ;
20843 PyObject * obj1 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self",(char *) "flag", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 arg2 = (bool) SWIG_AsBool(obj1);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 {
20854 PyThreadState* __tstate = wxPyBeginAllowThreads();
20855 (arg1)->EnablePrintToFile(arg2);
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 Py_INCREF(Py_None); resultobj = Py_None;
20861 return resultobj;
20862 fail:
20863 return NULL;
20864 }
20865
20866
20867 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20868 PyObject *resultobj;
20869 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20870 bool arg2 ;
20871 PyObject * obj0 = 0 ;
20872 PyObject * obj1 = 0 ;
20873 char *kwnames[] = {
20874 (char *) "self",(char *) "flag", NULL
20875 };
20876
20877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20880 arg2 = (bool) SWIG_AsBool(obj1);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 (arg1)->EnableSelection(arg2);
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 Py_INCREF(Py_None); resultobj = Py_None;
20890 return resultobj;
20891 fail:
20892 return NULL;
20893 }
20894
20895
20896 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20897 PyObject *resultobj;
20898 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20899 bool arg2 ;
20900 PyObject * obj0 = 0 ;
20901 PyObject * obj1 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self",(char *) "flag", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20909 arg2 = (bool) SWIG_AsBool(obj1);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 (arg1)->EnablePageNumbers(arg2);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20928 bool arg2 ;
20929 PyObject * obj0 = 0 ;
20930 PyObject * obj1 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "flag", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20938 arg2 = (bool) SWIG_AsBool(obj1);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 (arg1)->EnableHelp(arg2);
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 Py_INCREF(Py_None); resultobj = Py_None;
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20957 bool result;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 {
20974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20975 }
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20985 bool result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
20992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 {
21002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21003 }
21004 return resultobj;
21005 fail:
21006 return NULL;
21007 }
21008
21009
21010 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21011 PyObject *resultobj;
21012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21013 bool result;
21014 PyObject * obj0 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "self", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 {
21030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21031 }
21032 return resultobj;
21033 fail:
21034 return NULL;
21035 }
21036
21037
21038 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj;
21040 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21041 bool result;
21042 PyObject * obj0 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 {
21058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21059 }
21060 return resultobj;
21061 fail:
21062 return NULL;
21063 }
21064
21065
21066 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21067 PyObject *resultobj;
21068 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21069 bool result;
21070 PyObject * obj0 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 {
21086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21087 }
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21097 wxPrintData *result;
21098 PyObject * obj0 = 0 ;
21099 char *kwnames[] = {
21100 (char *) "self", NULL
21101 };
21102
21103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 {
21109 wxPrintData &_result_ref = (arg1)->GetPrintData();
21110 result = (wxPrintData *) &_result_ref;
21111 }
21112
21113 wxPyEndAllowThreads(__tstate);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 }
21116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21117 return resultobj;
21118 fail:
21119 return NULL;
21120 }
21121
21122
21123 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21124 PyObject *resultobj;
21125 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21126 wxPrintData *arg2 = 0 ;
21127 PyObject * obj0 = 0 ;
21128 PyObject * obj1 = 0 ;
21129 char *kwnames[] = {
21130 (char *) "self",(char *) "printData", NULL
21131 };
21132
21133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21136 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21137 SWIG_POINTER_EXCEPTION | 0)) == -1)
21138 SWIG_fail;
21139 if (arg2 == NULL) {
21140 PyErr_SetString(PyExc_TypeError,"null reference");
21141 SWIG_fail;
21142 }
21143 {
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21146
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 Py_INCREF(Py_None); resultobj = Py_None;
21151 return resultobj;
21152 fail:
21153 return NULL;
21154 }
21155
21156
21157 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21158 PyObject *obj;
21159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21160 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21161 Py_INCREF(obj);
21162 return Py_BuildValue((char *)"");
21163 }
21164 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxWindow *arg1 = (wxWindow *) 0 ;
21167 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21168 wxPrintDialog *result;
21169 PyObject * obj0 = 0 ;
21170 PyObject * obj1 = 0 ;
21171 char *kwnames[] = {
21172 (char *) "parent",(char *) "data", NULL
21173 };
21174
21175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21178 if (obj1) {
21179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21181 }
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21190 return resultobj;
21191 fail:
21192 return NULL;
21193 }
21194
21195
21196 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21197 PyObject *resultobj;
21198 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21199 wxPrintDialogData *result;
21200 PyObject * obj0 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 {
21211 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21212 result = (wxPrintDialogData *) &_result_ref;
21213 }
21214
21215 wxPyEndAllowThreads(__tstate);
21216 if (PyErr_Occurred()) SWIG_fail;
21217 }
21218 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21219 return resultobj;
21220 fail:
21221 return NULL;
21222 }
21223
21224
21225 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21226 PyObject *resultobj;
21227 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21228 wxDC *result;
21229 PyObject * obj0 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "self", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = (wxDC *)(arg1)->GetPrintDC();
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 {
21245 resultobj = wxPyMake_wxObject(result);
21246 }
21247 return resultobj;
21248 fail:
21249 return NULL;
21250 }
21251
21252
21253 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj;
21255 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21256 int result;
21257 PyObject * obj0 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
21267 result = (int)(arg1)->ShowModal();
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 resultobj = SWIG_FromInt((int)result);
21273 return resultobj;
21274 fail:
21275 return NULL;
21276 }
21277
21278
21279 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21280 PyObject *obj;
21281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21282 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21283 Py_INCREF(obj);
21284 return Py_BuildValue((char *)"");
21285 }
21286 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21289 wxPrinter *result;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "data", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21296 if (obj0) {
21297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = (wxPrinter *)new wxPrinter(arg1);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21308 return resultobj;
21309 fail:
21310 return NULL;
21311 }
21312
21313
21314 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxPrinter *arg1 = (wxPrinter *) 0 ;
21317 PyObject * obj0 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self", NULL
21320 };
21321
21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 delete arg1;
21328
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 Py_INCREF(Py_None); resultobj = Py_None;
21333 return resultobj;
21334 fail:
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxPrinter *arg1 = (wxPrinter *) 0 ;
21342 wxWindow *arg2 = (wxWindow *) 0 ;
21343 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21344 PyObject * obj0 = 0 ;
21345 PyObject * obj1 = 0 ;
21346 PyObject * obj2 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self",(char *) "parent",(char *) "printout", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21354 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21356 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 (arg1)->CreateAbortWindow(arg2,arg3);
21361
21362 wxPyEndAllowThreads(__tstate);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 }
21365 Py_INCREF(Py_None); resultobj = Py_None;
21366 return resultobj;
21367 fail:
21368 return NULL;
21369 }
21370
21371
21372 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxPrinter *arg1 = (wxPrinter *) 0 ;
21375 wxPrintDialogData *result;
21376 PyObject * obj0 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21384 {
21385 PyThreadState* __tstate = wxPyBeginAllowThreads();
21386 {
21387 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21388 result = (wxPrintDialogData *) &_result_ref;
21389 }
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxPrinter *arg1 = (wxPrinter *) 0 ;
21404 wxWindow *arg2 = (wxWindow *) 0 ;
21405 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21406 int arg4 = (int) True ;
21407 bool result;
21408 PyObject * obj0 = 0 ;
21409 PyObject * obj1 = 0 ;
21410 PyObject * obj2 = 0 ;
21411 PyObject * obj3 = 0 ;
21412 char *kwnames[] = {
21413 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21414 };
21415
21416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21421 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21423 if (obj3) {
21424 arg4 = (int) SWIG_AsInt(obj3);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 {
21435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21436 }
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxPrinter *arg1 = (wxPrinter *) 0 ;
21446 wxWindow *arg2 = (wxWindow *) 0 ;
21447 wxDC *result;
21448 PyObject * obj0 = 0 ;
21449 PyObject * obj1 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self",(char *) "parent", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 result = (wxDC *)(arg1)->PrintDialog(arg2);
21462
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
21466 {
21467 resultobj = wxPyMake_wxObject(result);
21468 }
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 wxPrinter *arg1 = (wxPrinter *) 0 ;
21478 wxWindow *arg2 = (wxWindow *) 0 ;
21479 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21480 wxString *arg4 = 0 ;
21481 bool temp4 = False ;
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 PyObject * obj2 = 0 ;
21485 PyObject * obj3 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21495 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21497 {
21498 arg4 = wxString_in_helper(obj3);
21499 if (arg4 == NULL) SWIG_fail;
21500 temp4 = True;
21501 }
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 Py_INCREF(Py_None); resultobj = Py_None;
21510 {
21511 if (temp4)
21512 delete arg4;
21513 }
21514 return resultobj;
21515 fail:
21516 {
21517 if (temp4)
21518 delete arg4;
21519 }
21520 return NULL;
21521 }
21522
21523
21524 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21525 PyObject *resultobj;
21526 wxPrinter *arg1 = (wxPrinter *) 0 ;
21527 wxWindow *arg2 = (wxWindow *) 0 ;
21528 bool result;
21529 PyObject * obj0 = 0 ;
21530 PyObject * obj1 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self",(char *) "parent", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = (bool)(arg1)->Setup(arg2);
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 {
21548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21549 }
21550 return resultobj;
21551 fail:
21552 return NULL;
21553 }
21554
21555
21556 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21557 PyObject *resultobj;
21558 wxPrinter *arg1 = (wxPrinter *) 0 ;
21559 bool result;
21560 PyObject * obj0 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21568 {
21569 PyThreadState* __tstate = wxPyBeginAllowThreads();
21570 result = (bool)(arg1)->GetAbort();
21571
21572 wxPyEndAllowThreads(__tstate);
21573 if (PyErr_Occurred()) SWIG_fail;
21574 }
21575 {
21576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21577 }
21578 return resultobj;
21579 fail:
21580 return NULL;
21581 }
21582
21583
21584 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21585 PyObject *resultobj;
21586 int result;
21587 char *kwnames[] = {
21588 NULL
21589 };
21590
21591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 result = (int)wxPrinter::GetLastError();
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 resultobj = SWIG_FromInt((int)result);
21600 return resultobj;
21601 fail:
21602 return NULL;
21603 }
21604
21605
21606 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21607 PyObject *obj;
21608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21609 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21610 Py_INCREF(obj);
21611 return Py_BuildValue((char *)"");
21612 }
21613 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21616 wxString *arg1 = (wxString *) &arg1_defvalue ;
21617 wxPyPrintout *result;
21618 bool temp1 = False ;
21619 PyObject * obj0 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "title", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21625 if (obj0) {
21626 {
21627 arg1 = wxString_in_helper(obj0);
21628 if (arg1 == NULL) SWIG_fail;
21629 temp1 = True;
21630 }
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 {
21640 resultobj = wxPyMake_wxObject(result);
21641 }
21642 {
21643 if (temp1)
21644 delete arg1;
21645 }
21646 return resultobj;
21647 fail:
21648 {
21649 if (temp1)
21650 delete arg1;
21651 }
21652 return NULL;
21653 }
21654
21655
21656 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21657 PyObject *resultobj;
21658 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21659 PyObject *arg2 = (PyObject *) 0 ;
21660 PyObject *arg3 = (PyObject *) 0 ;
21661 PyObject * obj0 = 0 ;
21662 PyObject * obj1 = 0 ;
21663 PyObject * obj2 = 0 ;
21664 char *kwnames[] = {
21665 (char *) "self",(char *) "self",(char *) "_class", NULL
21666 };
21667
21668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21671 arg2 = obj1;
21672 arg3 = obj2;
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 (arg1)->_setCallbackInfo(arg2,arg3);
21676
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 Py_INCREF(Py_None); resultobj = Py_None;
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj;
21689 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21690 wxString result;
21691 PyObject * obj0 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = ((wxPyPrintout const *)arg1)->GetTitle();
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 {
21707 #if wxUSE_UNICODE
21708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21709 #else
21710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21711 #endif
21712 }
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21722 wxDC *result;
21723 PyObject * obj0 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (wxDC *)(arg1)->GetDC();
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 {
21739 resultobj = wxPyMake_wxObject(result);
21740 }
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21750 wxDC *arg2 = (wxDC *) 0 ;
21751 PyObject * obj0 = 0 ;
21752 PyObject * obj1 = 0 ;
21753 char *kwnames[] = {
21754 (char *) "self",(char *) "dc", NULL
21755 };
21756
21757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21762 {
21763 PyThreadState* __tstate = wxPyBeginAllowThreads();
21764 (arg1)->SetDC(arg2);
21765
21766 wxPyEndAllowThreads(__tstate);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 }
21769 Py_INCREF(Py_None); resultobj = Py_None;
21770 return resultobj;
21771 fail:
21772 return NULL;
21773 }
21774
21775
21776 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj;
21778 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21779 int arg2 ;
21780 int arg3 ;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 PyObject * obj2 = 0 ;
21784 char *kwnames[] = {
21785 (char *) "self",(char *) "w",(char *) "h", NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21791 arg2 = (int) SWIG_AsInt(obj1);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 arg3 = (int) SWIG_AsInt(obj2);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 (arg1)->SetPageSizePixels(arg2,arg3);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 Py_INCREF(Py_None); resultobj = Py_None;
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21812 int *arg2 = (int *) 0 ;
21813 int *arg3 = (int *) 0 ;
21814 int temp2 ;
21815 int temp3 ;
21816 PyObject * obj0 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self", NULL
21819 };
21820
21821 arg2 = &temp2;
21822 arg3 = &temp3;
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21826 {
21827 PyThreadState* __tstate = wxPyBeginAllowThreads();
21828 (arg1)->GetPageSizePixels(arg2,arg3);
21829
21830 wxPyEndAllowThreads(__tstate);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 Py_INCREF(Py_None); resultobj = Py_None;
21834 {
21835 PyObject *o = PyInt_FromLong((long) (*arg2));
21836 resultobj = t_output_helper(resultobj,o);
21837 }
21838 {
21839 PyObject *o = PyInt_FromLong((long) (*arg3));
21840 resultobj = t_output_helper(resultobj,o);
21841 }
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21849 PyObject *resultobj;
21850 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21851 int arg2 ;
21852 int arg3 ;
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 PyObject * obj2 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self",(char *) "w",(char *) "h", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21863 arg2 = (int) SWIG_AsInt(obj1);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 arg3 = (int) SWIG_AsInt(obj2);
21866 if (PyErr_Occurred()) SWIG_fail;
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 (arg1)->SetPageSizeMM(arg2,arg3);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 Py_INCREF(Py_None); resultobj = Py_None;
21875 return resultobj;
21876 fail:
21877 return NULL;
21878 }
21879
21880
21881 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21884 int *arg2 = (int *) 0 ;
21885 int *arg3 = (int *) 0 ;
21886 int temp2 ;
21887 int temp3 ;
21888 PyObject * obj0 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "self", NULL
21891 };
21892
21893 arg2 = &temp2;
21894 arg3 = &temp3;
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 (arg1)->GetPageSizeMM(arg2,arg3);
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 Py_INCREF(Py_None); resultobj = Py_None;
21906 {
21907 PyObject *o = PyInt_FromLong((long) (*arg2));
21908 resultobj = t_output_helper(resultobj,o);
21909 }
21910 {
21911 PyObject *o = PyInt_FromLong((long) (*arg3));
21912 resultobj = t_output_helper(resultobj,o);
21913 }
21914 return resultobj;
21915 fail:
21916 return NULL;
21917 }
21918
21919
21920 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj;
21922 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21923 int arg2 ;
21924 int arg3 ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "x",(char *) "y", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21935 arg2 = (int) SWIG_AsInt(obj1);
21936 if (PyErr_Occurred()) SWIG_fail;
21937 arg3 = (int) SWIG_AsInt(obj2);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 (arg1)->SetPPIScreen(arg2,arg3);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 Py_INCREF(Py_None); resultobj = Py_None;
21947 return resultobj;
21948 fail:
21949 return NULL;
21950 }
21951
21952
21953 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21954 PyObject *resultobj;
21955 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21956 int *arg2 = (int *) 0 ;
21957 int *arg3 = (int *) 0 ;
21958 int temp2 ;
21959 int temp3 ;
21960 PyObject * obj0 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self", NULL
21963 };
21964
21965 arg2 = &temp2;
21966 arg3 = &temp3;
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21970 {
21971 PyThreadState* __tstate = wxPyBeginAllowThreads();
21972 (arg1)->GetPPIScreen(arg2,arg3);
21973
21974 wxPyEndAllowThreads(__tstate);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 Py_INCREF(Py_None); resultobj = Py_None;
21978 {
21979 PyObject *o = PyInt_FromLong((long) (*arg2));
21980 resultobj = t_output_helper(resultobj,o);
21981 }
21982 {
21983 PyObject *o = PyInt_FromLong((long) (*arg3));
21984 resultobj = t_output_helper(resultobj,o);
21985 }
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21995 int arg2 ;
21996 int arg3 ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 PyObject * obj2 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "x",(char *) "y", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 arg2 = (int) SWIG_AsInt(obj1);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 arg3 = (int) SWIG_AsInt(obj2);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 (arg1)->SetPPIPrinter(arg2,arg3);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 Py_INCREF(Py_None); resultobj = Py_None;
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22028 int *arg2 = (int *) 0 ;
22029 int *arg3 = (int *) 0 ;
22030 int temp2 ;
22031 int temp3 ;
22032 PyObject * obj0 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self", NULL
22035 };
22036
22037 arg2 = &temp2;
22038 arg3 = &temp3;
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 (arg1)->GetPPIPrinter(arg2,arg3);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 Py_INCREF(Py_None); resultobj = Py_None;
22050 {
22051 PyObject *o = PyInt_FromLong((long) (*arg2));
22052 resultobj = t_output_helper(resultobj,o);
22053 }
22054 {
22055 PyObject *o = PyInt_FromLong((long) (*arg3));
22056 resultobj = t_output_helper(resultobj,o);
22057 }
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22067 bool result;
22068 PyObject * obj0 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "self", NULL
22071 };
22072
22073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = (bool)(arg1)->IsPreview();
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22085 }
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj;
22094 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22095 bool arg2 ;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self",(char *) "p", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22105 arg2 = (bool) SWIG_AsBool(obj1);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 (arg1)->SetIsPreview(arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 Py_INCREF(Py_None); resultobj = Py_None;
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22124 int arg2 ;
22125 int arg3 ;
22126 bool result;
22127 PyObject * obj0 = 0 ;
22128 PyObject * obj1 = 0 ;
22129 PyObject * obj2 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22137 arg2 = (int) SWIG_AsInt(obj1);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 arg3 = (int) SWIG_AsInt(obj2);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 {
22142 PyThreadState* __tstate = wxPyBeginAllowThreads();
22143 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22144
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
22148 {
22149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22150 }
22151 return resultobj;
22152 fail:
22153 return NULL;
22154 }
22155
22156
22157 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22158 PyObject *resultobj;
22159 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22160 PyObject * obj0 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self", NULL
22163 };
22164
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 (arg1)->base_OnEndDocument();
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 Py_INCREF(Py_None); resultobj = Py_None;
22176 return resultobj;
22177 fail:
22178 return NULL;
22179 }
22180
22181
22182 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22183 PyObject *resultobj;
22184 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22185 PyObject * obj0 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22193 {
22194 PyThreadState* __tstate = wxPyBeginAllowThreads();
22195 (arg1)->base_OnBeginPrinting();
22196
22197 wxPyEndAllowThreads(__tstate);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 Py_INCREF(Py_None); resultobj = Py_None;
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 (arg1)->base_OnEndPrinting();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 Py_INCREF(Py_None); resultobj = Py_None;
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22235 PyObject * obj0 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 (arg1)->base_OnPreparePrinting();
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 Py_INCREF(Py_None); resultobj = Py_None;
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22260 int arg2 ;
22261 bool result;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 char *kwnames[] = {
22265 (char *) "self",(char *) "page", NULL
22266 };
22267
22268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22271 arg2 = (int) SWIG_AsInt(obj1);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 result = (bool)(arg1)->base_HasPage(arg2);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 {
22281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22282 }
22283 return resultobj;
22284 fail:
22285 return NULL;
22286 }
22287
22288
22289 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22292 int *arg2 = (int *) 0 ;
22293 int *arg3 = (int *) 0 ;
22294 int *arg4 = (int *) 0 ;
22295 int *arg5 = (int *) 0 ;
22296 int temp2 ;
22297 int temp3 ;
22298 int temp4 ;
22299 int temp5 ;
22300 PyObject * obj0 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self", NULL
22303 };
22304
22305 arg2 = &temp2;
22306 arg3 = &temp3;
22307 arg4 = &temp4;
22308 arg5 = &temp5;
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 Py_INCREF(Py_None); resultobj = Py_None;
22320 {
22321 PyObject *o = PyInt_FromLong((long) (*arg2));
22322 resultobj = t_output_helper(resultobj,o);
22323 }
22324 {
22325 PyObject *o = PyInt_FromLong((long) (*arg3));
22326 resultobj = t_output_helper(resultobj,o);
22327 }
22328 {
22329 PyObject *o = PyInt_FromLong((long) (*arg4));
22330 resultobj = t_output_helper(resultobj,o);
22331 }
22332 {
22333 PyObject *o = PyInt_FromLong((long) (*arg5));
22334 resultobj = t_output_helper(resultobj,o);
22335 }
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22343 PyObject *obj;
22344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22345 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22346 Py_INCREF(obj);
22347 return Py_BuildValue((char *)"");
22348 }
22349 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22352 wxWindow *arg2 = (wxWindow *) 0 ;
22353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22355 wxSize const &arg4_defvalue = wxDefaultSize ;
22356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22357 long arg5 = (long) 0 ;
22358 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22359 wxString *arg6 = (wxString *) &arg6_defvalue ;
22360 wxPreviewCanvas *result;
22361 wxPoint temp3 ;
22362 wxSize temp4 ;
22363 bool temp6 = False ;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 PyObject * obj2 = 0 ;
22367 PyObject * obj3 = 0 ;
22368 PyObject * obj4 = 0 ;
22369 PyObject * obj5 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22379 if (obj2) {
22380 {
22381 arg3 = &temp3;
22382 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22383 }
22384 }
22385 if (obj3) {
22386 {
22387 arg4 = &temp4;
22388 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22389 }
22390 }
22391 if (obj4) {
22392 arg5 = (long) SWIG_AsLong(obj4);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 if (obj5) {
22396 {
22397 arg6 = wxString_in_helper(obj5);
22398 if (arg6 == NULL) SWIG_fail;
22399 temp6 = True;
22400 }
22401 }
22402 {
22403 PyThreadState* __tstate = wxPyBeginAllowThreads();
22404 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22405
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22410 {
22411 if (temp6)
22412 delete arg6;
22413 }
22414 return resultobj;
22415 fail:
22416 {
22417 if (temp6)
22418 delete arg6;
22419 }
22420 return NULL;
22421 }
22422
22423
22424 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22425 PyObject *obj;
22426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22427 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22428 Py_INCREF(obj);
22429 return Py_BuildValue((char *)"");
22430 }
22431 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22434 wxFrame *arg2 = (wxFrame *) 0 ;
22435 wxString *arg3 = 0 ;
22436 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22437 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22438 wxSize const &arg5_defvalue = wxDefaultSize ;
22439 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22440 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22441 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22442 wxString *arg7 = (wxString *) &arg7_defvalue ;
22443 wxPreviewFrame *result;
22444 bool temp3 = False ;
22445 wxPoint temp4 ;
22446 wxSize temp5 ;
22447 bool temp7 = False ;
22448 PyObject * obj0 = 0 ;
22449 PyObject * obj1 = 0 ;
22450 PyObject * obj2 = 0 ;
22451 PyObject * obj3 = 0 ;
22452 PyObject * obj4 = 0 ;
22453 PyObject * obj5 = 0 ;
22454 PyObject * obj6 = 0 ;
22455 char *kwnames[] = {
22456 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22457 };
22458
22459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22464 {
22465 arg3 = wxString_in_helper(obj2);
22466 if (arg3 == NULL) SWIG_fail;
22467 temp3 = True;
22468 }
22469 if (obj3) {
22470 {
22471 arg4 = &temp4;
22472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22473 }
22474 }
22475 if (obj4) {
22476 {
22477 arg5 = &temp5;
22478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22479 }
22480 }
22481 if (obj5) {
22482 arg6 = (long) SWIG_AsLong(obj5);
22483 if (PyErr_Occurred()) SWIG_fail;
22484 }
22485 if (obj6) {
22486 {
22487 arg7 = wxString_in_helper(obj6);
22488 if (arg7 == NULL) SWIG_fail;
22489 temp7 = True;
22490 }
22491 }
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22500 {
22501 if (temp3)
22502 delete arg3;
22503 }
22504 {
22505 if (temp7)
22506 delete arg7;
22507 }
22508 return resultobj;
22509 fail:
22510 {
22511 if (temp3)
22512 delete arg3;
22513 }
22514 {
22515 if (temp7)
22516 delete arg7;
22517 }
22518 return NULL;
22519 }
22520
22521
22522 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22523 PyObject *resultobj;
22524 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22525 PyObject * obj0 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 (arg1)->Initialize();
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 Py_INCREF(Py_None); resultobj = Py_None;
22541 return resultobj;
22542 fail:
22543 return NULL;
22544 }
22545
22546
22547 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22550 PyObject * obj0 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->CreateControlBar();
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 Py_INCREF(Py_None); resultobj = Py_None;
22566 return resultobj;
22567 fail:
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22575 PyObject * obj0 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->CreateCanvas();
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22600 wxPreviewControlBar *result;
22601 PyObject * obj0 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22609 {
22610 PyThreadState* __tstate = wxPyBeginAllowThreads();
22611 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
22616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22617 return resultobj;
22618 fail:
22619 return NULL;
22620 }
22621
22622
22623 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22624 PyObject *obj;
22625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22626 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22627 Py_INCREF(obj);
22628 return Py_BuildValue((char *)"");
22629 }
22630 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22633 long arg2 ;
22634 wxWindow *arg3 = (wxWindow *) 0 ;
22635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22637 wxSize const &arg5_defvalue = wxDefaultSize ;
22638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22639 long arg6 = (long) wxTAB_TRAVERSAL ;
22640 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22641 wxString *arg7 = (wxString *) &arg7_defvalue ;
22642 wxPreviewControlBar *result;
22643 wxPoint temp4 ;
22644 wxSize temp5 ;
22645 bool temp7 = False ;
22646 PyObject * obj0 = 0 ;
22647 PyObject * obj1 = 0 ;
22648 PyObject * obj2 = 0 ;
22649 PyObject * obj3 = 0 ;
22650 PyObject * obj4 = 0 ;
22651 PyObject * obj5 = 0 ;
22652 PyObject * obj6 = 0 ;
22653 char *kwnames[] = {
22654 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22655 };
22656
22657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22660 arg2 = (long) SWIG_AsLong(obj1);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22664 if (obj3) {
22665 {
22666 arg4 = &temp4;
22667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22668 }
22669 }
22670 if (obj4) {
22671 {
22672 arg5 = &temp5;
22673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22674 }
22675 }
22676 if (obj5) {
22677 arg6 = (long) SWIG_AsLong(obj5);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 if (obj6) {
22681 {
22682 arg7 = wxString_in_helper(obj6);
22683 if (arg7 == NULL) SWIG_fail;
22684 temp7 = True;
22685 }
22686 }
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22695 {
22696 if (temp7)
22697 delete arg7;
22698 }
22699 return resultobj;
22700 fail:
22701 {
22702 if (temp7)
22703 delete arg7;
22704 }
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22712 int result;
22713 PyObject * obj0 = 0 ;
22714 char *kwnames[] = {
22715 (char *) "self", NULL
22716 };
22717
22718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = (int)(arg1)->GetZoomControl();
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 resultobj = SWIG_FromInt((int)result);
22729 return resultobj;
22730 fail:
22731 return NULL;
22732 }
22733
22734
22735 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22736 PyObject *resultobj;
22737 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22738 int arg2 ;
22739 PyObject * obj0 = 0 ;
22740 PyObject * obj1 = 0 ;
22741 char *kwnames[] = {
22742 (char *) "self",(char *) "zoom", NULL
22743 };
22744
22745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22748 arg2 = (int) SWIG_AsInt(obj1);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 (arg1)->SetZoomControl(arg2);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 Py_INCREF(Py_None); resultobj = Py_None;
22758 return resultobj;
22759 fail:
22760 return NULL;
22761 }
22762
22763
22764 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22765 PyObject *resultobj;
22766 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22767 wxPrintPreview *result;
22768 PyObject * obj0 = 0 ;
22769 char *kwnames[] = {
22770 (char *) "self", NULL
22771 };
22772
22773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
22783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22784 return resultobj;
22785 fail:
22786 return NULL;
22787 }
22788
22789
22790 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22791 PyObject *resultobj;
22792 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22793 PyObject * obj0 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 (arg1)->OnNext();
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 Py_INCREF(Py_None); resultobj = Py_None;
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 (arg1)->OnPrevious();
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 Py_INCREF(Py_None); resultobj = Py_None;
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22843 PyObject * obj0 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->OnFirst();
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22868 PyObject * obj0 = 0 ;
22869 char *kwnames[] = {
22870 (char *) "self", NULL
22871 };
22872
22873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 (arg1)->OnLast();
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22893 PyObject * obj0 = 0 ;
22894 char *kwnames[] = {
22895 (char *) "self", NULL
22896 };
22897
22898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 (arg1)->OnGoto();
22904
22905 wxPyEndAllowThreads(__tstate);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 }
22908 Py_INCREF(Py_None); resultobj = Py_None;
22909 return resultobj;
22910 fail:
22911 return NULL;
22912 }
22913
22914
22915 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22916 PyObject *obj;
22917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22918 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22919 Py_INCREF(obj);
22920 return Py_BuildValue((char *)"");
22921 }
22922 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22923 PyObject *resultobj;
22924 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22925 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22926 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22927 wxPrintPreview *result;
22928 PyObject * obj0 = 0 ;
22929 PyObject * obj1 = 0 ;
22930 PyObject * obj2 = 0 ;
22931
22932 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22937 if (obj2) {
22938 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22940 }
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22944
22945 wxPyEndAllowThreads(__tstate);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22949 return resultobj;
22950 fail:
22951 return NULL;
22952 }
22953
22954
22955 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
22956 PyObject *resultobj;
22957 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22958 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22959 wxPrintData *arg3 = (wxPrintData *) 0 ;
22960 wxPrintPreview *result;
22961 PyObject * obj0 = 0 ;
22962 PyObject * obj1 = 0 ;
22963 PyObject * obj2 = 0 ;
22964
22965 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22970 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
22971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22980 return resultobj;
22981 fail:
22982 return NULL;
22983 }
22984
22985
22986 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
22987 int argc;
22988 PyObject *argv[4];
22989 int ii;
22990
22991 argc = PyObject_Length(args);
22992 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
22993 argv[ii] = PyTuple_GetItem(args,ii);
22994 }
22995 if ((argc >= 2) && (argc <= 3)) {
22996 int _v;
22997 {
22998 void *ptr;
22999 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23000 _v = 0;
23001 PyErr_Clear();
23002 } else {
23003 _v = 1;
23004 }
23005 }
23006 if (_v) {
23007 {
23008 void *ptr;
23009 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23010 _v = 0;
23011 PyErr_Clear();
23012 } else {
23013 _v = 1;
23014 }
23015 }
23016 if (_v) {
23017 if (argc <= 2) {
23018 return _wrap_new_PrintPreview__SWIG_0(self,args);
23019 }
23020 {
23021 void *ptr;
23022 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23023 _v = 0;
23024 PyErr_Clear();
23025 } else {
23026 _v = 1;
23027 }
23028 }
23029 if (_v) {
23030 return _wrap_new_PrintPreview__SWIG_0(self,args);
23031 }
23032 }
23033 }
23034 }
23035 if (argc == 3) {
23036 int _v;
23037 {
23038 void *ptr;
23039 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23040 _v = 0;
23041 PyErr_Clear();
23042 } else {
23043 _v = 1;
23044 }
23045 }
23046 if (_v) {
23047 {
23048 void *ptr;
23049 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23050 _v = 0;
23051 PyErr_Clear();
23052 } else {
23053 _v = 1;
23054 }
23055 }
23056 if (_v) {
23057 {
23058 void *ptr;
23059 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23060 _v = 0;
23061 PyErr_Clear();
23062 } else {
23063 _v = 1;
23064 }
23065 }
23066 if (_v) {
23067 return _wrap_new_PrintPreview__SWIG_1(self,args);
23068 }
23069 }
23070 }
23071 }
23072
23073 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23081 int arg2 ;
23082 bool result;
23083 PyObject * obj0 = 0 ;
23084 PyObject * obj1 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self",(char *) "pageNum", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23092 arg2 = (int) SWIG_AsInt(obj1);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (bool)(arg1)->SetCurrentPage(arg2);
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 {
23102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23103 }
23104 return resultobj;
23105 fail:
23106 return NULL;
23107 }
23108
23109
23110 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23113 int result;
23114 PyObject * obj0 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (int)(arg1)->GetCurrentPage();
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 resultobj = SWIG_FromInt((int)result);
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23139 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23140 PyObject * obj0 = 0 ;
23141 PyObject * obj1 = 0 ;
23142 char *kwnames[] = {
23143 (char *) "self",(char *) "printout", NULL
23144 };
23145
23146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23151 {
23152 PyThreadState* __tstate = wxPyBeginAllowThreads();
23153 (arg1)->SetPrintout(arg2);
23154
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 Py_INCREF(Py_None); resultobj = Py_None;
23159 return resultobj;
23160 fail:
23161 return NULL;
23162 }
23163
23164
23165 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23166 PyObject *resultobj;
23167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23168 wxPyPrintout *result;
23169 PyObject * obj0 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (wxPyPrintout *)(arg1)->GetPrintout();
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = wxPyMake_wxObject(result);
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23194 PyObject *resultobj;
23195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23196 wxPyPrintout *result;
23197 PyObject * obj0 = 0 ;
23198 char *kwnames[] = {
23199 (char *) "self", NULL
23200 };
23201
23202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23205 {
23206 PyThreadState* __tstate = wxPyBeginAllowThreads();
23207 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23208
23209 wxPyEndAllowThreads(__tstate);
23210 if (PyErr_Occurred()) SWIG_fail;
23211 }
23212 {
23213 resultobj = wxPyMake_wxObject(result);
23214 }
23215 return resultobj;
23216 fail:
23217 return NULL;
23218 }
23219
23220
23221 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23222 PyObject *resultobj;
23223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23224 wxFrame *arg2 = (wxFrame *) 0 ;
23225 PyObject * obj0 = 0 ;
23226 PyObject * obj1 = 0 ;
23227 char *kwnames[] = {
23228 (char *) "self",(char *) "frame", NULL
23229 };
23230
23231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 (arg1)->SetFrame(arg2);
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 Py_INCREF(Py_None); resultobj = Py_None;
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23253 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23254 PyObject * obj0 = 0 ;
23255 PyObject * obj1 = 0 ;
23256 char *kwnames[] = {
23257 (char *) "self",(char *) "canvas", NULL
23258 };
23259
23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 (arg1)->SetCanvas(arg2);
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 Py_INCREF(Py_None); resultobj = Py_None;
23273 return resultobj;
23274 fail:
23275 return NULL;
23276 }
23277
23278
23279 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23280 PyObject *resultobj;
23281 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23282 wxFrame *result;
23283 PyObject * obj0 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 result = (wxFrame *)(arg1)->GetFrame();
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 {
23299 resultobj = wxPyMake_wxObject(result);
23300 }
23301 return resultobj;
23302 fail:
23303 return NULL;
23304 }
23305
23306
23307 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23308 PyObject *resultobj;
23309 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23310 wxPreviewCanvas *result;
23311 PyObject * obj0 = 0 ;
23312 char *kwnames[] = {
23313 (char *) "self", NULL
23314 };
23315
23316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23322
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj;
23335 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23336 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23337 wxDC *arg3 = 0 ;
23338 bool result;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 PyObject * obj2 = 0 ;
23342 char *kwnames[] = {
23343 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23344 };
23345
23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23351 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23352 SWIG_POINTER_EXCEPTION | 0)) == -1)
23353 SWIG_fail;
23354 if (arg3 == NULL) {
23355 PyErr_SetString(PyExc_TypeError,"null reference");
23356 SWIG_fail;
23357 }
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 {
23366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23367 }
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23377 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23378 wxDC *arg3 = 0 ;
23379 bool result;
23380 PyObject * obj0 = 0 ;
23381 PyObject * obj1 = 0 ;
23382 PyObject * obj2 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23392 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23393 SWIG_POINTER_EXCEPTION | 0)) == -1)
23394 SWIG_fail;
23395 if (arg3 == NULL) {
23396 PyErr_SetString(PyExc_TypeError,"null reference");
23397 SWIG_fail;
23398 }
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 {
23407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23408 }
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj;
23417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23418 int arg2 ;
23419 bool result;
23420 PyObject * obj0 = 0 ;
23421 PyObject * obj1 = 0 ;
23422 char *kwnames[] = {
23423 (char *) "self",(char *) "pageNum", NULL
23424 };
23425
23426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23429 arg2 = (int) SWIG_AsInt(obj1);
23430 if (PyErr_Occurred()) SWIG_fail;
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 result = (bool)(arg1)->RenderPage(arg2);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 {
23439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23440 }
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23448 PyObject *resultobj;
23449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23450 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23451 PyObject * obj0 = 0 ;
23452 PyObject * obj1 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self",(char *) "canvas", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 (arg1)->AdjustScrollbars(arg2);
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 Py_INCREF(Py_None); resultobj = Py_None;
23470 return resultobj;
23471 fail:
23472 return NULL;
23473 }
23474
23475
23476 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj;
23478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23479 wxPrintDialogData *result;
23480 PyObject * obj0 = 0 ;
23481 char *kwnames[] = {
23482 (char *) "self", NULL
23483 };
23484
23485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 {
23491 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23492 result = (wxPrintDialogData *) &_result_ref;
23493 }
23494
23495 wxPyEndAllowThreads(__tstate);
23496 if (PyErr_Occurred()) SWIG_fail;
23497 }
23498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23508 int arg2 ;
23509 PyObject * obj0 = 0 ;
23510 PyObject * obj1 = 0 ;
23511 char *kwnames[] = {
23512 (char *) "self",(char *) "percent", NULL
23513 };
23514
23515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23518 arg2 = (int) SWIG_AsInt(obj1);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 {
23521 PyThreadState* __tstate = wxPyBeginAllowThreads();
23522 (arg1)->SetZoom(arg2);
23523
23524 wxPyEndAllowThreads(__tstate);
23525 if (PyErr_Occurred()) SWIG_fail;
23526 }
23527 Py_INCREF(Py_None); resultobj = Py_None;
23528 return resultobj;
23529 fail:
23530 return NULL;
23531 }
23532
23533
23534 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23537 int result;
23538 PyObject * obj0 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23546 {
23547 PyThreadState* __tstate = wxPyBeginAllowThreads();
23548 result = (int)(arg1)->GetZoom();
23549
23550 wxPyEndAllowThreads(__tstate);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 resultobj = SWIG_FromInt((int)result);
23554 return resultobj;
23555 fail:
23556 return NULL;
23557 }
23558
23559
23560 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23561 PyObject *resultobj;
23562 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23563 int result;
23564 PyObject * obj0 = 0 ;
23565 char *kwnames[] = {
23566 (char *) "self", NULL
23567 };
23568
23569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 result = (int)(arg1)->GetMaxPage();
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
23579 resultobj = SWIG_FromInt((int)result);
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23589 int result;
23590 PyObject * obj0 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (int)(arg1)->GetMinPage();
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 resultobj = SWIG_FromInt((int)result);
23606 return resultobj;
23607 fail:
23608 return NULL;
23609 }
23610
23611
23612 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23613 PyObject *resultobj;
23614 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23615 bool result;
23616 PyObject * obj0 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23624 {
23625 PyThreadState* __tstate = wxPyBeginAllowThreads();
23626 result = (bool)(arg1)->Ok();
23627
23628 wxPyEndAllowThreads(__tstate);
23629 if (PyErr_Occurred()) SWIG_fail;
23630 }
23631 {
23632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23633 }
23634 return resultobj;
23635 fail:
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23643 bool arg2 ;
23644 PyObject * obj0 = 0 ;
23645 PyObject * obj1 = 0 ;
23646 char *kwnames[] = {
23647 (char *) "self",(char *) "ok", NULL
23648 };
23649
23650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23653 arg2 = (bool) SWIG_AsBool(obj1);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 (arg1)->SetOk(arg2);
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 Py_INCREF(Py_None); resultobj = Py_None;
23663 return resultobj;
23664 fail:
23665 return NULL;
23666 }
23667
23668
23669 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23670 PyObject *resultobj;
23671 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23672 bool arg2 ;
23673 bool result;
23674 PyObject * obj0 = 0 ;
23675 PyObject * obj1 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self",(char *) "interactive", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23683 arg2 = (bool) SWIG_AsBool(obj1);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 result = (bool)(arg1)->Print(arg2);
23688
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 {
23693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23694 }
23695 return resultobj;
23696 fail:
23697 return NULL;
23698 }
23699
23700
23701 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23702 PyObject *resultobj;
23703 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23704 PyObject * obj0 = 0 ;
23705 char *kwnames[] = {
23706 (char *) "self", NULL
23707 };
23708
23709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 (arg1)->DetermineScaling();
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 Py_INCREF(Py_None); resultobj = Py_None;
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23727 PyObject *obj;
23728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23729 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23730 Py_INCREF(obj);
23731 return Py_BuildValue((char *)"");
23732 }
23733 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23734 PyObject *resultobj;
23735 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23736 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23737 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23738 wxPyPrintPreview *result;
23739 PyObject * obj0 = 0 ;
23740 PyObject * obj1 = 0 ;
23741 PyObject * obj2 = 0 ;
23742
23743 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23748 if (obj2) {
23749 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23751 }
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23760 return resultobj;
23761 fail:
23762 return NULL;
23763 }
23764
23765
23766 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23767 PyObject *resultobj;
23768 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23769 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23770 wxPrintData *arg3 = (wxPrintData *) 0 ;
23771 wxPyPrintPreview *result;
23772 PyObject * obj0 = 0 ;
23773 PyObject * obj1 = 0 ;
23774 PyObject * obj2 = 0 ;
23775
23776 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23781 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23791 return resultobj;
23792 fail:
23793 return NULL;
23794 }
23795
23796
23797 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23798 int argc;
23799 PyObject *argv[4];
23800 int ii;
23801
23802 argc = PyObject_Length(args);
23803 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23804 argv[ii] = PyTuple_GetItem(args,ii);
23805 }
23806 if ((argc >= 2) && (argc <= 3)) {
23807 int _v;
23808 {
23809 void *ptr;
23810 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23811 _v = 0;
23812 PyErr_Clear();
23813 } else {
23814 _v = 1;
23815 }
23816 }
23817 if (_v) {
23818 {
23819 void *ptr;
23820 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23821 _v = 0;
23822 PyErr_Clear();
23823 } else {
23824 _v = 1;
23825 }
23826 }
23827 if (_v) {
23828 if (argc <= 2) {
23829 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23830 }
23831 {
23832 void *ptr;
23833 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23834 _v = 0;
23835 PyErr_Clear();
23836 } else {
23837 _v = 1;
23838 }
23839 }
23840 if (_v) {
23841 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23842 }
23843 }
23844 }
23845 }
23846 if (argc == 3) {
23847 int _v;
23848 {
23849 void *ptr;
23850 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23851 _v = 0;
23852 PyErr_Clear();
23853 } else {
23854 _v = 1;
23855 }
23856 }
23857 if (_v) {
23858 {
23859 void *ptr;
23860 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23861 _v = 0;
23862 PyErr_Clear();
23863 } else {
23864 _v = 1;
23865 }
23866 }
23867 if (_v) {
23868 {
23869 void *ptr;
23870 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23871 _v = 0;
23872 PyErr_Clear();
23873 } else {
23874 _v = 1;
23875 }
23876 }
23877 if (_v) {
23878 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23879 }
23880 }
23881 }
23882 }
23883
23884 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23885 return NULL;
23886 }
23887
23888
23889 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23892 PyObject *arg2 = (PyObject *) 0 ;
23893 PyObject *arg3 = (PyObject *) 0 ;
23894 PyObject * obj0 = 0 ;
23895 PyObject * obj1 = 0 ;
23896 PyObject * obj2 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self",(char *) "self",(char *) "_class", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23904 arg2 = obj1;
23905 arg3 = obj2;
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 (arg1)->_setCallbackInfo(arg2,arg3);
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 Py_INCREF(Py_None); resultobj = Py_None;
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23923 int arg2 ;
23924 bool result;
23925 PyObject * obj0 = 0 ;
23926 PyObject * obj1 = 0 ;
23927 char *kwnames[] = {
23928 (char *) "self",(char *) "pageNum", NULL
23929 };
23930
23931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23934 arg2 = (int) SWIG_AsInt(obj1);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 {
23944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23945 }
23946 return resultobj;
23947 fail:
23948 return NULL;
23949 }
23950
23951
23952 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23953 PyObject *resultobj;
23954 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23955 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23956 wxDC *arg3 = 0 ;
23957 bool result;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj1 = 0 ;
23960 PyObject * obj2 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23968 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23970 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23971 SWIG_POINTER_EXCEPTION | 0)) == -1)
23972 SWIG_fail;
23973 if (arg3 == NULL) {
23974 PyErr_SetString(PyExc_TypeError,"null reference");
23975 SWIG_fail;
23976 }
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
23984 {
23985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23986 }
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23996 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23997 wxDC *arg3 = 0 ;
23998 bool result;
23999 PyObject * obj0 = 0 ;
24000 PyObject * obj1 = 0 ;
24001 PyObject * obj2 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24011 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24012 SWIG_POINTER_EXCEPTION | 0)) == -1)
24013 SWIG_fail;
24014 if (arg3 == NULL) {
24015 PyErr_SetString(PyExc_TypeError,"null reference");
24016 SWIG_fail;
24017 }
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 {
24026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24027 }
24028 return resultobj;
24029 fail:
24030 return NULL;
24031 }
24032
24033
24034 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24037 int arg2 ;
24038 bool result;
24039 PyObject * obj0 = 0 ;
24040 PyObject * obj1 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self",(char *) "pageNum", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 arg2 = (int) SWIG_AsInt(obj1);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 result = (bool)(arg1)->base_RenderPage(arg2);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 {
24058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24059 }
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj;
24068 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24069 int arg2 ;
24070 PyObject * obj0 = 0 ;
24071 PyObject * obj1 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self",(char *) "percent", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24079 arg2 = (int) SWIG_AsInt(obj1);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->base_SetZoom(arg2);
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 Py_INCREF(Py_None); resultobj = Py_None;
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24098 bool arg2 ;
24099 bool result;
24100 PyObject * obj0 = 0 ;
24101 PyObject * obj1 = 0 ;
24102 char *kwnames[] = {
24103 (char *) "self",(char *) "interactive", NULL
24104 };
24105
24106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24109 arg2 = (bool) SWIG_AsBool(obj1);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = (bool)(arg1)->base_Print(arg2);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 {
24119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24120 }
24121 return resultobj;
24122 fail:
24123 return NULL;
24124 }
24125
24126
24127 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24128 PyObject *resultobj;
24129 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24130 PyObject * obj0 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24138 {
24139 PyThreadState* __tstate = wxPyBeginAllowThreads();
24140 (arg1)->base_DetermineScaling();
24141
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 Py_INCREF(Py_None); resultobj = Py_None;
24146 return resultobj;
24147 fail:
24148 return NULL;
24149 }
24150
24151
24152 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24153 PyObject *obj;
24154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24155 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24156 Py_INCREF(obj);
24157 return Py_BuildValue((char *)"");
24158 }
24159 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24162 wxFrame *arg2 = (wxFrame *) 0 ;
24163 wxString *arg3 = 0 ;
24164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24166 wxSize const &arg5_defvalue = wxDefaultSize ;
24167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24168 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24169 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24170 wxString *arg7 = (wxString *) &arg7_defvalue ;
24171 wxPyPreviewFrame *result;
24172 bool temp3 = False ;
24173 wxPoint temp4 ;
24174 wxSize temp5 ;
24175 bool temp7 = False ;
24176 PyObject * obj0 = 0 ;
24177 PyObject * obj1 = 0 ;
24178 PyObject * obj2 = 0 ;
24179 PyObject * obj3 = 0 ;
24180 PyObject * obj4 = 0 ;
24181 PyObject * obj5 = 0 ;
24182 PyObject * obj6 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24192 {
24193 arg3 = wxString_in_helper(obj2);
24194 if (arg3 == NULL) SWIG_fail;
24195 temp3 = True;
24196 }
24197 if (obj3) {
24198 {
24199 arg4 = &temp4;
24200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24201 }
24202 }
24203 if (obj4) {
24204 {
24205 arg5 = &temp5;
24206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24207 }
24208 }
24209 if (obj5) {
24210 arg6 = (long) SWIG_AsLong(obj5);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 if (obj6) {
24214 {
24215 arg7 = wxString_in_helper(obj6);
24216 if (arg7 == NULL) SWIG_fail;
24217 temp7 = True;
24218 }
24219 }
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24223
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24228 {
24229 if (temp3)
24230 delete arg3;
24231 }
24232 {
24233 if (temp7)
24234 delete arg7;
24235 }
24236 return resultobj;
24237 fail:
24238 {
24239 if (temp3)
24240 delete arg3;
24241 }
24242 {
24243 if (temp7)
24244 delete arg7;
24245 }
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24253 PyObject *arg2 = (PyObject *) 0 ;
24254 PyObject *arg3 = (PyObject *) 0 ;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 PyObject * obj2 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self",(char *) "self",(char *) "_class", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24265 arg2 = obj1;
24266 arg3 = obj2;
24267 {
24268 PyThreadState* __tstate = wxPyBeginAllowThreads();
24269 (arg1)->_setCallbackInfo(arg2,arg3);
24270
24271 wxPyEndAllowThreads(__tstate);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 Py_INCREF(Py_None); resultobj = Py_None;
24275 return resultobj;
24276 fail:
24277 return NULL;
24278 }
24279
24280
24281 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24284 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24285 PyObject * obj0 = 0 ;
24286 PyObject * obj1 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self",(char *) "canvas", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24294 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 (arg1)->SetPreviewCanvas(arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 Py_INCREF(Py_None); resultobj = Py_None;
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24313 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24314 PyObject * obj0 = 0 ;
24315 PyObject * obj1 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self",(char *) "bar", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 (arg1)->SetControlBar(arg2);
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 Py_INCREF(Py_None); resultobj = Py_None;
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24342 PyObject * obj0 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 (arg1)->base_Initialize();
24353
24354 wxPyEndAllowThreads(__tstate);
24355 if (PyErr_Occurred()) SWIG_fail;
24356 }
24357 Py_INCREF(Py_None); resultobj = Py_None;
24358 return resultobj;
24359 fail:
24360 return NULL;
24361 }
24362
24363
24364 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj;
24366 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24367 PyObject * obj0 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->base_CreateCanvas();
24378
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 Py_INCREF(Py_None); resultobj = Py_None;
24383 return resultobj;
24384 fail:
24385 return NULL;
24386 }
24387
24388
24389 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24390 PyObject *resultobj;
24391 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 (arg1)->base_CreateControlBar();
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 Py_INCREF(Py_None); resultobj = Py_None;
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24415 PyObject *obj;
24416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24417 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24418 Py_INCREF(obj);
24419 return Py_BuildValue((char *)"");
24420 }
24421 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24422 PyObject *resultobj;
24423 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24424 long arg2 ;
24425 wxWindow *arg3 = (wxWindow *) 0 ;
24426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24428 wxSize const &arg5_defvalue = wxDefaultSize ;
24429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24430 long arg6 = (long) 0 ;
24431 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24432 wxString *arg7 = (wxString *) &arg7_defvalue ;
24433 wxPyPreviewControlBar *result;
24434 wxPoint temp4 ;
24435 wxSize temp5 ;
24436 bool temp7 = False ;
24437 PyObject * obj0 = 0 ;
24438 PyObject * obj1 = 0 ;
24439 PyObject * obj2 = 0 ;
24440 PyObject * obj3 = 0 ;
24441 PyObject * obj4 = 0 ;
24442 PyObject * obj5 = 0 ;
24443 PyObject * obj6 = 0 ;
24444 char *kwnames[] = {
24445 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24446 };
24447
24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24451 arg2 = (long) SWIG_AsLong(obj1);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24455 if (obj3) {
24456 {
24457 arg4 = &temp4;
24458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24459 }
24460 }
24461 if (obj4) {
24462 {
24463 arg5 = &temp5;
24464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24465 }
24466 }
24467 if (obj5) {
24468 arg6 = (long) SWIG_AsLong(obj5);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 if (obj6) {
24472 {
24473 arg7 = wxString_in_helper(obj6);
24474 if (arg7 == NULL) SWIG_fail;
24475 temp7 = True;
24476 }
24477 }
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24486 {
24487 if (temp7)
24488 delete arg7;
24489 }
24490 return resultobj;
24491 fail:
24492 {
24493 if (temp7)
24494 delete arg7;
24495 }
24496 return NULL;
24497 }
24498
24499
24500 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24501 PyObject *resultobj;
24502 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24503 PyObject *arg2 = (PyObject *) 0 ;
24504 PyObject *arg3 = (PyObject *) 0 ;
24505 PyObject * obj0 = 0 ;
24506 PyObject * obj1 = 0 ;
24507 PyObject * obj2 = 0 ;
24508 char *kwnames[] = {
24509 (char *) "self",(char *) "self",(char *) "_class", NULL
24510 };
24511
24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24515 arg2 = obj1;
24516 arg3 = obj2;
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 (arg1)->_setCallbackInfo(arg2,arg3);
24520
24521 wxPyEndAllowThreads(__tstate);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 }
24524 Py_INCREF(Py_None); resultobj = Py_None;
24525 return resultobj;
24526 fail:
24527 return NULL;
24528 }
24529
24530
24531 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24532 PyObject *resultobj;
24533 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24534 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 char *kwnames[] = {
24538 (char *) "self",(char *) "preview", NULL
24539 };
24540
24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
24548 (arg1)->SetPrintPreview(arg2);
24549
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 Py_INCREF(Py_None); resultobj = Py_None;
24554 return resultobj;
24555 fail:
24556 return NULL;
24557 }
24558
24559
24560 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24561 PyObject *resultobj;
24562 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24563 PyObject * obj0 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "self", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24571 {
24572 PyThreadState* __tstate = wxPyBeginAllowThreads();
24573 (arg1)->base_CreateButtons();
24574
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 Py_INCREF(Py_None); resultobj = Py_None;
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj;
24587 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24588 int arg2 ;
24589 PyObject * obj0 = 0 ;
24590 PyObject * obj1 = 0 ;
24591 char *kwnames[] = {
24592 (char *) "self",(char *) "zoom", NULL
24593 };
24594
24595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24598 arg2 = (int) SWIG_AsInt(obj1);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 (arg1)->base_SetZoomControl(arg2);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 Py_INCREF(Py_None); resultobj = Py_None;
24608 return resultobj;
24609 fail:
24610 return NULL;
24611 }
24612
24613
24614 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24615 PyObject *obj;
24616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24617 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24618 Py_INCREF(obj);
24619 return Py_BuildValue((char *)"");
24620 }
24621 static PyMethodDef SwigMethods[] = {
24622 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24623 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24624 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24625 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24626 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24627 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24628 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24629 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24630 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24631 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24632 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24633 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24634 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24635 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24636 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24637 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24638 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24639 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24640 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24641 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24642 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24643 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24644 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24645 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24646 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24647 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24648 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24649 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24650 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24651 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24652 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24653 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24654 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24655 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24656 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24657 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24658 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24659 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24660 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24661 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24662 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24663 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24664 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24665 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24666 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24667 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24668 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24669 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24670 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24671 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24672 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24678 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24690 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24693 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24694 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24700 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24702 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24706 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24710 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24714 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24715 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24731 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24738 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24750 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24754 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24758 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24759 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24763 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24766 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24779 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24789 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24797 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24807 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24809 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24814 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24815 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24824 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24830 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24835 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24841 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24845 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24863 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24889 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24897 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24906 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24908 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24917 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24920 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24927 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24945 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24949 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
24954 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
24958 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
24974 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
24977 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
24979 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
24983 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
24992 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25001 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25007 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25022 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25029 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25033 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25057 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25081 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25105 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25151 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25183 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25187 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25188 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25221 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25226 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25237 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25260 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25262 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25268 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25278 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25279 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25302 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25303 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25312 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25320 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25326 { NULL, NULL }
25327 };
25328
25329
25330 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25331
25332 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25333 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25334 }
25335 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25336 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25337 }
25338 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25339 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25340 }
25341 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25342 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25343 }
25344 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25345 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25346 }
25347 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25348 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25349 }
25350 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25351 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25352 }
25353 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25354 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25355 }
25356 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25357 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25358 }
25359 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25360 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25361 }
25362 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25364 }
25365 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25366 return (void *)((wxEvent *) ((wxPyEvent *) x));
25367 }
25368 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25370 }
25371 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25372 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25373 }
25374 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25375 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25376 }
25377 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25379 }
25380 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25381 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25382 }
25383 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25384 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25385 }
25386 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25387 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25388 }
25389 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25390 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25391 }
25392 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25393 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25394 }
25395 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25396 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25397 }
25398 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25399 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25400 }
25401 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25402 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25403 }
25404 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25405 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25406 }
25407 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25408 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25409 }
25410 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25411 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25412 }
25413 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25414 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25415 }
25416 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25417 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25418 }
25419 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25420 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25421 }
25422 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25423 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25424 }
25425 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25426 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25427 }
25428 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25430 }
25431 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25432 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25433 }
25434 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25435 return (void *)((wxEvent *) ((wxShowEvent *) x));
25436 }
25437 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25438 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25439 }
25440 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25441 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25442 }
25443 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25444 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25445 }
25446 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25447 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25448 }
25449 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25450 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25451 }
25452 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25453 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25454 }
25455 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25456 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25457 }
25458 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25459 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25460 }
25461 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25463 }
25464 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25466 }
25467 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25469 }
25470 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25471 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25472 }
25473 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25474 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25475 }
25476 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25477 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25478 }
25479 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25480 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25481 }
25482 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25484 }
25485 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25487 }
25488 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25489 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25490 }
25491 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25492 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25493 }
25494 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25496 }
25497 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25499 }
25500 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25502 }
25503 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25505 }
25506 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25508 }
25509 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25510 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25511 }
25512 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25513 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25514 }
25515 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25516 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25517 }
25518 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25519 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25520 }
25521 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25522 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25523 }
25524 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25526 }
25527 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25529 }
25530 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25531 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25532 }
25533 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25534 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25535 }
25536 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25538 }
25539 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25541 }
25542 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25544 }
25545 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25546 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25547 }
25548 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25550 }
25551 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25553 }
25554 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25556 }
25557 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25559 }
25560 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25561 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25562 }
25563 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25564 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25565 }
25566 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25568 }
25569 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25570 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25571 }
25572 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25574 }
25575 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25576 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25577 }
25578 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25579 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25580 }
25581 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25582 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25583 }
25584 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25585 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25586 }
25587 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25589 }
25590 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25591 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25592 }
25593 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25595 }
25596 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25597 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25598 }
25599 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25601 }
25602 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25604 }
25605 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25607 }
25608 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25610 }
25611 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25612 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25613 }
25614 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25615 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25616 }
25617 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25618 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25619 }
25620 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25621 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25622 }
25623 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25624 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25625 }
25626 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25627 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25628 }
25629 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25630 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25631 }
25632 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25633 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25634 }
25635 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25636 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25637 }
25638 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25639 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25640 }
25641 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25643 }
25644 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25646 }
25647 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25648 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25649 }
25650 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25651 return (void *)((wxObject *) ((wxSizerItem *) x));
25652 }
25653 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25654 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25655 }
25656 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25657 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25658 }
25659 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25660 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25661 }
25662 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25663 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25664 }
25665 static void *_p_wxSizerTo_p_wxObject(void *x) {
25666 return (void *)((wxObject *) ((wxSizer *) x));
25667 }
25668 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25669 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25670 }
25671 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25673 }
25674 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25676 }
25677 static void *_p_wxEventTo_p_wxObject(void *x) {
25678 return (void *)((wxObject *) ((wxEvent *) x));
25679 }
25680 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25681 return (void *)((wxObject *) ((wxFontData *) x));
25682 }
25683 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25684 return (void *)((wxObject *) ((wxPrintData *) x));
25685 }
25686 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25688 }
25689 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25691 }
25692 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25694 }
25695 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25697 }
25698 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25700 }
25701 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25703 }
25704 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25706 }
25707 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25709 }
25710 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25712 }
25713 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25715 }
25716 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25718 }
25719 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25721 }
25722 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25724 }
25725 static void *_p_wxControlTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25727 }
25728 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25730 }
25731 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25733 }
25734 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) ((wxFSFile *) x));
25736 }
25737 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25739 }
25740 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25742 }
25743 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25745 }
25746 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) ((wxColourData *) x));
25748 }
25749 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25751 }
25752 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25754 }
25755 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25757 }
25758 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25760 }
25761 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25763 }
25764 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25766 }
25767 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25769 }
25770 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25772 }
25773 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25775 }
25776 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25778 }
25779 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25781 }
25782 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25784 }
25785 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) ((wxPrinter *) x));
25787 }
25788 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) ((wxMenuItem *) x));
25790 }
25791 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25793 }
25794 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25796 }
25797 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25799 }
25800 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25802 }
25803 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25805 }
25806 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25808 }
25809 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25811 }
25812 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25814 }
25815 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25817 }
25818 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25820 }
25821 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25823 }
25824 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25826 }
25827 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25828 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25829 }
25830 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25831 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25832 }
25833 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25834 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25835 }
25836 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25837 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25838 }
25839 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25840 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25841 }
25842 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25843 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25844 }
25845 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25846 return (void *)((wxObject *) ((wxImageHandler *) x));
25847 }
25848 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25849 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25850 }
25851 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25852 return (void *)((wxObject *) ((wxEvtHandler *) x));
25853 }
25854 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25855 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25856 }
25857 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25859 }
25860 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25862 }
25863 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25864 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25865 }
25866 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25868 }
25869 static void *_p_wxImageTo_p_wxObject(void *x) {
25870 return (void *)((wxObject *) ((wxImage *) x));
25871 }
25872 static void *_p_wxFrameTo_p_wxObject(void *x) {
25873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25874 }
25875 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25876 return (void *)((wxObject *) ((wxPyPrintout *) x));
25877 }
25878 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25879 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25880 }
25881 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25882 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25883 }
25884 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25886 }
25887 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25889 }
25890 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25892 }
25893 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25894 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25895 }
25896 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25897 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25898 }
25899 static void *_p_wxWindowTo_p_wxObject(void *x) {
25900 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25901 }
25902 static void *_p_wxMenuTo_p_wxObject(void *x) {
25903 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25904 }
25905 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25907 }
25908 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25910 }
25911 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25913 }
25914 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25916 }
25917 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25919 }
25920 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25922 }
25923 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25925 }
25926 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25928 }
25929 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25931 }
25932 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25934 }
25935 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25937 }
25938 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25940 }
25941 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25943 }
25944 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25946 }
25947 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25948 return (void *)((wxObject *) ((wxPrintPreview *) x));
25949 }
25950 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
25952 }
25953 static void *_p_wxPanelTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
25955 }
25956 static void *_p_wxDialogTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25958 }
25959 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25961 }
25962 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25964 }
25965 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25967 }
25968 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25970 }
25971 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25973 }
25974 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) ((wxFileSystem *) x));
25976 }
25977 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
25979 }
25980 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
25982 }
25983 static void *_p_wxPyAppTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
25985 }
25986 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
25988 }
25989 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
25991 }
25992 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
25994 }
25995 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
25996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
25997 }
25998 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
25999 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26000 }
26001 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26003 }
26004 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26006 }
26007 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26008 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26009 }
26010 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26011 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26012 }
26013 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26015 }
26016 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26018 }
26019 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26020 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26021 }
26022 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26023 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26024 }
26025 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26026 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26027 }
26028 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26029 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26030 }
26031 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26032 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26033 }
26034 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26035 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26036 }
26037 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26038 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26039 }
26040 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26041 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26042 }
26043 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26044 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26045 }
26046 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26047 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26048 }
26049 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26050 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26051 }
26052 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26053 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26054 }
26055 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26057 }
26058 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26060 }
26061 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26063 }
26064 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26065 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26066 }
26067 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26068 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26069 }
26070 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26071 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26072 }
26073 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26074 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26075 }
26076 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26077 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26078 }
26079 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26080 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26081 }
26082 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26083 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26084 }
26085 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26086 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26087 }
26088 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26089 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26090 }
26091 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26092 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26093 }
26094 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26096 }
26097 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26099 }
26100 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26102 }
26103 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26104 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26105 }
26106 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26107 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26108 }
26109 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26110 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26111 }
26112 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26113 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26114 }
26115 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26116 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26117 }
26118 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26119 return (void *)((wxWindow *) ((wxMenuBar *) x));
26120 }
26121 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26123 }
26124 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26126 }
26127 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26128 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26129 }
26130 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26132 }
26133 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26135 }
26136 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26138 }
26139 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26141 }
26142 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26143 return (void *)((wxWindow *) ((wxPanel *) x));
26144 }
26145 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26146 return (void *)((wxWindow *) ((wxStatusBar *) x));
26147 }
26148 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26149 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26150 }
26151 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26152 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26153 }
26154 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26155 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26156 }
26157 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26158 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26159 }
26160 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26161 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26162 }
26163 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26164 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26165 }
26166 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26167 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26168 }
26169 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26170 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26171 }
26172 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26173 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26174 }
26175 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26176 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26177 }
26178 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26179 return (void *)((wxWindow *) ((wxSashWindow *) x));
26180 }
26181 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26182 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26183 }
26184 static void *_p_wxControlTo_p_wxWindow(void *x) {
26185 return (void *)((wxWindow *) ((wxControl *) x));
26186 }
26187 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26189 }
26190 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26191 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26192 }
26193 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26195 }
26196 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26197 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26198 }
26199 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26200 return (void *)((wxWindow *) ((wxPyWindow *) x));
26201 }
26202 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26203 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26204 }
26205 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26206 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26207 }
26208 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26209 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26210 }
26211 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26212 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26213 }
26214 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26215 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26216 }
26217 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26218 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26219 }
26220 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26221 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26222 }
26223 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26224 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26225 }
26226 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26228 }
26229 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26230 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26231 }
26232 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26234 }
26235 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26236 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26237 }
26238 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26240 }
26241 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26242 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26243 }
26244 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26245 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26246 }
26247 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26248 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26249 }
26250 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26251 return (void *)((wxDialog *) ((wxColourDialog *) x));
26252 }
26253 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26254 return (void *)((wxDialog *) ((wxDirDialog *) x));
26255 }
26256 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26257 return (void *)((wxDialog *) ((wxFontDialog *) x));
26258 }
26259 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26260 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26261 }
26262 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26263 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26264 }
26265 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26266 return (void *)((wxDialog *) ((wxFileDialog *) x));
26267 }
26268 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26269 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26270 }
26271 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26272 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26273 }
26274 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26275 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26276 }
26277 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26278 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26279 }
26280 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26281 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26282 }
26283 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26284 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26285 }
26286 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26287 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26288 }
26289 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26290 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26291 }
26292 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26293 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26294 }
26295 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26296 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26297 }
26298 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26299 return (void *)((wxPanel *) ((wxPyPanel *) x));
26300 }
26301 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26302 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26303 }
26304 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26305 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26306 }
26307 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26308 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26309 }
26310 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26311 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26312 }
26313 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26314 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26315 }
26316 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26317 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26318 }
26319 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26320 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26321 }
26322 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26323 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26324 }
26325 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26326 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26327 }
26328 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26329 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26330 }
26331 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26332 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26333 }
26334 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26335 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26336 }
26337 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26338 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26339 }
26340 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26341 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26342 }
26343 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26344 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26345 }
26346 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}};
26347 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}};
26348 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}};
26349 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}};
26350 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}};
26351 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}};
26352 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}};
26353 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}};
26354 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}};
26355 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}};
26356 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}};
26357 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}};
26358 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}};
26359 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}};
26360 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}};
26361 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}};
26362 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}};
26363 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}};
26364 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}};
26365 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}};
26366 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}};
26367 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}};
26368 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}};
26369 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}};
26370 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}};
26371 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}};
26372 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}};
26373 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}};
26374 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}};
26375 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}};
26376 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}};
26377 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}};
26378 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}};
26379 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}};
26380 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}};
26381 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}};
26382 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}};
26383 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}};
26384 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}};
26385 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}};
26386 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}};
26387 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}};
26388 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}};
26389 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}};
26390 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}};
26391 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}};
26392 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}};
26393 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}};
26394 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}};
26395 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}};
26396 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}};
26397 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}};
26398 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}};
26399 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}};
26400 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}};
26401 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}};
26402 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}};
26403 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}};
26404 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}};
26405 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}};
26406 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}};
26407 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}};
26408 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}};
26409 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}};
26410 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}};
26411 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}};
26412 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}};
26413 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}};
26414 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}};
26415 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}};
26416 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}};
26417 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}};
26418 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}};
26419 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}};
26420 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}};
26421 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}};
26422 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}};
26423 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}};
26424 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}};
26425 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}};
26426 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}};
26427 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}};
26428 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}};
26429 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}};
26430 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}};
26431 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}};
26432 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}};
26433
26434 static swig_type_info *swig_types_initial[] = {
26435 _swigt__p_wxQueryLayoutInfoEvent,
26436 _swigt__p_wxPreviewFrame,
26437 _swigt__p_wxPyPreviewFrame,
26438 _swigt__p_wxPyPanel,
26439 _swigt__p_wxMenu,
26440 _swigt__p_wxFontData,
26441 _swigt__p_wxEvent,
26442 _swigt__p_wxPrintData,
26443 _swigt__p_wxTaskBarIcon,
26444 _swigt__p_wxIconBundle,
26445 _swigt__p_wxLayoutAlgorithm,
26446 _swigt__p_wxFindDialogEvent,
26447 _swigt__p_wxPreviewCanvas,
26448 _swigt__p_wxFont,
26449 _swigt__p_wxSplitterEvent,
26450 _swigt__p_wxRegion,
26451 _swigt__p_wxFindReplaceData,
26452 _swigt__p_int,
26453 _swigt__p_wxSize,
26454 _swigt__p_wxDC,
26455 _swigt__p_wxIcon,
26456 _swigt__p_wxVisualAttributes,
26457 _swigt__p_wxMDIChildFrame,
26458 _swigt__p_wxColourData,
26459 _swigt__p_wxNotifyEvent,
26460 _swigt__p_wxPyWindow,
26461 _swigt__p_wxSplashScreen,
26462 _swigt__p_wxFindReplaceDialog,
26463 _swigt__p_wxProgressDialog,
26464 _swigt__p_wxMessageDialog,
26465 _swigt__p_wxTextEntryDialog,
26466 _swigt__p_wxSingleChoiceDialog,
26467 _swigt__p_wxMultiChoiceDialog,
26468 _swigt__p_wxFileDialog,
26469 _swigt__p_wxPrinter,
26470 _swigt__p_wxArrayInt,
26471 _swigt__p_wxEvtHandler,
26472 _swigt__p_wxCalculateLayoutEvent,
26473 _swigt__p_wxPyHtmlListBox,
26474 _swigt__p_wxPyVListBox,
26475 _swigt__p_wxRect,
26476 _swigt__p_char,
26477 _swigt__p_wxMiniFrame,
26478 _swigt__p_wxFrame,
26479 _swigt__p_wxPyPrintout,
26480 _swigt__p_wxTaskBarIconEvent,
26481 _swigt__p_wxScrollWinEvent,
26482 _swigt__p_wxStatusBar,
26483 _swigt__p_wxMDIParentFrame,
26484 _swigt__p_wxPoint,
26485 _swigt__p_wxObject,
26486 _swigt__p_wxOutputStream,
26487 _swigt__p_unsigned_long,
26488 _swigt__p_wxPyScrolledWindow,
26489 _swigt__p_wxMDIClientWindow,
26490 _swigt__p_wxTipWindow,
26491 _swigt__p_wxSashLayoutWindow,
26492 _swigt__p_wxSplitterWindow,
26493 _swigt__p_wxSplashScreenWindow,
26494 _swigt__p_wxPyVScrolledWindow,
26495 _swigt__p_wxPyPopupTransientWindow,
26496 _swigt__p_wxPopupWindow,
26497 _swigt__p_wxSashWindow,
26498 _swigt__p_wxTopLevelWindow,
26499 _swigt__p_wxWindow,
26500 _swigt__p_wxScrolledWindow,
26501 _swigt__p_wxMenuBar,
26502 _swigt__p_wxPrintPreview,
26503 _swigt__p_wxSashEvent,
26504 _swigt__p_wxString,
26505 _swigt__p_wxPyPrintPreview,
26506 _swigt__p_wxFontDialog,
26507 _swigt__p_wxDirDialog,
26508 _swigt__p_wxColourDialog,
26509 _swigt__p_wxDialog,
26510 _swigt__p_wxPanel,
26511 _swigt__p_wxPageSetupDialog,
26512 _swigt__p_wxPrintDialog,
26513 _swigt__p_wxFileSystem,
26514 _swigt__p_wxBitmap,
26515 _swigt__p_wxCommandEvent,
26516 _swigt__p_wxPreviewControlBar,
26517 _swigt__p_wxPyPreviewControlBar,
26518 _swigt__p_wxColour,
26519 _swigt__p_wxToolBar,
26520 _swigt__p_wxPageSetupDialogData,
26521 _swigt__p_wxPrintDialogData,
26522 0
26523 };
26524
26525
26526 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26527
26528 static swig_const_info swig_const_table[] = {
26529 {0}};
26530
26531 #ifdef __cplusplus
26532 }
26533 #endif
26534
26535 #ifdef __cplusplus
26536 extern "C"
26537 #endif
26538 SWIGEXPORT(void) SWIG_init(void) {
26539 static PyObject *SWIG_globals = 0;
26540 static int typeinit = 0;
26541 PyObject *m, *d;
26542 int i;
26543 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26544 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26545 d = PyModule_GetDict(m);
26546
26547 if (!typeinit) {
26548 for (i = 0; swig_types_initial[i]; i++) {
26549 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26550 }
26551 typeinit = 1;
26552 }
26553 SWIG_InstallConstants(d,swig_const_table);
26554
26555 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26556 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26557 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26558 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26559 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26560 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26561 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26562 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26563 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26564 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26565 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26566 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26567 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26568 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26569 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26570 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26571 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26572 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26573 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26574 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26575 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26576 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26577 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26578 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26579 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26580 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26581 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26582 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26583 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26584 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26585 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26586 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26587 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26588 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26589 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26590 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26591 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26592 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26593 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26594 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26595 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26596 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26597 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26598 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26599 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26600 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26601 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26602 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26603 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26604 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26605 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26606 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26607 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26608 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26609 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26610 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26611 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26612 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26613 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26614 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26615 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26616 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26617 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26618 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26619 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26620 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26621 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26622 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26623 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26624 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26625 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26626 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26627 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26628 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26629 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26630 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26631 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26632 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26633 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26634 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26635 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26636 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26637 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26638 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26639 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26640 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26641 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26642 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26643 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26644 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26645 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26646 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26647 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26648
26649 // Map renamed classes back to their common name for OOR
26650 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26651 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26652 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26653
26654 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26655 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26656 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26657 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26658 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26659 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26660 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26661 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26662 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26663 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26664 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26665 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26666 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26667 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26668 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26669 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26670 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26671 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26672 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26673 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26674 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26675 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26676 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26677 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26678 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26679 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26680 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26681 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26682 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26683 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26684 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26685 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26686 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26687 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26688 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26689 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26690 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26691 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26692 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26693 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26694 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26695 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26696 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26697 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26698 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26699 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26700 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26701 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26702 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26703 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26704 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26705 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26706 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26707 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26708 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26709 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26710 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26711 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26712 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26713 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26714
26715 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26716
26717 }
26718