]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[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 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
868
869 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
870 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
871 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
872 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
873
874 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
875 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
876 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
877
878 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
879 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
880
881 DEC_PYCALLBACK__(InitDialog);
882 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
883 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
884 DEC_PYCALLBACK_BOOL_(Validate);
885
886 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
887 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
888 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
889
890 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
891 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
892
893 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
894 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
895 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
896
897 PYPRIVATE;
898 };
899
900 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
901
902 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
903 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
904 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
905 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
906
907 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
908 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
909 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
910
911 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
912 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
913
914 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
915 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
916 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
917 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
918
919 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
920 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
921 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
922
923 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
924 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
925
926 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
927 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
928 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
929
930
931 // C++ version of Python aware wxPanel
932 class wxPyPanel : public wxPanel
933 {
934 DECLARE_DYNAMIC_CLASS(wxPyPanel)
935 public:
936 wxPyPanel() : wxPanel() {}
937 wxPyPanel(wxWindow* parent, const wxWindowID id,
938 const wxPoint& pos = wxDefaultPosition,
939 const wxSize& size = wxDefaultSize,
940 long style = 0,
941 const wxString& name = wxPyPanelNameStr)
942 : wxPanel(parent, id, pos, size, style, name) {}
943
944 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
945
946
947 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
948 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
949 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
950 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
951
952 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
953 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
955
956 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
957 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
958
959 DEC_PYCALLBACK__(InitDialog);
960 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
961 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
962 DEC_PYCALLBACK_BOOL_(Validate);
963
964 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
965 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
966 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
967
968 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
969 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
970
971 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
972 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
973 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
974
975 PYPRIVATE;
976 };
977
978 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
979
980 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
981 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
982 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
984
985 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
988
989 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
990 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
991
992 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
993 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
994 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
995 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
996
997 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
998 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
999 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
1000
1001 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
1003
1004 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1005 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
1006 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1007
1008
1009 // C++ version of Python aware wxScrolledWindow
1010 class wxPyScrolledWindow : public wxScrolledWindow
1011 {
1012 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
1013 public:
1014 wxPyScrolledWindow() : wxScrolledWindow() {}
1015 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
1016 const wxPoint& pos = wxDefaultPosition,
1017 const wxSize& size = wxDefaultSize,
1018 long style = 0,
1019 const wxString& name = wxPyPanelNameStr)
1020 : wxScrolledWindow(parent, id, pos, size, style, name) {}
1021
1022 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1023
1024 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
1025 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
1026 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
1027 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
1028
1029 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
1030 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
1032
1033 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
1034 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
1035
1036 DEC_PYCALLBACK__(InitDialog);
1037 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
1038 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
1039 DEC_PYCALLBACK_BOOL_(Validate);
1040
1041 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
1042 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
1043 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
1044
1045 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
1046 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
1047
1048 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1049 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
1050 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1051
1052 PYPRIVATE;
1053 };
1054
1055 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
1056
1057 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
1058 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
1059 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
1060 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
1061
1062 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
1063 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
1065
1066 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
1067 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
1068
1069 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
1070 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
1071 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
1072 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
1073
1074 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
1075 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
1076 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
1077
1078 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
1079 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
1080
1081 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1082 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
1083 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
1084
1085
1086
1087 #include "wx/wxPython/printfw.h"
1088
1089
1090 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
1091 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1092
1093
1094
1095 // Since this one would be tough and ugly to do with the Macros...
1096 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1097 bool hadErr = False;
1098 bool found;
1099
1100 bool blocked = wxPyBeginBlockThreads();
1101 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
1102 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1103 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
1104 PyObject* val;
1105
1106 val = PyTuple_GetItem(result, 0);
1107 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
1108 else hadErr = True;
1109
1110 val = PyTuple_GetItem(result, 1);
1111 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
1112 else hadErr = True;
1113
1114 val = PyTuple_GetItem(result, 2);
1115 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
1116 else hadErr = True;
1117
1118 val = PyTuple_GetItem(result, 3);
1119 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
1120 else hadErr = True;
1121 }
1122 else
1123 hadErr = True;
1124
1125 if (hadErr) {
1126 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
1127 PyErr_Print();
1128 }
1129 Py_DECREF(result);
1130 }
1131 wxPyEndBlockThreads(blocked);
1132 if (! found)
1133 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1134 }
1135
1136 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
1137 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
1138 }
1139
1140
1141 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
1142 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
1143 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
1144 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
1145 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
1146 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
1147 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
1148
1149
1150
1151
1152
1153 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1154 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1155 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1156
1157
1158 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1159 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1160 bool rval=False; \
1161 bool found; \
1162 bool blocked = wxPyBeginBlockThreads(); \
1163 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1164 PyObject* win = wxPyMake_wxObject(a); \
1165 PyObject* dc = wxPyMake_wxObject(&b); \
1166 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1167 Py_DECREF(win); \
1168 Py_DECREF(dc); \
1169 } \
1170 wxPyEndBlockThreads(blocked); \
1171 if (! found) \
1172 rval = PCLASS::CBNAME(a, b); \
1173 return rval; \
1174 } \
1175 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1176 return PCLASS::CBNAME(a, b); \
1177 }
1178
1179
1180
1181
1182 class wxPyPrintPreview : public wxPrintPreview
1183 {
1184 DECLARE_CLASS(wxPyPrintPreview)
1185 public:
1186 wxPyPrintPreview(wxPyPrintout* printout,
1187 wxPyPrintout* printoutForPrinting,
1188 wxPrintDialogData* data=NULL)
1189 : wxPrintPreview(printout, printoutForPrinting, data)
1190 {}
1191 wxPyPrintPreview(wxPyPrintout* printout,
1192 wxPyPrintout* printoutForPrinting,
1193 wxPrintData* data=NULL)
1194 : wxPrintPreview(printout, printoutForPrinting, data)
1195 {}
1196
1197 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
1198 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
1199 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
1200 DEC_PYCALLBACK_BOOL_INT(RenderPage);
1201 DEC_PYCALLBACK_VOID_INT(SetZoom);
1202 DEC_PYCALLBACK_BOOL_BOOL(Print);
1203 DEC_PYCALLBACK_VOID_(DetermineScaling);
1204
1205 PYPRIVATE;
1206 };
1207
1208 // Stupid renamed classes... Fix this in 2.5...
1209 #if defined(__WXMSW__)
1210 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1211 #elif defined(__WXMAC__)
1212 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1213 #else
1214 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1215 #endif
1216
1217 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1218 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1219 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1220 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1221 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1222 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1223 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1224
1225
1226 class wxPyPreviewFrame : public wxPreviewFrame
1227 {
1228 DECLARE_CLASS(wxPyPreviewFrame);
1229 public:
1230 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1231 const wxString& title,
1232 const wxPoint& pos = wxDefaultPosition,
1233 const wxSize& size = wxDefaultSize,
1234 long style = wxDEFAULT_FRAME_STYLE,
1235 const wxString& name = wxPyFrameNameStr)
1236 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1237 {}
1238
1239 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1240 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1241
1242 DEC_PYCALLBACK_VOID_(Initialize);
1243 DEC_PYCALLBACK_VOID_(CreateCanvas);
1244 DEC_PYCALLBACK_VOID_(CreateControlBar);
1245
1246 PYPRIVATE;
1247 };
1248
1249 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1250
1251 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1252 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1253 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1254
1255
1256 class wxPyPreviewControlBar : public wxPreviewControlBar
1257 {
1258 DECLARE_CLASS(wxPyPreviewControlBar);
1259 public:
1260 wxPyPreviewControlBar(wxPrintPreview *preview,
1261 long buttons,
1262 wxWindow *parent,
1263 const wxPoint& pos = wxDefaultPosition,
1264 const wxSize& size = wxDefaultSize,
1265 long style = 0,
1266 const wxString& name = wxPyPanelNameStr)
1267 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1268 {}
1269
1270 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1271
1272 DEC_PYCALLBACK_VOID_(CreateButtons);
1273 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1274
1275 PYPRIVATE;
1276 };
1277
1278 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1279 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1280 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1281
1282 #ifdef __cplusplus
1283 extern "C" {
1284 #endif
1285 static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1286 PyObject *resultobj;
1287 wxWindow *arg1 = (wxWindow *) 0 ;
1288 int arg2 = (int) (int)-1 ;
1289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1291 wxSize const &arg4_defvalue = wxDefaultSize ;
1292 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1293 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1294 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1295 wxString *arg6 = (wxString *) &arg6_defvalue ;
1296 wxPanel *result;
1297 wxPoint temp3 ;
1298 wxSize temp4 ;
1299 bool temp6 = False ;
1300 PyObject * obj0 = 0 ;
1301 PyObject * obj1 = 0 ;
1302 PyObject * obj2 = 0 ;
1303 PyObject * obj3 = 0 ;
1304 PyObject * obj4 = 0 ;
1305 PyObject * obj5 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1313 if (obj1) {
1314 arg2 = (int const) SWIG_AsInt(obj1);
1315 if (PyErr_Occurred()) SWIG_fail;
1316 }
1317 if (obj2) {
1318 {
1319 arg3 = &temp3;
1320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1321 }
1322 }
1323 if (obj3) {
1324 {
1325 arg4 = &temp4;
1326 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1327 }
1328 }
1329 if (obj4) {
1330 arg5 = (long) SWIG_AsLong(obj4);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 if (obj5) {
1334 {
1335 arg6 = wxString_in_helper(obj5);
1336 if (arg6 == NULL) SWIG_fail;
1337 temp6 = True;
1338 }
1339 }
1340 {
1341 PyThreadState* __tstate = wxPyBeginAllowThreads();
1342 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1343
1344 wxPyEndAllowThreads(__tstate);
1345 if (PyErr_Occurred()) SWIG_fail;
1346 }
1347 {
1348 resultobj = wxPyMake_wxObject(result);
1349 }
1350 {
1351 if (temp6)
1352 delete arg6;
1353 }
1354 return resultobj;
1355 fail:
1356 {
1357 if (temp6)
1358 delete arg6;
1359 }
1360 return NULL;
1361 }
1362
1363
1364 static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject *resultobj;
1366 wxPanel *result;
1367 char *kwnames[] = {
1368 NULL
1369 };
1370
1371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 result = (wxPanel *)new wxPanel();
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) SWIG_fail;
1378 }
1379 {
1380 resultobj = wxPyMake_wxObject(result);
1381 }
1382 return resultobj;
1383 fail:
1384 return NULL;
1385 }
1386
1387
1388 static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1389 PyObject *resultobj;
1390 wxPanel *arg1 = (wxPanel *) 0 ;
1391 wxWindow *arg2 = (wxWindow *) 0 ;
1392 int arg3 = (int) (int)-1 ;
1393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1395 wxSize const &arg5_defvalue = wxDefaultSize ;
1396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1397 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1398 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1399 wxString *arg7 = (wxString *) &arg7_defvalue ;
1400 bool result;
1401 wxPoint temp4 ;
1402 wxSize temp5 ;
1403 bool temp7 = False ;
1404 PyObject * obj0 = 0 ;
1405 PyObject * obj1 = 0 ;
1406 PyObject * obj2 = 0 ;
1407 PyObject * obj3 = 0 ;
1408 PyObject * obj4 = 0 ;
1409 PyObject * obj5 = 0 ;
1410 PyObject * obj6 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1418 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1420 if (obj2) {
1421 arg3 = (int const) SWIG_AsInt(obj2);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 if (obj3) {
1425 {
1426 arg4 = &temp4;
1427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1428 }
1429 }
1430 if (obj4) {
1431 {
1432 arg5 = &temp5;
1433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1434 }
1435 }
1436 if (obj5) {
1437 arg6 = (long) SWIG_AsLong(obj5);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 if (obj6) {
1441 {
1442 arg7 = wxString_in_helper(obj6);
1443 if (arg7 == NULL) SWIG_fail;
1444 temp7 = True;
1445 }
1446 }
1447 {
1448 PyThreadState* __tstate = wxPyBeginAllowThreads();
1449 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1450
1451 wxPyEndAllowThreads(__tstate);
1452 if (PyErr_Occurred()) SWIG_fail;
1453 }
1454 {
1455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1456 }
1457 {
1458 if (temp7)
1459 delete arg7;
1460 }
1461 return resultobj;
1462 fail:
1463 {
1464 if (temp7)
1465 delete arg7;
1466 }
1467 return NULL;
1468 }
1469
1470
1471 static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject *resultobj;
1473 wxPanel *arg1 = (wxPanel *) 0 ;
1474 PyObject * obj0 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
1481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1482 {
1483 PyThreadState* __tstate = wxPyBeginAllowThreads();
1484 (arg1)->InitDialog();
1485
1486 wxPyEndAllowThreads(__tstate);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 Py_INCREF(Py_None); resultobj = Py_None;
1490 return resultobj;
1491 fail:
1492 return NULL;
1493 }
1494
1495
1496 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1497 PyObject *resultobj;
1498 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1499 wxVisualAttributes result;
1500 PyObject * obj0 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "variant", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1506 if (obj0) {
1507 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1508 if (PyErr_Occurred()) SWIG_fail;
1509 }
1510 {
1511 PyThreadState* __tstate = wxPyBeginAllowThreads();
1512 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
1513
1514 wxPyEndAllowThreads(__tstate);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 {
1518 wxVisualAttributes * resultptr;
1519 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1521 }
1522 return resultobj;
1523 fail:
1524 return NULL;
1525 }
1526
1527
1528 static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1529 PyObject *obj;
1530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1531 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1532 Py_INCREF(obj);
1533 return Py_BuildValue((char *)"");
1534 }
1535 static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxWindow *arg1 = (wxWindow *) 0 ;
1538 int arg2 = (int) (int)-1 ;
1539 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1540 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1541 wxSize const &arg4_defvalue = wxDefaultSize ;
1542 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1543 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1544 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1545 wxString *arg6 = (wxString *) &arg6_defvalue ;
1546 wxScrolledWindow *result;
1547 wxPoint temp3 ;
1548 wxSize temp4 ;
1549 bool temp6 = False ;
1550 PyObject * obj0 = 0 ;
1551 PyObject * obj1 = 0 ;
1552 PyObject * obj2 = 0 ;
1553 PyObject * obj3 = 0 ;
1554 PyObject * obj4 = 0 ;
1555 PyObject * obj5 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1563 if (obj1) {
1564 arg2 = (int const) SWIG_AsInt(obj1);
1565 if (PyErr_Occurred()) SWIG_fail;
1566 }
1567 if (obj2) {
1568 {
1569 arg3 = &temp3;
1570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1571 }
1572 }
1573 if (obj3) {
1574 {
1575 arg4 = &temp4;
1576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1577 }
1578 }
1579 if (obj4) {
1580 arg5 = (long) SWIG_AsLong(obj4);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 if (obj5) {
1584 {
1585 arg6 = wxString_in_helper(obj5);
1586 if (arg6 == NULL) SWIG_fail;
1587 temp6 = True;
1588 }
1589 }
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1598 {
1599 if (temp6)
1600 delete arg6;
1601 }
1602 return resultobj;
1603 fail:
1604 {
1605 if (temp6)
1606 delete arg6;
1607 }
1608 return NULL;
1609 }
1610
1611
1612 static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject *resultobj;
1614 wxScrolledWindow *result;
1615 char *kwnames[] = {
1616 NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1620 {
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 result = (wxScrolledWindow *)new wxScrolledWindow();
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
1628 return resultobj;
1629 fail:
1630 return NULL;
1631 }
1632
1633
1634 static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1637 wxWindow *arg2 = (wxWindow *) 0 ;
1638 int arg3 = (int) (int)-1 ;
1639 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1640 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1641 wxSize const &arg5_defvalue = wxDefaultSize ;
1642 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1643 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1644 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1645 wxString *arg7 = (wxString *) &arg7_defvalue ;
1646 bool result;
1647 wxPoint temp4 ;
1648 wxSize temp5 ;
1649 bool temp7 = False ;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652 PyObject * obj2 = 0 ;
1653 PyObject * obj3 = 0 ;
1654 PyObject * obj4 = 0 ;
1655 PyObject * obj5 = 0 ;
1656 PyObject * obj6 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1666 if (obj2) {
1667 arg3 = (int const) SWIG_AsInt(obj2);
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 if (obj3) {
1671 {
1672 arg4 = &temp4;
1673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1674 }
1675 }
1676 if (obj4) {
1677 {
1678 arg5 = &temp5;
1679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1680 }
1681 }
1682 if (obj5) {
1683 arg6 = (long) SWIG_AsLong(obj5);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 if (obj6) {
1687 {
1688 arg7 = wxString_in_helper(obj6);
1689 if (arg7 == NULL) SWIG_fail;
1690 temp7 = True;
1691 }
1692 }
1693 {
1694 PyThreadState* __tstate = wxPyBeginAllowThreads();
1695 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1696
1697 wxPyEndAllowThreads(__tstate);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 }
1700 {
1701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1702 }
1703 {
1704 if (temp7)
1705 delete arg7;
1706 }
1707 return resultobj;
1708 fail:
1709 {
1710 if (temp7)
1711 delete arg7;
1712 }
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1720 int arg2 ;
1721 int arg3 ;
1722 int arg4 ;
1723 int arg5 ;
1724 int arg6 = (int) 0 ;
1725 int arg7 = (int) 0 ;
1726 bool arg8 = (bool) False ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj1 = 0 ;
1729 PyObject * obj2 = 0 ;
1730 PyObject * obj3 = 0 ;
1731 PyObject * obj4 = 0 ;
1732 PyObject * obj5 = 0 ;
1733 PyObject * obj6 = 0 ;
1734 PyObject * obj7 = 0 ;
1735 char *kwnames[] = {
1736 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1742 arg2 = (int) SWIG_AsInt(obj1);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 arg3 = (int) SWIG_AsInt(obj2);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 arg4 = (int) SWIG_AsInt(obj3);
1747 if (PyErr_Occurred()) SWIG_fail;
1748 arg5 = (int) SWIG_AsInt(obj4);
1749 if (PyErr_Occurred()) SWIG_fail;
1750 if (obj5) {
1751 arg6 = (int) SWIG_AsInt(obj5);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 if (obj6) {
1755 arg7 = (int) SWIG_AsInt(obj6);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 if (obj7) {
1759 arg8 = (bool) SWIG_AsBool(obj7);
1760 if (PyErr_Occurred()) SWIG_fail;
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 Py_INCREF(Py_None); resultobj = Py_None;
1770 return resultobj;
1771 fail:
1772 return NULL;
1773 }
1774
1775
1776 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1779 int arg2 ;
1780 int arg3 ;
1781 PyObject * obj0 = 0 ;
1782 PyObject * obj1 = 0 ;
1783 PyObject * obj2 = 0 ;
1784 char *kwnames[] = {
1785 (char *) "self",(char *) "x",(char *) "y", NULL
1786 };
1787
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1791 arg2 = (int) SWIG_AsInt(obj1);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 arg3 = (int) SWIG_AsInt(obj2);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 {
1796 PyThreadState* __tstate = wxPyBeginAllowThreads();
1797 (arg1)->Scroll(arg2,arg3);
1798
1799 wxPyEndAllowThreads(__tstate);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 Py_INCREF(Py_None); resultobj = Py_None;
1803 return resultobj;
1804 fail:
1805 return NULL;
1806 }
1807
1808
1809 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1810 PyObject *resultobj;
1811 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1812 int arg2 ;
1813 int result;
1814 PyObject * obj0 = 0 ;
1815 PyObject * obj1 = 0 ;
1816 char *kwnames[] = {
1817 (char *) "self",(char *) "orient", NULL
1818 };
1819
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1823 arg2 = (int) SWIG_AsInt(obj1);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 resultobj = SWIG_FromInt((int)result);
1833 return resultobj;
1834 fail:
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1842 int arg2 ;
1843 int arg3 ;
1844 PyObject * obj0 = 0 ;
1845 PyObject * obj1 = 0 ;
1846 PyObject * obj2 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1854 arg2 = (int) SWIG_AsInt(obj1);
1855 if (PyErr_Occurred()) SWIG_fail;
1856 arg3 = (int) SWIG_AsInt(obj2);
1857 if (PyErr_Occurred()) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 (arg1)->SetScrollPageSize(arg2,arg3);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1875 int arg2 ;
1876 int arg3 ;
1877 PyObject * obj0 = 0 ;
1878 PyObject * obj1 = 0 ;
1879 PyObject * obj2 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1887 arg2 = (int) SWIG_AsInt(obj1);
1888 if (PyErr_Occurred()) SWIG_fail;
1889 arg3 = (int) SWIG_AsInt(obj2);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 {
1892 PyThreadState* __tstate = wxPyBeginAllowThreads();
1893 (arg1)->SetScrollRate(arg2,arg3);
1894
1895 wxPyEndAllowThreads(__tstate);
1896 if (PyErr_Occurred()) SWIG_fail;
1897 }
1898 Py_INCREF(Py_None); resultobj = Py_None;
1899 return resultobj;
1900 fail:
1901 return NULL;
1902 }
1903
1904
1905 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject *resultobj;
1907 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1908 int *arg2 = (int *) 0 ;
1909 int *arg3 = (int *) 0 ;
1910 int temp2 ;
1911 int temp3 ;
1912 PyObject * obj0 = 0 ;
1913 char *kwnames[] = {
1914 (char *) "self", NULL
1915 };
1916
1917 arg2 = &temp2;
1918 arg3 = &temp3;
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1922 {
1923 PyThreadState* __tstate = wxPyBeginAllowThreads();
1924 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1925
1926 wxPyEndAllowThreads(__tstate);
1927 if (PyErr_Occurred()) SWIG_fail;
1928 }
1929 Py_INCREF(Py_None); resultobj = Py_None;
1930 {
1931 PyObject *o = PyInt_FromLong((long) (*arg2));
1932 resultobj = t_output_helper(resultobj,o);
1933 }
1934 {
1935 PyObject *o = PyInt_FromLong((long) (*arg3));
1936 resultobj = t_output_helper(resultobj,o);
1937 }
1938 return resultobj;
1939 fail:
1940 return NULL;
1941 }
1942
1943
1944 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject *resultobj;
1946 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1947 bool arg2 ;
1948 bool arg3 ;
1949 PyObject * obj0 = 0 ;
1950 PyObject * obj1 = 0 ;
1951 PyObject * obj2 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1959 arg2 = (bool) SWIG_AsBool(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 arg3 = (bool) SWIG_AsBool(obj2);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 (arg1)->EnableScrolling(arg2,arg3);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1980 int *arg2 = (int *) 0 ;
1981 int *arg3 = (int *) 0 ;
1982 int temp2 ;
1983 int temp3 ;
1984 PyObject * obj0 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self", NULL
1987 };
1988
1989 arg2 = &temp2;
1990 arg3 = &temp3;
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 {
2003 PyObject *o = PyInt_FromLong((long) (*arg2));
2004 resultobj = t_output_helper(resultobj,o);
2005 }
2006 {
2007 PyObject *o = PyInt_FromLong((long) (*arg3));
2008 resultobj = t_output_helper(resultobj,o);
2009 }
2010 return resultobj;
2011 fail:
2012 return NULL;
2013 }
2014
2015
2016 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject *resultobj;
2018 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2019 double arg2 ;
2020 double arg3 ;
2021 PyObject * obj0 = 0 ;
2022 PyObject * obj1 = 0 ;
2023 PyObject * obj2 = 0 ;
2024 char *kwnames[] = {
2025 (char *) "self",(char *) "xs",(char *) "ys", NULL
2026 };
2027
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2031 arg2 = (double) SWIG_AsDouble(obj1);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 arg3 = (double) SWIG_AsDouble(obj2);
2034 if (PyErr_Occurred()) SWIG_fail;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 (arg1)->SetScale(arg2,arg3);
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 Py_INCREF(Py_None); resultobj = Py_None;
2043 return resultobj;
2044 fail:
2045 return NULL;
2046 }
2047
2048
2049 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
2050 PyObject *resultobj;
2051 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2052 double result;
2053 PyObject * obj0 = 0 ;
2054 char *kwnames[] = {
2055 (char *) "self", NULL
2056 };
2057
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
2059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 resultobj = SWIG_FromDouble((double)result);
2069 return resultobj;
2070 fail:
2071 return NULL;
2072 }
2073
2074
2075 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject *resultobj;
2077 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2078 double result;
2079 PyObject * obj0 = 0 ;
2080 char *kwnames[] = {
2081 (char *) "self", NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 resultobj = SWIG_FromDouble((double)result);
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2102 PyObject *resultobj;
2103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2104 wxPoint *arg2 = 0 ;
2105 wxPoint result;
2106 wxPoint temp2 ;
2107 PyObject * obj0 = 0 ;
2108 PyObject * obj1 = 0 ;
2109
2110 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2113 {
2114 arg2 = &temp2;
2115 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2116 }
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 {
2125 wxPoint * resultptr;
2126 resultptr = new wxPoint((wxPoint &) result);
2127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2128 }
2129 return resultobj;
2130 fail:
2131 return NULL;
2132 }
2133
2134
2135 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2136 PyObject *resultobj;
2137 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2138 int arg2 ;
2139 int arg3 ;
2140 int *arg4 = (int *) 0 ;
2141 int *arg5 = (int *) 0 ;
2142 int temp4 ;
2143 int temp5 ;
2144 PyObject * obj0 = 0 ;
2145 PyObject * obj1 = 0 ;
2146 PyObject * obj2 = 0 ;
2147
2148 arg4 = &temp4;
2149 arg5 = &temp5;
2150 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2153 arg2 = (int) SWIG_AsInt(obj1);
2154 if (PyErr_Occurred()) SWIG_fail;
2155 arg3 = (int) SWIG_AsInt(obj2);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 {
2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
2159 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
2160
2161 wxPyEndAllowThreads(__tstate);
2162 if (PyErr_Occurred()) SWIG_fail;
2163 }
2164 Py_INCREF(Py_None); resultobj = Py_None;
2165 {
2166 PyObject *o = PyInt_FromLong((long) (*arg4));
2167 resultobj = t_output_helper(resultobj,o);
2168 }
2169 {
2170 PyObject *o = PyInt_FromLong((long) (*arg5));
2171 resultobj = t_output_helper(resultobj,o);
2172 }
2173 return resultobj;
2174 fail:
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
2180 int argc;
2181 PyObject *argv[4];
2182 int ii;
2183
2184 argc = PyObject_Length(args);
2185 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2186 argv[ii] = PyTuple_GetItem(args,ii);
2187 }
2188 if (argc == 2) {
2189 int _v;
2190 {
2191 void *ptr;
2192 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2193 _v = 0;
2194 PyErr_Clear();
2195 } else {
2196 _v = 1;
2197 }
2198 }
2199 if (_v) {
2200 {
2201 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2202 }
2203 if (_v) {
2204 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
2205 }
2206 }
2207 }
2208 if (argc == 3) {
2209 int _v;
2210 {
2211 void *ptr;
2212 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2213 _v = 0;
2214 PyErr_Clear();
2215 } else {
2216 _v = 1;
2217 }
2218 }
2219 if (_v) {
2220 _v = SWIG_CheckInt(argv[1]);
2221 if (_v) {
2222 _v = SWIG_CheckInt(argv[2]);
2223 if (_v) {
2224 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2225 }
2226 }
2227 }
2228 }
2229
2230 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2236 PyObject *resultobj;
2237 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2238 wxPoint *arg2 = 0 ;
2239 wxPoint result;
2240 wxPoint temp2 ;
2241 PyObject * obj0 = 0 ;
2242 PyObject * obj1 = 0 ;
2243
2244 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2247 {
2248 arg2 = &temp2;
2249 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2250 }
2251 {
2252 PyThreadState* __tstate = wxPyBeginAllowThreads();
2253 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2254
2255 wxPyEndAllowThreads(__tstate);
2256 if (PyErr_Occurred()) SWIG_fail;
2257 }
2258 {
2259 wxPoint * resultptr;
2260 resultptr = new wxPoint((wxPoint &) result);
2261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
2262 }
2263 return resultobj;
2264 fail:
2265 return NULL;
2266 }
2267
2268
2269 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2270 PyObject *resultobj;
2271 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2272 int arg2 ;
2273 int arg3 ;
2274 int *arg4 = (int *) 0 ;
2275 int *arg5 = (int *) 0 ;
2276 int temp4 ;
2277 int temp5 ;
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
2280 PyObject * obj2 = 0 ;
2281
2282 arg4 = &temp4;
2283 arg5 = &temp5;
2284 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2287 arg2 = (int) SWIG_AsInt(obj1);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 arg3 = (int) SWIG_AsInt(obj2);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 Py_INCREF(Py_None); resultobj = Py_None;
2299 {
2300 PyObject *o = PyInt_FromLong((long) (*arg4));
2301 resultobj = t_output_helper(resultobj,o);
2302 }
2303 {
2304 PyObject *o = PyInt_FromLong((long) (*arg5));
2305 resultobj = t_output_helper(resultobj,o);
2306 }
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2314 int argc;
2315 PyObject *argv[4];
2316 int ii;
2317
2318 argc = PyObject_Length(args);
2319 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2320 argv[ii] = PyTuple_GetItem(args,ii);
2321 }
2322 if (argc == 2) {
2323 int _v;
2324 {
2325 void *ptr;
2326 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2327 _v = 0;
2328 PyErr_Clear();
2329 } else {
2330 _v = 1;
2331 }
2332 }
2333 if (_v) {
2334 {
2335 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2336 }
2337 if (_v) {
2338 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2339 }
2340 }
2341 }
2342 if (argc == 3) {
2343 int _v;
2344 {
2345 void *ptr;
2346 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2347 _v = 0;
2348 PyErr_Clear();
2349 } else {
2350 _v = 1;
2351 }
2352 }
2353 if (_v) {
2354 _v = SWIG_CheckInt(argv[1]);
2355 if (_v) {
2356 _v = SWIG_CheckInt(argv[2]);
2357 if (_v) {
2358 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2359 }
2360 }
2361 }
2362 }
2363
2364 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2372 PyObject * obj0 = 0 ;
2373 char *kwnames[] = {
2374 (char *) "self", NULL
2375 };
2376
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2380 {
2381 PyThreadState* __tstate = wxPyBeginAllowThreads();
2382 (arg1)->AdjustScrollbars();
2383
2384 wxPyEndAllowThreads(__tstate);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 }
2387 Py_INCREF(Py_None); resultobj = Py_None;
2388 return resultobj;
2389 fail:
2390 return NULL;
2391 }
2392
2393
2394 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2395 PyObject *resultobj;
2396 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2397 wxScrollWinEvent *arg2 = 0 ;
2398 int result;
2399 PyObject * obj0 = 0 ;
2400 PyObject * obj1 = 0 ;
2401 char *kwnames[] = {
2402 (char *) "self",(char *) "event", NULL
2403 };
2404
2405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent,
2409 SWIG_POINTER_EXCEPTION | 0)) == -1)
2410 SWIG_fail;
2411 if (arg2 == NULL) {
2412 PyErr_SetString(PyExc_TypeError,"null reference");
2413 SWIG_fail;
2414 }
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 result = (int)(arg1)->CalcScrollInc(*arg2);
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 resultobj = SWIG_FromInt((int)result);
2423 return resultobj;
2424 fail:
2425 return NULL;
2426 }
2427
2428
2429 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2432 wxWindow *arg2 = (wxWindow *) 0 ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self",(char *) "target", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 (arg1)->SetTargetWindow(arg2);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 Py_INCREF(Py_None); resultobj = Py_None;
2452 return resultobj;
2453 fail:
2454 return NULL;
2455 }
2456
2457
2458 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject *resultobj;
2460 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2461 wxWindow *result;
2462 PyObject * obj0 = 0 ;
2463 char *kwnames[] = {
2464 (char *) "self", NULL
2465 };
2466
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 {
2478 resultobj = wxPyMake_wxObject(result);
2479 }
2480 return resultobj;
2481 fail:
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2489 wxRect *arg2 = 0 ;
2490 wxRect temp2 ;
2491 PyObject * obj0 = 0 ;
2492 PyObject * obj1 = 0 ;
2493 char *kwnames[] = {
2494 (char *) "self",(char *) "rect", NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2500 {
2501 arg2 = &temp2;
2502 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2503 }
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 (arg1)->SetTargetRect((wxRect const &)*arg2);
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 Py_INCREF(Py_None); resultobj = Py_None;
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2521 wxRect result;
2522 PyObject * obj0 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 }
2537 {
2538 wxRect * resultptr;
2539 resultptr = new wxRect((wxRect &) result);
2540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
2541 }
2542 return resultobj;
2543 fail:
2544 return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2551 wxVisualAttributes result;
2552 PyObject * obj0 = 0 ;
2553 char *kwnames[] = {
2554 (char *) "variant", NULL
2555 };
2556
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2558 if (obj0) {
2559 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2560 if (PyErr_Occurred()) SWIG_fail;
2561 }
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 {
2570 wxVisualAttributes * resultptr;
2571 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2573 }
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2581 PyObject *obj;
2582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2583 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2584 Py_INCREF(obj);
2585 return Py_BuildValue((char *)"");
2586 }
2587 static int _wrap_FrameNameStr_set(PyObject *_val) {
2588 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2589 return 1;
2590 }
2591
2592
2593 static PyObject *_wrap_FrameNameStr_get() {
2594 PyObject *pyobj;
2595
2596 {
2597 #if wxUSE_UNICODE
2598 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2599 #else
2600 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2601 #endif
2602 }
2603 return pyobj;
2604 }
2605
2606
2607 static int _wrap_DialogNameStr_set(PyObject *_val) {
2608 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2609 return 1;
2610 }
2611
2612
2613 static PyObject *_wrap_DialogNameStr_get() {
2614 PyObject *pyobj;
2615
2616 {
2617 #if wxUSE_UNICODE
2618 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2619 #else
2620 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2621 #endif
2622 }
2623 return pyobj;
2624 }
2625
2626
2627 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2628 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2629 return 1;
2630 }
2631
2632
2633 static PyObject *_wrap_StatusLineNameStr_get() {
2634 PyObject *pyobj;
2635
2636 {
2637 #if wxUSE_UNICODE
2638 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2639 #else
2640 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2641 #endif
2642 }
2643 return pyobj;
2644 }
2645
2646
2647 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2648 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2649 return 1;
2650 }
2651
2652
2653 static PyObject *_wrap_ToolBarNameStr_get() {
2654 PyObject *pyobj;
2655
2656 {
2657 #if wxUSE_UNICODE
2658 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2659 #else
2660 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2661 #endif
2662 }
2663 return pyobj;
2664 }
2665
2666
2667 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2670 bool arg2 = (bool) True ;
2671 PyObject * obj0 = 0 ;
2672 PyObject * obj1 = 0 ;
2673 char *kwnames[] = {
2674 (char *) "self",(char *) "maximize", NULL
2675 };
2676
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2680 if (obj1) {
2681 arg2 = (bool) SWIG_AsBool(obj1);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 }
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 (arg1)->Maximize(arg2);
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 Py_INCREF(Py_None); resultobj = Py_None;
2692 return resultobj;
2693 fail:
2694 return NULL;
2695 }
2696
2697
2698 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2699 PyObject *resultobj;
2700 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2701 PyObject * obj0 = 0 ;
2702 char *kwnames[] = {
2703 (char *) "self", NULL
2704 };
2705
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 (arg1)->Restore();
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 Py_INCREF(Py_None); resultobj = Py_None;
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2726 bool arg2 = (bool) True ;
2727 PyObject * obj0 = 0 ;
2728 PyObject * obj1 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self",(char *) "iconize", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2736 if (obj1) {
2737 arg2 = (bool) SWIG_AsBool(obj1);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 (arg1)->Iconize(arg2);
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 Py_INCREF(Py_None); resultobj = Py_None;
2748 return resultobj;
2749 fail:
2750 return NULL;
2751 }
2752
2753
2754 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2757 bool result;
2758 PyObject * obj0 = 0 ;
2759 char *kwnames[] = {
2760 (char *) "self", NULL
2761 };
2762
2763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 {
2774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2775 }
2776 return resultobj;
2777 fail:
2778 return NULL;
2779 }
2780
2781
2782 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2783 PyObject *resultobj;
2784 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2785 bool result;
2786 PyObject * obj0 = 0 ;
2787 char *kwnames[] = {
2788 (char *) "self", NULL
2789 };
2790
2791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2794 {
2795 PyThreadState* __tstate = wxPyBeginAllowThreads();
2796 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2797
2798 wxPyEndAllowThreads(__tstate);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 {
2802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2803 }
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2813 wxIcon result;
2814 PyObject * obj0 = 0 ;
2815 char *kwnames[] = {
2816 (char *) "self", NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) SWIG_fail;
2828 }
2829 {
2830 wxIcon * resultptr;
2831 resultptr = new wxIcon((wxIcon &) result);
2832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2833 }
2834 return resultobj;
2835 fail:
2836 return NULL;
2837 }
2838
2839
2840 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2843 wxIcon *arg2 = 0 ;
2844 PyObject * obj0 = 0 ;
2845 PyObject * obj1 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self",(char *) "icon", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2854 SWIG_POINTER_EXCEPTION | 0)) == -1)
2855 SWIG_fail;
2856 if (arg2 == NULL) {
2857 PyErr_SetString(PyExc_TypeError,"null reference");
2858 SWIG_fail;
2859 }
2860 {
2861 PyThreadState* __tstate = wxPyBeginAllowThreads();
2862 (arg1)->SetIcon((wxIcon const &)*arg2);
2863
2864 wxPyEndAllowThreads(__tstate);
2865 if (PyErr_Occurred()) SWIG_fail;
2866 }
2867 Py_INCREF(Py_None); resultobj = Py_None;
2868 return resultobj;
2869 fail:
2870 return NULL;
2871 }
2872
2873
2874 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2875 PyObject *resultobj;
2876 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2877 wxIconBundle *arg2 = 0 ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "icons", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2888 SWIG_POINTER_EXCEPTION | 0)) == -1)
2889 SWIG_fail;
2890 if (arg2 == NULL) {
2891 PyErr_SetString(PyExc_TypeError,"null reference");
2892 SWIG_fail;
2893 }
2894 {
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2897
2898 wxPyEndAllowThreads(__tstate);
2899 if (PyErr_Occurred()) SWIG_fail;
2900 }
2901 Py_INCREF(Py_None); resultobj = Py_None;
2902 return resultobj;
2903 fail:
2904 return NULL;
2905 }
2906
2907
2908 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2911 bool arg2 ;
2912 long arg3 = (long) wxFULLSCREEN_ALL ;
2913 bool result;
2914 PyObject * obj0 = 0 ;
2915 PyObject * obj1 = 0 ;
2916 PyObject * obj2 = 0 ;
2917 char *kwnames[] = {
2918 (char *) "self",(char *) "show",(char *) "style", NULL
2919 };
2920
2921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2924 arg2 = (bool) SWIG_AsBool(obj1);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 if (obj2) {
2927 arg3 = (long) SWIG_AsLong(obj2);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 {
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2933
2934 wxPyEndAllowThreads(__tstate);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
2937 {
2938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2939 }
2940 return resultobj;
2941 fail:
2942 return NULL;
2943 }
2944
2945
2946 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject *resultobj;
2948 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2949 bool result;
2950 PyObject * obj0 = 0 ;
2951 char *kwnames[] = {
2952 (char *) "self", NULL
2953 };
2954
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2958 {
2959 PyThreadState* __tstate = wxPyBeginAllowThreads();
2960 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2961
2962 wxPyEndAllowThreads(__tstate);
2963 if (PyErr_Occurred()) SWIG_fail;
2964 }
2965 {
2966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2967 }
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj;
2976 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2977 wxString *arg2 = 0 ;
2978 bool temp2 = False ;
2979 PyObject * obj0 = 0 ;
2980 PyObject * obj1 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self",(char *) "title", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2988 {
2989 arg2 = wxString_in_helper(obj1);
2990 if (arg2 == NULL) SWIG_fail;
2991 temp2 = True;
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 (arg1)->SetTitle((wxString const &)*arg2);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 Py_INCREF(Py_None); resultobj = Py_None;
3001 {
3002 if (temp2)
3003 delete arg2;
3004 }
3005 return resultobj;
3006 fail:
3007 {
3008 if (temp2)
3009 delete arg2;
3010 }
3011 return NULL;
3012 }
3013
3014
3015 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
3016 PyObject *resultobj;
3017 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3018 wxString result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "self", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
3025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3027 {
3028 PyThreadState* __tstate = wxPyBeginAllowThreads();
3029 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
3030
3031 wxPyEndAllowThreads(__tstate);
3032 if (PyErr_Occurred()) SWIG_fail;
3033 }
3034 {
3035 #if wxUSE_UNICODE
3036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3037 #else
3038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3039 #endif
3040 }
3041 return resultobj;
3042 fail:
3043 return NULL;
3044 }
3045
3046
3047 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject *resultobj;
3049 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
3050 wxRegion *arg2 = 0 ;
3051 bool result;
3052 PyObject * obj0 = 0 ;
3053 PyObject * obj1 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self",(char *) "region", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
3059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1)
3063 SWIG_fail;
3064 if (arg2 == NULL) {
3065 PyErr_SetString(PyExc_TypeError,"null reference");
3066 SWIG_fail;
3067 }
3068 {
3069 PyThreadState* __tstate = wxPyBeginAllowThreads();
3070 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3071
3072 wxPyEndAllowThreads(__tstate);
3073 if (PyErr_Occurred()) SWIG_fail;
3074 }
3075 {
3076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3077 }
3078 return resultobj;
3079 fail:
3080 return NULL;
3081 }
3082
3083
3084 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3085 PyObject *obj;
3086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3087 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3088 Py_INCREF(obj);
3089 return Py_BuildValue((char *)"");
3090 }
3091 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxWindow *arg1 = (wxWindow *) 0 ;
3094 int arg2 ;
3095 wxString *arg3 = 0 ;
3096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3098 wxSize const &arg5_defvalue = wxDefaultSize ;
3099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3100 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3101 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3102 wxString *arg7 = (wxString *) &arg7_defvalue ;
3103 wxFrame *result;
3104 bool temp3 = False ;
3105 wxPoint temp4 ;
3106 wxSize temp5 ;
3107 bool temp7 = False ;
3108 PyObject * obj0 = 0 ;
3109 PyObject * obj1 = 0 ;
3110 PyObject * obj2 = 0 ;
3111 PyObject * obj3 = 0 ;
3112 PyObject * obj4 = 0 ;
3113 PyObject * obj5 = 0 ;
3114 PyObject * obj6 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3122 arg2 = (int const) SWIG_AsInt(obj1);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 {
3125 arg3 = wxString_in_helper(obj2);
3126 if (arg3 == NULL) SWIG_fail;
3127 temp3 = True;
3128 }
3129 if (obj3) {
3130 {
3131 arg4 = &temp4;
3132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3133 }
3134 }
3135 if (obj4) {
3136 {
3137 arg5 = &temp5;
3138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3139 }
3140 }
3141 if (obj5) {
3142 arg6 = (long) SWIG_AsLong(obj5);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 if (obj6) {
3146 {
3147 arg7 = wxString_in_helper(obj6);
3148 if (arg7 == NULL) SWIG_fail;
3149 temp7 = True;
3150 }
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 {
3160 resultobj = wxPyMake_wxObject(result);
3161 }
3162 {
3163 if (temp3)
3164 delete arg3;
3165 }
3166 {
3167 if (temp7)
3168 delete arg7;
3169 }
3170 return resultobj;
3171 fail:
3172 {
3173 if (temp3)
3174 delete arg3;
3175 }
3176 {
3177 if (temp7)
3178 delete arg7;
3179 }
3180 return NULL;
3181 }
3182
3183
3184 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxFrame *result;
3187 char *kwnames[] = {
3188 NULL
3189 };
3190
3191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3192 {
3193 PyThreadState* __tstate = wxPyBeginAllowThreads();
3194 result = (wxFrame *)new wxFrame();
3195
3196 wxPyEndAllowThreads(__tstate);
3197 if (PyErr_Occurred()) SWIG_fail;
3198 }
3199 {
3200 resultobj = wxPyMake_wxObject(result);
3201 }
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 wxFrame *arg1 = (wxFrame *) 0 ;
3211 wxWindow *arg2 = (wxWindow *) 0 ;
3212 int arg3 ;
3213 wxString *arg4 = 0 ;
3214 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3215 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3216 wxSize const &arg6_defvalue = wxDefaultSize ;
3217 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3218 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3219 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3220 wxString *arg8 = (wxString *) &arg8_defvalue ;
3221 bool result;
3222 bool temp4 = False ;
3223 wxPoint temp5 ;
3224 wxSize temp6 ;
3225 bool temp8 = False ;
3226 PyObject * obj0 = 0 ;
3227 PyObject * obj1 = 0 ;
3228 PyObject * obj2 = 0 ;
3229 PyObject * obj3 = 0 ;
3230 PyObject * obj4 = 0 ;
3231 PyObject * obj5 = 0 ;
3232 PyObject * obj6 = 0 ;
3233 PyObject * obj7 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3243 arg3 = (int const) SWIG_AsInt(obj2);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 {
3246 arg4 = wxString_in_helper(obj3);
3247 if (arg4 == NULL) SWIG_fail;
3248 temp4 = True;
3249 }
3250 if (obj4) {
3251 {
3252 arg5 = &temp5;
3253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3254 }
3255 }
3256 if (obj5) {
3257 {
3258 arg6 = &temp6;
3259 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3260 }
3261 }
3262 if (obj6) {
3263 arg7 = (long) SWIG_AsLong(obj6);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 if (obj7) {
3267 {
3268 arg8 = wxString_in_helper(obj7);
3269 if (arg8 == NULL) SWIG_fail;
3270 temp8 = True;
3271 }
3272 }
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 {
3281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3282 }
3283 {
3284 if (temp4)
3285 delete arg4;
3286 }
3287 {
3288 if (temp8)
3289 delete arg8;
3290 }
3291 return resultobj;
3292 fail:
3293 {
3294 if (temp4)
3295 delete arg4;
3296 }
3297 {
3298 if (temp8)
3299 delete arg8;
3300 }
3301 return NULL;
3302 }
3303
3304
3305 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj;
3307 wxFrame *arg1 = (wxFrame *) 0 ;
3308 wxPoint result;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 {
3325 wxPoint * resultptr;
3326 resultptr = new wxPoint((wxPoint &) result);
3327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3328 }
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxFrame *arg1 = (wxFrame *) 0 ;
3338 PyObject * obj0 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "self", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 (arg1)->SendSizeEvent();
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 Py_INCREF(Py_None); resultobj = Py_None;
3354 return resultobj;
3355 fail:
3356 return NULL;
3357 }
3358
3359
3360 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj;
3362 wxFrame *arg1 = (wxFrame *) 0 ;
3363 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3364 PyObject * obj0 = 0 ;
3365 PyObject * obj1 = 0 ;
3366 char *kwnames[] = {
3367 (char *) "self",(char *) "menubar", NULL
3368 };
3369
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 (arg1)->SetMenuBar(arg2);
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 Py_INCREF(Py_None); resultobj = Py_None;
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3390 PyObject *resultobj;
3391 wxFrame *arg1 = (wxFrame *) 0 ;
3392 wxMenuBar *result;
3393 PyObject * obj0 = 0 ;
3394 char *kwnames[] = {
3395 (char *) "self", NULL
3396 };
3397
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3401 {
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 {
3409 resultobj = wxPyMake_wxObject(result);
3410 }
3411 return resultobj;
3412 fail:
3413 return NULL;
3414 }
3415
3416
3417 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxFrame *arg1 = (wxFrame *) 0 ;
3420 int arg2 ;
3421 bool result;
3422 PyObject * obj0 = 0 ;
3423 PyObject * obj1 = 0 ;
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "winid", NULL
3426 };
3427
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3431 arg2 = (int) SWIG_AsInt(obj1);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (bool)(arg1)->ProcessCommand(arg2);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 {
3441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxFrame *arg1 = (wxFrame *) 0 ;
3452 int arg2 = (int) 1 ;
3453 long arg3 = (long) wxST_SIZEGRIP ;
3454 int arg4 = (int) 0 ;
3455 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3456 wxString *arg5 = (wxString *) &arg5_defvalue ;
3457 wxStatusBar *result;
3458 bool temp5 = False ;
3459 PyObject * obj0 = 0 ;
3460 PyObject * obj1 = 0 ;
3461 PyObject * obj2 = 0 ;
3462 PyObject * obj3 = 0 ;
3463 PyObject * obj4 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3471 if (obj1) {
3472 arg2 = (int) SWIG_AsInt(obj1);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 if (obj2) {
3476 arg3 = (long) SWIG_AsLong(obj2);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 if (obj3) {
3480 arg4 = (int) SWIG_AsInt(obj3);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 if (obj4) {
3484 {
3485 arg5 = wxString_in_helper(obj4);
3486 if (arg5 == NULL) SWIG_fail;
3487 temp5 = True;
3488 }
3489 }
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 resultobj = wxPyMake_wxObject(result);
3499 }
3500 {
3501 if (temp5)
3502 delete arg5;
3503 }
3504 return resultobj;
3505 fail:
3506 {
3507 if (temp5)
3508 delete arg5;
3509 }
3510 return NULL;
3511 }
3512
3513
3514 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3515 PyObject *resultobj;
3516 wxFrame *arg1 = (wxFrame *) 0 ;
3517 wxStatusBar *result;
3518 PyObject * obj0 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3526 {
3527 PyThreadState* __tstate = wxPyBeginAllowThreads();
3528 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3529
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = wxPyMake_wxObject(result);
3535 }
3536 return resultobj;
3537 fail:
3538 return NULL;
3539 }
3540
3541
3542 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxFrame *arg1 = (wxFrame *) 0 ;
3545 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self",(char *) "statBar", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 (arg1)->SetStatusBar(arg2);
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 Py_INCREF(Py_None); resultobj = Py_None;
3565 return resultobj;
3566 fail:
3567 return NULL;
3568 }
3569
3570
3571 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3572 PyObject *resultobj;
3573 wxFrame *arg1 = (wxFrame *) 0 ;
3574 wxString *arg2 = 0 ;
3575 int arg3 = (int) 0 ;
3576 bool temp2 = False ;
3577 PyObject * obj0 = 0 ;
3578 PyObject * obj1 = 0 ;
3579 PyObject * obj2 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "text",(char *) "number", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3587 {
3588 arg2 = wxString_in_helper(obj1);
3589 if (arg2 == NULL) SWIG_fail;
3590 temp2 = True;
3591 }
3592 if (obj2) {
3593 arg3 = (int) SWIG_AsInt(obj2);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 }
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3599
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 Py_INCREF(Py_None); resultobj = Py_None;
3604 {
3605 if (temp2)
3606 delete arg2;
3607 }
3608 return resultobj;
3609 fail:
3610 {
3611 if (temp2)
3612 delete arg2;
3613 }
3614 return NULL;
3615 }
3616
3617
3618 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3619 PyObject *resultobj;
3620 wxFrame *arg1 = (wxFrame *) 0 ;
3621 int arg2 ;
3622 int *arg3 = (int *) 0 ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self",(char *) "widths", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3632 {
3633 arg2 = PyList_Size(obj1);
3634 arg3 = int_LIST_helper(obj1);
3635 if (arg3 == NULL) SWIG_fail;
3636 }
3637 {
3638 PyThreadState* __tstate = wxPyBeginAllowThreads();
3639 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3640
3641 wxPyEndAllowThreads(__tstate);
3642 if (PyErr_Occurred()) SWIG_fail;
3643 }
3644 Py_INCREF(Py_None); resultobj = Py_None;
3645 {
3646 if (arg3) delete [] arg3;
3647 }
3648 return resultobj;
3649 fail:
3650 {
3651 if (arg3) delete [] arg3;
3652 }
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 wxFrame *arg1 = (wxFrame *) 0 ;
3660 wxString *arg2 = 0 ;
3661 int arg3 = (int) 0 ;
3662 bool temp2 = False ;
3663 PyObject * obj0 = 0 ;
3664 PyObject * obj1 = 0 ;
3665 PyObject * obj2 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self",(char *) "text",(char *) "number", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3673 {
3674 arg2 = wxString_in_helper(obj1);
3675 if (arg2 == NULL) SWIG_fail;
3676 temp2 = True;
3677 }
3678 if (obj2) {
3679 arg3 = (int) SWIG_AsInt(obj2);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3685
3686 wxPyEndAllowThreads(__tstate);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 }
3689 Py_INCREF(Py_None); resultobj = Py_None;
3690 {
3691 if (temp2)
3692 delete arg2;
3693 }
3694 return resultobj;
3695 fail:
3696 {
3697 if (temp2)
3698 delete arg2;
3699 }
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxFrame *arg1 = (wxFrame *) 0 ;
3707 int arg2 = (int) 0 ;
3708 PyObject * obj0 = 0 ;
3709 PyObject * obj1 = 0 ;
3710 char *kwnames[] = {
3711 (char *) "self",(char *) "number", NULL
3712 };
3713
3714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3717 if (obj1) {
3718 arg2 = (int) SWIG_AsInt(obj1);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 (arg1)->PopStatusText(arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxFrame *arg1 = (wxFrame *) 0 ;
3738 int arg2 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self",(char *) "n", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3748 arg2 = (int) SWIG_AsInt(obj1);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 (arg1)->SetStatusBarPane(arg2);
3753
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 Py_INCREF(Py_None); resultobj = Py_None;
3758 return resultobj;
3759 fail:
3760 return NULL;
3761 }
3762
3763
3764 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj;
3766 wxFrame *arg1 = (wxFrame *) 0 ;
3767 int result;
3768 PyObject * obj0 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
3778 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
3783 resultobj = SWIG_FromInt((int)result);
3784 return resultobj;
3785 fail:
3786 return NULL;
3787 }
3788
3789
3790 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3791 PyObject *resultobj;
3792 wxFrame *arg1 = (wxFrame *) 0 ;
3793 long arg2 = (long) -1 ;
3794 int arg3 = (int) -1 ;
3795 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3796 wxString *arg4 = (wxString *) &arg4_defvalue ;
3797 wxToolBar *result;
3798 bool temp4 = False ;
3799 PyObject * obj0 = 0 ;
3800 PyObject * obj1 = 0 ;
3801 PyObject * obj2 = 0 ;
3802 PyObject * obj3 = 0 ;
3803 char *kwnames[] = {
3804 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3805 };
3806
3807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3810 if (obj1) {
3811 arg2 = (long) SWIG_AsLong(obj1);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 if (obj2) {
3815 arg3 = (int) SWIG_AsInt(obj2);
3816 if (PyErr_Occurred()) SWIG_fail;
3817 }
3818 if (obj3) {
3819 {
3820 arg4 = wxString_in_helper(obj3);
3821 if (arg4 == NULL) SWIG_fail;
3822 temp4 = True;
3823 }
3824 }
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 resultobj = wxPyMake_wxObject(result);
3834 }
3835 {
3836 if (temp4)
3837 delete arg4;
3838 }
3839 return resultobj;
3840 fail:
3841 {
3842 if (temp4)
3843 delete arg4;
3844 }
3845 return NULL;
3846 }
3847
3848
3849 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxFrame *arg1 = (wxFrame *) 0 ;
3852 wxToolBar *result;
3853 PyObject * obj0 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 resultobj = wxPyMake_wxObject(result);
3870 }
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxFrame *arg1 = (wxFrame *) 0 ;
3880 wxToolBar *arg2 = (wxToolBar *) 0 ;
3881 PyObject * obj0 = 0 ;
3882 PyObject * obj1 = 0 ;
3883 char *kwnames[] = {
3884 (char *) "self",(char *) "toolbar", NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 (arg1)->SetToolBar(arg2);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 Py_INCREF(Py_None); resultobj = Py_None;
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 wxFrame *arg1 = (wxFrame *) 0 ;
3909 wxString *arg2 = 0 ;
3910 bool arg3 ;
3911 bool temp2 = False ;
3912 PyObject * obj0 = 0 ;
3913 PyObject * obj1 = 0 ;
3914 PyObject * obj2 = 0 ;
3915 char *kwnames[] = {
3916 (char *) "self",(char *) "text",(char *) "show", NULL
3917 };
3918
3919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3922 {
3923 arg2 = wxString_in_helper(obj1);
3924 if (arg2 == NULL) SWIG_fail;
3925 temp2 = True;
3926 }
3927 arg3 = (bool) SWIG_AsBool(obj2);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 {
3938 if (temp2)
3939 delete arg2;
3940 }
3941 return resultobj;
3942 fail:
3943 {
3944 if (temp2)
3945 delete arg2;
3946 }
3947 return NULL;
3948 }
3949
3950
3951 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3952 PyObject *resultobj;
3953 wxFrame *arg1 = (wxFrame *) 0 ;
3954 wxMenu *arg2 = (wxMenu *) NULL ;
3955 PyObject * obj0 = 0 ;
3956 PyObject * obj1 = 0 ;
3957 char *kwnames[] = {
3958 (char *) "self",(char *) "menu", NULL
3959 };
3960
3961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3964 if (obj1) {
3965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3967 }
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 (arg1)->DoMenuUpdates(arg2);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 Py_INCREF(Py_None); resultobj = Py_None;
3976 return resultobj;
3977 fail:
3978 return NULL;
3979 }
3980
3981
3982 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject *resultobj;
3984 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3985 wxVisualAttributes result;
3986 PyObject * obj0 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "variant", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3992 if (obj0) {
3993 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3994 if (PyErr_Occurred()) SWIG_fail;
3995 }
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 {
4004 wxVisualAttributes * resultptr;
4005 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4006 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4007 }
4008 return resultobj;
4009 fail:
4010 return NULL;
4011 }
4012
4013
4014 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
4015 PyObject *obj;
4016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4017 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
4018 Py_INCREF(obj);
4019 return Py_BuildValue((char *)"");
4020 }
4021 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4022 PyObject *resultobj;
4023 wxWindow *arg1 = (wxWindow *) 0 ;
4024 int arg2 ;
4025 wxString *arg3 = 0 ;
4026 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4027 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4028 wxSize const &arg5_defvalue = wxDefaultSize ;
4029 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4030 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
4031 wxString const &arg7_defvalue = wxPyDialogNameStr ;
4032 wxString *arg7 = (wxString *) &arg7_defvalue ;
4033 wxDialog *result;
4034 bool temp3 = False ;
4035 wxPoint temp4 ;
4036 wxSize temp5 ;
4037 bool temp7 = False ;
4038 PyObject * obj0 = 0 ;
4039 PyObject * obj1 = 0 ;
4040 PyObject * obj2 = 0 ;
4041 PyObject * obj3 = 0 ;
4042 PyObject * obj4 = 0 ;
4043 PyObject * obj5 = 0 ;
4044 PyObject * obj6 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4052 arg2 = (int const) SWIG_AsInt(obj1);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 {
4055 arg3 = wxString_in_helper(obj2);
4056 if (arg3 == NULL) SWIG_fail;
4057 temp3 = True;
4058 }
4059 if (obj3) {
4060 {
4061 arg4 = &temp4;
4062 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4063 }
4064 }
4065 if (obj4) {
4066 {
4067 arg5 = &temp5;
4068 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4069 }
4070 }
4071 if (obj5) {
4072 arg6 = (long) SWIG_AsLong(obj5);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 if (obj6) {
4076 {
4077 arg7 = wxString_in_helper(obj6);
4078 if (arg7 == NULL) SWIG_fail;
4079 temp7 = True;
4080 }
4081 }
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 {
4090 resultobj = wxPyMake_wxObject(result);
4091 }
4092 {
4093 if (temp3)
4094 delete arg3;
4095 }
4096 {
4097 if (temp7)
4098 delete arg7;
4099 }
4100 return resultobj;
4101 fail:
4102 {
4103 if (temp3)
4104 delete arg3;
4105 }
4106 {
4107 if (temp7)
4108 delete arg7;
4109 }
4110 return NULL;
4111 }
4112
4113
4114 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 wxDialog *result;
4117 char *kwnames[] = {
4118 NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxDialog *)new wxDialog();
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 {
4130 resultobj = wxPyMake_wxObject(result);
4131 }
4132 return resultobj;
4133 fail:
4134 return NULL;
4135 }
4136
4137
4138 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4139 PyObject *resultobj;
4140 wxDialog *arg1 = (wxDialog *) 0 ;
4141 wxWindow *arg2 = (wxWindow *) 0 ;
4142 int arg3 ;
4143 wxString *arg4 = 0 ;
4144 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4145 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4146 wxSize const &arg6_defvalue = wxDefaultSize ;
4147 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4148 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4149 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4150 wxString *arg8 = (wxString *) &arg8_defvalue ;
4151 bool result;
4152 bool temp4 = False ;
4153 wxPoint temp5 ;
4154 wxSize temp6 ;
4155 bool temp8 = False ;
4156 PyObject * obj0 = 0 ;
4157 PyObject * obj1 = 0 ;
4158 PyObject * obj2 = 0 ;
4159 PyObject * obj3 = 0 ;
4160 PyObject * obj4 = 0 ;
4161 PyObject * obj5 = 0 ;
4162 PyObject * obj6 = 0 ;
4163 PyObject * obj7 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4173 arg3 = (int const) SWIG_AsInt(obj2);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 {
4176 arg4 = wxString_in_helper(obj3);
4177 if (arg4 == NULL) SWIG_fail;
4178 temp4 = True;
4179 }
4180 if (obj4) {
4181 {
4182 arg5 = &temp5;
4183 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4184 }
4185 }
4186 if (obj5) {
4187 {
4188 arg6 = &temp6;
4189 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4190 }
4191 }
4192 if (obj6) {
4193 arg7 = (long) SWIG_AsLong(obj6);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 }
4196 if (obj7) {
4197 {
4198 arg8 = wxString_in_helper(obj7);
4199 if (arg8 == NULL) SWIG_fail;
4200 temp8 = True;
4201 }
4202 }
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 {
4211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4212 }
4213 {
4214 if (temp4)
4215 delete arg4;
4216 }
4217 {
4218 if (temp8)
4219 delete arg8;
4220 }
4221 return resultobj;
4222 fail:
4223 {
4224 if (temp4)
4225 delete arg4;
4226 }
4227 {
4228 if (temp8)
4229 delete arg8;
4230 }
4231 return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxDialog *arg1 = (wxDialog *) 0 ;
4238 int arg2 ;
4239 PyObject * obj0 = 0 ;
4240 PyObject * obj1 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self",(char *) "returnCode", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4248 arg2 = (int) SWIG_AsInt(obj1);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetReturnCode(arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 Py_INCREF(Py_None); resultobj = Py_None;
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxDialog *arg1 = (wxDialog *) 0 ;
4267 int result;
4268 PyObject * obj0 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "self", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 resultobj = SWIG_FromInt((int)result);
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject *resultobj;
4292 wxDialog *arg1 = (wxDialog *) 0 ;
4293 wxString *arg2 = 0 ;
4294 wxSizer *result;
4295 bool temp2 = False ;
4296 PyObject * obj0 = 0 ;
4297 PyObject * obj1 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self",(char *) "message", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4305 {
4306 arg2 = wxString_in_helper(obj1);
4307 if (arg2 == NULL) SWIG_fail;
4308 temp2 = True;
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4313
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 resultobj = wxPyMake_wxSizer(result);
4319 }
4320 {
4321 if (temp2)
4322 delete arg2;
4323 }
4324 return resultobj;
4325 fail:
4326 {
4327 if (temp2)
4328 delete arg2;
4329 }
4330 return NULL;
4331 }
4332
4333
4334 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj;
4336 wxDialog *arg1 = (wxDialog *) 0 ;
4337 long arg2 ;
4338 wxSizer *result;
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj1 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "flags", NULL
4343 };
4344
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4348 arg2 = (long) SWIG_AsLong(obj1);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 {
4358 resultobj = wxPyMake_wxSizer(result);
4359 }
4360 return resultobj;
4361 fail:
4362 return NULL;
4363 }
4364
4365
4366 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4367 PyObject *resultobj;
4368 wxDialog *arg1 = (wxDialog *) 0 ;
4369 bool result;
4370 PyObject * obj0 = 0 ;
4371 char *kwnames[] = {
4372 (char *) "self", NULL
4373 };
4374
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (bool)((wxDialog const *)arg1)->IsModal();
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 {
4386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4387 }
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxDialog *arg1 = (wxDialog *) 0 ;
4397 int result;
4398 PyObject * obj0 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (int)(arg1)->ShowModal();
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = SWIG_FromInt((int)result);
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj;
4422 wxDialog *arg1 = (wxDialog *) 0 ;
4423 int arg2 ;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "retCode", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4433 arg2 = (int) SWIG_AsInt(obj1);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 (arg1)->EndModal(arg2);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 Py_INCREF(Py_None); resultobj = Py_None;
4443 return resultobj;
4444 fail:
4445 return NULL;
4446 }
4447
4448
4449 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4452 wxVisualAttributes result;
4453 PyObject * obj0 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "variant", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4459 if (obj0) {
4460 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 {
4471 wxVisualAttributes * resultptr;
4472 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4474 }
4475 return resultobj;
4476 fail:
4477 return NULL;
4478 }
4479
4480
4481 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4482 PyObject *obj;
4483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4484 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4485 Py_INCREF(obj);
4486 return Py_BuildValue((char *)"");
4487 }
4488 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxWindow *arg1 = (wxWindow *) 0 ;
4491 int arg2 ;
4492 wxString *arg3 = 0 ;
4493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4495 wxSize const &arg5_defvalue = wxDefaultSize ;
4496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4497 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4498 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4499 wxString *arg7 = (wxString *) &arg7_defvalue ;
4500 wxMiniFrame *result;
4501 bool temp3 = False ;
4502 wxPoint temp4 ;
4503 wxSize temp5 ;
4504 bool temp7 = False ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 PyObject * obj2 = 0 ;
4508 PyObject * obj3 = 0 ;
4509 PyObject * obj4 = 0 ;
4510 PyObject * obj5 = 0 ;
4511 PyObject * obj6 = 0 ;
4512 char *kwnames[] = {
4513 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4514 };
4515
4516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4519 arg2 = (int const) SWIG_AsInt(obj1);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 {
4522 arg3 = wxString_in_helper(obj2);
4523 if (arg3 == NULL) SWIG_fail;
4524 temp3 = True;
4525 }
4526 if (obj3) {
4527 {
4528 arg4 = &temp4;
4529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4530 }
4531 }
4532 if (obj4) {
4533 {
4534 arg5 = &temp5;
4535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4536 }
4537 }
4538 if (obj5) {
4539 arg6 = (long) SWIG_AsLong(obj5);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 if (obj6) {
4543 {
4544 arg7 = wxString_in_helper(obj6);
4545 if (arg7 == NULL) SWIG_fail;
4546 temp7 = True;
4547 }
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4557 {
4558 if (temp3)
4559 delete arg3;
4560 }
4561 {
4562 if (temp7)
4563 delete arg7;
4564 }
4565 return resultobj;
4566 fail:
4567 {
4568 if (temp3)
4569 delete arg3;
4570 }
4571 {
4572 if (temp7)
4573 delete arg7;
4574 }
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxMiniFrame *result;
4582 char *kwnames[] = {
4583 NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4587 {
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 result = (wxMiniFrame *)new wxMiniFrame();
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4595 return resultobj;
4596 fail:
4597 return NULL;
4598 }
4599
4600
4601 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4602 PyObject *resultobj;
4603 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4604 wxWindow *arg2 = (wxWindow *) 0 ;
4605 int arg3 ;
4606 wxString *arg4 = 0 ;
4607 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4608 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4609 wxSize const &arg6_defvalue = wxDefaultSize ;
4610 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4611 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4612 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4613 wxString *arg8 = (wxString *) &arg8_defvalue ;
4614 bool result;
4615 bool temp4 = False ;
4616 wxPoint temp5 ;
4617 wxSize temp6 ;
4618 bool temp8 = False ;
4619 PyObject * obj0 = 0 ;
4620 PyObject * obj1 = 0 ;
4621 PyObject * obj2 = 0 ;
4622 PyObject * obj3 = 0 ;
4623 PyObject * obj4 = 0 ;
4624 PyObject * obj5 = 0 ;
4625 PyObject * obj6 = 0 ;
4626 PyObject * obj7 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4636 arg3 = (int const) SWIG_AsInt(obj2);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 {
4639 arg4 = wxString_in_helper(obj3);
4640 if (arg4 == NULL) SWIG_fail;
4641 temp4 = True;
4642 }
4643 if (obj4) {
4644 {
4645 arg5 = &temp5;
4646 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4647 }
4648 }
4649 if (obj5) {
4650 {
4651 arg6 = &temp6;
4652 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4653 }
4654 }
4655 if (obj6) {
4656 arg7 = (long) SWIG_AsLong(obj6);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 if (obj7) {
4660 {
4661 arg8 = wxString_in_helper(obj7);
4662 if (arg8 == NULL) SWIG_fail;
4663 temp8 = True;
4664 }
4665 }
4666 {
4667 PyThreadState* __tstate = wxPyBeginAllowThreads();
4668 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4669
4670 wxPyEndAllowThreads(__tstate);
4671 if (PyErr_Occurred()) SWIG_fail;
4672 }
4673 {
4674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4675 }
4676 {
4677 if (temp4)
4678 delete arg4;
4679 }
4680 {
4681 if (temp8)
4682 delete arg8;
4683 }
4684 return resultobj;
4685 fail:
4686 {
4687 if (temp4)
4688 delete arg4;
4689 }
4690 {
4691 if (temp8)
4692 delete arg8;
4693 }
4694 return NULL;
4695 }
4696
4697
4698 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4699 PyObject *obj;
4700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4701 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4702 Py_INCREF(obj);
4703 return Py_BuildValue((char *)"");
4704 }
4705 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxBitmap *arg1 = 0 ;
4708 wxWindow *arg2 = (wxWindow *) 0 ;
4709 int arg3 ;
4710 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4711 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4712 wxSize const &arg5_defvalue = wxDefaultSize ;
4713 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4714 long arg6 = (long) wxNO_BORDER ;
4715 wxSplashScreenWindow *result;
4716 wxPoint temp4 ;
4717 wxSize temp5 ;
4718 PyObject * obj0 = 0 ;
4719 PyObject * obj1 = 0 ;
4720 PyObject * obj2 = 0 ;
4721 PyObject * obj3 = 0 ;
4722 PyObject * obj4 = 0 ;
4723 PyObject * obj5 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1)
4731 SWIG_fail;
4732 if (arg1 == NULL) {
4733 PyErr_SetString(PyExc_TypeError,"null reference");
4734 SWIG_fail;
4735 }
4736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4738 arg3 = (int) SWIG_AsInt(obj2);
4739 if (PyErr_Occurred()) SWIG_fail;
4740 if (obj3) {
4741 {
4742 arg4 = &temp4;
4743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4744 }
4745 }
4746 if (obj4) {
4747 {
4748 arg5 = &temp5;
4749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4750 }
4751 }
4752 if (obj5) {
4753 arg6 = (long) SWIG_AsLong(obj5);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4773 wxBitmap *arg2 = 0 ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self",(char *) "bitmap", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4783 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4784 SWIG_POINTER_EXCEPTION | 0)) == -1)
4785 SWIG_fail;
4786 if (arg2 == NULL) {
4787 PyErr_SetString(PyExc_TypeError,"null reference");
4788 SWIG_fail;
4789 }
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 Py_INCREF(Py_None); resultobj = Py_None;
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4807 wxBitmap *result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 {
4819 wxBitmap &_result_ref = (arg1)->GetBitmap();
4820 result = (wxBitmap *) &_result_ref;
4821 }
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 {
4827 wxBitmap* resultptr = new wxBitmap(*result);
4828 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4829 }
4830 return resultobj;
4831 fail:
4832 return NULL;
4833 }
4834
4835
4836 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4837 PyObject *obj;
4838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4839 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4840 Py_INCREF(obj);
4841 return Py_BuildValue((char *)"");
4842 }
4843 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 wxBitmap *arg1 = 0 ;
4846 long arg2 ;
4847 int arg3 ;
4848 wxWindow *arg4 = (wxWindow *) 0 ;
4849 int arg5 ;
4850 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4851 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4852 wxSize const &arg7_defvalue = wxDefaultSize ;
4853 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4854 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4855 wxSplashScreen *result;
4856 wxPoint temp6 ;
4857 wxSize temp7 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 PyObject * obj2 = 0 ;
4861 PyObject * obj3 = 0 ;
4862 PyObject * obj4 = 0 ;
4863 PyObject * obj5 = 0 ;
4864 PyObject * obj6 = 0 ;
4865 PyObject * obj7 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4872 SWIG_POINTER_EXCEPTION | 0)) == -1)
4873 SWIG_fail;
4874 if (arg1 == NULL) {
4875 PyErr_SetString(PyExc_TypeError,"null reference");
4876 SWIG_fail;
4877 }
4878 arg2 = (long) SWIG_AsLong(obj1);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 arg3 = (int) SWIG_AsInt(obj2);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4884 arg5 = (int) SWIG_AsInt(obj4);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 if (obj5) {
4887 {
4888 arg6 = &temp6;
4889 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4890 }
4891 }
4892 if (obj6) {
4893 {
4894 arg7 = &temp7;
4895 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4896 }
4897 }
4898 if (obj7) {
4899 arg8 = (long) SWIG_AsLong(obj7);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4910 return resultobj;
4911 fail:
4912 return NULL;
4913 }
4914
4915
4916 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4917 PyObject *resultobj;
4918 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4919 long result;
4920 PyObject * obj0 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 resultobj = SWIG_FromLong((long)result);
4936 return resultobj;
4937 fail:
4938 return NULL;
4939 }
4940
4941
4942 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4945 wxSplashScreenWindow *result;
4946 PyObject * obj0 = 0 ;
4947 char *kwnames[] = {
4948 (char *) "self", NULL
4949 };
4950
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4971 int result;
4972 PyObject * obj0 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4983
4984 wxPyEndAllowThreads(__tstate);
4985 if (PyErr_Occurred()) SWIG_fail;
4986 }
4987 resultobj = SWIG_FromInt((int)result);
4988 return resultobj;
4989 fail:
4990 return NULL;
4991 }
4992
4993
4994 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4995 PyObject *obj;
4996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4998 Py_INCREF(obj);
4999 return Py_BuildValue((char *)"");
5000 }
5001 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj;
5003 wxWindow *arg1 = (wxWindow *) 0 ;
5004 int arg2 = (int) -1 ;
5005 long arg3 = (long) wxST_SIZEGRIP ;
5006 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
5007 wxString *arg4 = (wxString *) &arg4_defvalue ;
5008 wxStatusBar *result;
5009 bool temp4 = False ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 PyObject * obj2 = 0 ;
5013 PyObject * obj3 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5021 if (obj1) {
5022 arg2 = (int) SWIG_AsInt(obj1);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 if (obj2) {
5026 arg3 = (long) SWIG_AsLong(obj2);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 if (obj3) {
5030 {
5031 arg4 = wxString_in_helper(obj3);
5032 if (arg4 == NULL) SWIG_fail;
5033 temp4 = True;
5034 }
5035 }
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 {
5044 resultobj = wxPyMake_wxObject(result);
5045 }
5046 {
5047 if (temp4)
5048 delete arg4;
5049 }
5050 return resultobj;
5051 fail:
5052 {
5053 if (temp4)
5054 delete arg4;
5055 }
5056 return NULL;
5057 }
5058
5059
5060 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxStatusBar *result;
5063 char *kwnames[] = {
5064 NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 result = (wxStatusBar *)new wxStatusBar();
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 {
5076 resultobj = wxPyMake_wxObject(result);
5077 }
5078 return resultobj;
5079 fail:
5080 return NULL;
5081 }
5082
5083
5084 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj;
5086 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5087 wxWindow *arg2 = (wxWindow *) 0 ;
5088 int arg3 ;
5089 long arg4 = (long) wxST_SIZEGRIP ;
5090 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5091 wxString *arg5 = (wxString *) &arg5_defvalue ;
5092 bool result;
5093 bool temp5 = False ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 PyObject * obj2 = 0 ;
5097 PyObject * obj3 = 0 ;
5098 PyObject * obj4 = 0 ;
5099 char *kwnames[] = {
5100 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5101 };
5102
5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5108 arg3 = (int) SWIG_AsInt(obj2);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 if (obj3) {
5111 arg4 = (long) SWIG_AsLong(obj3);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 if (obj4) {
5115 {
5116 arg5 = wxString_in_helper(obj4);
5117 if (arg5 == NULL) SWIG_fail;
5118 temp5 = True;
5119 }
5120 }
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 {
5129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5130 }
5131 {
5132 if (temp5)
5133 delete arg5;
5134 }
5135 return resultobj;
5136 fail:
5137 {
5138 if (temp5)
5139 delete arg5;
5140 }
5141 return NULL;
5142 }
5143
5144
5145 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5146 PyObject *resultobj;
5147 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5148 int arg2 = (int) 1 ;
5149 PyObject * obj0 = 0 ;
5150 PyObject * obj1 = 0 ;
5151 char *kwnames[] = {
5152 (char *) "self",(char *) "number", NULL
5153 };
5154
5155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5158 if (obj1) {
5159 arg2 = (int) SWIG_AsInt(obj1);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->SetFieldsCount(arg2);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 Py_INCREF(Py_None); resultobj = Py_None;
5170 return resultobj;
5171 fail:
5172 return NULL;
5173 }
5174
5175
5176 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5177 PyObject *resultobj;
5178 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5179 int result;
5180 PyObject * obj0 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 resultobj = SWIG_FromInt((int)result);
5196 return resultobj;
5197 fail:
5198 return NULL;
5199 }
5200
5201
5202 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5203 PyObject *resultobj;
5204 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5205 wxString *arg2 = 0 ;
5206 int arg3 = (int) 0 ;
5207 bool temp2 = False ;
5208 PyObject * obj0 = 0 ;
5209 PyObject * obj1 = 0 ;
5210 PyObject * obj2 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "text",(char *) "number", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5218 {
5219 arg2 = wxString_in_helper(obj1);
5220 if (arg2 == NULL) SWIG_fail;
5221 temp2 = True;
5222 }
5223 if (obj2) {
5224 arg3 = (int) SWIG_AsInt(obj2);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 Py_INCREF(Py_None); resultobj = Py_None;
5235 {
5236 if (temp2)
5237 delete arg2;
5238 }
5239 return resultobj;
5240 fail:
5241 {
5242 if (temp2)
5243 delete arg2;
5244 }
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5252 int arg2 = (int) 0 ;
5253 wxString result;
5254 PyObject * obj0 = 0 ;
5255 PyObject * obj1 = 0 ;
5256 char *kwnames[] = {
5257 (char *) "self",(char *) "number", NULL
5258 };
5259
5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5263 if (obj1) {
5264 arg2 = (int) SWIG_AsInt(obj1);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 {
5275 #if wxUSE_UNICODE
5276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5277 #else
5278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5279 #endif
5280 }
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5290 wxString *arg2 = 0 ;
5291 int arg3 = (int) 0 ;
5292 bool temp2 = False ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 PyObject * obj2 = 0 ;
5296 char *kwnames[] = {
5297 (char *) "self",(char *) "text",(char *) "number", NULL
5298 };
5299
5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5303 {
5304 arg2 = wxString_in_helper(obj1);
5305 if (arg2 == NULL) SWIG_fail;
5306 temp2 = True;
5307 }
5308 if (obj2) {
5309 arg3 = (int) SWIG_AsInt(obj2);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5315
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 }
5319 Py_INCREF(Py_None); resultobj = Py_None;
5320 {
5321 if (temp2)
5322 delete arg2;
5323 }
5324 return resultobj;
5325 fail:
5326 {
5327 if (temp2)
5328 delete arg2;
5329 }
5330 return NULL;
5331 }
5332
5333
5334 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5335 PyObject *resultobj;
5336 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5337 int arg2 = (int) 0 ;
5338 PyObject * obj0 = 0 ;
5339 PyObject * obj1 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self",(char *) "number", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5347 if (obj1) {
5348 arg2 = (int) SWIG_AsInt(obj1);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 {
5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
5353 (arg1)->PopStatusText(arg2);
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 Py_INCREF(Py_None); resultobj = Py_None;
5359 return resultobj;
5360 fail:
5361 return NULL;
5362 }
5363
5364
5365 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5368 int arg2 ;
5369 int *arg3 = (int *) 0 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "widths", NULL
5374 };
5375
5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5379 {
5380 arg2 = PyList_Size(obj1);
5381 arg3 = int_LIST_helper(obj1);
5382 if (arg3 == NULL) SWIG_fail;
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5387
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 Py_INCREF(Py_None); resultobj = Py_None;
5392 {
5393 if (arg3) delete [] arg3;
5394 }
5395 return resultobj;
5396 fail:
5397 {
5398 if (arg3) delete [] arg3;
5399 }
5400 return NULL;
5401 }
5402
5403
5404 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5405 PyObject *resultobj;
5406 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5407 int arg2 ;
5408 wxRect result;
5409 PyObject * obj0 = 0 ;
5410 PyObject * obj1 = 0 ;
5411 char *kwnames[] = {
5412 (char *) "self",(char *) "i", NULL
5413 };
5414
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5418 arg2 = (int) SWIG_AsInt(obj1);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = wxStatusBar_GetFieldRect(arg1,arg2);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 {
5428 wxRect * resultptr;
5429 resultptr = new wxRect((wxRect &) result);
5430 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5431 }
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5441 int arg2 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "height", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5451 arg2 = (int) SWIG_AsInt(obj1);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->SetMinHeight(arg2);
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 Py_INCREF(Py_None); resultobj = Py_None;
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5470 int result;
5471 PyObject * obj0 = 0 ;
5472 char *kwnames[] = {
5473 (char *) "self", NULL
5474 };
5475
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 resultobj = SWIG_FromInt((int)result);
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5496 int result;
5497 PyObject * obj0 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 resultobj = SWIG_FromInt((int)result);
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5522 wxVisualAttributes result;
5523 PyObject * obj0 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "variant", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5529 if (obj0) {
5530 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 {
5541 wxVisualAttributes * resultptr;
5542 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5543 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5544 }
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5552 PyObject *obj;
5553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5554 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5555 Py_INCREF(obj);
5556 return Py_BuildValue((char *)"");
5557 }
5558 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5559 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5560 return 1;
5561 }
5562
5563
5564 static PyObject *_wrap_SplitterNameStr_get() {
5565 PyObject *pyobj;
5566
5567 {
5568 #if wxUSE_UNICODE
5569 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5570 #else
5571 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5572 #endif
5573 }
5574 return pyobj;
5575 }
5576
5577
5578 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5579 PyObject *resultobj;
5580 wxWindow *arg1 = (wxWindow *) 0 ;
5581 int arg2 = (int) -1 ;
5582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5584 wxSize const &arg4_defvalue = wxDefaultSize ;
5585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5586 long arg5 = (long) wxSP_3D ;
5587 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5588 wxString *arg6 = (wxString *) &arg6_defvalue ;
5589 wxSplitterWindow *result;
5590 wxPoint temp3 ;
5591 wxSize temp4 ;
5592 bool temp6 = False ;
5593 PyObject * obj0 = 0 ;
5594 PyObject * obj1 = 0 ;
5595 PyObject * obj2 = 0 ;
5596 PyObject * obj3 = 0 ;
5597 PyObject * obj4 = 0 ;
5598 PyObject * obj5 = 0 ;
5599 char *kwnames[] = {
5600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5601 };
5602
5603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5606 if (obj1) {
5607 arg2 = (int) SWIG_AsInt(obj1);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 if (obj2) {
5611 {
5612 arg3 = &temp3;
5613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5614 }
5615 }
5616 if (obj3) {
5617 {
5618 arg4 = &temp4;
5619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5620 }
5621 }
5622 if (obj4) {
5623 arg5 = (long) SWIG_AsLong(obj4);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 if (obj5) {
5627 {
5628 arg6 = wxString_in_helper(obj5);
5629 if (arg6 == NULL) SWIG_fail;
5630 temp6 = True;
5631 }
5632 }
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5641 {
5642 if (temp6)
5643 delete arg6;
5644 }
5645 return resultobj;
5646 fail:
5647 {
5648 if (temp6)
5649 delete arg6;
5650 }
5651 return NULL;
5652 }
5653
5654
5655 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxSplitterWindow *result;
5658 char *kwnames[] = {
5659 NULL
5660 };
5661
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 result = (wxSplitterWindow *)new wxSplitterWindow();
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5671 return resultobj;
5672 fail:
5673 return NULL;
5674 }
5675
5676
5677 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject *resultobj;
5679 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5680 wxWindow *arg2 = (wxWindow *) 0 ;
5681 int arg3 = (int) -1 ;
5682 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5683 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5684 wxSize const &arg5_defvalue = wxDefaultSize ;
5685 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5686 long arg6 = (long) wxSP_3D ;
5687 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5688 wxString *arg7 = (wxString *) &arg7_defvalue ;
5689 bool result;
5690 wxPoint temp4 ;
5691 wxSize temp5 ;
5692 bool temp7 = False ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 PyObject * obj3 = 0 ;
5697 PyObject * obj4 = 0 ;
5698 PyObject * obj5 = 0 ;
5699 PyObject * obj6 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5709 if (obj2) {
5710 arg3 = (int) SWIG_AsInt(obj2);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 if (obj3) {
5714 {
5715 arg4 = &temp4;
5716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5717 }
5718 }
5719 if (obj4) {
5720 {
5721 arg5 = &temp5;
5722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5723 }
5724 }
5725 if (obj5) {
5726 arg6 = (long) SWIG_AsLong(obj5);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 if (obj6) {
5730 {
5731 arg7 = wxString_in_helper(obj6);
5732 if (arg7 == NULL) SWIG_fail;
5733 temp7 = True;
5734 }
5735 }
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 {
5744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5745 }
5746 {
5747 if (temp7)
5748 delete arg7;
5749 }
5750 return resultobj;
5751 fail:
5752 {
5753 if (temp7)
5754 delete arg7;
5755 }
5756 return NULL;
5757 }
5758
5759
5760 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5761 PyObject *resultobj;
5762 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5763 wxWindow *result;
5764 PyObject * obj0 = 0 ;
5765 char *kwnames[] = {
5766 (char *) "self", NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 {
5780 resultobj = wxPyMake_wxObject(result);
5781 }
5782 return resultobj;
5783 fail:
5784 return NULL;
5785 }
5786
5787
5788 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj;
5790 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5791 wxWindow *result;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 {
5808 resultobj = wxPyMake_wxObject(result);
5809 }
5810 return resultobj;
5811 fail:
5812 return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5819 int arg2 ;
5820 PyObject * obj0 = 0 ;
5821 PyObject * obj1 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self",(char *) "mode", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5829 arg2 = (int) SWIG_AsInt(obj1);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 (arg1)->SetSplitMode(arg2);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 Py_INCREF(Py_None); resultobj = Py_None;
5839 return resultobj;
5840 fail:
5841 return NULL;
5842 }
5843
5844
5845 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5848 int result;
5849 PyObject * obj0 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = SWIG_FromInt((int)result);
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj;
5873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5874 wxWindow *arg2 = (wxWindow *) 0 ;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 char *kwnames[] = {
5878 (char *) "self",(char *) "window", NULL
5879 };
5880
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->Initialize(arg2);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 Py_INCREF(Py_None); resultobj = Py_None;
5894 return resultobj;
5895 fail:
5896 return NULL;
5897 }
5898
5899
5900 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject *resultobj;
5902 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5903 wxWindow *arg2 = (wxWindow *) 0 ;
5904 wxWindow *arg3 = (wxWindow *) 0 ;
5905 int arg4 = (int) 0 ;
5906 bool result;
5907 PyObject * obj0 = 0 ;
5908 PyObject * obj1 = 0 ;
5909 PyObject * obj2 = 0 ;
5910 PyObject * obj3 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5920 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5922 if (obj3) {
5923 arg4 = (int) SWIG_AsInt(obj3);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 {
5934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5935 }
5936 return resultobj;
5937 fail:
5938 return NULL;
5939 }
5940
5941
5942 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5945 wxWindow *arg2 = (wxWindow *) 0 ;
5946 wxWindow *arg3 = (wxWindow *) 0 ;
5947 int arg4 = (int) 0 ;
5948 bool result;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 PyObject * obj2 = 0 ;
5952 PyObject * obj3 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5964 if (obj3) {
5965 arg4 = (int) SWIG_AsInt(obj3);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 {
5976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5977 }
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5987 wxWindow *arg2 = (wxWindow *) NULL ;
5988 bool result;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 char *kwnames[] = {
5992 (char *) "self",(char *) "toRemove", NULL
5993 };
5994
5995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5998 if (obj1) {
5999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6001 }
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 result = (bool)(arg1)->Unsplit(arg2);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 {
6010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6011 }
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6021 wxWindow *arg2 = (wxWindow *) 0 ;
6022 wxWindow *arg3 = (wxWindow *) 0 ;
6023 bool result;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 PyObject * obj2 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6036 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
6037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 {
6046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6047 }
6048 return resultobj;
6049 fail:
6050 return NULL;
6051 }
6052
6053
6054 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj;
6056 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6057 PyObject * obj0 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 (arg1)->UpdateSize();
6068
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 Py_INCREF(Py_None); resultobj = Py_None;
6073 return resultobj;
6074 fail:
6075 return NULL;
6076 }
6077
6078
6079 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6080 PyObject *resultobj;
6081 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6082 bool result;
6083 PyObject * obj0 = 0 ;
6084 char *kwnames[] = {
6085 (char *) "self", NULL
6086 };
6087
6088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 {
6099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6100 }
6101 return resultobj;
6102 fail:
6103 return NULL;
6104 }
6105
6106
6107 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject *resultobj;
6109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6110 int arg2 ;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self",(char *) "width", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6120 arg2 = (int) SWIG_AsInt(obj1);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 (arg1)->SetSashSize(arg2);
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 Py_INCREF(Py_None); resultobj = Py_None;
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj;
6138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6139 int arg2 ;
6140 PyObject * obj0 = 0 ;
6141 PyObject * obj1 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "self",(char *) "width", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6149 arg2 = (int) SWIG_AsInt(obj1);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 (arg1)->SetBorderSize(arg2);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 Py_INCREF(Py_None); resultobj = Py_None;
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6168 int result;
6169 PyObject * obj0 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 resultobj = SWIG_FromInt((int)result);
6185 return resultobj;
6186 fail:
6187 return NULL;
6188 }
6189
6190
6191 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6194 int result;
6195 PyObject * obj0 = 0 ;
6196 char *kwnames[] = {
6197 (char *) "self", NULL
6198 };
6199
6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 resultobj = SWIG_FromInt((int)result);
6211 return resultobj;
6212 fail:
6213 return NULL;
6214 }
6215
6216
6217 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6218 PyObject *resultobj;
6219 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6220 int arg2 ;
6221 bool arg3 = (bool) True ;
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 PyObject * obj2 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self",(char *) "position",(char *) "redraw", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6232 arg2 = (int) SWIG_AsInt(obj1);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 if (obj2) {
6235 arg3 = (bool) SWIG_AsBool(obj2);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 (arg1)->SetSashPosition(arg2,arg3);
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 Py_INCREF(Py_None); resultobj = Py_None;
6246 return resultobj;
6247 fail:
6248 return NULL;
6249 }
6250
6251
6252 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6255 int result;
6256 PyObject * obj0 = 0 ;
6257 char *kwnames[] = {
6258 (char *) "self", NULL
6259 };
6260
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6264 {
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) SWIG_fail;
6270 }
6271 resultobj = SWIG_FromInt((int)result);
6272 return resultobj;
6273 fail:
6274 return NULL;
6275 }
6276
6277
6278 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6279 PyObject *resultobj;
6280 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6281 int arg2 ;
6282 PyObject * obj0 = 0 ;
6283 PyObject * obj1 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self",(char *) "min", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6291 arg2 = (int) SWIG_AsInt(obj1);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->SetMinimumPaneSize(arg2);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 Py_INCREF(Py_None); resultobj = Py_None;
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj;
6309 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6310 int result;
6311 PyObject * obj0 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = SWIG_FromInt((int)result);
6327 return resultobj;
6328 fail:
6329 return NULL;
6330 }
6331
6332
6333 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj;
6335 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6336 int arg2 ;
6337 int arg3 ;
6338 int arg4 = (int) 5 ;
6339 bool result;
6340 PyObject * obj0 = 0 ;
6341 PyObject * obj1 = 0 ;
6342 PyObject * obj2 = 0 ;
6343 PyObject * obj3 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6351 arg2 = (int) SWIG_AsInt(obj1);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 arg3 = (int) SWIG_AsInt(obj2);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 if (obj3) {
6356 arg4 = (int) SWIG_AsInt(obj3);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 {
6367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6368 }
6369 return resultobj;
6370 fail:
6371 return NULL;
6372 }
6373
6374
6375 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj;
6377 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6378 PyObject * obj0 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 (arg1)->SizeWindows();
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 Py_INCREF(Py_None); resultobj = Py_None;
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj;
6402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6403 bool arg2 ;
6404 PyObject * obj0 = 0 ;
6405 PyObject * obj1 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self",(char *) "needUpdating", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6413 arg2 = (bool) SWIG_AsBool(obj1);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 (arg1)->SetNeedUpdating(arg2);
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 Py_INCREF(Py_None); resultobj = Py_None;
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6432 bool result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6460 wxVisualAttributes result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "variant", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6467 if (obj0) {
6468 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 {
6479 wxVisualAttributes * resultptr;
6480 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6482 }
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6490 PyObject *obj;
6491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6492 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6493 Py_INCREF(obj);
6494 return Py_BuildValue((char *)"");
6495 }
6496 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6497 PyObject *resultobj;
6498 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6499 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6500 wxSplitterEvent *result;
6501 PyObject * obj0 = 0 ;
6502 PyObject * obj1 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "type",(char *) "splitter", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6508 if (obj0) {
6509 arg1 = (wxEventType) SWIG_AsInt(obj0);
6510 if (PyErr_Occurred()) SWIG_fail;
6511 }
6512 if (obj1) {
6513 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6515 }
6516 {
6517 PyThreadState* __tstate = wxPyBeginAllowThreads();
6518 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6519
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6533 int arg2 ;
6534 PyObject * obj0 = 0 ;
6535 PyObject * obj1 = 0 ;
6536 char *kwnames[] = {
6537 (char *) "self",(char *) "pos", NULL
6538 };
6539
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6543 arg2 = (int) SWIG_AsInt(obj1);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->SetSashPosition(arg2);
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 Py_INCREF(Py_None); resultobj = Py_None;
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6562 int result;
6563 PyObject * obj0 = 0 ;
6564 char *kwnames[] = {
6565 (char *) "self", NULL
6566 };
6567
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_FromInt((int)result);
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6588 wxWindow *result;
6589 PyObject * obj0 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 {
6605 resultobj = wxPyMake_wxObject(result);
6606 }
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6616 int result;
6617 PyObject * obj0 = 0 ;
6618 char *kwnames[] = {
6619 (char *) "self", NULL
6620 };
6621
6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 resultobj = SWIG_FromInt((int)result);
6633 return resultobj;
6634 fail:
6635 return NULL;
6636 }
6637
6638
6639 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6642 int result;
6643 PyObject * obj0 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 resultobj = SWIG_FromInt((int)result);
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6666 PyObject *obj;
6667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6668 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6669 Py_INCREF(obj);
6670 return Py_BuildValue((char *)"");
6671 }
6672 static int _wrap_SashNameStr_set(PyObject *_val) {
6673 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6674 return 1;
6675 }
6676
6677
6678 static PyObject *_wrap_SashNameStr_get() {
6679 PyObject *pyobj;
6680
6681 {
6682 #if wxUSE_UNICODE
6683 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6684 #else
6685 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6686 #endif
6687 }
6688 return pyobj;
6689 }
6690
6691
6692 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6693 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6694 return 1;
6695 }
6696
6697
6698 static PyObject *_wrap_SashLayoutNameStr_get() {
6699 PyObject *pyobj;
6700
6701 {
6702 #if wxUSE_UNICODE
6703 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6704 #else
6705 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6706 #endif
6707 }
6708 return pyobj;
6709 }
6710
6711
6712 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj;
6714 wxWindow *arg1 = (wxWindow *) 0 ;
6715 int arg2 ;
6716 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6717 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6718 wxSize const &arg4_defvalue = wxDefaultSize ;
6719 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6720 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6721 wxString const &arg6_defvalue = wxPySashNameStr ;
6722 wxString *arg6 = (wxString *) &arg6_defvalue ;
6723 wxSashWindow *result;
6724 wxPoint temp3 ;
6725 wxSize temp4 ;
6726 bool temp6 = False ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 PyObject * obj2 = 0 ;
6730 PyObject * obj3 = 0 ;
6731 PyObject * obj4 = 0 ;
6732 PyObject * obj5 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6740 arg2 = (int) SWIG_AsInt(obj1);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 if (obj2) {
6743 {
6744 arg3 = &temp3;
6745 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6746 }
6747 }
6748 if (obj3) {
6749 {
6750 arg4 = &temp4;
6751 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6752 }
6753 }
6754 if (obj4) {
6755 arg5 = (long) SWIG_AsLong(obj4);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 if (obj5) {
6759 {
6760 arg6 = wxString_in_helper(obj5);
6761 if (arg6 == NULL) SWIG_fail;
6762 temp6 = True;
6763 }
6764 }
6765 {
6766 PyThreadState* __tstate = wxPyBeginAllowThreads();
6767 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6768
6769 wxPyEndAllowThreads(__tstate);
6770 if (PyErr_Occurred()) SWIG_fail;
6771 }
6772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6773 {
6774 if (temp6)
6775 delete arg6;
6776 }
6777 return resultobj;
6778 fail:
6779 {
6780 if (temp6)
6781 delete arg6;
6782 }
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 wxSashWindow *result;
6790 char *kwnames[] = {
6791 NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (wxSashWindow *)new wxSashWindow();
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6803 return resultobj;
6804 fail:
6805 return NULL;
6806 }
6807
6808
6809 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject *resultobj;
6811 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6812 wxWindow *arg2 = (wxWindow *) 0 ;
6813 int arg3 ;
6814 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6815 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6816 wxSize const &arg5_defvalue = wxDefaultSize ;
6817 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6818 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6819 wxString const &arg7_defvalue = wxPySashNameStr ;
6820 wxString *arg7 = (wxString *) &arg7_defvalue ;
6821 bool result;
6822 wxPoint temp4 ;
6823 wxSize temp5 ;
6824 bool temp7 = False ;
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj1 = 0 ;
6827 PyObject * obj2 = 0 ;
6828 PyObject * obj3 = 0 ;
6829 PyObject * obj4 = 0 ;
6830 PyObject * obj5 = 0 ;
6831 PyObject * obj6 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6841 arg3 = (int) SWIG_AsInt(obj2);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 if (obj3) {
6844 {
6845 arg4 = &temp4;
6846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6847 }
6848 }
6849 if (obj4) {
6850 {
6851 arg5 = &temp5;
6852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6853 }
6854 }
6855 if (obj5) {
6856 arg6 = (long) SWIG_AsLong(obj5);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 if (obj6) {
6860 {
6861 arg7 = wxString_in_helper(obj6);
6862 if (arg7 == NULL) SWIG_fail;
6863 temp7 = True;
6864 }
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 {
6874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6875 }
6876 {
6877 if (temp7)
6878 delete arg7;
6879 }
6880 return resultobj;
6881 fail:
6882 {
6883 if (temp7)
6884 delete arg7;
6885 }
6886 return NULL;
6887 }
6888
6889
6890 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6891 PyObject *resultobj;
6892 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6893 int arg2 ;
6894 bool arg3 ;
6895 PyObject * obj0 = 0 ;
6896 PyObject * obj1 = 0 ;
6897 PyObject * obj2 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "edge",(char *) "sash", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 arg3 = (bool) SWIG_AsBool(obj2);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 Py_INCREF(Py_None); resultobj = Py_None;
6917 return resultobj;
6918 fail:
6919 return NULL;
6920 }
6921
6922
6923 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj;
6925 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6926 int arg2 ;
6927 bool result;
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "self",(char *) "edge", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6937 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6948 }
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6958 int arg2 ;
6959 bool arg3 ;
6960 PyObject * obj0 = 0 ;
6961 PyObject * obj1 = 0 ;
6962 PyObject * obj2 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self",(char *) "edge",(char *) "border", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6970 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 arg3 = (bool) SWIG_AsBool(obj2);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6991 int arg2 ;
6992 bool result;
6993 PyObject * obj0 = 0 ;
6994 PyObject * obj1 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self",(char *) "edge", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7002 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 {
7012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7013 }
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7023 int arg2 ;
7024 int result;
7025 PyObject * obj0 = 0 ;
7026 PyObject * obj1 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self",(char *) "edge", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7034 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_FromInt((int)result);
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7053 int arg2 ;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "width", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7063 arg2 = (int) SWIG_AsInt(obj1);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 (arg1)->SetDefaultBorderSize(arg2);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 Py_INCREF(Py_None); resultobj = Py_None;
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7082 int result;
7083 PyObject * obj0 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 resultobj = SWIG_FromInt((int)result);
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7108 int arg2 ;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "width", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7118 arg2 = (int) SWIG_AsInt(obj1);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 (arg1)->SetExtraBorderSize(arg2);
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 Py_INCREF(Py_None); resultobj = Py_None;
7128 return resultobj;
7129 fail:
7130 return NULL;
7131 }
7132
7133
7134 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7137 int result;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = SWIG_FromInt((int)result);
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7163 int arg2 ;
7164 PyObject * obj0 = 0 ;
7165 PyObject * obj1 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self",(char *) "min", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7173 arg2 = (int) SWIG_AsInt(obj1);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 (arg1)->SetMinimumSizeX(arg2);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 Py_INCREF(Py_None); resultobj = Py_None;
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7192 int arg2 ;
7193 PyObject * obj0 = 0 ;
7194 PyObject * obj1 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "min", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7202 arg2 = (int) SWIG_AsInt(obj1);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 (arg1)->SetMinimumSizeY(arg2);
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 Py_INCREF(Py_None); resultobj = Py_None;
7212 return resultobj;
7213 fail:
7214 return NULL;
7215 }
7216
7217
7218 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7221 int result;
7222 PyObject * obj0 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_FromInt((int)result);
7238 return resultobj;
7239 fail:
7240 return NULL;
7241 }
7242
7243
7244 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj;
7246 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7247 int result;
7248 PyObject * obj0 = 0 ;
7249 char *kwnames[] = {
7250 (char *) "self", NULL
7251 };
7252
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 resultobj = SWIG_FromInt((int)result);
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7273 int arg2 ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "self",(char *) "max", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7283 arg2 = (int) SWIG_AsInt(obj1);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 (arg1)->SetMaximumSizeX(arg2);
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 Py_INCREF(Py_None); resultobj = Py_None;
7293 return resultobj;
7294 fail:
7295 return NULL;
7296 }
7297
7298
7299 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7302 int arg2 ;
7303 PyObject * obj0 = 0 ;
7304 PyObject * obj1 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "max", NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7312 arg2 = (int) SWIG_AsInt(obj1);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 (arg1)->SetMaximumSizeY(arg2);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 Py_INCREF(Py_None); resultobj = Py_None;
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7331 int result;
7332 PyObject * obj0 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "self", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 resultobj = SWIG_FromInt((int)result);
7348 return resultobj;
7349 fail:
7350 return NULL;
7351 }
7352
7353
7354 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7355 PyObject *resultobj;
7356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7357 int result;
7358 PyObject * obj0 = 0 ;
7359 char *kwnames[] = {
7360 (char *) "self", NULL
7361 };
7362
7363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7366 {
7367 PyThreadState* __tstate = wxPyBeginAllowThreads();
7368 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7369
7370 wxPyEndAllowThreads(__tstate);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 resultobj = SWIG_FromInt((int)result);
7374 return resultobj;
7375 fail:
7376 return NULL;
7377 }
7378
7379
7380 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7381 PyObject *resultobj;
7382 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7383 int arg2 ;
7384 int arg3 ;
7385 int arg4 = (int) 2 ;
7386 int result;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 PyObject * obj2 = 0 ;
7390 PyObject * obj3 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 arg2 = (int) SWIG_AsInt(obj1);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 arg3 = (int) SWIG_AsInt(obj2);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 if (obj3) {
7403 arg4 = (int) SWIG_AsInt(obj3);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_FromInt((int)result);
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 (arg1)->SizeWindows();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 Py_INCREF(Py_None); resultobj = Py_None;
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7446 PyObject *obj;
7447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7448 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7449 Py_INCREF(obj);
7450 return Py_BuildValue((char *)"");
7451 }
7452 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 int arg1 = (int) 0 ;
7455 int arg2 = (int) wxSASH_NONE ;
7456 wxSashEvent *result;
7457 PyObject * obj0 = 0 ;
7458 PyObject * obj1 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "id",(char *) "edge", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7464 if (obj0) {
7465 arg1 = (int) SWIG_AsInt(obj0);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 if (obj1) {
7469 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7475
7476 wxPyEndAllowThreads(__tstate);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7489 int arg2 ;
7490 PyObject * obj0 = 0 ;
7491 PyObject * obj1 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "self",(char *) "edge", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7499 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 Py_INCREF(Py_None); resultobj = Py_None;
7509 return resultobj;
7510 fail:
7511 return NULL;
7512 }
7513
7514
7515 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7516 PyObject *resultobj;
7517 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7518 int result;
7519 PyObject * obj0 = 0 ;
7520 char *kwnames[] = {
7521 (char *) "self", NULL
7522 };
7523
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7530
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 resultobj = SWIG_FromInt((int)result);
7535 return resultobj;
7536 fail:
7537 return NULL;
7538 }
7539
7540
7541 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7544 wxRect *arg2 = 0 ;
7545 wxRect temp2 ;
7546 PyObject * obj0 = 0 ;
7547 PyObject * obj1 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self",(char *) "rect", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7555 {
7556 arg2 = &temp2;
7557 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7558 }
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 (arg1)->SetDragRect((wxRect const &)*arg2);
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 Py_INCREF(Py_None); resultobj = Py_None;
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7576 wxRect result;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 result = ((wxSashEvent const *)arg1)->GetDragRect();
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 {
7593 wxRect * resultptr;
7594 resultptr = new wxRect((wxRect &) result);
7595 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7596 }
7597 return resultobj;
7598 fail:
7599 return NULL;
7600 }
7601
7602
7603 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7606 int arg2 ;
7607 PyObject * obj0 = 0 ;
7608 PyObject * obj1 = 0 ;
7609 char *kwnames[] = {
7610 (char *) "self",(char *) "status", NULL
7611 };
7612
7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7616 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7635 int result;
7636 PyObject * obj0 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7647
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
7651 resultobj = SWIG_FromInt((int)result);
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7659 PyObject *obj;
7660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7661 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7662 Py_INCREF(obj);
7663 return Py_BuildValue((char *)"");
7664 }
7665 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 int arg1 = (int) 0 ;
7668 wxQueryLayoutInfoEvent *result;
7669 PyObject * obj0 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "id", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7675 if (obj0) {
7676 arg1 = (int) SWIG_AsInt(obj0);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7696 int arg2 ;
7697 PyObject * obj0 = 0 ;
7698 PyObject * obj1 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self",(char *) "length", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7706 arg2 = (int) SWIG_AsInt(obj1);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 (arg1)->SetRequestedLength(arg2);
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 Py_INCREF(Py_None); resultobj = Py_None;
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7725 int result;
7726 PyObject * obj0 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 resultobj = SWIG_FromInt((int)result);
7742 return resultobj;
7743 fail:
7744 return NULL;
7745 }
7746
7747
7748 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7751 int arg2 ;
7752 PyObject * obj0 = 0 ;
7753 PyObject * obj1 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self",(char *) "flags", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7761 arg2 = (int) SWIG_AsInt(obj1);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 (arg1)->SetFlags(arg2);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 return resultobj;
7772 fail:
7773 return NULL;
7774 }
7775
7776
7777 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7780 int result;
7781 PyObject * obj0 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 resultobj = SWIG_FromInt((int)result);
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7806 wxSize *arg2 = 0 ;
7807 wxSize temp2 ;
7808 PyObject * obj0 = 0 ;
7809 PyObject * obj1 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self",(char *) "size", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7817 {
7818 arg2 = &temp2;
7819 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7820 }
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 (arg1)->SetSize((wxSize const &)*arg2);
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 Py_INCREF(Py_None); resultobj = Py_None;
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7838 wxSize result;
7839 PyObject * obj0 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 {
7855 wxSize * resultptr;
7856 resultptr = new wxSize((wxSize &) result);
7857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7858 }
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7868 int arg2 ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "orient", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7878 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj;
7896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7897 int result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 resultobj = SWIG_FromInt((int)result);
7914 return resultobj;
7915 fail:
7916 return NULL;
7917 }
7918
7919
7920 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7923 int arg2 ;
7924 PyObject * obj0 = 0 ;
7925 PyObject * obj1 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "align", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7933 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 Py_INCREF(Py_None); resultobj = Py_None;
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7952 int result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 resultobj = SWIG_FromInt((int)result);
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7976 PyObject *obj;
7977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7978 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7979 Py_INCREF(obj);
7980 return Py_BuildValue((char *)"");
7981 }
7982 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 int arg1 = (int) 0 ;
7985 wxCalculateLayoutEvent *result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "id", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7992 if (obj0) {
7993 arg1 = (int) SWIG_AsInt(obj0);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8013 int arg2 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "flags", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8023 arg2 = (int) SWIG_AsInt(obj1);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->SetFlags(arg2);
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 Py_INCREF(Py_None); resultobj = Py_None;
8033 return resultobj;
8034 fail:
8035 return NULL;
8036 }
8037
8038
8039 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8042 int result;
8043 PyObject * obj0 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
8049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 resultobj = SWIG_FromInt((int)result);
8059 return resultobj;
8060 fail:
8061 return NULL;
8062 }
8063
8064
8065 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8068 wxRect *arg2 = 0 ;
8069 wxRect temp2 ;
8070 PyObject * obj0 = 0 ;
8071 PyObject * obj1 = 0 ;
8072 char *kwnames[] = {
8073 (char *) "self",(char *) "rect", NULL
8074 };
8075
8076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8079 {
8080 arg2 = &temp2;
8081 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8082 }
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 (arg1)->SetRect((wxRect const &)*arg2);
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 Py_INCREF(Py_None); resultobj = Py_None;
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8100 wxRect result;
8101 PyObject * obj0 = 0 ;
8102 char *kwnames[] = {
8103 (char *) "self", NULL
8104 };
8105
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 {
8117 wxRect * resultptr;
8118 resultptr = new wxRect((wxRect &) result);
8119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8120 }
8121 return resultobj;
8122 fail:
8123 return NULL;
8124 }
8125
8126
8127 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8128 PyObject *obj;
8129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8130 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8131 Py_INCREF(obj);
8132 return Py_BuildValue((char *)"");
8133 }
8134 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxWindow *arg1 = (wxWindow *) 0 ;
8137 int arg2 ;
8138 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8139 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8140 wxSize const &arg4_defvalue = wxDefaultSize ;
8141 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8142 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8143 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8144 wxString *arg6 = (wxString *) &arg6_defvalue ;
8145 wxSashLayoutWindow *result;
8146 wxPoint temp3 ;
8147 wxSize temp4 ;
8148 bool temp6 = False ;
8149 PyObject * obj0 = 0 ;
8150 PyObject * obj1 = 0 ;
8151 PyObject * obj2 = 0 ;
8152 PyObject * obj3 = 0 ;
8153 PyObject * obj4 = 0 ;
8154 PyObject * obj5 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8162 arg2 = (int) SWIG_AsInt(obj1);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 if (obj2) {
8165 {
8166 arg3 = &temp3;
8167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8168 }
8169 }
8170 if (obj3) {
8171 {
8172 arg4 = &temp4;
8173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8174 }
8175 }
8176 if (obj4) {
8177 arg5 = (long) SWIG_AsLong(obj4);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 if (obj5) {
8181 {
8182 arg6 = wxString_in_helper(obj5);
8183 if (arg6 == NULL) SWIG_fail;
8184 temp6 = True;
8185 }
8186 }
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8195 {
8196 if (temp6)
8197 delete arg6;
8198 }
8199 return resultobj;
8200 fail:
8201 {
8202 if (temp6)
8203 delete arg6;
8204 }
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxSashLayoutWindow *result;
8212 char *kwnames[] = {
8213 NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8217 {
8218 PyThreadState* __tstate = wxPyBeginAllowThreads();
8219 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8220
8221 wxPyEndAllowThreads(__tstate);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 }
8224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8225 return resultobj;
8226 fail:
8227 return NULL;
8228 }
8229
8230
8231 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8232 PyObject *resultobj;
8233 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8234 wxWindow *arg2 = (wxWindow *) 0 ;
8235 int arg3 ;
8236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8238 wxSize const &arg5_defvalue = wxDefaultSize ;
8239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8240 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8241 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8242 wxString *arg7 = (wxString *) &arg7_defvalue ;
8243 bool result;
8244 wxPoint temp4 ;
8245 wxSize temp5 ;
8246 bool temp7 = False ;
8247 PyObject * obj0 = 0 ;
8248 PyObject * obj1 = 0 ;
8249 PyObject * obj2 = 0 ;
8250 PyObject * obj3 = 0 ;
8251 PyObject * obj4 = 0 ;
8252 PyObject * obj5 = 0 ;
8253 PyObject * obj6 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8263 arg3 = (int) SWIG_AsInt(obj2);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 if (obj3) {
8266 {
8267 arg4 = &temp4;
8268 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8269 }
8270 }
8271 if (obj4) {
8272 {
8273 arg5 = &temp5;
8274 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8275 }
8276 }
8277 if (obj5) {
8278 arg6 = (long) SWIG_AsLong(obj5);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 if (obj6) {
8282 {
8283 arg7 = wxString_in_helper(obj6);
8284 if (arg7 == NULL) SWIG_fail;
8285 temp7 = True;
8286 }
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 {
8296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8297 }
8298 {
8299 if (temp7)
8300 delete arg7;
8301 }
8302 return resultobj;
8303 fail:
8304 {
8305 if (temp7)
8306 delete arg7;
8307 }
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8315 int result;
8316 PyObject * obj0 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "self", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 result = (int)(arg1)->GetAlignment();
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 resultobj = SWIG_FromInt((int)result);
8332 return resultobj;
8333 fail:
8334 return NULL;
8335 }
8336
8337
8338 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8339 PyObject *resultobj;
8340 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8341 int result;
8342 PyObject * obj0 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "self", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (int)(arg1)->GetOrientation();
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 resultobj = SWIG_FromInt((int)result);
8358 return resultobj;
8359 fail:
8360 return NULL;
8361 }
8362
8363
8364 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8365 PyObject *resultobj;
8366 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8367 int arg2 ;
8368 PyObject * obj0 = 0 ;
8369 PyObject * obj1 = 0 ;
8370 char *kwnames[] = {
8371 (char *) "self",(char *) "alignment", NULL
8372 };
8373
8374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8377 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 Py_INCREF(Py_None); resultobj = Py_None;
8387 return resultobj;
8388 fail:
8389 return NULL;
8390 }
8391
8392
8393 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8396 wxSize *arg2 = 0 ;
8397 wxSize temp2 ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self",(char *) "size", NULL
8402 };
8403
8404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8407 {
8408 arg2 = &temp2;
8409 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8410 }
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8428 int arg2 ;
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "orientation", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8438 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 Py_INCREF(Py_None); resultobj = Py_None;
8448 return resultobj;
8449 fail:
8450 return NULL;
8451 }
8452
8453
8454 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8455 PyObject *obj;
8456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8457 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8458 Py_INCREF(obj);
8459 return Py_BuildValue((char *)"");
8460 }
8461 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8462 PyObject *resultobj;
8463 wxLayoutAlgorithm *result;
8464 char *kwnames[] = {
8465 NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8486 PyObject * obj0 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 delete arg1;
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 Py_INCREF(Py_None); resultobj = Py_None;
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8511 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8512 wxRect *arg3 = (wxRect *) NULL ;
8513 bool result;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 PyObject * obj2 = 0 ;
8517 char *kwnames[] = {
8518 (char *) "self",(char *) "frame",(char *) "rect", NULL
8519 };
8520
8521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8526 if (obj2) {
8527 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 }
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 {
8538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8539 }
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8549 wxFrame *arg2 = (wxFrame *) 0 ;
8550 wxWindow *arg3 = (wxWindow *) NULL ;
8551 bool result;
8552 PyObject * obj0 = 0 ;
8553 PyObject * obj1 = 0 ;
8554 PyObject * obj2 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8564 if (obj2) {
8565 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8567 }
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 {
8576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8577 }
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj;
8586 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8587 wxWindow *arg2 = (wxWindow *) 0 ;
8588 wxWindow *arg3 = (wxWindow *) NULL ;
8589 bool result;
8590 PyObject * obj0 = 0 ;
8591 PyObject * obj1 = 0 ;
8592 PyObject * obj2 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8595 };
8596
8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8600 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8602 if (obj2) {
8603 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 }
8606 {
8607 PyThreadState* __tstate = wxPyBeginAllowThreads();
8608 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8609
8610 wxPyEndAllowThreads(__tstate);
8611 if (PyErr_Occurred()) SWIG_fail;
8612 }
8613 {
8614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8615 }
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8623 PyObject *obj;
8624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8625 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8626 Py_INCREF(obj);
8627 return Py_BuildValue((char *)"");
8628 }
8629 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxWindow *arg1 = (wxWindow *) 0 ;
8632 int arg2 = (int) wxBORDER_NONE ;
8633 wxPopupWindow *result;
8634 PyObject * obj0 = 0 ;
8635 PyObject * obj1 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "parent",(char *) "flags", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 if (obj1) {
8644 arg2 = (int) SWIG_AsInt(obj1);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8655 return resultobj;
8656 fail:
8657 return NULL;
8658 }
8659
8660
8661 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8662 PyObject *resultobj;
8663 wxPopupWindow *result;
8664 char *kwnames[] = {
8665 NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8671 result = (wxPopupWindow *)new wxPopupWindow();
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) SWIG_fail;
8675 }
8676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8677 return resultobj;
8678 fail:
8679 return NULL;
8680 }
8681
8682
8683 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj;
8685 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8686 wxWindow *arg2 = (wxWindow *) 0 ;
8687 int arg3 = (int) wxBORDER_NONE ;
8688 bool result;
8689 PyObject * obj0 = 0 ;
8690 PyObject * obj1 = 0 ;
8691 PyObject * obj2 = 0 ;
8692 char *kwnames[] = {
8693 (char *) "self",(char *) "parent",(char *) "flags", NULL
8694 };
8695
8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8701 if (obj2) {
8702 arg3 = (int) SWIG_AsInt(obj2);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 result = (bool)(arg1)->Create(arg2,arg3);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 {
8713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8714 }
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8724 wxPoint *arg2 = 0 ;
8725 wxSize *arg3 = 0 ;
8726 wxPoint temp2 ;
8727 wxSize temp3 ;
8728 PyObject * obj0 = 0 ;
8729 PyObject * obj1 = 0 ;
8730 PyObject * obj2 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8738 {
8739 arg2 = &temp2;
8740 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8741 }
8742 {
8743 arg3 = &temp3;
8744 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8745 }
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8761 PyObject *obj;
8762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8764 Py_INCREF(obj);
8765 return Py_BuildValue((char *)"");
8766 }
8767 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxWindow *arg1 = (wxWindow *) 0 ;
8770 int arg2 = (int) wxBORDER_NONE ;
8771 wxPyPopupTransientWindow *result;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "parent",(char *) "style", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8781 if (obj1) {
8782 arg2 = (int) SWIG_AsInt(obj1);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8788
8789 wxPyEndAllowThreads(__tstate);
8790 if (PyErr_Occurred()) SWIG_fail;
8791 }
8792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8793 return resultobj;
8794 fail:
8795 return NULL;
8796 }
8797
8798
8799 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxPyPopupTransientWindow *result;
8802 char *kwnames[] = {
8803 NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8824 PyObject *arg2 = (PyObject *) 0 ;
8825 PyObject *arg3 = (PyObject *) 0 ;
8826 PyObject * obj0 = 0 ;
8827 PyObject * obj1 = 0 ;
8828 PyObject * obj2 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self",(char *) "self",(char *) "_class", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8836 arg2 = obj1;
8837 arg3 = obj2;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 (arg1)->_setCallbackInfo(arg2,arg3);
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 Py_INCREF(Py_None); resultobj = Py_None;
8846 return resultobj;
8847 fail:
8848 return NULL;
8849 }
8850
8851
8852 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8855 wxWindow *arg2 = (wxWindow *) NULL ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self",(char *) "focus", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8865 if (obj1) {
8866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8868 }
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 (arg1)->Popup(arg2);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 return resultobj;
8878 fail:
8879 return NULL;
8880 }
8881
8882
8883 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj;
8885 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->Dismiss();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905 }
8906
8907
8908 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8909 PyObject *obj;
8910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8911 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8912 Py_INCREF(obj);
8913 return Py_BuildValue((char *)"");
8914 }
8915 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxWindow *arg1 = (wxWindow *) 0 ;
8918 wxString *arg2 = 0 ;
8919 int arg3 = (int) 100 ;
8920 wxRect *arg4 = (wxRect *) NULL ;
8921 wxTipWindow *result;
8922 bool temp2 = False ;
8923 PyObject * obj0 = 0 ;
8924 PyObject * obj1 = 0 ;
8925 PyObject * obj2 = 0 ;
8926 PyObject * obj3 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8934 {
8935 arg2 = wxString_in_helper(obj1);
8936 if (arg2 == NULL) SWIG_fail;
8937 temp2 = True;
8938 }
8939 if (obj2) {
8940 arg3 = (int) SWIG_AsInt(obj2);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 if (obj3) {
8944 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8955 {
8956 if (temp2)
8957 delete arg2;
8958 }
8959 return resultobj;
8960 fail:
8961 {
8962 if (temp2)
8963 delete arg2;
8964 }
8965 return NULL;
8966 }
8967
8968
8969 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8972 wxRect *arg2 = 0 ;
8973 wxRect temp2 ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "rectBound", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8983 {
8984 arg2 = &temp2;
8985 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 Py_INCREF(Py_None); resultobj = Py_None;
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj;
9003 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
9004 PyObject * obj0 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "self", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
9011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->Close();
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
9027 PyObject *obj;
9028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9029 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
9030 Py_INCREF(obj);
9031 return Py_BuildValue((char *)"");
9032 }
9033 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxWindow *arg1 = (wxWindow *) 0 ;
9036 int arg2 = (int) wxID_ANY ;
9037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9039 wxSize const &arg4_defvalue = wxDefaultSize ;
9040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9041 long arg5 = (long) 0 ;
9042 wxString const &arg6_defvalue = wxPyPanelNameStr ;
9043 wxString *arg6 = (wxString *) &arg6_defvalue ;
9044 wxPyVScrolledWindow *result;
9045 wxPoint temp3 ;
9046 wxSize temp4 ;
9047 bool temp6 = False ;
9048 PyObject * obj0 = 0 ;
9049 PyObject * obj1 = 0 ;
9050 PyObject * obj2 = 0 ;
9051 PyObject * obj3 = 0 ;
9052 PyObject * obj4 = 0 ;
9053 PyObject * obj5 = 0 ;
9054 char *kwnames[] = {
9055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9061 if (obj1) {
9062 arg2 = (int) SWIG_AsInt(obj1);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 if (obj2) {
9066 {
9067 arg3 = &temp3;
9068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9069 }
9070 }
9071 if (obj3) {
9072 {
9073 arg4 = &temp4;
9074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9075 }
9076 }
9077 if (obj4) {
9078 arg5 = (long) SWIG_AsLong(obj4);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 if (obj5) {
9082 {
9083 arg6 = wxString_in_helper(obj5);
9084 if (arg6 == NULL) SWIG_fail;
9085 temp6 = True;
9086 }
9087 }
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9096 {
9097 if (temp6)
9098 delete arg6;
9099 }
9100 return resultobj;
9101 fail:
9102 {
9103 if (temp6)
9104 delete arg6;
9105 }
9106 return NULL;
9107 }
9108
9109
9110 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxPyVScrolledWindow *result;
9113 char *kwnames[] = {
9114 NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9118 {
9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9120 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9121
9122 wxPyEndAllowThreads(__tstate);
9123 if (PyErr_Occurred()) SWIG_fail;
9124 }
9125 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9133 PyObject *resultobj;
9134 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9135 PyObject *arg2 = (PyObject *) 0 ;
9136 PyObject *arg3 = (PyObject *) 0 ;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 PyObject * obj2 = 0 ;
9140 char *kwnames[] = {
9141 (char *) "self",(char *) "self",(char *) "_class", NULL
9142 };
9143
9144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9147 arg2 = obj1;
9148 arg3 = obj2;
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 (arg1)->_setCallbackInfo(arg2,arg3);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 Py_INCREF(Py_None); resultobj = Py_None;
9157 return resultobj;
9158 fail:
9159 return NULL;
9160 }
9161
9162
9163 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9166 wxWindow *arg2 = (wxWindow *) 0 ;
9167 int arg3 = (int) wxID_ANY ;
9168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9170 wxSize const &arg5_defvalue = wxDefaultSize ;
9171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9172 long arg6 = (long) 0 ;
9173 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9174 wxString *arg7 = (wxString *) &arg7_defvalue ;
9175 bool result;
9176 wxPoint temp4 ;
9177 wxSize temp5 ;
9178 bool temp7 = False ;
9179 PyObject * obj0 = 0 ;
9180 PyObject * obj1 = 0 ;
9181 PyObject * obj2 = 0 ;
9182 PyObject * obj3 = 0 ;
9183 PyObject * obj4 = 0 ;
9184 PyObject * obj5 = 0 ;
9185 PyObject * obj6 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9195 if (obj2) {
9196 arg3 = (int) SWIG_AsInt(obj2);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 if (obj3) {
9200 {
9201 arg4 = &temp4;
9202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9203 }
9204 }
9205 if (obj4) {
9206 {
9207 arg5 = &temp5;
9208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9209 }
9210 }
9211 if (obj5) {
9212 arg6 = (long) SWIG_AsLong(obj5);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 if (obj6) {
9216 {
9217 arg7 = wxString_in_helper(obj6);
9218 if (arg7 == NULL) SWIG_fail;
9219 temp7 = True;
9220 }
9221 }
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 {
9230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9231 }
9232 {
9233 if (temp7)
9234 delete arg7;
9235 }
9236 return resultobj;
9237 fail:
9238 {
9239 if (temp7)
9240 delete arg7;
9241 }
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9249 size_t arg2 ;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self",(char *) "count", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9259 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 (arg1)->SetLineCount(arg2);
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 Py_INCREF(Py_None); resultobj = Py_None;
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9278 size_t arg2 ;
9279 bool result;
9280 PyObject * obj0 = 0 ;
9281 PyObject * obj1 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self",(char *) "line", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9289 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 result = (bool)(arg1)->ScrollToLine(arg2);
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 {
9299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9300 }
9301 return resultobj;
9302 fail:
9303 return NULL;
9304 }
9305
9306
9307 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9308 PyObject *resultobj;
9309 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9310 int arg2 ;
9311 bool result;
9312 PyObject * obj0 = 0 ;
9313 PyObject * obj1 = 0 ;
9314 char *kwnames[] = {
9315 (char *) "self",(char *) "lines", NULL
9316 };
9317
9318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
9319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9321 arg2 = (int) SWIG_AsInt(obj1);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (bool)(arg1)->ScrollLines(arg2);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 {
9331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9332 }
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9342 int arg2 ;
9343 bool result;
9344 PyObject * obj0 = 0 ;
9345 PyObject * obj1 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "self",(char *) "pages", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9353 arg2 = (int) SWIG_AsInt(obj1);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = (bool)(arg1)->ScrollPages(arg2);
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 {
9363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9364 }
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9374 size_t arg2 ;
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self",(char *) "line", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9384 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 (arg1)->RefreshLine(arg2);
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 Py_INCREF(Py_None); resultobj = Py_None;
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9403 size_t arg2 ;
9404 size_t arg3 ;
9405 PyObject * obj0 = 0 ;
9406 PyObject * obj1 = 0 ;
9407 PyObject * obj2 = 0 ;
9408 char *kwnames[] = {
9409 (char *) "self",(char *) "from",(char *) "to", NULL
9410 };
9411
9412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9415 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 (arg1)->RefreshLines(arg2,arg3);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9436 int arg2 ;
9437 int arg3 ;
9438 int result;
9439 PyObject * obj0 = 0 ;
9440 PyObject * obj1 = 0 ;
9441 PyObject * obj2 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self",(char *) "x",(char *) "y", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9449 arg2 = (int) SWIG_AsInt(obj1);
9450 if (PyErr_Occurred()) SWIG_fail;
9451 arg3 = (int) SWIG_AsInt(obj2);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 resultobj = SWIG_FromInt((int)result);
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9470 wxPoint *arg2 = 0 ;
9471 int result;
9472 wxPoint temp2 ;
9473 PyObject * obj0 = 0 ;
9474 PyObject * obj1 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "pt", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9482 {
9483 arg2 = &temp2;
9484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9485 }
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_FromInt((int)result);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9503 PyObject * obj0 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "self", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 (arg1)->RefreshAll();
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 Py_INCREF(Py_None); resultobj = Py_None;
9519 return resultobj;
9520 fail:
9521 return NULL;
9522 }
9523
9524
9525 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9528 size_t result;
9529 PyObject * obj0 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9545 return resultobj;
9546 fail:
9547 return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9554 size_t result;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj;
9579 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9580 size_t result;
9581 PyObject * obj0 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9597 return resultobj;
9598 fail:
9599 return NULL;
9600 }
9601
9602
9603 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9604 PyObject *resultobj;
9605 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9606 size_t arg2 ;
9607 bool result;
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self",(char *) "line", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9617 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 {
9627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9628 }
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9636 PyObject *obj;
9637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9638 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9639 Py_INCREF(obj);
9640 return Py_BuildValue((char *)"");
9641 }
9642 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9643 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9644 return 1;
9645 }
9646
9647
9648 static PyObject *_wrap_VListBoxNameStr_get() {
9649 PyObject *pyobj;
9650
9651 {
9652 #if wxUSE_UNICODE
9653 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9654 #else
9655 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9656 #endif
9657 }
9658 return pyobj;
9659 }
9660
9661
9662 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxWindow *arg1 = (wxWindow *) 0 ;
9665 int arg2 = (int) wxID_ANY ;
9666 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9667 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9668 wxSize const &arg4_defvalue = wxDefaultSize ;
9669 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9670 long arg5 = (long) 0 ;
9671 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9672 wxString *arg6 = (wxString *) &arg6_defvalue ;
9673 wxPyVListBox *result;
9674 wxPoint temp3 ;
9675 wxSize temp4 ;
9676 bool temp6 = False ;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj1 = 0 ;
9679 PyObject * obj2 = 0 ;
9680 PyObject * obj3 = 0 ;
9681 PyObject * obj4 = 0 ;
9682 PyObject * obj5 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9690 if (obj1) {
9691 arg2 = (int) SWIG_AsInt(obj1);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 if (obj2) {
9695 {
9696 arg3 = &temp3;
9697 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9698 }
9699 }
9700 if (obj3) {
9701 {
9702 arg4 = &temp4;
9703 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9704 }
9705 }
9706 if (obj4) {
9707 arg5 = (long) SWIG_AsLong(obj4);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 if (obj5) {
9711 {
9712 arg6 = wxString_in_helper(obj5);
9713 if (arg6 == NULL) SWIG_fail;
9714 temp6 = True;
9715 }
9716 }
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9725 {
9726 if (temp6)
9727 delete arg6;
9728 }
9729 return resultobj;
9730 fail:
9731 {
9732 if (temp6)
9733 delete arg6;
9734 }
9735 return NULL;
9736 }
9737
9738
9739 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9740 PyObject *resultobj;
9741 wxPyVListBox *result;
9742 char *kwnames[] = {
9743 NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (wxPyVListBox *)new wxPyVListBox();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9764 PyObject *arg2 = (PyObject *) 0 ;
9765 PyObject *arg3 = (PyObject *) 0 ;
9766 PyObject * obj0 = 0 ;
9767 PyObject * obj1 = 0 ;
9768 PyObject * obj2 = 0 ;
9769 char *kwnames[] = {
9770 (char *) "self",(char *) "self",(char *) "_class", NULL
9771 };
9772
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9776 arg2 = obj1;
9777 arg3 = obj2;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 (arg1)->_setCallbackInfo(arg2,arg3);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 Py_INCREF(Py_None); resultobj = Py_None;
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9795 wxWindow *arg2 = (wxWindow *) 0 ;
9796 int arg3 = (int) wxID_ANY ;
9797 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9798 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9799 wxSize const &arg5_defvalue = wxDefaultSize ;
9800 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9801 long arg6 = (long) 0 ;
9802 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9803 wxString *arg7 = (wxString *) &arg7_defvalue ;
9804 bool result;
9805 wxPoint temp4 ;
9806 wxSize temp5 ;
9807 bool temp7 = False ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 PyObject * obj2 = 0 ;
9811 PyObject * obj3 = 0 ;
9812 PyObject * obj4 = 0 ;
9813 PyObject * obj5 = 0 ;
9814 PyObject * obj6 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9824 if (obj2) {
9825 arg3 = (int) SWIG_AsInt(obj2);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 if (obj3) {
9829 {
9830 arg4 = &temp4;
9831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9832 }
9833 }
9834 if (obj4) {
9835 {
9836 arg5 = &temp5;
9837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9838 }
9839 }
9840 if (obj5) {
9841 arg6 = (long) SWIG_AsLong(obj5);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 if (obj6) {
9845 {
9846 arg7 = wxString_in_helper(obj6);
9847 if (arg7 == NULL) SWIG_fail;
9848 temp7 = True;
9849 }
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 {
9859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9860 }
9861 {
9862 if (temp7)
9863 delete arg7;
9864 }
9865 return resultobj;
9866 fail:
9867 {
9868 if (temp7)
9869 delete arg7;
9870 }
9871 return NULL;
9872 }
9873
9874
9875 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj;
9877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9878 size_t result;
9879 PyObject * obj0 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9904 bool result;
9905 PyObject * obj0 = 0 ;
9906 char *kwnames[] = {
9907 (char *) "self", NULL
9908 };
9909
9910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 {
9921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9922 }
9923 return resultobj;
9924 fail:
9925 return NULL;
9926 }
9927
9928
9929 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9932 int result;
9933 PyObject * obj0 = 0 ;
9934 char *kwnames[] = {
9935 (char *) "self", NULL
9936 };
9937
9938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9944
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 resultobj = SWIG_FromInt((int)result);
9949 return resultobj;
9950 fail:
9951 return NULL;
9952 }
9953
9954
9955 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject *resultobj;
9957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9958 size_t arg2 ;
9959 bool result;
9960 PyObject * obj0 = 0 ;
9961 PyObject * obj1 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "item", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9969 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 {
9979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9980 }
9981 return resultobj;
9982 fail:
9983 return NULL;
9984 }
9985
9986
9987 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9988 PyObject *resultobj;
9989 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9990 size_t arg2 ;
9991 bool result;
9992 PyObject * obj0 = 0 ;
9993 PyObject * obj1 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self",(char *) "item", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10001 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10022 size_t result;
10023 PyObject * obj0 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj;
10047 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10048 unsigned long *arg2 = 0 ;
10049 int result;
10050 PyObject * obj0 = 0 ;
10051 PyObject * obj1 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self",(char *) "cookie", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10060 SWIG_POINTER_EXCEPTION | 0)) == -1)
10061 SWIG_fail;
10062 if (arg2 == NULL) {
10063 PyErr_SetString(PyExc_TypeError,"null reference");
10064 SWIG_fail;
10065 }
10066 {
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
10069
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 resultobj = SWIG_FromInt((int)result);
10074 return resultobj;
10075 fail:
10076 return NULL;
10077 }
10078
10079
10080 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj;
10082 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10083 unsigned long *arg2 = 0 ;
10084 int result;
10085 PyObject * obj0 = 0 ;
10086 PyObject * obj1 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "cookie", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10094 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1)
10096 SWIG_fail;
10097 if (arg2 == NULL) {
10098 PyErr_SetString(PyExc_TypeError,"null reference");
10099 SWIG_fail;
10100 }
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_FromInt((int)result);
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10116 PyObject *resultobj;
10117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10118 wxPoint result;
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = ((wxPyVListBox const *)arg1)->GetMargins();
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 {
10135 wxPoint * resultptr;
10136 resultptr = new wxPoint((wxPoint &) result);
10137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10138 }
10139 return resultobj;
10140 fail:
10141 return NULL;
10142 }
10143
10144
10145 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj;
10147 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10148 wxColour *result;
10149 PyObject * obj0 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 {
10160 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10161 result = (wxColour *) &_result_ref;
10162 }
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10168 return resultobj;
10169 fail:
10170 return NULL;
10171 }
10172
10173
10174 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10175 PyObject *resultobj;
10176 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10177 size_t arg2 ;
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self",(char *) "count", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10187 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 (arg1)->SetItemCount(arg2);
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 Py_INCREF(Py_None); resultobj = Py_None;
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10206 PyObject * obj0 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 (arg1)->Clear();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 Py_INCREF(Py_None); resultobj = Py_None;
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10231 int arg2 ;
10232 PyObject * obj0 = 0 ;
10233 PyObject * obj1 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self",(char *) "selection", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10241 arg2 = (int) SWIG_AsInt(obj1);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 {
10244 PyThreadState* __tstate = wxPyBeginAllowThreads();
10245 (arg1)->SetSelection(arg2);
10246
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 Py_INCREF(Py_None); resultobj = Py_None;
10251 return resultobj;
10252 fail:
10253 return NULL;
10254 }
10255
10256
10257 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10260 size_t arg2 ;
10261 bool arg3 = (bool) True ;
10262 bool result;
10263 PyObject * obj0 = 0 ;
10264 PyObject * obj1 = 0 ;
10265 PyObject * obj2 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self",(char *) "item",(char *) "select", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10273 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 if (obj2) {
10276 arg3 = (bool) SWIG_AsBool(obj2);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (bool)(arg1)->Select(arg2,arg3);
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 {
10287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10288 }
10289 return resultobj;
10290 fail:
10291 return NULL;
10292 }
10293
10294
10295 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10298 size_t arg2 ;
10299 size_t arg3 ;
10300 bool result;
10301 PyObject * obj0 = 0 ;
10302 PyObject * obj1 = 0 ;
10303 PyObject * obj2 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self",(char *) "from",(char *) "to", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10311 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (bool)(arg1)->SelectRange(arg2,arg3);
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 {
10323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10324 }
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10334 size_t arg2 ;
10335 PyObject * obj0 = 0 ;
10336 PyObject * obj1 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self",(char *) "item", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10344 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 (arg1)->Toggle(arg2);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 Py_INCREF(Py_None); resultobj = Py_None;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10363 bool result;
10364 PyObject * obj0 = 0 ;
10365 char *kwnames[] = {
10366 (char *) "self", NULL
10367 };
10368
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (bool)(arg1)->SelectAll();
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 {
10380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10381 }
10382 return resultobj;
10383 fail:
10384 return NULL;
10385 }
10386
10387
10388 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10391 bool result;
10392 PyObject * obj0 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = (bool)(arg1)->DeselectAll();
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 {
10408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10409 }
10410 return resultobj;
10411 fail:
10412 return NULL;
10413 }
10414
10415
10416 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj;
10418 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10419 wxPoint *arg2 = 0 ;
10420 wxPoint temp2 ;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "pt", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10430 {
10431 arg2 = &temp2;
10432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 (arg1)->SetMargins((wxPoint const &)*arg2);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 Py_INCREF(Py_None); resultobj = Py_None;
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj;
10450 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10451 int arg2 ;
10452 int arg3 ;
10453 PyObject * obj0 = 0 ;
10454 PyObject * obj1 = 0 ;
10455 PyObject * obj2 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self",(char *) "x",(char *) "y", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 arg2 = (int) SWIG_AsInt(obj1);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 arg3 = (int) SWIG_AsInt(obj2);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->SetMargins(arg2,arg3);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 Py_INCREF(Py_None); resultobj = Py_None;
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj;
10483 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10484 wxColour *arg2 = 0 ;
10485 wxColour temp2 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "col", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10495 {
10496 arg2 = &temp2;
10497 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10498 }
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 Py_INCREF(Py_None); resultobj = Py_None;
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10514 PyObject *obj;
10515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10516 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10517 Py_INCREF(obj);
10518 return Py_BuildValue((char *)"");
10519 }
10520 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxWindow *arg1 = (wxWindow *) 0 ;
10523 int arg2 = (int) wxID_ANY ;
10524 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10525 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10526 wxSize const &arg4_defvalue = wxDefaultSize ;
10527 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10528 long arg5 = (long) 0 ;
10529 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10530 wxString *arg6 = (wxString *) &arg6_defvalue ;
10531 wxPyHtmlListBox *result;
10532 wxPoint temp3 ;
10533 wxSize temp4 ;
10534 bool temp6 = False ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 PyObject * obj2 = 0 ;
10538 PyObject * obj3 = 0 ;
10539 PyObject * obj4 = 0 ;
10540 PyObject * obj5 = 0 ;
10541 char *kwnames[] = {
10542 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10543 };
10544
10545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10548 if (obj1) {
10549 arg2 = (int) SWIG_AsInt(obj1);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 if (obj2) {
10553 {
10554 arg3 = &temp3;
10555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10556 }
10557 }
10558 if (obj3) {
10559 {
10560 arg4 = &temp4;
10561 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10562 }
10563 }
10564 if (obj4) {
10565 arg5 = (long) SWIG_AsLong(obj4);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 if (obj5) {
10569 {
10570 arg6 = wxString_in_helper(obj5);
10571 if (arg6 == NULL) SWIG_fail;
10572 temp6 = True;
10573 }
10574 }
10575 {
10576 PyThreadState* __tstate = wxPyBeginAllowThreads();
10577 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10578
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10583 {
10584 if (temp6)
10585 delete arg6;
10586 }
10587 return resultobj;
10588 fail:
10589 {
10590 if (temp6)
10591 delete arg6;
10592 }
10593 return NULL;
10594 }
10595
10596
10597 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10598 PyObject *resultobj;
10599 wxPyHtmlListBox *result;
10600 char *kwnames[] = {
10601 NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10613 return resultobj;
10614 fail:
10615 return NULL;
10616 }
10617
10618
10619 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10622 PyObject *arg2 = (PyObject *) 0 ;
10623 PyObject *arg3 = (PyObject *) 0 ;
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 PyObject * obj2 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self",(char *) "self",(char *) "_class", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10634 arg2 = obj1;
10635 arg3 = obj2;
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 (arg1)->_setCallbackInfo(arg2,arg3);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 Py_INCREF(Py_None); resultobj = Py_None;
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10653 wxWindow *arg2 = (wxWindow *) 0 ;
10654 int arg3 = (int) wxID_ANY ;
10655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10657 wxSize const &arg5_defvalue = wxDefaultSize ;
10658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10659 long arg6 = (long) 0 ;
10660 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10661 wxString *arg7 = (wxString *) &arg7_defvalue ;
10662 bool result;
10663 wxPoint temp4 ;
10664 wxSize temp5 ;
10665 bool temp7 = False ;
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 PyObject * obj2 = 0 ;
10669 PyObject * obj3 = 0 ;
10670 PyObject * obj4 = 0 ;
10671 PyObject * obj5 = 0 ;
10672 PyObject * obj6 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10680 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 if (obj2) {
10683 arg3 = (int) SWIG_AsInt(obj2);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 if (obj3) {
10687 {
10688 arg4 = &temp4;
10689 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10690 }
10691 }
10692 if (obj4) {
10693 {
10694 arg5 = &temp5;
10695 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10696 }
10697 }
10698 if (obj5) {
10699 arg6 = (long) SWIG_AsLong(obj5);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 if (obj6) {
10703 {
10704 arg7 = wxString_in_helper(obj6);
10705 if (arg7 == NULL) SWIG_fail;
10706 temp7 = True;
10707 }
10708 }
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 {
10717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10718 }
10719 {
10720 if (temp7)
10721 delete arg7;
10722 }
10723 return resultobj;
10724 fail:
10725 {
10726 if (temp7)
10727 delete arg7;
10728 }
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10736 PyObject * obj0 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->RefreshAll();
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 return resultobj;
10753 fail:
10754 return NULL;
10755 }
10756
10757
10758 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10761 size_t arg2 ;
10762 PyObject * obj0 = 0 ;
10763 PyObject * obj1 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "self",(char *) "count", NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10771 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetItemCount(arg2);
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10790 wxFileSystem *result;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 {
10802 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10803 result = (wxFileSystem *) &_result_ref;
10804 }
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10817 PyObject *obj;
10818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10819 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10820 Py_INCREF(obj);
10821 return Py_BuildValue((char *)"");
10822 }
10823 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxTaskBarIcon *result;
10826 char *kwnames[] = {
10827 NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10839 return resultobj;
10840 fail:
10841 return NULL;
10842 }
10843
10844
10845 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10848 PyObject * obj0 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 delete arg1;
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 Py_INCREF(Py_None); resultobj = Py_None;
10864 return resultobj;
10865 fail:
10866 return NULL;
10867 }
10868
10869
10870 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj;
10872 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 wxTaskBarIcon_Destroy(arg1);
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 Py_INCREF(Py_None); resultobj = Py_None;
10889 return resultobj;
10890 fail:
10891 return NULL;
10892 }
10893
10894
10895 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10896 PyObject *resultobj;
10897 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10898 bool result;
10899 PyObject * obj0 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "self", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 {
10915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10916 }
10917 return resultobj;
10918 fail:
10919 return NULL;
10920 }
10921
10922
10923 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10926 bool result;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 {
10943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10944 }
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10954 wxIcon *arg2 = 0 ;
10955 wxString const &arg3_defvalue = wxPyEmptyString ;
10956 wxString *arg3 = (wxString *) &arg3_defvalue ;
10957 bool result;
10958 bool temp3 = False ;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 PyObject * obj2 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10970 SWIG_POINTER_EXCEPTION | 0)) == -1)
10971 SWIG_fail;
10972 if (arg2 == NULL) {
10973 PyErr_SetString(PyExc_TypeError,"null reference");
10974 SWIG_fail;
10975 }
10976 if (obj2) {
10977 {
10978 arg3 = wxString_in_helper(obj2);
10979 if (arg3 == NULL) SWIG_fail;
10980 temp3 = True;
10981 }
10982 }
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 {
10991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10992 }
10993 {
10994 if (temp3)
10995 delete arg3;
10996 }
10997 return resultobj;
10998 fail:
10999 {
11000 if (temp3)
11001 delete arg3;
11002 }
11003 return NULL;
11004 }
11005
11006
11007 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11010 bool result;
11011 PyObject * obj0 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
11017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 result = (bool)(arg1)->RemoveIcon();
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 {
11027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11028 }
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
11038 wxMenu *arg2 = (wxMenu *) 0 ;
11039 bool result;
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "menu", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
11048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
11050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 result = (bool)(arg1)->PopupMenu(arg2);
11054
11055 wxPyEndAllowThreads(__tstate);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 }
11058 {
11059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11060 }
11061 return resultobj;
11062 fail:
11063 return NULL;
11064 }
11065
11066
11067 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11068 PyObject *obj;
11069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11070 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11071 Py_INCREF(obj);
11072 return Py_BuildValue((char *)"");
11073 }
11074 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxEventType arg1 ;
11077 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11078 wxTaskBarIconEvent *result;
11079 PyObject * obj0 = 0 ;
11080 PyObject * obj1 = 0 ;
11081 char *kwnames[] = {
11082 (char *) "evtType",(char *) "tbIcon", NULL
11083 };
11084
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11086 arg1 = (wxEventType) SWIG_AsInt(obj0);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11090 {
11091 PyThreadState* __tstate = wxPyBeginAllowThreads();
11092 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11093
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11105 PyObject *obj;
11106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11107 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11108 Py_INCREF(obj);
11109 return Py_BuildValue((char *)"");
11110 }
11111 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11112 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11113 return 1;
11114 }
11115
11116
11117 static PyObject *_wrap_FileSelectorPromptStr_get() {
11118 PyObject *pyobj;
11119
11120 {
11121 #if wxUSE_UNICODE
11122 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11123 #else
11124 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11125 #endif
11126 }
11127 return pyobj;
11128 }
11129
11130
11131 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11132 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11133 return 1;
11134 }
11135
11136
11137 static PyObject *_wrap_DirSelectorPromptStr_get() {
11138 PyObject *pyobj;
11139
11140 {
11141 #if wxUSE_UNICODE
11142 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11143 #else
11144 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11145 #endif
11146 }
11147 return pyobj;
11148 }
11149
11150
11151 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11152 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11153 return 1;
11154 }
11155
11156
11157 static PyObject *_wrap_DirDialogNameStr_get() {
11158 PyObject *pyobj;
11159
11160 {
11161 #if wxUSE_UNICODE
11162 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11163 #else
11164 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11165 #endif
11166 }
11167 return pyobj;
11168 }
11169
11170
11171 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11172 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11173 return 1;
11174 }
11175
11176
11177 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11178 PyObject *pyobj;
11179
11180 {
11181 #if wxUSE_UNICODE
11182 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11183 #else
11184 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11185 #endif
11186 }
11187 return pyobj;
11188 }
11189
11190
11191 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11192 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11193 return 1;
11194 }
11195
11196
11197 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11198 PyObject *pyobj;
11199
11200 {
11201 #if wxUSE_UNICODE
11202 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11203 #else
11204 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11205 #endif
11206 }
11207 return pyobj;
11208 }
11209
11210
11211 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11212 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11213 return 1;
11214 }
11215
11216
11217 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11218 PyObject *pyobj;
11219
11220 {
11221 #if wxUSE_UNICODE
11222 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11223 #else
11224 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11225 #endif
11226 }
11227 return pyobj;
11228 }
11229
11230
11231 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxColourData *result;
11234 char *kwnames[] = {
11235 NULL
11236 };
11237
11238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 result = (wxColourData *)new wxColourData();
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj;
11255 wxColourData *arg1 = (wxColourData *) 0 ;
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 delete arg1;
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 Py_INCREF(Py_None); resultobj = Py_None;
11272 return resultobj;
11273 fail:
11274 return NULL;
11275 }
11276
11277
11278 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj;
11280 wxColourData *arg1 = (wxColourData *) 0 ;
11281 bool result;
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = (bool)(arg1)->GetChooseFull();
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 {
11298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11299 }
11300 return resultobj;
11301 fail:
11302 return NULL;
11303 }
11304
11305
11306 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11307 PyObject *resultobj;
11308 wxColourData *arg1 = (wxColourData *) 0 ;
11309 wxColour result;
11310 PyObject * obj0 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 result = (arg1)->GetColour();
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 {
11326 wxColour * resultptr;
11327 resultptr = new wxColour((wxColour &) result);
11328 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11329 }
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxColourData *arg1 = (wxColourData *) 0 ;
11339 int arg2 ;
11340 wxColour result;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 char *kwnames[] = {
11344 (char *) "self",(char *) "i", NULL
11345 };
11346
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11350 arg2 = (int) SWIG_AsInt(obj1);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (arg1)->GetCustomColour(arg2);
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 {
11360 wxColour * resultptr;
11361 resultptr = new wxColour((wxColour &) result);
11362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11363 }
11364 return resultobj;
11365 fail:
11366 return NULL;
11367 }
11368
11369
11370 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11371 PyObject *resultobj;
11372 wxColourData *arg1 = (wxColourData *) 0 ;
11373 int arg2 ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "self",(char *) "flag", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11383 arg2 = (int) SWIG_AsInt(obj1);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 {
11386 PyThreadState* __tstate = wxPyBeginAllowThreads();
11387 (arg1)->SetChooseFull(arg2);
11388
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 Py_INCREF(Py_None); resultobj = Py_None;
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxColourData *arg1 = (wxColourData *) 0 ;
11402 wxColour *arg2 = 0 ;
11403 wxColour temp2 ;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "colour", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11413 {
11414 arg2 = &temp2;
11415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 (arg1)->SetColour((wxColour const &)*arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 Py_INCREF(Py_None); resultobj = Py_None;
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj;
11433 wxColourData *arg1 = (wxColourData *) 0 ;
11434 int arg2 ;
11435 wxColour *arg3 = 0 ;
11436 wxColour temp3 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 PyObject * obj2 = 0 ;
11440 char *kwnames[] = {
11441 (char *) "self",(char *) "i",(char *) "colour", NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11447 arg2 = (int) SWIG_AsInt(obj1);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 {
11450 arg3 = &temp3;
11451 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11452 }
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 Py_INCREF(Py_None); resultobj = Py_None;
11461 return resultobj;
11462 fail:
11463 return NULL;
11464 }
11465
11466
11467 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11468 PyObject *obj;
11469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11470 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11471 Py_INCREF(obj);
11472 return Py_BuildValue((char *)"");
11473 }
11474 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj;
11476 wxWindow *arg1 = (wxWindow *) 0 ;
11477 wxColourData *arg2 = (wxColourData *) NULL ;
11478 wxColourDialog *result;
11479 PyObject * obj0 = 0 ;
11480 PyObject * obj1 = 0 ;
11481 char *kwnames[] = {
11482 (char *) "parent",(char *) "data", NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11488 if (obj1) {
11489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11491 }
11492 {
11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
11494 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11495
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11500 return resultobj;
11501 fail:
11502 return NULL;
11503 }
11504
11505
11506 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject *resultobj;
11508 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11509 wxColourData *result;
11510 PyObject * obj0 = 0 ;
11511 char *kwnames[] = {
11512 (char *) "self", NULL
11513 };
11514
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 {
11521 wxColourData &_result_ref = (arg1)->GetColourData();
11522 result = (wxColourData *) &_result_ref;
11523 }
11524
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11529 return resultobj;
11530 fail:
11531 return NULL;
11532 }
11533
11534
11535 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11536 PyObject *obj;
11537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11538 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11539 Py_INCREF(obj);
11540 return Py_BuildValue((char *)"");
11541 }
11542 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj;
11544 wxWindow *arg1 = (wxWindow *) 0 ;
11545 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11546 wxString *arg2 = (wxString *) &arg2_defvalue ;
11547 wxString const &arg3_defvalue = wxPyEmptyString ;
11548 wxString *arg3 = (wxString *) &arg3_defvalue ;
11549 long arg4 = (long) 0 ;
11550 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11551 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11552 wxSize const &arg6_defvalue = wxDefaultSize ;
11553 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11554 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11555 wxString *arg7 = (wxString *) &arg7_defvalue ;
11556 wxDirDialog *result;
11557 bool temp2 = False ;
11558 bool temp3 = False ;
11559 wxPoint temp5 ;
11560 wxSize temp6 ;
11561 bool temp7 = False ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 PyObject * obj2 = 0 ;
11565 PyObject * obj3 = 0 ;
11566 PyObject * obj4 = 0 ;
11567 PyObject * obj5 = 0 ;
11568 PyObject * obj6 = 0 ;
11569 char *kwnames[] = {
11570 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11576 if (obj1) {
11577 {
11578 arg2 = wxString_in_helper(obj1);
11579 if (arg2 == NULL) SWIG_fail;
11580 temp2 = True;
11581 }
11582 }
11583 if (obj2) {
11584 {
11585 arg3 = wxString_in_helper(obj2);
11586 if (arg3 == NULL) SWIG_fail;
11587 temp3 = True;
11588 }
11589 }
11590 if (obj3) {
11591 arg4 = (long) SWIG_AsLong(obj3);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 if (obj4) {
11595 {
11596 arg5 = &temp5;
11597 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11598 }
11599 }
11600 if (obj5) {
11601 {
11602 arg6 = &temp6;
11603 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11604 }
11605 }
11606 if (obj6) {
11607 {
11608 arg7 = wxString_in_helper(obj6);
11609 if (arg7 == NULL) SWIG_fail;
11610 temp7 = True;
11611 }
11612 }
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11621 {
11622 if (temp2)
11623 delete arg2;
11624 }
11625 {
11626 if (temp3)
11627 delete arg3;
11628 }
11629 {
11630 if (temp7)
11631 delete arg7;
11632 }
11633 return resultobj;
11634 fail:
11635 {
11636 if (temp2)
11637 delete arg2;
11638 }
11639 {
11640 if (temp3)
11641 delete arg3;
11642 }
11643 {
11644 if (temp7)
11645 delete arg7;
11646 }
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11654 wxString result;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (arg1)->GetPath();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 {
11671 #if wxUSE_UNICODE
11672 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11673 #else
11674 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11675 #endif
11676 }
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11686 wxString result;
11687 PyObject * obj0 = 0 ;
11688 char *kwnames[] = {
11689 (char *) "self", NULL
11690 };
11691
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 result = (arg1)->GetMessage();
11698
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 {
11703 #if wxUSE_UNICODE
11704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11705 #else
11706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11707 #endif
11708 }
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11718 long result;
11719 PyObject * obj0 = 0 ;
11720 char *kwnames[] = {
11721 (char *) "self", NULL
11722 };
11723
11724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11727 {
11728 PyThreadState* __tstate = wxPyBeginAllowThreads();
11729 result = (long)(arg1)->GetStyle();
11730
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 resultobj = SWIG_FromLong((long)result);
11735 return resultobj;
11736 fail:
11737 return NULL;
11738 }
11739
11740
11741 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject *resultobj;
11743 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11744 wxString *arg2 = 0 ;
11745 bool temp2 = False ;
11746 PyObject * obj0 = 0 ;
11747 PyObject * obj1 = 0 ;
11748 char *kwnames[] = {
11749 (char *) "self",(char *) "message", NULL
11750 };
11751
11752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11755 {
11756 arg2 = wxString_in_helper(obj1);
11757 if (arg2 == NULL) SWIG_fail;
11758 temp2 = True;
11759 }
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 (arg1)->SetMessage((wxString const &)*arg2);
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 Py_INCREF(Py_None); resultobj = Py_None;
11768 {
11769 if (temp2)
11770 delete arg2;
11771 }
11772 return resultobj;
11773 fail:
11774 {
11775 if (temp2)
11776 delete arg2;
11777 }
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11785 wxString *arg2 = 0 ;
11786 bool temp2 = False ;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "path", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11796 {
11797 arg2 = wxString_in_helper(obj1);
11798 if (arg2 == NULL) SWIG_fail;
11799 temp2 = True;
11800 }
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 (arg1)->SetPath((wxString const &)*arg2);
11804
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 Py_INCREF(Py_None); resultobj = Py_None;
11809 {
11810 if (temp2)
11811 delete arg2;
11812 }
11813 return resultobj;
11814 fail:
11815 {
11816 if (temp2)
11817 delete arg2;
11818 }
11819 return NULL;
11820 }
11821
11822
11823 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11824 PyObject *obj;
11825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11826 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11827 Py_INCREF(obj);
11828 return Py_BuildValue((char *)"");
11829 }
11830 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj;
11832 wxWindow *arg1 = (wxWindow *) 0 ;
11833 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11834 wxString *arg2 = (wxString *) &arg2_defvalue ;
11835 wxString const &arg3_defvalue = wxPyEmptyString ;
11836 wxString *arg3 = (wxString *) &arg3_defvalue ;
11837 wxString const &arg4_defvalue = wxPyEmptyString ;
11838 wxString *arg4 = (wxString *) &arg4_defvalue ;
11839 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11840 wxString *arg5 = (wxString *) &arg5_defvalue ;
11841 long arg6 = (long) 0 ;
11842 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11843 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11844 wxFileDialog *result;
11845 bool temp2 = False ;
11846 bool temp3 = False ;
11847 bool temp4 = False ;
11848 bool temp5 = False ;
11849 wxPoint temp7 ;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 PyObject * obj2 = 0 ;
11853 PyObject * obj3 = 0 ;
11854 PyObject * obj4 = 0 ;
11855 PyObject * obj5 = 0 ;
11856 PyObject * obj6 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11864 if (obj1) {
11865 {
11866 arg2 = wxString_in_helper(obj1);
11867 if (arg2 == NULL) SWIG_fail;
11868 temp2 = True;
11869 }
11870 }
11871 if (obj2) {
11872 {
11873 arg3 = wxString_in_helper(obj2);
11874 if (arg3 == NULL) SWIG_fail;
11875 temp3 = True;
11876 }
11877 }
11878 if (obj3) {
11879 {
11880 arg4 = wxString_in_helper(obj3);
11881 if (arg4 == NULL) SWIG_fail;
11882 temp4 = True;
11883 }
11884 }
11885 if (obj4) {
11886 {
11887 arg5 = wxString_in_helper(obj4);
11888 if (arg5 == NULL) SWIG_fail;
11889 temp5 = True;
11890 }
11891 }
11892 if (obj5) {
11893 arg6 = (long) SWIG_AsLong(obj5);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 if (obj6) {
11897 {
11898 arg7 = &temp7;
11899 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11900 }
11901 }
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11910 {
11911 if (temp2)
11912 delete arg2;
11913 }
11914 {
11915 if (temp3)
11916 delete arg3;
11917 }
11918 {
11919 if (temp4)
11920 delete arg4;
11921 }
11922 {
11923 if (temp5)
11924 delete arg5;
11925 }
11926 return resultobj;
11927 fail:
11928 {
11929 if (temp2)
11930 delete arg2;
11931 }
11932 {
11933 if (temp3)
11934 delete arg3;
11935 }
11936 {
11937 if (temp4)
11938 delete arg4;
11939 }
11940 {
11941 if (temp5)
11942 delete arg5;
11943 }
11944 return NULL;
11945 }
11946
11947
11948 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11951 wxString *arg2 = 0 ;
11952 bool temp2 = False ;
11953 PyObject * obj0 = 0 ;
11954 PyObject * obj1 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self",(char *) "message", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11962 {
11963 arg2 = wxString_in_helper(obj1);
11964 if (arg2 == NULL) SWIG_fail;
11965 temp2 = True;
11966 }
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 (arg1)->SetMessage((wxString const &)*arg2);
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 Py_INCREF(Py_None); resultobj = Py_None;
11975 {
11976 if (temp2)
11977 delete arg2;
11978 }
11979 return resultobj;
11980 fail:
11981 {
11982 if (temp2)
11983 delete arg2;
11984 }
11985 return NULL;
11986 }
11987
11988
11989 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11992 wxString *arg2 = 0 ;
11993 bool temp2 = False ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self",(char *) "path", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12003 {
12004 arg2 = wxString_in_helper(obj1);
12005 if (arg2 == NULL) SWIG_fail;
12006 temp2 = True;
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetPath((wxString const &)*arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 {
12017 if (temp2)
12018 delete arg2;
12019 }
12020 return resultobj;
12021 fail:
12022 {
12023 if (temp2)
12024 delete arg2;
12025 }
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12033 wxString *arg2 = 0 ;
12034 bool temp2 = False ;
12035 PyObject * obj0 = 0 ;
12036 PyObject * obj1 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self",(char *) "dir", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 arg2 = wxString_in_helper(obj1);
12046 if (arg2 == NULL) SWIG_fail;
12047 temp2 = True;
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->SetDirectory((wxString const &)*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 {
12058 if (temp2)
12059 delete arg2;
12060 }
12061 return resultobj;
12062 fail:
12063 {
12064 if (temp2)
12065 delete arg2;
12066 }
12067 return NULL;
12068 }
12069
12070
12071 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12072 PyObject *resultobj;
12073 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12074 wxString *arg2 = 0 ;
12075 bool temp2 = False ;
12076 PyObject * obj0 = 0 ;
12077 PyObject * obj1 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self",(char *) "name", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12085 {
12086 arg2 = wxString_in_helper(obj1);
12087 if (arg2 == NULL) SWIG_fail;
12088 temp2 = True;
12089 }
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 (arg1)->SetFilename((wxString const &)*arg2);
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 Py_INCREF(Py_None); resultobj = Py_None;
12098 {
12099 if (temp2)
12100 delete arg2;
12101 }
12102 return resultobj;
12103 fail:
12104 {
12105 if (temp2)
12106 delete arg2;
12107 }
12108 return NULL;
12109 }
12110
12111
12112 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12115 wxString *arg2 = 0 ;
12116 bool temp2 = False ;
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj1 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "wildCard", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12126 {
12127 arg2 = wxString_in_helper(obj1);
12128 if (arg2 == NULL) SWIG_fail;
12129 temp2 = True;
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 (arg1)->SetWildcard((wxString const &)*arg2);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 Py_INCREF(Py_None); resultobj = Py_None;
12139 {
12140 if (temp2)
12141 delete arg2;
12142 }
12143 return resultobj;
12144 fail:
12145 {
12146 if (temp2)
12147 delete arg2;
12148 }
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12156 long arg2 ;
12157 PyObject * obj0 = 0 ;
12158 PyObject * obj1 = 0 ;
12159 char *kwnames[] = {
12160 (char *) "self",(char *) "style", NULL
12161 };
12162
12163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12166 arg2 = (long) SWIG_AsLong(obj1);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 (arg1)->SetStyle(arg2);
12171
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 Py_INCREF(Py_None); resultobj = Py_None;
12176 return resultobj;
12177 fail:
12178 return NULL;
12179 }
12180
12181
12182 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12183 PyObject *resultobj;
12184 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12185 int arg2 ;
12186 PyObject * obj0 = 0 ;
12187 PyObject * obj1 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self",(char *) "filterIndex", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12195 arg2 = (int) SWIG_AsInt(obj1);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 (arg1)->SetFilterIndex(arg2);
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 Py_INCREF(Py_None); resultobj = Py_None;
12205 return resultobj;
12206 fail:
12207 return NULL;
12208 }
12209
12210
12211 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12212 PyObject *resultobj;
12213 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12214 wxString result;
12215 PyObject * obj0 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = ((wxFileDialog const *)arg1)->GetMessage();
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 #if wxUSE_UNICODE
12232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12233 #else
12234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12235 #endif
12236 }
12237 return resultobj;
12238 fail:
12239 return NULL;
12240 }
12241
12242
12243 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj;
12245 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12246 wxString result;
12247 PyObject * obj0 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = ((wxFileDialog const *)arg1)->GetPath();
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 {
12263 #if wxUSE_UNICODE
12264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12265 #else
12266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12267 #endif
12268 }
12269 return resultobj;
12270 fail:
12271 return NULL;
12272 }
12273
12274
12275 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12278 wxString result;
12279 PyObject * obj0 = 0 ;
12280 char *kwnames[] = {
12281 (char *) "self", NULL
12282 };
12283
12284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = ((wxFileDialog const *)arg1)->GetDirectory();
12290
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 {
12295 #if wxUSE_UNICODE
12296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12297 #else
12298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12299 #endif
12300 }
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12310 wxString result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = ((wxFileDialog const *)arg1)->GetFilename();
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 {
12327 #if wxUSE_UNICODE
12328 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12329 #else
12330 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12331 #endif
12332 }
12333 return resultobj;
12334 fail:
12335 return NULL;
12336 }
12337
12338
12339 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj;
12341 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12342 wxString result;
12343 PyObject * obj0 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 result = ((wxFileDialog const *)arg1)->GetWildcard();
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 {
12359 #if wxUSE_UNICODE
12360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12361 #else
12362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12363 #endif
12364 }
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12374 long result;
12375 PyObject * obj0 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 resultobj = SWIG_FromLong((long)result);
12391 return resultobj;
12392 fail:
12393 return NULL;
12394 }
12395
12396
12397 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12398 PyObject *resultobj;
12399 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12400 int result;
12401 PyObject * obj0 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self", NULL
12404 };
12405
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = SWIG_FromInt((int)result);
12417 return resultobj;
12418 fail:
12419 return NULL;
12420 }
12421
12422
12423 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12426 PyObject *result;
12427 PyObject * obj0 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "self", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 resultobj = result;
12443 return resultobj;
12444 fail:
12445 return NULL;
12446 }
12447
12448
12449 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12450 PyObject *resultobj;
12451 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12452 PyObject *result;
12453 PyObject * obj0 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = result;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12476 PyObject *obj;
12477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12478 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12479 Py_INCREF(obj);
12480 return Py_BuildValue((char *)"");
12481 }
12482 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxWindow *arg1 = (wxWindow *) 0 ;
12485 wxString *arg2 = 0 ;
12486 wxString *arg3 = 0 ;
12487 int arg4 = (int) 0 ;
12488 wxString *arg5 = (wxString *) 0 ;
12489 long arg6 = (long) wxCHOICEDLG_STYLE ;
12490 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12491 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12492 wxMultiChoiceDialog *result;
12493 bool temp2 = False ;
12494 bool temp3 = False ;
12495 wxPoint temp6 ;
12496 PyObject * obj0 = 0 ;
12497 PyObject * obj1 = 0 ;
12498 PyObject * obj2 = 0 ;
12499 PyObject * obj3 = 0 ;
12500 PyObject * obj4 = 0 ;
12501 PyObject * obj5 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12509 {
12510 arg2 = wxString_in_helper(obj1);
12511 if (arg2 == NULL) SWIG_fail;
12512 temp2 = True;
12513 }
12514 {
12515 arg3 = wxString_in_helper(obj2);
12516 if (arg3 == NULL) SWIG_fail;
12517 temp3 = True;
12518 }
12519 if (obj3) {
12520 {
12521 arg4 = PyList_Size(obj3);
12522 arg5 = wxString_LIST_helper(obj3);
12523 if (arg5 == NULL) SWIG_fail;
12524 }
12525 }
12526 if (obj4) {
12527 arg6 = (long) SWIG_AsLong(obj4);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 if (obj5) {
12531 {
12532 arg7 = &temp6;
12533 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12534 }
12535 }
12536 {
12537 PyThreadState* __tstate = wxPyBeginAllowThreads();
12538 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12539
12540 wxPyEndAllowThreads(__tstate);
12541 if (PyErr_Occurred()) SWIG_fail;
12542 }
12543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12544 {
12545 if (temp2)
12546 delete arg2;
12547 }
12548 {
12549 if (temp3)
12550 delete arg3;
12551 }
12552 {
12553 if (arg5) delete [] arg5;
12554 }
12555 return resultobj;
12556 fail:
12557 {
12558 if (temp2)
12559 delete arg2;
12560 }
12561 {
12562 if (temp3)
12563 delete arg3;
12564 }
12565 {
12566 if (arg5) delete [] arg5;
12567 }
12568 return NULL;
12569 }
12570
12571
12572 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12575 wxArrayInt *arg2 = 0 ;
12576 bool temp2 = False ;
12577 PyObject * obj0 = 0 ;
12578 PyObject * obj1 = 0 ;
12579 char *kwnames[] = {
12580 (char *) "self",(char *) "selections", NULL
12581 };
12582
12583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12586 {
12587 if (! PySequence_Check(obj1)) {
12588 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12589 SWIG_fail;
12590 }
12591 arg2 = new wxArrayInt;
12592 temp2 = True;
12593 int i, len=PySequence_Length(obj1);
12594 for (i=0; i<len; i++) {
12595 PyObject* item = PySequence_GetItem(obj1, i);
12596 PyObject* number = PyNumber_Int(item);
12597 arg2->Add(PyInt_AS_LONG(number));
12598 Py_DECREF(item);
12599 Py_DECREF(number);
12600 }
12601 }
12602 {
12603 PyThreadState* __tstate = wxPyBeginAllowThreads();
12604 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12605
12606 wxPyEndAllowThreads(__tstate);
12607 if (PyErr_Occurred()) SWIG_fail;
12608 }
12609 Py_INCREF(Py_None); resultobj = Py_None;
12610 {
12611 if (temp2) delete arg2;
12612 }
12613 return resultobj;
12614 fail:
12615 {
12616 if (temp2) delete arg2;
12617 }
12618 return NULL;
12619 }
12620
12621
12622 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12625 PyObject *result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 resultobj = result;
12642 return resultobj;
12643 fail:
12644 return NULL;
12645 }
12646
12647
12648 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12649 PyObject *obj;
12650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12651 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12652 Py_INCREF(obj);
12653 return Py_BuildValue((char *)"");
12654 }
12655 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12656 PyObject *resultobj;
12657 wxWindow *arg1 = (wxWindow *) 0 ;
12658 wxString *arg2 = 0 ;
12659 wxString *arg3 = 0 ;
12660 int arg4 ;
12661 wxString *arg5 = (wxString *) 0 ;
12662 long arg6 = (long) wxCHOICEDLG_STYLE ;
12663 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12664 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12665 wxSingleChoiceDialog *result;
12666 bool temp2 = False ;
12667 bool temp3 = False ;
12668 wxPoint temp6 ;
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
12671 PyObject * obj2 = 0 ;
12672 PyObject * obj3 = 0 ;
12673 PyObject * obj4 = 0 ;
12674 PyObject * obj5 = 0 ;
12675 char *kwnames[] = {
12676 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12682 {
12683 arg2 = wxString_in_helper(obj1);
12684 if (arg2 == NULL) SWIG_fail;
12685 temp2 = True;
12686 }
12687 {
12688 arg3 = wxString_in_helper(obj2);
12689 if (arg3 == NULL) SWIG_fail;
12690 temp3 = True;
12691 }
12692 {
12693 arg4 = PyList_Size(obj3);
12694 arg5 = wxString_LIST_helper(obj3);
12695 if (arg5 == NULL) SWIG_fail;
12696 }
12697 if (obj4) {
12698 arg6 = (long) SWIG_AsLong(obj4);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
12701 if (obj5) {
12702 {
12703 arg7 = &temp6;
12704 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12705 }
12706 }
12707 {
12708 PyThreadState* __tstate = wxPyBeginAllowThreads();
12709 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12710
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12715 {
12716 if (temp2)
12717 delete arg2;
12718 }
12719 {
12720 if (temp3)
12721 delete arg3;
12722 }
12723 {
12724 if (arg5) delete [] arg5;
12725 }
12726 return resultobj;
12727 fail:
12728 {
12729 if (temp2)
12730 delete arg2;
12731 }
12732 {
12733 if (temp3)
12734 delete arg3;
12735 }
12736 {
12737 if (arg5) delete [] arg5;
12738 }
12739 return NULL;
12740 }
12741
12742
12743 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12746 int result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (int)(arg1)->GetSelection();
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 resultobj = SWIG_FromInt((int)result);
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12772 wxString result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (arg1)->GetStringSelection();
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 {
12789 #if wxUSE_UNICODE
12790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12791 #else
12792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12793 #endif
12794 }
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12804 int arg2 ;
12805 PyObject * obj0 = 0 ;
12806 PyObject * obj1 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "self",(char *) "sel", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12814 arg2 = (int) SWIG_AsInt(obj1);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 {
12817 PyThreadState* __tstate = wxPyBeginAllowThreads();
12818 (arg1)->SetSelection(arg2);
12819
12820 wxPyEndAllowThreads(__tstate);
12821 if (PyErr_Occurred()) SWIG_fail;
12822 }
12823 Py_INCREF(Py_None); resultobj = Py_None;
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12831 PyObject *obj;
12832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12834 Py_INCREF(obj);
12835 return Py_BuildValue((char *)"");
12836 }
12837 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxWindow *arg1 = (wxWindow *) 0 ;
12840 wxString *arg2 = 0 ;
12841 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12842 wxString *arg3 = (wxString *) &arg3_defvalue ;
12843 wxString const &arg4_defvalue = wxPyEmptyString ;
12844 wxString *arg4 = (wxString *) &arg4_defvalue ;
12845 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12846 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12847 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12848 wxTextEntryDialog *result;
12849 bool temp2 = False ;
12850 bool temp3 = False ;
12851 bool temp4 = False ;
12852 wxPoint temp6 ;
12853 PyObject * obj0 = 0 ;
12854 PyObject * obj1 = 0 ;
12855 PyObject * obj2 = 0 ;
12856 PyObject * obj3 = 0 ;
12857 PyObject * obj4 = 0 ;
12858 PyObject * obj5 = 0 ;
12859 char *kwnames[] = {
12860 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12861 };
12862
12863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12866 {
12867 arg2 = wxString_in_helper(obj1);
12868 if (arg2 == NULL) SWIG_fail;
12869 temp2 = True;
12870 }
12871 if (obj2) {
12872 {
12873 arg3 = wxString_in_helper(obj2);
12874 if (arg3 == NULL) SWIG_fail;
12875 temp3 = True;
12876 }
12877 }
12878 if (obj3) {
12879 {
12880 arg4 = wxString_in_helper(obj3);
12881 if (arg4 == NULL) SWIG_fail;
12882 temp4 = True;
12883 }
12884 }
12885 if (obj4) {
12886 arg5 = (long) SWIG_AsLong(obj4);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 if (obj5) {
12890 {
12891 arg6 = &temp6;
12892 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12893 }
12894 }
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12903 {
12904 if (temp2)
12905 delete arg2;
12906 }
12907 {
12908 if (temp3)
12909 delete arg3;
12910 }
12911 {
12912 if (temp4)
12913 delete arg4;
12914 }
12915 return resultobj;
12916 fail:
12917 {
12918 if (temp2)
12919 delete arg2;
12920 }
12921 {
12922 if (temp3)
12923 delete arg3;
12924 }
12925 {
12926 if (temp4)
12927 delete arg4;
12928 }
12929 return NULL;
12930 }
12931
12932
12933 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12934 PyObject *resultobj;
12935 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12936 wxString result;
12937 PyObject * obj0 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 result = (arg1)->GetValue();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 {
12953 #if wxUSE_UNICODE
12954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12955 #else
12956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12957 #endif
12958 }
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12968 wxString *arg2 = 0 ;
12969 bool temp2 = False ;
12970 PyObject * obj0 = 0 ;
12971 PyObject * obj1 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self",(char *) "value", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12979 {
12980 arg2 = wxString_in_helper(obj1);
12981 if (arg2 == NULL) SWIG_fail;
12982 temp2 = True;
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 (arg1)->SetValue((wxString const &)*arg2);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 Py_INCREF(Py_None); resultobj = Py_None;
12992 {
12993 if (temp2)
12994 delete arg2;
12995 }
12996 return resultobj;
12997 fail:
12998 {
12999 if (temp2)
13000 delete arg2;
13001 }
13002 return NULL;
13003 }
13004
13005
13006 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
13007 PyObject *obj;
13008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13009 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
13010 Py_INCREF(obj);
13011 return Py_BuildValue((char *)"");
13012 }
13013 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxFontData *result;
13016 char *kwnames[] = {
13017 NULL
13018 };
13019
13020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
13021 {
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 result = (wxFontData *)new wxFontData();
13024
13025 wxPyEndAllowThreads(__tstate);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
13029 return resultobj;
13030 fail:
13031 return NULL;
13032 }
13033
13034
13035 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj;
13037 wxFontData *arg1 = (wxFontData *) 0 ;
13038 PyObject * obj0 = 0 ;
13039 char *kwnames[] = {
13040 (char *) "self", NULL
13041 };
13042
13043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
13044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 delete arg1;
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 Py_INCREF(Py_None); resultobj = Py_None;
13054 return resultobj;
13055 fail:
13056 return NULL;
13057 }
13058
13059
13060 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxFontData *arg1 = (wxFontData *) 0 ;
13063 bool arg2 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self",(char *) "enable", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13073 arg2 = (bool) SWIG_AsBool(obj1);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 (arg1)->EnableEffects(arg2);
13078
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 Py_INCREF(Py_None); resultobj = Py_None;
13083 return resultobj;
13084 fail:
13085 return NULL;
13086 }
13087
13088
13089 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13090 PyObject *resultobj;
13091 wxFontData *arg1 = (wxFontData *) 0 ;
13092 bool result;
13093 PyObject * obj0 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)(arg1)->GetAllowSymbols();
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13110 }
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxFontData *arg1 = (wxFontData *) 0 ;
13120 wxColour result;
13121 PyObject * obj0 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 {
13130 PyThreadState* __tstate = wxPyBeginAllowThreads();
13131 result = (arg1)->GetColour();
13132
13133 wxPyEndAllowThreads(__tstate);
13134 if (PyErr_Occurred()) SWIG_fail;
13135 }
13136 {
13137 wxColour * resultptr;
13138 resultptr = new wxColour((wxColour &) result);
13139 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13140 }
13141 return resultobj;
13142 fail:
13143 return NULL;
13144 }
13145
13146
13147 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13148 PyObject *resultobj;
13149 wxFontData *arg1 = (wxFontData *) 0 ;
13150 wxFont result;
13151 PyObject * obj0 = 0 ;
13152 char *kwnames[] = {
13153 (char *) "self", NULL
13154 };
13155
13156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 result = (arg1)->GetChosenFont();
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 {
13167 wxFont * resultptr;
13168 resultptr = new wxFont((wxFont &) result);
13169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13170 }
13171 return resultobj;
13172 fail:
13173 return NULL;
13174 }
13175
13176
13177 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxFontData *arg1 = (wxFontData *) 0 ;
13180 bool result;
13181 PyObject * obj0 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13189 {
13190 PyThreadState* __tstate = wxPyBeginAllowThreads();
13191 result = (bool)(arg1)->GetEnableEffects();
13192
13193 wxPyEndAllowThreads(__tstate);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
13196 {
13197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13198 }
13199 return resultobj;
13200 fail:
13201 return NULL;
13202 }
13203
13204
13205 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj;
13207 wxFontData *arg1 = (wxFontData *) 0 ;
13208 wxFont result;
13209 PyObject * obj0 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13217 {
13218 PyThreadState* __tstate = wxPyBeginAllowThreads();
13219 result = (arg1)->GetInitialFont();
13220
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 {
13225 wxFont * resultptr;
13226 resultptr = new wxFont((wxFont &) result);
13227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13228 }
13229 return resultobj;
13230 fail:
13231 return NULL;
13232 }
13233
13234
13235 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj;
13237 wxFontData *arg1 = (wxFontData *) 0 ;
13238 bool result;
13239 PyObject * obj0 = 0 ;
13240 char *kwnames[] = {
13241 (char *) "self", NULL
13242 };
13243
13244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 result = (bool)(arg1)->GetShowHelp();
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 {
13255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13256 }
13257 return resultobj;
13258 fail:
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj;
13265 wxFontData *arg1 = (wxFontData *) 0 ;
13266 bool arg2 ;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self",(char *) "allowSymbols", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13276 arg2 = (bool) SWIG_AsBool(obj1);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 {
13279 PyThreadState* __tstate = wxPyBeginAllowThreads();
13280 (arg1)->SetAllowSymbols(arg2);
13281
13282 wxPyEndAllowThreads(__tstate);
13283 if (PyErr_Occurred()) SWIG_fail;
13284 }
13285 Py_INCREF(Py_None); resultobj = Py_None;
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxFontData *arg1 = (wxFontData *) 0 ;
13295 wxFont *arg2 = 0 ;
13296 PyObject * obj0 = 0 ;
13297 PyObject * obj1 = 0 ;
13298 char *kwnames[] = {
13299 (char *) "self",(char *) "font", NULL
13300 };
13301
13302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13305 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1)
13307 SWIG_fail;
13308 if (arg2 == NULL) {
13309 PyErr_SetString(PyExc_TypeError,"null reference");
13310 SWIG_fail;
13311 }
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 (arg1)->SetChosenFont((wxFont const &)*arg2);
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 Py_INCREF(Py_None); resultobj = Py_None;
13320 return resultobj;
13321 fail:
13322 return NULL;
13323 }
13324
13325
13326 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13327 PyObject *resultobj;
13328 wxFontData *arg1 = (wxFontData *) 0 ;
13329 wxColour *arg2 = 0 ;
13330 wxColour temp2 ;
13331 PyObject * obj0 = 0 ;
13332 PyObject * obj1 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self",(char *) "colour", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13340 {
13341 arg2 = &temp2;
13342 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13343 }
13344 {
13345 PyThreadState* __tstate = wxPyBeginAllowThreads();
13346 (arg1)->SetColour((wxColour const &)*arg2);
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 Py_INCREF(Py_None); resultobj = Py_None;
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxFontData *arg1 = (wxFontData *) 0 ;
13361 wxFont *arg2 = 0 ;
13362 PyObject * obj0 = 0 ;
13363 PyObject * obj1 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "self",(char *) "font", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13371 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13372 SWIG_POINTER_EXCEPTION | 0)) == -1)
13373 SWIG_fail;
13374 if (arg2 == NULL) {
13375 PyErr_SetString(PyExc_TypeError,"null reference");
13376 SWIG_fail;
13377 }
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 (arg1)->SetInitialFont((wxFont const &)*arg2);
13381
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 Py_INCREF(Py_None); resultobj = Py_None;
13386 return resultobj;
13387 fail:
13388 return NULL;
13389 }
13390
13391
13392 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13393 PyObject *resultobj;
13394 wxFontData *arg1 = (wxFontData *) 0 ;
13395 int arg2 ;
13396 int arg3 ;
13397 PyObject * obj0 = 0 ;
13398 PyObject * obj1 = 0 ;
13399 PyObject * obj2 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "min",(char *) "max", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13407 arg2 = (int) SWIG_AsInt(obj1);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 arg3 = (int) SWIG_AsInt(obj2);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->SetRange(arg2,arg3);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxFontData *arg1 = (wxFontData *) 0 ;
13428 bool arg2 ;
13429 PyObject * obj0 = 0 ;
13430 PyObject * obj1 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self",(char *) "showHelp", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13438 arg2 = (bool) SWIG_AsBool(obj1);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 (arg1)->SetShowHelp(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 Py_INCREF(Py_None); resultobj = Py_None;
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13455 PyObject *obj;
13456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13458 Py_INCREF(obj);
13459 return Py_BuildValue((char *)"");
13460 }
13461 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13462 PyObject *resultobj;
13463 wxWindow *arg1 = (wxWindow *) 0 ;
13464 wxFontData *arg2 = 0 ;
13465 wxFontDialog *result;
13466 PyObject * obj0 = 0 ;
13467 PyObject * obj1 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "parent",(char *) "data", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13475 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13476 SWIG_POINTER_EXCEPTION | 0)) == -1)
13477 SWIG_fail;
13478 if (arg2 == NULL) {
13479 PyErr_SetString(PyExc_TypeError,"null reference");
13480 SWIG_fail;
13481 }
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13490 return resultobj;
13491 fail:
13492 return NULL;
13493 }
13494
13495
13496 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj;
13498 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13499 wxFontData *result;
13500 PyObject * obj0 = 0 ;
13501 char *kwnames[] = {
13502 (char *) "self", NULL
13503 };
13504
13505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 {
13511 wxFontData &_result_ref = (arg1)->GetFontData();
13512 result = (wxFontData *) &_result_ref;
13513 }
13514
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13519 return resultobj;
13520 fail:
13521 return NULL;
13522 }
13523
13524
13525 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13526 PyObject *obj;
13527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13528 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13529 Py_INCREF(obj);
13530 return Py_BuildValue((char *)"");
13531 }
13532 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxWindow *arg1 = (wxWindow *) 0 ;
13535 wxString *arg2 = 0 ;
13536 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13537 wxString *arg3 = (wxString *) &arg3_defvalue ;
13538 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13539 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13540 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13541 wxMessageDialog *result;
13542 bool temp2 = False ;
13543 bool temp3 = False ;
13544 wxPoint temp5 ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 PyObject * obj2 = 0 ;
13548 PyObject * obj3 = 0 ;
13549 PyObject * obj4 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13557 {
13558 arg2 = wxString_in_helper(obj1);
13559 if (arg2 == NULL) SWIG_fail;
13560 temp2 = True;
13561 }
13562 if (obj2) {
13563 {
13564 arg3 = wxString_in_helper(obj2);
13565 if (arg3 == NULL) SWIG_fail;
13566 temp3 = True;
13567 }
13568 }
13569 if (obj3) {
13570 arg4 = (long) SWIG_AsLong(obj3);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 if (obj4) {
13574 {
13575 arg5 = &temp5;
13576 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13577 }
13578 }
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13587 {
13588 if (temp2)
13589 delete arg2;
13590 }
13591 {
13592 if (temp3)
13593 delete arg3;
13594 }
13595 return resultobj;
13596 fail:
13597 {
13598 if (temp2)
13599 delete arg2;
13600 }
13601 {
13602 if (temp3)
13603 delete arg3;
13604 }
13605 return NULL;
13606 }
13607
13608
13609 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13610 PyObject *obj;
13611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13612 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13613 Py_INCREF(obj);
13614 return Py_BuildValue((char *)"");
13615 }
13616 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxString *arg1 = 0 ;
13619 wxString *arg2 = 0 ;
13620 int arg3 = (int) 100 ;
13621 wxWindow *arg4 = (wxWindow *) NULL ;
13622 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13623 wxProgressDialog *result;
13624 bool temp1 = False ;
13625 bool temp2 = False ;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 PyObject * obj2 = 0 ;
13629 PyObject * obj3 = 0 ;
13630 PyObject * obj4 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13636 {
13637 arg1 = wxString_in_helper(obj0);
13638 if (arg1 == NULL) SWIG_fail;
13639 temp1 = True;
13640 }
13641 {
13642 arg2 = wxString_in_helper(obj1);
13643 if (arg2 == NULL) SWIG_fail;
13644 temp2 = True;
13645 }
13646 if (obj2) {
13647 arg3 = (int) SWIG_AsInt(obj2);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 if (obj3) {
13651 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13653 }
13654 if (obj4) {
13655 arg5 = (int) SWIG_AsInt(obj4);
13656 if (PyErr_Occurred()) SWIG_fail;
13657 }
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
13660 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13666 {
13667 if (temp1)
13668 delete arg1;
13669 }
13670 {
13671 if (temp2)
13672 delete arg2;
13673 }
13674 return resultobj;
13675 fail:
13676 {
13677 if (temp1)
13678 delete arg1;
13679 }
13680 {
13681 if (temp2)
13682 delete arg2;
13683 }
13684 return NULL;
13685 }
13686
13687
13688 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13689 PyObject *resultobj;
13690 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13691 int arg2 ;
13692 wxString const &arg3_defvalue = wxPyEmptyString ;
13693 wxString *arg3 = (wxString *) &arg3_defvalue ;
13694 bool result;
13695 bool temp3 = False ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj2 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13706 arg2 = (int) SWIG_AsInt(obj1);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 if (obj2) {
13709 {
13710 arg3 = wxString_in_helper(obj2);
13711 if (arg3 == NULL) SWIG_fail;
13712 temp3 = True;
13713 }
13714 }
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13718
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 {
13723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13724 }
13725 {
13726 if (temp3)
13727 delete arg3;
13728 }
13729 return resultobj;
13730 fail:
13731 {
13732 if (temp3)
13733 delete arg3;
13734 }
13735 return NULL;
13736 }
13737
13738
13739 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13742 PyObject * obj0 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 (arg1)->Resume();
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 Py_INCREF(Py_None); resultobj = Py_None;
13758 return resultobj;
13759 fail:
13760 return NULL;
13761 }
13762
13763
13764 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13765 PyObject *obj;
13766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13767 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13768 Py_INCREF(obj);
13769 return Py_BuildValue((char *)"");
13770 }
13771 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13772 PyObject *resultobj;
13773 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13774 int arg2 = (int) 0 ;
13775 wxFindDialogEvent *result;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "commandType",(char *) "id", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13783 if (obj0) {
13784 arg1 = (wxEventType) SWIG_AsInt(obj0);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 }
13787 if (obj1) {
13788 arg2 = (int) SWIG_AsInt(obj1);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13808 int result;
13809 PyObject * obj0 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 result = (int)(arg1)->GetFlags();
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 resultobj = SWIG_FromInt((int)result);
13825 return resultobj;
13826 fail:
13827 return NULL;
13828 }
13829
13830
13831 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13834 wxString *result;
13835 PyObject * obj0 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 {
13846 wxString const &_result_ref = (arg1)->GetFindString();
13847 result = (wxString *) &_result_ref;
13848 }
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 {
13854 #if wxUSE_UNICODE
13855 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13856 #else
13857 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13858 #endif
13859 }
13860 return resultobj;
13861 fail:
13862 return NULL;
13863 }
13864
13865
13866 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj;
13868 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13869 wxString *result;
13870 PyObject * obj0 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13878 {
13879 PyThreadState* __tstate = wxPyBeginAllowThreads();
13880 {
13881 wxString const &_result_ref = (arg1)->GetReplaceString();
13882 result = (wxString *) &_result_ref;
13883 }
13884
13885 wxPyEndAllowThreads(__tstate);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 {
13889 #if wxUSE_UNICODE
13890 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13891 #else
13892 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13893 #endif
13894 }
13895 return resultobj;
13896 fail:
13897 return NULL;
13898 }
13899
13900
13901 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13904 wxFindReplaceDialog *result;
13905 PyObject * obj0 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13930 int arg2 ;
13931 PyObject * obj0 = 0 ;
13932 PyObject * obj1 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self",(char *) "flags", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13940 arg2 = (int) SWIG_AsInt(obj1);
13941 if (PyErr_Occurred()) SWIG_fail;
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 (arg1)->SetFlags(arg2);
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 Py_INCREF(Py_None); resultobj = Py_None;
13950 return resultobj;
13951 fail:
13952 return NULL;
13953 }
13954
13955
13956 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13957 PyObject *resultobj;
13958 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13959 wxString *arg2 = 0 ;
13960 bool temp2 = False ;
13961 PyObject * obj0 = 0 ;
13962 PyObject * obj1 = 0 ;
13963 char *kwnames[] = {
13964 (char *) "self",(char *) "str", NULL
13965 };
13966
13967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13970 {
13971 arg2 = wxString_in_helper(obj1);
13972 if (arg2 == NULL) SWIG_fail;
13973 temp2 = True;
13974 }
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 (arg1)->SetFindString((wxString const &)*arg2);
13978
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 Py_INCREF(Py_None); resultobj = Py_None;
13983 {
13984 if (temp2)
13985 delete arg2;
13986 }
13987 return resultobj;
13988 fail:
13989 {
13990 if (temp2)
13991 delete arg2;
13992 }
13993 return NULL;
13994 }
13995
13996
13997 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13998 PyObject *resultobj;
13999 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
14000 wxString *arg2 = 0 ;
14001 bool temp2 = False ;
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
14004 char *kwnames[] = {
14005 (char *) "self",(char *) "str", NULL
14006 };
14007
14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
14010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14011 {
14012 arg2 = wxString_in_helper(obj1);
14013 if (arg2 == NULL) SWIG_fail;
14014 temp2 = True;
14015 }
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 (arg1)->SetReplaceString((wxString const &)*arg2);
14019
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 Py_INCREF(Py_None); resultobj = Py_None;
14024 {
14025 if (temp2)
14026 delete arg2;
14027 }
14028 return resultobj;
14029 fail:
14030 {
14031 if (temp2)
14032 delete arg2;
14033 }
14034 return NULL;
14035 }
14036
14037
14038 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
14039 PyObject *obj;
14040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14041 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
14042 Py_INCREF(obj);
14043 return Py_BuildValue((char *)"");
14044 }
14045 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14046 PyObject *resultobj;
14047 int arg1 = (int) 0 ;
14048 wxFindReplaceData *result;
14049 PyObject * obj0 = 0 ;
14050 char *kwnames[] = {
14051 (char *) "flags", NULL
14052 };
14053
14054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
14055 if (obj0) {
14056 arg1 = (int) SWIG_AsInt(obj0);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 {
14060 PyThreadState* __tstate = wxPyBeginAllowThreads();
14061 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14062
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14074 PyObject *resultobj;
14075 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14076 PyObject * obj0 = 0 ;
14077 char *kwnames[] = {
14078 (char *) "self", NULL
14079 };
14080
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 delete arg1;
14087
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 Py_INCREF(Py_None); resultobj = Py_None;
14092 return resultobj;
14093 fail:
14094 return NULL;
14095 }
14096
14097
14098 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj;
14100 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14101 wxString *result;
14102 PyObject * obj0 = 0 ;
14103 char *kwnames[] = {
14104 (char *) "self", NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 {
14113 wxString const &_result_ref = (arg1)->GetFindString();
14114 result = (wxString *) &_result_ref;
14115 }
14116
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 {
14121 #if wxUSE_UNICODE
14122 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14123 #else
14124 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14125 #endif
14126 }
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj;
14135 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14136 wxString *result;
14137 PyObject * obj0 = 0 ;
14138 char *kwnames[] = {
14139 (char *) "self", NULL
14140 };
14141
14142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 {
14148 wxString const &_result_ref = (arg1)->GetReplaceString();
14149 result = (wxString *) &_result_ref;
14150 }
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 {
14156 #if wxUSE_UNICODE
14157 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14158 #else
14159 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14160 #endif
14161 }
14162 return resultobj;
14163 fail:
14164 return NULL;
14165 }
14166
14167
14168 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14169 PyObject *resultobj;
14170 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14171 int result;
14172 PyObject * obj0 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (int)(arg1)->GetFlags();
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_FromInt((int)result);
14188 return resultobj;
14189 fail:
14190 return NULL;
14191 }
14192
14193
14194 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14195 PyObject *resultobj;
14196 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14197 int arg2 ;
14198 PyObject * obj0 = 0 ;
14199 PyObject * obj1 = 0 ;
14200 char *kwnames[] = {
14201 (char *) "self",(char *) "flags", NULL
14202 };
14203
14204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14207 arg2 = (int) SWIG_AsInt(obj1);
14208 if (PyErr_Occurred()) SWIG_fail;
14209 {
14210 PyThreadState* __tstate = wxPyBeginAllowThreads();
14211 (arg1)->SetFlags(arg2);
14212
14213 wxPyEndAllowThreads(__tstate);
14214 if (PyErr_Occurred()) SWIG_fail;
14215 }
14216 Py_INCREF(Py_None); resultobj = Py_None;
14217 return resultobj;
14218 fail:
14219 return NULL;
14220 }
14221
14222
14223 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14224 PyObject *resultobj;
14225 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14226 wxString *arg2 = 0 ;
14227 bool temp2 = False ;
14228 PyObject * obj0 = 0 ;
14229 PyObject * obj1 = 0 ;
14230 char *kwnames[] = {
14231 (char *) "self",(char *) "str", NULL
14232 };
14233
14234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14237 {
14238 arg2 = wxString_in_helper(obj1);
14239 if (arg2 == NULL) SWIG_fail;
14240 temp2 = True;
14241 }
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 (arg1)->SetFindString((wxString const &)*arg2);
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 Py_INCREF(Py_None); resultobj = Py_None;
14250 {
14251 if (temp2)
14252 delete arg2;
14253 }
14254 return resultobj;
14255 fail:
14256 {
14257 if (temp2)
14258 delete arg2;
14259 }
14260 return NULL;
14261 }
14262
14263
14264 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14265 PyObject *resultobj;
14266 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14267 wxString *arg2 = 0 ;
14268 bool temp2 = False ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "self",(char *) "str", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14278 {
14279 arg2 = wxString_in_helper(obj1);
14280 if (arg2 == NULL) SWIG_fail;
14281 temp2 = True;
14282 }
14283 {
14284 PyThreadState* __tstate = wxPyBeginAllowThreads();
14285 (arg1)->SetReplaceString((wxString const &)*arg2);
14286
14287 wxPyEndAllowThreads(__tstate);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 Py_INCREF(Py_None); resultobj = Py_None;
14291 {
14292 if (temp2)
14293 delete arg2;
14294 }
14295 return resultobj;
14296 fail:
14297 {
14298 if (temp2)
14299 delete arg2;
14300 }
14301 return NULL;
14302 }
14303
14304
14305 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14306 PyObject *obj;
14307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14308 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14309 Py_INCREF(obj);
14310 return Py_BuildValue((char *)"");
14311 }
14312 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14313 PyObject *resultobj;
14314 wxWindow *arg1 = (wxWindow *) 0 ;
14315 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14316 wxString *arg3 = 0 ;
14317 int arg4 = (int) 0 ;
14318 wxFindReplaceDialog *result;
14319 bool temp3 = False ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 PyObject * obj2 = 0 ;
14323 PyObject * obj3 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14333 {
14334 arg3 = wxString_in_helper(obj2);
14335 if (arg3 == NULL) SWIG_fail;
14336 temp3 = True;
14337 }
14338 if (obj3) {
14339 arg4 = (int) SWIG_AsInt(obj3);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14350 {
14351 if (temp3)
14352 delete arg3;
14353 }
14354 return resultobj;
14355 fail:
14356 {
14357 if (temp3)
14358 delete arg3;
14359 }
14360 return NULL;
14361 }
14362
14363
14364 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxFindReplaceDialog *result;
14367 char *kwnames[] = {
14368 NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14372 {
14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
14374 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14375
14376 wxPyEndAllowThreads(__tstate);
14377 if (PyErr_Occurred()) SWIG_fail;
14378 }
14379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14380 return resultobj;
14381 fail:
14382 return NULL;
14383 }
14384
14385
14386 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14389 wxWindow *arg2 = (wxWindow *) 0 ;
14390 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14391 wxString *arg4 = 0 ;
14392 int arg5 = (int) 0 ;
14393 bool result;
14394 bool temp4 = False ;
14395 PyObject * obj0 = 0 ;
14396 PyObject * obj1 = 0 ;
14397 PyObject * obj2 = 0 ;
14398 PyObject * obj3 = 0 ;
14399 PyObject * obj4 = 0 ;
14400 char *kwnames[] = {
14401 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14402 };
14403
14404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14409 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14411 {
14412 arg4 = wxString_in_helper(obj3);
14413 if (arg4 == NULL) SWIG_fail;
14414 temp4 = True;
14415 }
14416 if (obj4) {
14417 arg5 = (int) SWIG_AsInt(obj4);
14418 if (PyErr_Occurred()) SWIG_fail;
14419 }
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14423
14424 wxPyEndAllowThreads(__tstate);
14425 if (PyErr_Occurred()) SWIG_fail;
14426 }
14427 {
14428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14429 }
14430 {
14431 if (temp4)
14432 delete arg4;
14433 }
14434 return resultobj;
14435 fail:
14436 {
14437 if (temp4)
14438 delete arg4;
14439 }
14440 return NULL;
14441 }
14442
14443
14444 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj;
14446 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14447 wxFindReplaceData *result;
14448 PyObject * obj0 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = (wxFindReplaceData *)(arg1)->GetData();
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14473 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 char *kwnames[] = {
14477 (char *) "self",(char *) "data", NULL
14478 };
14479
14480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14485 {
14486 PyThreadState* __tstate = wxPyBeginAllowThreads();
14487 (arg1)->SetData(arg2);
14488
14489 wxPyEndAllowThreads(__tstate);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 Py_INCREF(Py_None); resultobj = Py_None;
14493 return resultobj;
14494 fail:
14495 return NULL;
14496 }
14497
14498
14499 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14500 PyObject *obj;
14501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14502 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14503 Py_INCREF(obj);
14504 return Py_BuildValue((char *)"");
14505 }
14506 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxWindow *arg1 = (wxWindow *) 0 ;
14509 int arg2 ;
14510 wxString *arg3 = 0 ;
14511 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14512 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14513 wxSize const &arg5_defvalue = wxDefaultSize ;
14514 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14515 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14516 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14517 wxString *arg7 = (wxString *) &arg7_defvalue ;
14518 wxMDIParentFrame *result;
14519 bool temp3 = False ;
14520 wxPoint temp4 ;
14521 wxSize temp5 ;
14522 bool temp7 = False ;
14523 PyObject * obj0 = 0 ;
14524 PyObject * obj1 = 0 ;
14525 PyObject * obj2 = 0 ;
14526 PyObject * obj3 = 0 ;
14527 PyObject * obj4 = 0 ;
14528 PyObject * obj5 = 0 ;
14529 PyObject * obj6 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14537 arg2 = (int const) SWIG_AsInt(obj1);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 {
14540 arg3 = wxString_in_helper(obj2);
14541 if (arg3 == NULL) SWIG_fail;
14542 temp3 = True;
14543 }
14544 if (obj3) {
14545 {
14546 arg4 = &temp4;
14547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14548 }
14549 }
14550 if (obj4) {
14551 {
14552 arg5 = &temp5;
14553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14554 }
14555 }
14556 if (obj5) {
14557 arg6 = (long) SWIG_AsLong(obj5);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 if (obj6) {
14561 {
14562 arg7 = wxString_in_helper(obj6);
14563 if (arg7 == NULL) SWIG_fail;
14564 temp7 = True;
14565 }
14566 }
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14575 {
14576 if (temp3)
14577 delete arg3;
14578 }
14579 {
14580 if (temp7)
14581 delete arg7;
14582 }
14583 return resultobj;
14584 fail:
14585 {
14586 if (temp3)
14587 delete arg3;
14588 }
14589 {
14590 if (temp7)
14591 delete arg7;
14592 }
14593 return NULL;
14594 }
14595
14596
14597 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxMDIParentFrame *result;
14600 char *kwnames[] = {
14601 NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14605 {
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14608
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj;
14621 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14622 wxWindow *arg2 = (wxWindow *) 0 ;
14623 int arg3 ;
14624 wxString *arg4 = 0 ;
14625 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14626 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14627 wxSize const &arg6_defvalue = wxDefaultSize ;
14628 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14629 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14630 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14631 wxString *arg8 = (wxString *) &arg8_defvalue ;
14632 bool result;
14633 bool temp4 = False ;
14634 wxPoint temp5 ;
14635 wxSize temp6 ;
14636 bool temp8 = False ;
14637 PyObject * obj0 = 0 ;
14638 PyObject * obj1 = 0 ;
14639 PyObject * obj2 = 0 ;
14640 PyObject * obj3 = 0 ;
14641 PyObject * obj4 = 0 ;
14642 PyObject * obj5 = 0 ;
14643 PyObject * obj6 = 0 ;
14644 PyObject * obj7 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14654 arg3 = (int const) SWIG_AsInt(obj2);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 {
14657 arg4 = wxString_in_helper(obj3);
14658 if (arg4 == NULL) SWIG_fail;
14659 temp4 = True;
14660 }
14661 if (obj4) {
14662 {
14663 arg5 = &temp5;
14664 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14665 }
14666 }
14667 if (obj5) {
14668 {
14669 arg6 = &temp6;
14670 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14671 }
14672 }
14673 if (obj6) {
14674 arg7 = (long) SWIG_AsLong(obj6);
14675 if (PyErr_Occurred()) SWIG_fail;
14676 }
14677 if (obj7) {
14678 {
14679 arg8 = wxString_in_helper(obj7);
14680 if (arg8 == NULL) SWIG_fail;
14681 temp8 = True;
14682 }
14683 }
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 {
14692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14693 }
14694 {
14695 if (temp4)
14696 delete arg4;
14697 }
14698 {
14699 if (temp8)
14700 delete arg8;
14701 }
14702 return resultobj;
14703 fail:
14704 {
14705 if (temp4)
14706 delete arg4;
14707 }
14708 {
14709 if (temp8)
14710 delete arg8;
14711 }
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14719 PyObject * obj0 = 0 ;
14720 char *kwnames[] = {
14721 (char *) "self", NULL
14722 };
14723
14724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 (arg1)->ActivateNext();
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 Py_INCREF(Py_None); resultobj = Py_None;
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14744 PyObject * obj0 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 (arg1)->ActivatePrevious();
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 Py_INCREF(Py_None); resultobj = Py_None;
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14769 PyObject * obj0 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "self", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 (arg1)->ArrangeIcons();
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 Py_INCREF(Py_None); resultobj = Py_None;
14785 return resultobj;
14786 fail:
14787 return NULL;
14788 }
14789
14790
14791 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14794 PyObject * obj0 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "self", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 (arg1)->Cascade();
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 Py_INCREF(Py_None); resultobj = Py_None;
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14819 wxMDIChildFrame *result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 {
14836 resultobj = wxPyMake_wxObject(result);
14837 }
14838 return resultobj;
14839 fail:
14840 return NULL;
14841 }
14842
14843
14844 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14847 wxMDIClientWindow *result;
14848 PyObject * obj0 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14856 {
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14859
14860 wxPyEndAllowThreads(__tstate);
14861 if (PyErr_Occurred()) SWIG_fail;
14862 }
14863 {
14864 resultobj = wxPyMake_wxObject(result);
14865 }
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14875 wxWindow *result;
14876 PyObject * obj0 = 0 ;
14877 char *kwnames[] = {
14878 (char *) "self", NULL
14879 };
14880
14881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (wxWindow *)(arg1)->GetToolBar();
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 {
14892 resultobj = wxPyMake_wxObject(result);
14893 }
14894 return resultobj;
14895 fail:
14896 return NULL;
14897 }
14898
14899
14900 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14901 PyObject *resultobj;
14902 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14903 wxMenu *result;
14904 PyObject * obj0 = 0 ;
14905 char *kwnames[] = {
14906 (char *) "self", NULL
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 result = (wxMenu *)(arg1)->GetWindowMenu();
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 {
14920 resultobj = wxPyMake_wxObject(result);
14921 }
14922 return resultobj;
14923 fail:
14924 return NULL;
14925 }
14926
14927
14928 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14931 wxMenu *arg2 = (wxMenu *) 0 ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self",(char *) "menu", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
14942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 (arg1)->SetWindowMenu(arg2);
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954 }
14955
14956
14957 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14960 wxToolBar *arg2 = (wxToolBar *) 0 ;
14961 PyObject * obj0 = 0 ;
14962 PyObject * obj1 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self",(char *) "toolbar", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
14971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
14974 (arg1)->SetToolBar(arg2);
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
14979 Py_INCREF(Py_None); resultobj = Py_None;
14980 return resultobj;
14981 fail:
14982 return NULL;
14983 }
14984
14985
14986 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 (arg1)->Tile();
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 Py_INCREF(Py_None); resultobj = Py_None;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
15012 PyObject *obj;
15013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15014 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
15015 Py_INCREF(obj);
15016 return Py_BuildValue((char *)"");
15017 }
15018 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj;
15020 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15021 int arg2 ;
15022 wxString *arg3 = 0 ;
15023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15025 wxSize const &arg5_defvalue = wxDefaultSize ;
15026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15027 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
15028 wxString const &arg7_defvalue = wxPyFrameNameStr ;
15029 wxString *arg7 = (wxString *) &arg7_defvalue ;
15030 wxMDIChildFrame *result;
15031 bool temp3 = False ;
15032 wxPoint temp4 ;
15033 wxSize temp5 ;
15034 bool temp7 = False ;
15035 PyObject * obj0 = 0 ;
15036 PyObject * obj1 = 0 ;
15037 PyObject * obj2 = 0 ;
15038 PyObject * obj3 = 0 ;
15039 PyObject * obj4 = 0 ;
15040 PyObject * obj5 = 0 ;
15041 PyObject * obj6 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15049 arg2 = (int const) SWIG_AsInt(obj1);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 {
15052 arg3 = wxString_in_helper(obj2);
15053 if (arg3 == NULL) SWIG_fail;
15054 temp3 = True;
15055 }
15056 if (obj3) {
15057 {
15058 arg4 = &temp4;
15059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15060 }
15061 }
15062 if (obj4) {
15063 {
15064 arg5 = &temp5;
15065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15066 }
15067 }
15068 if (obj5) {
15069 arg6 = (long) SWIG_AsLong(obj5);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 if (obj6) {
15073 {
15074 arg7 = wxString_in_helper(obj6);
15075 if (arg7 == NULL) SWIG_fail;
15076 temp7 = True;
15077 }
15078 }
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 resultobj = wxPyMake_wxObject(result);
15088 }
15089 {
15090 if (temp3)
15091 delete arg3;
15092 }
15093 {
15094 if (temp7)
15095 delete arg7;
15096 }
15097 return resultobj;
15098 fail:
15099 {
15100 if (temp3)
15101 delete arg3;
15102 }
15103 {
15104 if (temp7)
15105 delete arg7;
15106 }
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxMDIChildFrame *result;
15114 char *kwnames[] = {
15115 NULL
15116 };
15117
15118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
15119 {
15120 PyThreadState* __tstate = wxPyBeginAllowThreads();
15121 result = (wxMDIChildFrame *)new wxMDIChildFrame();
15122
15123 wxPyEndAllowThreads(__tstate);
15124 if (PyErr_Occurred()) SWIG_fail;
15125 }
15126 {
15127 resultobj = wxPyMake_wxObject(result);
15128 }
15129 return resultobj;
15130 fail:
15131 return NULL;
15132 }
15133
15134
15135 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj;
15137 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15138 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15139 int arg3 ;
15140 wxString *arg4 = 0 ;
15141 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15142 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15143 wxSize const &arg6_defvalue = wxDefaultSize ;
15144 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15145 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
15146 wxString const &arg8_defvalue = wxPyFrameNameStr ;
15147 wxString *arg8 = (wxString *) &arg8_defvalue ;
15148 bool result;
15149 bool temp4 = False ;
15150 wxPoint temp5 ;
15151 wxSize temp6 ;
15152 bool temp8 = False ;
15153 PyObject * obj0 = 0 ;
15154 PyObject * obj1 = 0 ;
15155 PyObject * obj2 = 0 ;
15156 PyObject * obj3 = 0 ;
15157 PyObject * obj4 = 0 ;
15158 PyObject * obj5 = 0 ;
15159 PyObject * obj6 = 0 ;
15160 PyObject * obj7 = 0 ;
15161 char *kwnames[] = {
15162 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15163 };
15164
15165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15170 arg3 = (int const) SWIG_AsInt(obj2);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 {
15173 arg4 = wxString_in_helper(obj3);
15174 if (arg4 == NULL) SWIG_fail;
15175 temp4 = True;
15176 }
15177 if (obj4) {
15178 {
15179 arg5 = &temp5;
15180 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15181 }
15182 }
15183 if (obj5) {
15184 {
15185 arg6 = &temp6;
15186 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15187 }
15188 }
15189 if (obj6) {
15190 arg7 = (long) SWIG_AsLong(obj6);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 if (obj7) {
15194 {
15195 arg8 = wxString_in_helper(obj7);
15196 if (arg8 == NULL) SWIG_fail;
15197 temp8 = True;
15198 }
15199 }
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 {
15208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15209 }
15210 {
15211 if (temp4)
15212 delete arg4;
15213 }
15214 {
15215 if (temp8)
15216 delete arg8;
15217 }
15218 return resultobj;
15219 fail:
15220 {
15221 if (temp4)
15222 delete arg4;
15223 }
15224 {
15225 if (temp8)
15226 delete arg8;
15227 }
15228 return NULL;
15229 }
15230
15231
15232 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15233 PyObject *resultobj;
15234 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15235 PyObject * obj0 = 0 ;
15236 char *kwnames[] = {
15237 (char *) "self", NULL
15238 };
15239
15240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 (arg1)->Activate();
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 Py_INCREF(Py_None); resultobj = Py_None;
15251 return resultobj;
15252 fail:
15253 return NULL;
15254 }
15255
15256
15257 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15260 bool arg2 ;
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "maximize", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15270 arg2 = (bool) SWIG_AsBool(obj1);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 {
15273 PyThreadState* __tstate = wxPyBeginAllowThreads();
15274 (arg1)->Maximize(arg2);
15275
15276 wxPyEndAllowThreads(__tstate);
15277 if (PyErr_Occurred()) SWIG_fail;
15278 }
15279 Py_INCREF(Py_None); resultobj = Py_None;
15280 return resultobj;
15281 fail:
15282 return NULL;
15283 }
15284
15285
15286 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj;
15288 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15289 PyObject * obj0 = 0 ;
15290 char *kwnames[] = {
15291 (char *) "self", NULL
15292 };
15293
15294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 (arg1)->Restore();
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 Py_INCREF(Py_None); resultobj = Py_None;
15305 return resultobj;
15306 fail:
15307 return NULL;
15308 }
15309
15310
15311 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15312 PyObject *obj;
15313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15314 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15315 Py_INCREF(obj);
15316 return Py_BuildValue((char *)"");
15317 }
15318 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15321 long arg2 = (long) 0 ;
15322 wxMDIClientWindow *result;
15323 PyObject * obj0 = 0 ;
15324 PyObject * obj1 = 0 ;
15325 char *kwnames[] = {
15326 (char *) "parent",(char *) "style", NULL
15327 };
15328
15329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15332 if (obj1) {
15333 arg2 = (long) SWIG_AsLong(obj1);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344 resultobj = wxPyMake_wxObject(result);
15345 }
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxMDIClientWindow *result;
15355 char *kwnames[] = {
15356 NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 {
15368 resultobj = wxPyMake_wxObject(result);
15369 }
15370 return resultobj;
15371 fail:
15372 return NULL;
15373 }
15374
15375
15376 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15379 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15380 long arg3 = (long) 0 ;
15381 bool result;
15382 PyObject * obj0 = 0 ;
15383 PyObject * obj1 = 0 ;
15384 PyObject * obj2 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self",(char *) "parent",(char *) "style", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15394 if (obj2) {
15395 arg3 = (long) SWIG_AsLong(obj2);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 result = (bool)(arg1)->Create(arg2,arg3);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 {
15406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15407 }
15408 return resultobj;
15409 fail:
15410 return NULL;
15411 }
15412
15413
15414 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15415 PyObject *obj;
15416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15417 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15418 Py_INCREF(obj);
15419 return Py_BuildValue((char *)"");
15420 }
15421 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15422 PyObject *resultobj;
15423 wxWindow *arg1 = (wxWindow *) 0 ;
15424 int arg2 ;
15425 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15426 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15427 wxSize const &arg4_defvalue = wxDefaultSize ;
15428 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15429 long arg5 = (long) 0 ;
15430 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15431 wxString *arg6 = (wxString *) &arg6_defvalue ;
15432 wxPyWindow *result;
15433 wxPoint temp3 ;
15434 wxSize temp4 ;
15435 bool temp6 = False ;
15436 PyObject * obj0 = 0 ;
15437 PyObject * obj1 = 0 ;
15438 PyObject * obj2 = 0 ;
15439 PyObject * obj3 = 0 ;
15440 PyObject * obj4 = 0 ;
15441 PyObject * obj5 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15449 arg2 = (int const) SWIG_AsInt(obj1);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 if (obj2) {
15452 {
15453 arg3 = &temp3;
15454 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15455 }
15456 }
15457 if (obj3) {
15458 {
15459 arg4 = &temp4;
15460 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15461 }
15462 }
15463 if (obj4) {
15464 arg5 = (long) SWIG_AsLong(obj4);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 if (obj5) {
15468 {
15469 arg6 = wxString_in_helper(obj5);
15470 if (arg6 == NULL) SWIG_fail;
15471 temp6 = True;
15472 }
15473 }
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15482 {
15483 if (temp6)
15484 delete arg6;
15485 }
15486 return resultobj;
15487 fail:
15488 {
15489 if (temp6)
15490 delete arg6;
15491 }
15492 return NULL;
15493 }
15494
15495
15496 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15497 PyObject *resultobj;
15498 wxPyWindow *result;
15499 char *kwnames[] = {
15500 NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15504 {
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 result = (wxPyWindow *)new wxPyWindow();
15507
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15512 return resultobj;
15513 fail:
15514 return NULL;
15515 }
15516
15517
15518 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15521 PyObject *arg2 = (PyObject *) 0 ;
15522 PyObject *arg3 = (PyObject *) 0 ;
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 PyObject * obj2 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self",(char *) "self",(char *) "_class", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15533 arg2 = obj1;
15534 arg3 = obj2;
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->_setCallbackInfo(arg2,arg3);
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 return resultobj;
15544 fail:
15545 return NULL;
15546 }
15547
15548
15549 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15550 PyObject *resultobj;
15551 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15552 wxSize *arg2 = 0 ;
15553 wxSize temp2 ;
15554 PyObject * obj0 = 0 ;
15555 PyObject * obj1 = 0 ;
15556 char *kwnames[] = {
15557 (char *) "self",(char *) "size", NULL
15558 };
15559
15560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15563 {
15564 arg2 = &temp2;
15565 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15566 }
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 (arg1)->SetBestSize((wxSize const &)*arg2);
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 Py_INCREF(Py_None); resultobj = Py_None;
15575 return resultobj;
15576 fail:
15577 return NULL;
15578 }
15579
15580
15581 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj;
15583 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15584 int arg2 ;
15585 int arg3 ;
15586 int arg4 ;
15587 int arg5 ;
15588 PyObject * obj0 = 0 ;
15589 PyObject * obj1 = 0 ;
15590 PyObject * obj2 = 0 ;
15591 PyObject * obj3 = 0 ;
15592 PyObject * obj4 = 0 ;
15593 char *kwnames[] = {
15594 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15595 };
15596
15597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15600 arg2 = (int) SWIG_AsInt(obj1);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 arg3 = (int) SWIG_AsInt(obj2);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 arg4 = (int) SWIG_AsInt(obj3);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 arg5 = (int) SWIG_AsInt(obj4);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 Py_INCREF(Py_None); resultobj = Py_None;
15616 return resultobj;
15617 fail:
15618 return NULL;
15619 }
15620
15621
15622 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15625 int arg2 ;
15626 int arg3 ;
15627 int arg4 ;
15628 int arg5 ;
15629 int arg6 = (int) wxSIZE_AUTO ;
15630 PyObject * obj0 = 0 ;
15631 PyObject * obj1 = 0 ;
15632 PyObject * obj2 = 0 ;
15633 PyObject * obj3 = 0 ;
15634 PyObject * obj4 = 0 ;
15635 PyObject * obj5 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15643 arg2 = (int) SWIG_AsInt(obj1);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 arg3 = (int) SWIG_AsInt(obj2);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 arg4 = (int) SWIG_AsInt(obj3);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 arg5 = (int) SWIG_AsInt(obj4);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 if (obj5) {
15652 arg6 = (int) SWIG_AsInt(obj5);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15672 int arg2 ;
15673 int arg3 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 PyObject * obj2 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "width",(char *) "height", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15684 arg2 = (int) SWIG_AsInt(obj1);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 arg3 = (int) SWIG_AsInt(obj2);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 (arg1)->base_DoSetClientSize(arg2,arg3);
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 Py_INCREF(Py_None); resultobj = Py_None;
15696 return resultobj;
15697 fail:
15698 return NULL;
15699 }
15700
15701
15702 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15703 PyObject *resultobj;
15704 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15705 int arg2 ;
15706 int arg3 ;
15707 PyObject * obj0 = 0 ;
15708 PyObject * obj1 = 0 ;
15709 PyObject * obj2 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "x",(char *) "y", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15717 arg2 = (int) SWIG_AsInt(obj1);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 arg3 = (int) SWIG_AsInt(obj2);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15738 int *arg2 = (int *) 0 ;
15739 int *arg3 = (int *) 0 ;
15740 int temp2 ;
15741 int temp3 ;
15742 PyObject * obj0 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self", NULL
15745 };
15746
15747 arg2 = &temp2;
15748 arg3 = &temp3;
15749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 Py_INCREF(Py_None); resultobj = Py_None;
15760 {
15761 PyObject *o = PyInt_FromLong((long) (*arg2));
15762 resultobj = t_output_helper(resultobj,o);
15763 }
15764 {
15765 PyObject *o = PyInt_FromLong((long) (*arg3));
15766 resultobj = t_output_helper(resultobj,o);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15777 int *arg2 = (int *) 0 ;
15778 int *arg3 = (int *) 0 ;
15779 int temp2 ;
15780 int temp3 ;
15781 PyObject * obj0 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self", NULL
15784 };
15785
15786 arg2 = &temp2;
15787 arg3 = &temp3;
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 Py_INCREF(Py_None); resultobj = Py_None;
15799 {
15800 PyObject *o = PyInt_FromLong((long) (*arg2));
15801 resultobj = t_output_helper(resultobj,o);
15802 }
15803 {
15804 PyObject *o = PyInt_FromLong((long) (*arg3));
15805 resultobj = t_output_helper(resultobj,o);
15806 }
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15816 int *arg2 = (int *) 0 ;
15817 int *arg3 = (int *) 0 ;
15818 int temp2 ;
15819 int temp3 ;
15820 PyObject * obj0 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self", NULL
15823 };
15824
15825 arg2 = &temp2;
15826 arg3 = &temp3;
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 Py_INCREF(Py_None); resultobj = Py_None;
15838 {
15839 PyObject *o = PyInt_FromLong((long) (*arg2));
15840 resultobj = t_output_helper(resultobj,o);
15841 }
15842 {
15843 PyObject *o = PyInt_FromLong((long) (*arg3));
15844 resultobj = t_output_helper(resultobj,o);
15845 }
15846 return resultobj;
15847 fail:
15848 return NULL;
15849 }
15850
15851
15852 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15853 PyObject *resultobj;
15854 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15855 wxSize result;
15856 PyObject * obj0 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "self", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15864 {
15865 PyThreadState* __tstate = wxPyBeginAllowThreads();
15866 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15867
15868 wxPyEndAllowThreads(__tstate);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 }
15871 {
15872 wxSize * resultptr;
15873 resultptr = new wxSize((wxSize &) result);
15874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15875 }
15876 return resultobj;
15877 fail:
15878 return NULL;
15879 }
15880
15881
15882 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15883 PyObject *resultobj;
15884 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15885 wxSize result;
15886 PyObject * obj0 = 0 ;
15887 char *kwnames[] = {
15888 (char *) "self", NULL
15889 };
15890
15891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 {
15902 wxSize * resultptr;
15903 resultptr = new wxSize((wxSize &) result);
15904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15905 }
15906 return resultobj;
15907 fail:
15908 return NULL;
15909 }
15910
15911
15912 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj;
15914 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15915 PyObject * obj0 = 0 ;
15916 char *kwnames[] = {
15917 (char *) "self", NULL
15918 };
15919
15920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15923 {
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 (arg1)->base_InitDialog();
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 Py_INCREF(Py_None); resultobj = Py_None;
15931 return resultobj;
15932 fail:
15933 return NULL;
15934 }
15935
15936
15937 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj;
15939 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15940 bool result;
15941 PyObject * obj0 = 0 ;
15942 char *kwnames[] = {
15943 (char *) "self", NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 result = (bool)(arg1)->base_TransferDataToWindow();
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 {
15957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15958 }
15959 return resultobj;
15960 fail:
15961 return NULL;
15962 }
15963
15964
15965 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15968 bool result;
15969 PyObject * obj0 = 0 ;
15970 char *kwnames[] = {
15971 (char *) "self", NULL
15972 };
15973
15974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 result = (bool)(arg1)->base_TransferDataFromWindow();
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 {
15985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15986 }
15987 return resultobj;
15988 fail:
15989 return NULL;
15990 }
15991
15992
15993 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15996 bool result;
15997 PyObject * obj0 = 0 ;
15998 char *kwnames[] = {
15999 (char *) "self", NULL
16000 };
16001
16002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
16003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
16007 result = (bool)(arg1)->base_Validate();
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 {
16013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16014 }
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16024 bool result;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 {
16041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16042 }
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16052 bool result;
16053 PyObject * obj0 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "self", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 {
16069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16070 }
16071 return resultobj;
16072 fail:
16073 return NULL;
16074 }
16075
16076
16077 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16080 wxSize result;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 wxSize * resultptr;
16098 resultptr = new wxSize((wxSize &) result);
16099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16100 }
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16110 wxWindow *arg2 = (wxWindow *) 0 ;
16111 PyObject * obj0 = 0 ;
16112 PyObject * obj1 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self",(char *) "child", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16122 {
16123 PyThreadState* __tstate = wxPyBeginAllowThreads();
16124 (arg1)->base_AddChild(arg2);
16125
16126 wxPyEndAllowThreads(__tstate);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 Py_INCREF(Py_None); resultobj = Py_None;
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16139 wxWindow *arg2 = (wxWindow *) 0 ;
16140 PyObject * obj0 = 0 ;
16141 PyObject * obj1 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self",(char *) "child", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16149 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 (arg1)->base_RemoveChild(arg2);
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 Py_INCREF(Py_None); resultobj = Py_None;
16159 return resultobj;
16160 fail:
16161 return NULL;
16162 }
16163
16164
16165 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16166 PyObject *resultobj;
16167 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16168 bool result;
16169 PyObject * obj0 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 {
16185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16186 }
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16196 wxColour *arg2 = 0 ;
16197 wxColour temp2 ;
16198 PyObject * obj0 = 0 ;
16199 PyObject * obj1 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "self",(char *) "c", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16207 {
16208 arg2 = &temp2;
16209 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16210 }
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 Py_INCREF(Py_None); resultobj = Py_None;
16219 return resultobj;
16220 fail:
16221 return NULL;
16222 }
16223
16224
16225 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16228 wxVisualAttributes result;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 result = (arg1)->base_GetDefaultAttributes();
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 {
16245 wxVisualAttributes * resultptr;
16246 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16248 }
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16256 PyObject *obj;
16257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16258 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16259 Py_INCREF(obj);
16260 return Py_BuildValue((char *)"");
16261 }
16262 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16263 PyObject *resultobj;
16264 wxWindow *arg1 = (wxWindow *) 0 ;
16265 int arg2 ;
16266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16268 wxSize const &arg4_defvalue = wxDefaultSize ;
16269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16270 long arg5 = (long) 0 ;
16271 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16272 wxString *arg6 = (wxString *) &arg6_defvalue ;
16273 wxPyPanel *result;
16274 wxPoint temp3 ;
16275 wxSize temp4 ;
16276 bool temp6 = False ;
16277 PyObject * obj0 = 0 ;
16278 PyObject * obj1 = 0 ;
16279 PyObject * obj2 = 0 ;
16280 PyObject * obj3 = 0 ;
16281 PyObject * obj4 = 0 ;
16282 PyObject * obj5 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16290 arg2 = (int const) SWIG_AsInt(obj1);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 if (obj2) {
16293 {
16294 arg3 = &temp3;
16295 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16296 }
16297 }
16298 if (obj3) {
16299 {
16300 arg4 = &temp4;
16301 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16302 }
16303 }
16304 if (obj4) {
16305 arg5 = (long) SWIG_AsLong(obj4);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 if (obj5) {
16309 {
16310 arg6 = wxString_in_helper(obj5);
16311 if (arg6 == NULL) SWIG_fail;
16312 temp6 = True;
16313 }
16314 }
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16323 {
16324 if (temp6)
16325 delete arg6;
16326 }
16327 return resultobj;
16328 fail:
16329 {
16330 if (temp6)
16331 delete arg6;
16332 }
16333 return NULL;
16334 }
16335
16336
16337 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxPyPanel *result;
16340 char *kwnames[] = {
16341 NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = (wxPyPanel *)new wxPyPanel();
16348
16349 wxPyEndAllowThreads(__tstate);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16353 return resultobj;
16354 fail:
16355 return NULL;
16356 }
16357
16358
16359 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16362 PyObject *arg2 = (PyObject *) 0 ;
16363 PyObject *arg3 = (PyObject *) 0 ;
16364 PyObject * obj0 = 0 ;
16365 PyObject * obj1 = 0 ;
16366 PyObject * obj2 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "self",(char *) "_class", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16374 arg2 = obj1;
16375 arg3 = obj2;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 (arg1)->_setCallbackInfo(arg2,arg3);
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 Py_INCREF(Py_None); resultobj = Py_None;
16384 return resultobj;
16385 fail:
16386 return NULL;
16387 }
16388
16389
16390 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16393 wxSize *arg2 = 0 ;
16394 wxSize temp2 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "self",(char *) "size", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16404 {
16405 arg2 = &temp2;
16406 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 (arg1)->SetBestSize((wxSize const &)*arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 Py_INCREF(Py_None); resultobj = Py_None;
16416 return resultobj;
16417 fail:
16418 return NULL;
16419 }
16420
16421
16422 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16425 int arg2 ;
16426 int arg3 ;
16427 int arg4 ;
16428 int arg5 ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 PyObject * obj2 = 0 ;
16432 PyObject * obj3 = 0 ;
16433 PyObject * obj4 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16441 arg2 = (int) SWIG_AsInt(obj1);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 arg3 = (int) SWIG_AsInt(obj2);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 arg4 = (int) SWIG_AsInt(obj3);
16446 if (PyErr_Occurred()) SWIG_fail;
16447 arg5 = (int) SWIG_AsInt(obj4);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 Py_INCREF(Py_None); resultobj = Py_None;
16457 return resultobj;
16458 fail:
16459 return NULL;
16460 }
16461
16462
16463 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16464 PyObject *resultobj;
16465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16466 int arg2 ;
16467 int arg3 ;
16468 int arg4 ;
16469 int arg5 ;
16470 int arg6 = (int) wxSIZE_AUTO ;
16471 PyObject * obj0 = 0 ;
16472 PyObject * obj1 = 0 ;
16473 PyObject * obj2 = 0 ;
16474 PyObject * obj3 = 0 ;
16475 PyObject * obj4 = 0 ;
16476 PyObject * obj5 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 arg2 = (int) SWIG_AsInt(obj1);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 arg3 = (int) SWIG_AsInt(obj2);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 arg4 = (int) SWIG_AsInt(obj3);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 arg5 = (int) SWIG_AsInt(obj4);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 if (obj5) {
16493 arg6 = (int) SWIG_AsInt(obj5);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16499
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 Py_INCREF(Py_None); resultobj = Py_None;
16504 return resultobj;
16505 fail:
16506 return NULL;
16507 }
16508
16509
16510 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj;
16512 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16513 int arg2 ;
16514 int arg3 ;
16515 PyObject * obj0 = 0 ;
16516 PyObject * obj1 = 0 ;
16517 PyObject * obj2 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self",(char *) "width",(char *) "height", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16525 arg2 = (int) SWIG_AsInt(obj1);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 arg3 = (int) SWIG_AsInt(obj2);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 (arg1)->base_DoSetClientSize(arg2,arg3);
16532
16533 wxPyEndAllowThreads(__tstate);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 }
16536 Py_INCREF(Py_None); resultobj = Py_None;
16537 return resultobj;
16538 fail:
16539 return NULL;
16540 }
16541
16542
16543 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16544 PyObject *resultobj;
16545 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16546 int arg2 ;
16547 int arg3 ;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 PyObject * obj2 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self",(char *) "x",(char *) "y", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16558 arg2 = (int) SWIG_AsInt(obj1);
16559 if (PyErr_Occurred()) SWIG_fail;
16560 arg3 = (int) SWIG_AsInt(obj2);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16565
16566 wxPyEndAllowThreads(__tstate);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
16569 Py_INCREF(Py_None); resultobj = Py_None;
16570 return resultobj;
16571 fail:
16572 return NULL;
16573 }
16574
16575
16576 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj;
16578 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16579 int *arg2 = (int *) 0 ;
16580 int *arg3 = (int *) 0 ;
16581 int temp2 ;
16582 int temp3 ;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
16588 arg2 = &temp2;
16589 arg3 = &temp3;
16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 Py_INCREF(Py_None); resultobj = Py_None;
16601 {
16602 PyObject *o = PyInt_FromLong((long) (*arg2));
16603 resultobj = t_output_helper(resultobj,o);
16604 }
16605 {
16606 PyObject *o = PyInt_FromLong((long) (*arg3));
16607 resultobj = t_output_helper(resultobj,o);
16608 }
16609 return resultobj;
16610 fail:
16611 return NULL;
16612 }
16613
16614
16615 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16616 PyObject *resultobj;
16617 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16618 int *arg2 = (int *) 0 ;
16619 int *arg3 = (int *) 0 ;
16620 int temp2 ;
16621 int temp3 ;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self", NULL
16625 };
16626
16627 arg2 = &temp2;
16628 arg3 = &temp3;
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 Py_INCREF(Py_None); resultobj = Py_None;
16640 {
16641 PyObject *o = PyInt_FromLong((long) (*arg2));
16642 resultobj = t_output_helper(resultobj,o);
16643 }
16644 {
16645 PyObject *o = PyInt_FromLong((long) (*arg3));
16646 resultobj = t_output_helper(resultobj,o);
16647 }
16648 return resultobj;
16649 fail:
16650 return NULL;
16651 }
16652
16653
16654 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj;
16656 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16657 int *arg2 = (int *) 0 ;
16658 int *arg3 = (int *) 0 ;
16659 int temp2 ;
16660 int temp3 ;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 arg2 = &temp2;
16667 arg3 = &temp3;
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 Py_INCREF(Py_None); resultobj = Py_None;
16679 {
16680 PyObject *o = PyInt_FromLong((long) (*arg2));
16681 resultobj = t_output_helper(resultobj,o);
16682 }
16683 {
16684 PyObject *o = PyInt_FromLong((long) (*arg3));
16685 resultobj = t_output_helper(resultobj,o);
16686 }
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16696 wxSize result;
16697 PyObject * obj0 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 {
16713 wxSize * resultptr;
16714 resultptr = new wxSize((wxSize &) result);
16715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16716 }
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16726 wxSize result;
16727 PyObject * obj0 = 0 ;
16728 char *kwnames[] = {
16729 (char *) "self", NULL
16730 };
16731
16732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16735 {
16736 PyThreadState* __tstate = wxPyBeginAllowThreads();
16737 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16738
16739 wxPyEndAllowThreads(__tstate);
16740 if (PyErr_Occurred()) SWIG_fail;
16741 }
16742 {
16743 wxSize * resultptr;
16744 resultptr = new wxSize((wxSize &) result);
16745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16746 }
16747 return resultobj;
16748 fail:
16749 return NULL;
16750 }
16751
16752
16753 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj;
16755 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16756 PyObject * obj0 = 0 ;
16757 char *kwnames[] = {
16758 (char *) "self", NULL
16759 };
16760
16761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16764 {
16765 PyThreadState* __tstate = wxPyBeginAllowThreads();
16766 (arg1)->base_InitDialog();
16767
16768 wxPyEndAllowThreads(__tstate);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16781 bool result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (bool)(arg1)->base_TransferDataToWindow();
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 {
16798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16799 }
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16809 bool result;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (bool)(arg1)->base_TransferDataFromWindow();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 {
16826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16827 }
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16837 bool result;
16838 PyObject * obj0 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16846 {
16847 PyThreadState* __tstate = wxPyBeginAllowThreads();
16848 result = (bool)(arg1)->base_Validate();
16849
16850 wxPyEndAllowThreads(__tstate);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 }
16853 {
16854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16855 }
16856 return resultobj;
16857 fail:
16858 return NULL;
16859 }
16860
16861
16862 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16865 bool result;
16866 PyObject * obj0 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16877
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 {
16882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16883 }
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16893 bool result;
16894 PyObject * obj0 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "self", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 {
16910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16911 }
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16921 wxSize result;
16922 PyObject * obj0 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 {
16938 wxSize * resultptr;
16939 resultptr = new wxSize((wxSize &) result);
16940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16941 }
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16951 wxWindow *arg2 = (wxWindow *) 0 ;
16952 PyObject * obj0 = 0 ;
16953 PyObject * obj1 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self",(char *) "child", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16963 {
16964 PyThreadState* __tstate = wxPyBeginAllowThreads();
16965 (arg1)->base_AddChild(arg2);
16966
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 Py_INCREF(Py_None); resultobj = Py_None;
16971 return resultobj;
16972 fail:
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16980 wxWindow *arg2 = (wxWindow *) 0 ;
16981 PyObject * obj0 = 0 ;
16982 PyObject * obj1 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "child", NULL
16985 };
16986
16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
16994 (arg1)->base_RemoveChild(arg2);
16995
16996 wxPyEndAllowThreads(__tstate);
16997 if (PyErr_Occurred()) SWIG_fail;
16998 }
16999 Py_INCREF(Py_None); resultobj = Py_None;
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17009 bool result;
17010 PyObject * obj0 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
17021
17022 wxPyEndAllowThreads(__tstate);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 {
17026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17027 }
17028 return resultobj;
17029 fail:
17030 return NULL;
17031 }
17032
17033
17034 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17035 PyObject *resultobj;
17036 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17037 wxColour *arg2 = 0 ;
17038 wxColour temp2 ;
17039 PyObject * obj0 = 0 ;
17040 PyObject * obj1 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "c", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17048 {
17049 arg2 = &temp2;
17050 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17051 }
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
17069 wxVisualAttributes result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
17077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (arg1)->base_GetDefaultAttributes();
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 {
17086 wxVisualAttributes * resultptr;
17087 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17089 }
17090 return resultobj;
17091 fail:
17092 return NULL;
17093 }
17094
17095
17096 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
17097 PyObject *obj;
17098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17099 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
17100 Py_INCREF(obj);
17101 return Py_BuildValue((char *)"");
17102 }
17103 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxWindow *arg1 = (wxWindow *) 0 ;
17106 int arg2 ;
17107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17109 wxSize const &arg4_defvalue = wxDefaultSize ;
17110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17111 long arg5 = (long) 0 ;
17112 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17113 wxString *arg6 = (wxString *) &arg6_defvalue ;
17114 wxPyScrolledWindow *result;
17115 wxPoint temp3 ;
17116 wxSize temp4 ;
17117 bool temp6 = False ;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 PyObject * obj3 = 0 ;
17122 PyObject * obj4 = 0 ;
17123 PyObject * obj5 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17131 arg2 = (int const) SWIG_AsInt(obj1);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 if (obj2) {
17134 {
17135 arg3 = &temp3;
17136 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17137 }
17138 }
17139 if (obj3) {
17140 {
17141 arg4 = &temp4;
17142 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17143 }
17144 }
17145 if (obj4) {
17146 arg5 = (long) SWIG_AsLong(obj4);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 if (obj5) {
17150 {
17151 arg6 = wxString_in_helper(obj5);
17152 if (arg6 == NULL) SWIG_fail;
17153 temp6 = True;
17154 }
17155 }
17156 {
17157 PyThreadState* __tstate = wxPyBeginAllowThreads();
17158 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17159
17160 wxPyEndAllowThreads(__tstate);
17161 if (PyErr_Occurred()) SWIG_fail;
17162 }
17163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17164 {
17165 if (temp6)
17166 delete arg6;
17167 }
17168 return resultobj;
17169 fail:
17170 {
17171 if (temp6)
17172 delete arg6;
17173 }
17174 return NULL;
17175 }
17176
17177
17178 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 wxPyScrolledWindow *result;
17181 char *kwnames[] = {
17182 NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17203 PyObject *arg2 = (PyObject *) 0 ;
17204 PyObject *arg3 = (PyObject *) 0 ;
17205 PyObject * obj0 = 0 ;
17206 PyObject * obj1 = 0 ;
17207 PyObject * obj2 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self",(char *) "self",(char *) "_class", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17215 arg2 = obj1;
17216 arg3 = obj2;
17217 {
17218 PyThreadState* __tstate = wxPyBeginAllowThreads();
17219 (arg1)->_setCallbackInfo(arg2,arg3);
17220
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 Py_INCREF(Py_None); resultobj = Py_None;
17225 return resultobj;
17226 fail:
17227 return NULL;
17228 }
17229
17230
17231 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17234 wxSize *arg2 = 0 ;
17235 wxSize temp2 ;
17236 PyObject * obj0 = 0 ;
17237 PyObject * obj1 = 0 ;
17238 char *kwnames[] = {
17239 (char *) "self",(char *) "size", NULL
17240 };
17241
17242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17245 {
17246 arg2 = &temp2;
17247 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17248 }
17249 {
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 (arg1)->SetBestSize((wxSize const &)*arg2);
17252
17253 wxPyEndAllowThreads(__tstate);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
17256 Py_INCREF(Py_None); resultobj = Py_None;
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17266 int arg2 ;
17267 int arg3 ;
17268 int arg4 ;
17269 int arg5 ;
17270 PyObject * obj0 = 0 ;
17271 PyObject * obj1 = 0 ;
17272 PyObject * obj2 = 0 ;
17273 PyObject * obj3 = 0 ;
17274 PyObject * obj4 = 0 ;
17275 char *kwnames[] = {
17276 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17277 };
17278
17279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17282 arg2 = (int) SWIG_AsInt(obj1);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 arg3 = (int) SWIG_AsInt(obj2);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 arg4 = (int) SWIG_AsInt(obj3);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 arg5 = (int) SWIG_AsInt(obj4);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 {
17291 PyThreadState* __tstate = wxPyBeginAllowThreads();
17292 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17293
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 Py_INCREF(Py_None); resultobj = Py_None;
17298 return resultobj;
17299 fail:
17300 return NULL;
17301 }
17302
17303
17304 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17307 int arg2 ;
17308 int arg3 ;
17309 int arg4 ;
17310 int arg5 ;
17311 int arg6 = (int) wxSIZE_AUTO ;
17312 PyObject * obj0 = 0 ;
17313 PyObject * obj1 = 0 ;
17314 PyObject * obj2 = 0 ;
17315 PyObject * obj3 = 0 ;
17316 PyObject * obj4 = 0 ;
17317 PyObject * obj5 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17325 arg2 = (int) SWIG_AsInt(obj1);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 arg3 = (int) SWIG_AsInt(obj2);
17328 if (PyErr_Occurred()) SWIG_fail;
17329 arg4 = (int) SWIG_AsInt(obj3);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 arg5 = (int) SWIG_AsInt(obj4);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 if (obj5) {
17334 arg6 = (int) SWIG_AsInt(obj5);
17335 if (PyErr_Occurred()) SWIG_fail;
17336 }
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 Py_INCREF(Py_None); resultobj = Py_None;
17345 return resultobj;
17346 fail:
17347 return NULL;
17348 }
17349
17350
17351 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17354 int arg2 ;
17355 int arg3 ;
17356 PyObject * obj0 = 0 ;
17357 PyObject * obj1 = 0 ;
17358 PyObject * obj2 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "width",(char *) "height", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 arg2 = (int) SWIG_AsInt(obj1);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 arg3 = (int) SWIG_AsInt(obj2);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 (arg1)->base_DoSetClientSize(arg2,arg3);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 Py_INCREF(Py_None); resultobj = Py_None;
17378 return resultobj;
17379 fail:
17380 return NULL;
17381 }
17382
17383
17384 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17387 int arg2 ;
17388 int arg3 ;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 PyObject * obj2 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self",(char *) "x",(char *) "y", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 arg2 = (int) SWIG_AsInt(obj1);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 arg3 = (int) SWIG_AsInt(obj2);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 Py_INCREF(Py_None); resultobj = Py_None;
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17420 int *arg2 = (int *) 0 ;
17421 int *arg3 = (int *) 0 ;
17422 int temp2 ;
17423 int temp3 ;
17424 PyObject * obj0 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self", NULL
17427 };
17428
17429 arg2 = &temp2;
17430 arg3 = &temp3;
17431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 Py_INCREF(Py_None); resultobj = Py_None;
17442 {
17443 PyObject *o = PyInt_FromLong((long) (*arg2));
17444 resultobj = t_output_helper(resultobj,o);
17445 }
17446 {
17447 PyObject *o = PyInt_FromLong((long) (*arg3));
17448 resultobj = t_output_helper(resultobj,o);
17449 }
17450 return resultobj;
17451 fail:
17452 return NULL;
17453 }
17454
17455
17456 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17459 int *arg2 = (int *) 0 ;
17460 int *arg3 = (int *) 0 ;
17461 int temp2 ;
17462 int temp3 ;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 arg2 = &temp2;
17469 arg3 = &temp3;
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17473 {
17474 PyThreadState* __tstate = wxPyBeginAllowThreads();
17475 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17476
17477 wxPyEndAllowThreads(__tstate);
17478 if (PyErr_Occurred()) SWIG_fail;
17479 }
17480 Py_INCREF(Py_None); resultobj = Py_None;
17481 {
17482 PyObject *o = PyInt_FromLong((long) (*arg2));
17483 resultobj = t_output_helper(resultobj,o);
17484 }
17485 {
17486 PyObject *o = PyInt_FromLong((long) (*arg3));
17487 resultobj = t_output_helper(resultobj,o);
17488 }
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17498 int *arg2 = (int *) 0 ;
17499 int *arg3 = (int *) 0 ;
17500 int temp2 ;
17501 int temp3 ;
17502 PyObject * obj0 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self", NULL
17505 };
17506
17507 arg2 = &temp2;
17508 arg3 = &temp3;
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17512 {
17513 PyThreadState* __tstate = wxPyBeginAllowThreads();
17514 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17515
17516 wxPyEndAllowThreads(__tstate);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 Py_INCREF(Py_None); resultobj = Py_None;
17520 {
17521 PyObject *o = PyInt_FromLong((long) (*arg2));
17522 resultobj = t_output_helper(resultobj,o);
17523 }
17524 {
17525 PyObject *o = PyInt_FromLong((long) (*arg3));
17526 resultobj = t_output_helper(resultobj,o);
17527 }
17528 return resultobj;
17529 fail:
17530 return NULL;
17531 }
17532
17533
17534 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17537 wxSize result;
17538 PyObject * obj0 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17546 {
17547 PyThreadState* __tstate = wxPyBeginAllowThreads();
17548 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17549
17550 wxPyEndAllowThreads(__tstate);
17551 if (PyErr_Occurred()) SWIG_fail;
17552 }
17553 {
17554 wxSize * resultptr;
17555 resultptr = new wxSize((wxSize &) result);
17556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17557 }
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17567 wxSize result;
17568 PyObject * obj0 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 {
17584 wxSize * resultptr;
17585 resultptr = new wxSize((wxSize &) result);
17586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17587 }
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 (arg1)->base_InitDialog();
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17622 bool result;
17623 PyObject * obj0 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (bool)(arg1)->base_TransferDataToWindow();
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 {
17639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17640 }
17641 return resultobj;
17642 fail:
17643 return NULL;
17644 }
17645
17646
17647 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj;
17649 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17650 bool result;
17651 PyObject * obj0 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 result = (bool)(arg1)->base_TransferDataFromWindow();
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 {
17667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17668 }
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17678 bool result;
17679 PyObject * obj0 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->base_Validate();
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 {
17695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17696 }
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj;
17705 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17706 bool result;
17707 PyObject * obj0 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 {
17723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17724 }
17725 return resultobj;
17726 fail:
17727 return NULL;
17728 }
17729
17730
17731 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17732 PyObject *resultobj;
17733 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17734 bool result;
17735 PyObject * obj0 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 {
17751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17752 }
17753 return resultobj;
17754 fail:
17755 return NULL;
17756 }
17757
17758
17759 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17762 wxSize result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 {
17779 wxSize * resultptr;
17780 resultptr = new wxSize((wxSize &) result);
17781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17782 }
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj;
17791 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17792 wxWindow *arg2 = (wxWindow *) 0 ;
17793 PyObject * obj0 = 0 ;
17794 PyObject * obj1 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self",(char *) "child", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 (arg1)->base_AddChild(arg2);
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 Py_INCREF(Py_None); resultobj = Py_None;
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17821 wxWindow *arg2 = (wxWindow *) 0 ;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj1 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "child", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17833 {
17834 PyThreadState* __tstate = wxPyBeginAllowThreads();
17835 (arg1)->base_RemoveChild(arg2);
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 Py_INCREF(Py_None); resultobj = Py_None;
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17850 bool result;
17851 PyObject * obj0 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 {
17867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17868 }
17869 return resultobj;
17870 fail:
17871 return NULL;
17872 }
17873
17874
17875 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17876 PyObject *resultobj;
17877 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17878 wxColour *arg2 = 0 ;
17879 wxColour temp2 ;
17880 PyObject * obj0 = 0 ;
17881 PyObject * obj1 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self",(char *) "c", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17889 {
17890 arg2 = &temp2;
17891 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17892 }
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17908 PyObject *resultobj;
17909 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17910 wxVisualAttributes result;
17911 PyObject * obj0 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
17917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = (arg1)->base_GetDefaultAttributes();
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 {
17927 wxVisualAttributes * resultptr;
17928 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17929 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17930 }
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17938 PyObject *obj;
17939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17940 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17941 Py_INCREF(obj);
17942 return Py_BuildValue((char *)"");
17943 }
17944 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17945 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17946 return 1;
17947 }
17948
17949
17950 static PyObject *_wrap_PrintoutTitleStr_get() {
17951 PyObject *pyobj;
17952
17953 {
17954 #if wxUSE_UNICODE
17955 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17956 #else
17957 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17958 #endif
17959 }
17960 return pyobj;
17961 }
17962
17963
17964 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17965 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17966 return 1;
17967 }
17968
17969
17970 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17971 PyObject *pyobj;
17972
17973 {
17974 #if wxUSE_UNICODE
17975 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17976 #else
17977 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17978 #endif
17979 }
17980 return pyobj;
17981 }
17982
17983
17984 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxPrintData *result;
17987 char *kwnames[] = {
17988 NULL
17989 };
17990
17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 result = (wxPrintData *)new wxPrintData();
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxPrintData *arg1 = (wxPrintData *) 0 ;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 delete arg1;
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 Py_INCREF(Py_None); resultobj = Py_None;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxPrintData *arg1 = (wxPrintData *) 0 ;
18034 int result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (int)(arg1)->GetNoCopies();
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = SWIG_FromInt((int)result);
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxPrintData *arg1 = (wxPrintData *) 0 ;
18060 bool result;
18061 PyObject * obj0 = 0 ;
18062 char *kwnames[] = {
18063 (char *) "self", NULL
18064 };
18065
18066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
18067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (bool)(arg1)->GetCollate();
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 {
18077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18078 }
18079 return resultobj;
18080 fail:
18081 return NULL;
18082 }
18083
18084
18085 static PyObject *_wrap_PrintData_GetOrientation(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_GetOrientation",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)->GetOrientation();
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_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj;
18113 wxPrintData *arg1 = (wxPrintData *) 0 ;
18114 bool result;
18115 PyObject * obj0 = 0 ;
18116 char *kwnames[] = {
18117 (char *) "self", NULL
18118 };
18119
18120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
18121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 result = (bool)(arg1)->Ok();
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 {
18131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18132 }
18133 return resultobj;
18134 fail:
18135 return NULL;
18136 }
18137
18138
18139 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj;
18141 wxPrintData *arg1 = (wxPrintData *) 0 ;
18142 wxString *result;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 {
18154 wxString const &_result_ref = (arg1)->GetPrinterName();
18155 result = (wxString *) &_result_ref;
18156 }
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 {
18162 #if wxUSE_UNICODE
18163 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18164 #else
18165 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18166 #endif
18167 }
18168 return resultobj;
18169 fail:
18170 return NULL;
18171 }
18172
18173
18174 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18175 PyObject *resultobj;
18176 wxPrintData *arg1 = (wxPrintData *) 0 ;
18177 bool result;
18178 PyObject * obj0 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 result = (bool)(arg1)->GetColour();
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 {
18194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18195 }
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18203 PyObject *resultobj;
18204 wxPrintData *arg1 = (wxPrintData *) 0 ;
18205 int result;
18206 PyObject * obj0 = 0 ;
18207 char *kwnames[] = {
18208 (char *) "self", NULL
18209 };
18210
18211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18214 {
18215 PyThreadState* __tstate = wxPyBeginAllowThreads();
18216 result = (int)(arg1)->GetDuplex();
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 resultobj = SWIG_FromInt((int)result);
18222 return resultobj;
18223 fail:
18224 return NULL;
18225 }
18226
18227
18228 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj;
18230 wxPrintData *arg1 = (wxPrintData *) 0 ;
18231 int result;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (int)(arg1)->GetPaperId();
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 resultobj = SWIG_FromInt((int)result);
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxPrintData *arg1 = (wxPrintData *) 0 ;
18257 wxSize *result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 {
18269 wxSize const &_result_ref = (arg1)->GetPaperSize();
18270 result = (wxSize *) &_result_ref;
18271 }
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18277 return resultobj;
18278 fail:
18279 return NULL;
18280 }
18281
18282
18283 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18284 PyObject *resultobj;
18285 wxPrintData *arg1 = (wxPrintData *) 0 ;
18286 int result;
18287 PyObject * obj0 = 0 ;
18288 char *kwnames[] = {
18289 (char *) "self", NULL
18290 };
18291
18292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 result = (int)(arg1)->GetQuality();
18298
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 resultobj = SWIG_FromInt((int)result);
18303 return resultobj;
18304 fail:
18305 return NULL;
18306 }
18307
18308
18309 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18310 PyObject *resultobj;
18311 wxPrintData *arg1 = (wxPrintData *) 0 ;
18312 int arg2 ;
18313 PyObject * obj0 = 0 ;
18314 PyObject * obj1 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "v", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18322 arg2 = (int) SWIG_AsInt(obj1);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 (arg1)->SetNoCopies(arg2);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 Py_INCREF(Py_None); resultobj = Py_None;
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxPrintData *arg1 = (wxPrintData *) 0 ;
18341 bool arg2 ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "flag", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18351 arg2 = (bool) SWIG_AsBool(obj1);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->SetCollate(arg2);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364 }
18365
18366
18367 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPrintData *arg1 = (wxPrintData *) 0 ;
18370 int arg2 ;
18371 PyObject * obj0 = 0 ;
18372 PyObject * obj1 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self",(char *) "orient", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18380 arg2 = (int) SWIG_AsInt(obj1);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 (arg1)->SetOrientation(arg2);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 Py_INCREF(Py_None); resultobj = Py_None;
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxPrintData *arg1 = (wxPrintData *) 0 ;
18399 wxString *arg2 = 0 ;
18400 bool temp2 = False ;
18401 PyObject * obj0 = 0 ;
18402 PyObject * obj1 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self",(char *) "name", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18410 {
18411 arg2 = wxString_in_helper(obj1);
18412 if (arg2 == NULL) SWIG_fail;
18413 temp2 = True;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 (arg1)->SetPrinterName((wxString const &)*arg2);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 Py_INCREF(Py_None); resultobj = Py_None;
18423 {
18424 if (temp2)
18425 delete arg2;
18426 }
18427 return resultobj;
18428 fail:
18429 {
18430 if (temp2)
18431 delete arg2;
18432 }
18433 return NULL;
18434 }
18435
18436
18437 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18438 PyObject *resultobj;
18439 wxPrintData *arg1 = (wxPrintData *) 0 ;
18440 bool arg2 ;
18441 PyObject * obj0 = 0 ;
18442 PyObject * obj1 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self",(char *) "colour", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18450 arg2 = (bool) SWIG_AsBool(obj1);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->SetColour(arg2);
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 Py_INCREF(Py_None); resultobj = Py_None;
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxPrintData *arg1 = (wxPrintData *) 0 ;
18469 int arg2 ;
18470 PyObject * obj0 = 0 ;
18471 PyObject * obj1 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self",(char *) "duplex", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18479 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->SetDuplex((wxDuplexMode )arg2);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492 }
18493
18494
18495 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18496 PyObject *resultobj;
18497 wxPrintData *arg1 = (wxPrintData *) 0 ;
18498 int arg2 ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "sizeId", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18508 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->SetPaperId((wxPaperSize )arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 return resultobj;
18519 fail:
18520 return NULL;
18521 }
18522
18523
18524 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj;
18526 wxPrintData *arg1 = (wxPrintData *) 0 ;
18527 wxSize *arg2 = 0 ;
18528 wxSize temp2 ;
18529 PyObject * obj0 = 0 ;
18530 PyObject * obj1 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self",(char *) "sz", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18538 {
18539 arg2 = &temp2;
18540 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 (arg1)->SetPaperSize((wxSize const &)*arg2);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 Py_INCREF(Py_None); resultobj = Py_None;
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18557 PyObject *resultobj;
18558 wxPrintData *arg1 = (wxPrintData *) 0 ;
18559 int arg2 ;
18560 PyObject * obj0 = 0 ;
18561 PyObject * obj1 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self",(char *) "quality", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18569 arg2 = (int) SWIG_AsInt(obj1);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 {
18572 PyThreadState* __tstate = wxPyBeginAllowThreads();
18573 (arg1)->SetQuality(arg2);
18574
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 Py_INCREF(Py_None); resultobj = Py_None;
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj;
18587 wxPrintData *arg1 = (wxPrintData *) 0 ;
18588 wxString *result;
18589 PyObject * obj0 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 {
18600 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18601 result = (wxString *) &_result_ref;
18602 }
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 {
18608 #if wxUSE_UNICODE
18609 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18610 #else
18611 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18612 #endif
18613 }
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxPrintData *arg1 = (wxPrintData *) 0 ;
18623 wxString *result;
18624 PyObject * obj0 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 {
18635 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18636 result = (wxString *) &_result_ref;
18637 }
18638
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 {
18643 #if wxUSE_UNICODE
18644 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18645 #else
18646 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18647 #endif
18648 }
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxPrintData *arg1 = (wxPrintData *) 0 ;
18658 wxString *result;
18659 PyObject * obj0 = 0 ;
18660 char *kwnames[] = {
18661 (char *) "self", NULL
18662 };
18663
18664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 {
18670 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18671 result = (wxString *) &_result_ref;
18672 }
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 {
18678 #if wxUSE_UNICODE
18679 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18680 #else
18681 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18682 #endif
18683 }
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxPrintData *arg1 = (wxPrintData *) 0 ;
18693 wxString *result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 {
18705 wxString const &_result_ref = (arg1)->GetFilename();
18706 result = (wxString *) &_result_ref;
18707 }
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 {
18713 #if wxUSE_UNICODE
18714 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18715 #else
18716 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18717 #endif
18718 }
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxPrintData *arg1 = (wxPrintData *) 0 ;
18728 wxString *result;
18729 PyObject * obj0 = 0 ;
18730 char *kwnames[] = {
18731 (char *) "self", NULL
18732 };
18733
18734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 {
18740 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18741 result = (wxString *) &_result_ref;
18742 }
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 {
18748 #if wxUSE_UNICODE
18749 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18750 #else
18751 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18752 #endif
18753 }
18754 return resultobj;
18755 fail:
18756 return NULL;
18757 }
18758
18759
18760 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxPrintData *arg1 = (wxPrintData *) 0 ;
18763 double result;
18764 PyObject * obj0 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 result = (double)(arg1)->GetPrinterScaleX();
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = SWIG_FromDouble((double)result);
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxPrintData *arg1 = (wxPrintData *) 0 ;
18789 double result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (double)(arg1)->GetPrinterScaleY();
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 resultobj = SWIG_FromDouble((double)result);
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxPrintData *arg1 = (wxPrintData *) 0 ;
18815 long result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (long)(arg1)->GetPrinterTranslateX();
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = SWIG_FromLong((long)result);
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPrintData *arg1 = (wxPrintData *) 0 ;
18841 long result;
18842 PyObject * obj0 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (long)(arg1)->GetPrinterTranslateY();
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 resultobj = SWIG_FromLong((long)result);
18858 return resultobj;
18859 fail:
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxPrintData *arg1 = (wxPrintData *) 0 ;
18867 int result;
18868 PyObject * obj0 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18876 {
18877 PyThreadState* __tstate = wxPyBeginAllowThreads();
18878 result = (int)(arg1)->GetPrintMode();
18879
18880 wxPyEndAllowThreads(__tstate);
18881 if (PyErr_Occurred()) SWIG_fail;
18882 }
18883 resultobj = SWIG_FromInt((int)result);
18884 return resultobj;
18885 fail:
18886 return NULL;
18887 }
18888
18889
18890 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 wxPrintData *arg1 = (wxPrintData *) 0 ;
18893 wxString *arg2 = 0 ;
18894 bool temp2 = False ;
18895 PyObject * obj0 = 0 ;
18896 PyObject * obj1 = 0 ;
18897 char *kwnames[] = {
18898 (char *) "self",(char *) "command", NULL
18899 };
18900
18901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18904 {
18905 arg2 = wxString_in_helper(obj1);
18906 if (arg2 == NULL) SWIG_fail;
18907 temp2 = True;
18908 }
18909 {
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18912
18913 wxPyEndAllowThreads(__tstate);
18914 if (PyErr_Occurred()) SWIG_fail;
18915 }
18916 Py_INCREF(Py_None); resultobj = Py_None;
18917 {
18918 if (temp2)
18919 delete arg2;
18920 }
18921 return resultobj;
18922 fail:
18923 {
18924 if (temp2)
18925 delete arg2;
18926 }
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxPrintData *arg1 = (wxPrintData *) 0 ;
18934 wxString *arg2 = 0 ;
18935 bool temp2 = False ;
18936 PyObject * obj0 = 0 ;
18937 PyObject * obj1 = 0 ;
18938 char *kwnames[] = {
18939 (char *) "self",(char *) "options", NULL
18940 };
18941
18942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18945 {
18946 arg2 = wxString_in_helper(obj1);
18947 if (arg2 == NULL) SWIG_fail;
18948 temp2 = True;
18949 }
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 Py_INCREF(Py_None); resultobj = Py_None;
18958 {
18959 if (temp2)
18960 delete arg2;
18961 }
18962 return resultobj;
18963 fail:
18964 {
18965 if (temp2)
18966 delete arg2;
18967 }
18968 return NULL;
18969 }
18970
18971
18972 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18973 PyObject *resultobj;
18974 wxPrintData *arg1 = (wxPrintData *) 0 ;
18975 wxString *arg2 = 0 ;
18976 bool temp2 = False ;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "command", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18986 {
18987 arg2 = wxString_in_helper(obj1);
18988 if (arg2 == NULL) SWIG_fail;
18989 temp2 = True;
18990 }
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 {
19000 if (temp2)
19001 delete arg2;
19002 }
19003 return resultobj;
19004 fail:
19005 {
19006 if (temp2)
19007 delete arg2;
19008 }
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPrintData *arg1 = (wxPrintData *) 0 ;
19016 wxString *arg2 = 0 ;
19017 bool temp2 = False ;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "filename", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19027 {
19028 arg2 = wxString_in_helper(obj1);
19029 if (arg2 == NULL) SWIG_fail;
19030 temp2 = True;
19031 }
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->SetFilename((wxString const &)*arg2);
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 {
19041 if (temp2)
19042 delete arg2;
19043 }
19044 return resultobj;
19045 fail:
19046 {
19047 if (temp2)
19048 delete arg2;
19049 }
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxPrintData *arg1 = (wxPrintData *) 0 ;
19057 wxString *arg2 = 0 ;
19058 bool temp2 = False ;
19059 PyObject * obj0 = 0 ;
19060 PyObject * obj1 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self",(char *) "path", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19068 {
19069 arg2 = wxString_in_helper(obj1);
19070 if (arg2 == NULL) SWIG_fail;
19071 temp2 = True;
19072 }
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 (arg1)->SetFontMetricPath((wxString const &)*arg2);
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 Py_INCREF(Py_None); resultobj = Py_None;
19081 {
19082 if (temp2)
19083 delete arg2;
19084 }
19085 return resultobj;
19086 fail:
19087 {
19088 if (temp2)
19089 delete arg2;
19090 }
19091 return NULL;
19092 }
19093
19094
19095 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxPrintData *arg1 = (wxPrintData *) 0 ;
19098 double arg2 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "x", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19108 arg2 = (double) SWIG_AsDouble(obj1);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetPrinterScaleX(arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPrintData *arg1 = (wxPrintData *) 0 ;
19127 double arg2 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "y", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
19135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19137 arg2 = (double) SWIG_AsDouble(obj1);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 {
19140 PyThreadState* __tstate = wxPyBeginAllowThreads();
19141 (arg1)->SetPrinterScaleY(arg2);
19142
19143 wxPyEndAllowThreads(__tstate);
19144 if (PyErr_Occurred()) SWIG_fail;
19145 }
19146 Py_INCREF(Py_None); resultobj = Py_None;
19147 return resultobj;
19148 fail:
19149 return NULL;
19150 }
19151
19152
19153 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj;
19155 wxPrintData *arg1 = (wxPrintData *) 0 ;
19156 double arg2 ;
19157 double arg3 ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 PyObject * obj2 = 0 ;
19161 char *kwnames[] = {
19162 (char *) "self",(char *) "x",(char *) "y", NULL
19163 };
19164
19165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19168 arg2 = (double) SWIG_AsDouble(obj1);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 arg3 = (double) SWIG_AsDouble(obj2);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 {
19173 PyThreadState* __tstate = wxPyBeginAllowThreads();
19174 (arg1)->SetPrinterScaling(arg2,arg3);
19175
19176 wxPyEndAllowThreads(__tstate);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 Py_INCREF(Py_None); resultobj = Py_None;
19180 return resultobj;
19181 fail:
19182 return NULL;
19183 }
19184
19185
19186 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19187 PyObject *resultobj;
19188 wxPrintData *arg1 = (wxPrintData *) 0 ;
19189 long arg2 ;
19190 PyObject * obj0 = 0 ;
19191 PyObject * obj1 = 0 ;
19192 char *kwnames[] = {
19193 (char *) "self",(char *) "x", NULL
19194 };
19195
19196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19199 arg2 = (long) SWIG_AsLong(obj1);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 {
19202 PyThreadState* __tstate = wxPyBeginAllowThreads();
19203 (arg1)->SetPrinterTranslateX(arg2);
19204
19205 wxPyEndAllowThreads(__tstate);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 Py_INCREF(Py_None); resultobj = Py_None;
19209 return resultobj;
19210 fail:
19211 return NULL;
19212 }
19213
19214
19215 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19216 PyObject *resultobj;
19217 wxPrintData *arg1 = (wxPrintData *) 0 ;
19218 long arg2 ;
19219 PyObject * obj0 = 0 ;
19220 PyObject * obj1 = 0 ;
19221 char *kwnames[] = {
19222 (char *) "self",(char *) "y", NULL
19223 };
19224
19225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19228 arg2 = (long) SWIG_AsLong(obj1);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 (arg1)->SetPrinterTranslateY(arg2);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 Py_INCREF(Py_None); resultobj = Py_None;
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxPrintData *arg1 = (wxPrintData *) 0 ;
19247 long arg2 ;
19248 long arg3 ;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj1 = 0 ;
19251 PyObject * obj2 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "x",(char *) "y", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19259 arg2 = (long) SWIG_AsLong(obj1);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 arg3 = (long) SWIG_AsLong(obj2);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 {
19264 PyThreadState* __tstate = wxPyBeginAllowThreads();
19265 (arg1)->SetPrinterTranslation(arg2,arg3);
19266
19267 wxPyEndAllowThreads(__tstate);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 Py_INCREF(Py_None); resultobj = Py_None;
19271 return resultobj;
19272 fail:
19273 return NULL;
19274 }
19275
19276
19277 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19278 PyObject *resultobj;
19279 wxPrintData *arg1 = (wxPrintData *) 0 ;
19280 int arg2 ;
19281 PyObject * obj0 = 0 ;
19282 PyObject * obj1 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "self",(char *) "printMode", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19290 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19291 if (PyErr_Occurred()) SWIG_fail;
19292 {
19293 PyThreadState* __tstate = wxPyBeginAllowThreads();
19294 (arg1)->SetPrintMode((wxPrintMode )arg2);
19295
19296 wxPyEndAllowThreads(__tstate);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 }
19299 Py_INCREF(Py_None); resultobj = Py_None;
19300 return resultobj;
19301 fail:
19302 return NULL;
19303 }
19304
19305
19306 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19307 PyObject *resultobj;
19308 wxPrintData *arg1 = (wxPrintData *) 0 ;
19309 wxOutputStream *result;
19310 PyObject * obj0 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (wxOutputStream *)(arg1)->GetOutputStream();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPrintData *arg1 = (wxPrintData *) 0 ;
19335 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19336 PyObject * obj0 = 0 ;
19337 PyObject * obj1 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self",(char *) "outputstream", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 (arg1)->SetOutputStream(arg2);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 Py_INCREF(Py_None); resultobj = Py_None;
19355 return resultobj;
19356 fail:
19357 return NULL;
19358 }
19359
19360
19361 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19362 PyObject *obj;
19363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19364 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19365 Py_INCREF(obj);
19366 return Py_BuildValue((char *)"");
19367 }
19368 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj;
19370 wxPageSetupDialogData *result;
19371 char *kwnames[] = {
19372 NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 delete arg1;
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 Py_INCREF(Py_None); resultobj = Py_None;
19409 return resultobj;
19410 fail:
19411 return NULL;
19412 }
19413
19414
19415 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj;
19417 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19418 bool arg2 ;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self",(char *) "flag", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19428 arg2 = (bool) SWIG_AsBool(obj1);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 (arg1)->EnableHelp(arg2);
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 Py_INCREF(Py_None); resultobj = Py_None;
19438 return resultobj;
19439 fail:
19440 return NULL;
19441 }
19442
19443
19444 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19447 bool arg2 ;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self",(char *) "flag", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19457 arg2 = (bool) SWIG_AsBool(obj1);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 (arg1)->EnableMargins(arg2);
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 Py_INCREF(Py_None); resultobj = Py_None;
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19476 bool arg2 ;
19477 PyObject * obj0 = 0 ;
19478 PyObject * obj1 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "flag", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19486 arg2 = (bool) SWIG_AsBool(obj1);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 (arg1)->EnableOrientation(arg2);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 Py_INCREF(Py_None); resultobj = Py_None;
19496 return resultobj;
19497 fail:
19498 return NULL;
19499 }
19500
19501
19502 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19505 bool arg2 ;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self",(char *) "flag", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 arg2 = (bool) SWIG_AsBool(obj1);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 (arg1)->EnablePaper(arg2);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 Py_INCREF(Py_None); resultobj = Py_None;
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19534 bool arg2 ;
19535 PyObject * obj0 = 0 ;
19536 PyObject * obj1 = 0 ;
19537 char *kwnames[] = {
19538 (char *) "self",(char *) "flag", NULL
19539 };
19540
19541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19544 arg2 = (bool) SWIG_AsBool(obj1);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 {
19547 PyThreadState* __tstate = wxPyBeginAllowThreads();
19548 (arg1)->EnablePrinter(arg2);
19549
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 Py_INCREF(Py_None); resultobj = Py_None;
19554 return resultobj;
19555 fail:
19556 return NULL;
19557 }
19558
19559
19560 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19563 bool result;
19564 PyObject * obj0 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (bool)(arg1)->GetDefaultMinMargins();
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 {
19580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19581 }
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19591 bool result;
19592 PyObject * obj0 = 0 ;
19593 char *kwnames[] = {
19594 (char *) "self", NULL
19595 };
19596
19597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",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 = (bool)(arg1)->GetEnableMargins();
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 {
19608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19609 }
19610 return resultobj;
19611 fail:
19612 return NULL;
19613 }
19614
19615
19616 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19619 bool result;
19620 PyObject * obj0 = 0 ;
19621 char *kwnames[] = {
19622 (char *) "self", NULL
19623 };
19624
19625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = (bool)(arg1)->GetEnableOrientation();
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 {
19636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19637 }
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj;
19646 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19647 bool result;
19648 PyObject * obj0 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 result = (bool)(arg1)->GetEnablePaper();
19659
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
19663 {
19664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19665 }
19666 return resultobj;
19667 fail:
19668 return NULL;
19669 }
19670
19671
19672 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19673 PyObject *resultobj;
19674 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19675 bool result;
19676 PyObject * obj0 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (bool)(arg1)->GetEnablePrinter();
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
19692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19693 }
19694 return resultobj;
19695 fail:
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19703 bool result;
19704 PyObject * obj0 = 0 ;
19705 char *kwnames[] = {
19706 (char *) "self", NULL
19707 };
19708
19709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (bool)(arg1)->GetEnableHelp();
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 {
19720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19721 }
19722 return resultobj;
19723 fail:
19724 return NULL;
19725 }
19726
19727
19728 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19729 PyObject *resultobj;
19730 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19731 bool result;
19732 PyObject * obj0 = 0 ;
19733 char *kwnames[] = {
19734 (char *) "self", NULL
19735 };
19736
19737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (bool)(arg1)->GetDefaultInfo();
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 {
19748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19749 }
19750 return resultobj;
19751 fail:
19752 return NULL;
19753 }
19754
19755
19756 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19757 PyObject *resultobj;
19758 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19759 wxPoint result;
19760 PyObject * obj0 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "self", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 result = (arg1)->GetMarginTopLeft();
19771
19772 wxPyEndAllowThreads(__tstate);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 }
19775 {
19776 wxPoint * resultptr;
19777 resultptr = new wxPoint((wxPoint &) result);
19778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19779 }
19780 return resultobj;
19781 fail:
19782 return NULL;
19783 }
19784
19785
19786 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19787 PyObject *resultobj;
19788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19789 wxPoint result;
19790 PyObject * obj0 = 0 ;
19791 char *kwnames[] = {
19792 (char *) "self", NULL
19793 };
19794
19795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 result = (arg1)->GetMarginBottomRight();
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 {
19806 wxPoint * resultptr;
19807 resultptr = new wxPoint((wxPoint &) result);
19808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19809 }
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19819 wxPoint result;
19820 PyObject * obj0 = 0 ;
19821 char *kwnames[] = {
19822 (char *) "self", NULL
19823 };
19824
19825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (arg1)->GetMinMarginTopLeft();
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 {
19836 wxPoint * resultptr;
19837 resultptr = new wxPoint((wxPoint &) result);
19838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19839 }
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19849 wxPoint result;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (arg1)->GetMinMarginBottomRight();
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 {
19866 wxPoint * resultptr;
19867 resultptr = new wxPoint((wxPoint &) result);
19868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19869 }
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj;
19878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19879 int result;
19880 PyObject * obj0 = 0 ;
19881 char *kwnames[] = {
19882 (char *) "self", NULL
19883 };
19884
19885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
19886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 result = (int)(arg1)->GetPaperId();
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 resultobj = SWIG_FromInt((int)result);
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19905 wxSize result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 result = (arg1)->GetPaperSize();
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 {
19922 wxSize * resultptr;
19923 resultptr = new wxSize((wxSize &) result);
19924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19925 }
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19935 wxPrintData *result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 {
19947 wxPrintData &_result_ref = (arg1)->GetPrintData();
19948 result = (wxPrintData *) &_result_ref;
19949 }
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19955 return resultobj;
19956 fail:
19957 return NULL;
19958 }
19959
19960
19961 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19964 bool result;
19965 PyObject * obj0 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (bool)(arg1)->Ok();
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 {
19981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19982 }
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19992 bool arg2 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "flag", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20002 arg2 = (bool) SWIG_AsBool(obj1);
20003 if (PyErr_Occurred()) SWIG_fail;
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 (arg1)->SetDefaultInfo(arg2);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 Py_INCREF(Py_None); resultobj = Py_None;
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20021 bool arg2 ;
20022 PyObject * obj0 = 0 ;
20023 PyObject * obj1 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "flag", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20031 arg2 = (bool) SWIG_AsBool(obj1);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 (arg1)->SetDefaultMinMargins(arg2);
20036
20037 wxPyEndAllowThreads(__tstate);
20038 if (PyErr_Occurred()) SWIG_fail;
20039 }
20040 Py_INCREF(Py_None); resultobj = Py_None;
20041 return resultobj;
20042 fail:
20043 return NULL;
20044 }
20045
20046
20047 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20048 PyObject *resultobj;
20049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20050 wxPoint *arg2 = 0 ;
20051 wxPoint temp2 ;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "pt", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20061 {
20062 arg2 = &temp2;
20063 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20064 }
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 Py_INCREF(Py_None); resultobj = Py_None;
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20082 wxPoint *arg2 = 0 ;
20083 wxPoint temp2 ;
20084 PyObject * obj0 = 0 ;
20085 PyObject * obj1 = 0 ;
20086 char *kwnames[] = {
20087 (char *) "self",(char *) "pt", NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20093 {
20094 arg2 = &temp2;
20095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20096 }
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 Py_INCREF(Py_None); resultobj = Py_None;
20105 return resultobj;
20106 fail:
20107 return NULL;
20108 }
20109
20110
20111 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
20112 PyObject *resultobj;
20113 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20114 wxPoint *arg2 = 0 ;
20115 wxPoint temp2 ;
20116 PyObject * obj0 = 0 ;
20117 PyObject * obj1 = 0 ;
20118 char *kwnames[] = {
20119 (char *) "self",(char *) "pt", NULL
20120 };
20121
20122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
20123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20125 {
20126 arg2 = &temp2;
20127 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20128 }
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 Py_INCREF(Py_None); resultobj = Py_None;
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20146 wxPoint *arg2 = 0 ;
20147 wxPoint temp2 ;
20148 PyObject * obj0 = 0 ;
20149 PyObject * obj1 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self",(char *) "pt", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20157 {
20158 arg2 = &temp2;
20159 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20160 }
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 Py_INCREF(Py_None); resultobj = Py_None;
20169 return resultobj;
20170 fail:
20171 return NULL;
20172 }
20173
20174
20175 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20176 PyObject *resultobj;
20177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20178 int arg2 ;
20179 PyObject * obj0 = 0 ;
20180 PyObject * obj1 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self",(char *) "id", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20188 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 {
20191 PyThreadState* __tstate = wxPyBeginAllowThreads();
20192 (arg1)->SetPaperId((wxPaperSize )arg2);
20193
20194 wxPyEndAllowThreads(__tstate);
20195 if (PyErr_Occurred()) SWIG_fail;
20196 }
20197 Py_INCREF(Py_None); resultobj = Py_None;
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20207 wxSize *arg2 = 0 ;
20208 wxSize temp2 ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "size", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 {
20219 arg2 = &temp2;
20220 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20221 }
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 (arg1)->SetPaperSize((wxSize const &)*arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 Py_INCREF(Py_None); resultobj = Py_None;
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20239 wxPrintData *arg2 = 0 ;
20240 PyObject * obj0 = 0 ;
20241 PyObject * obj1 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self",(char *) "printData", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20250 SWIG_POINTER_EXCEPTION | 0)) == -1)
20251 SWIG_fail;
20252 if (arg2 == NULL) {
20253 PyErr_SetString(PyExc_TypeError,"null reference");
20254 SWIG_fail;
20255 }
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 Py_INCREF(Py_None); resultobj = Py_None;
20264 return resultobj;
20265 fail:
20266 return NULL;
20267 }
20268
20269
20270 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20271 PyObject *obj;
20272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20273 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20274 Py_INCREF(obj);
20275 return Py_BuildValue((char *)"");
20276 }
20277 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxWindow *arg1 = (wxWindow *) 0 ;
20280 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20281 wxPageSetupDialog *result;
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
20284 char *kwnames[] = {
20285 (char *) "parent",(char *) "data", NULL
20286 };
20287
20288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20291 if (obj1) {
20292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20294 }
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj;
20311 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20312 wxPageSetupDialogData *result;
20313 PyObject * obj0 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 {
20324 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20325 result = (wxPageSetupDialogData *) &_result_ref;
20326 }
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20332 return resultobj;
20333 fail:
20334 return NULL;
20335 }
20336
20337
20338 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20339 PyObject *resultobj;
20340 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20341 int result;
20342 PyObject * obj0 = 0 ;
20343 char *kwnames[] = {
20344 (char *) "self", NULL
20345 };
20346
20347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 result = (int)(arg1)->ShowModal();
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 resultobj = SWIG_FromInt((int)result);
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20365 PyObject *obj;
20366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20367 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20368 Py_INCREF(obj);
20369 return Py_BuildValue((char *)"");
20370 }
20371 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20372 PyObject *resultobj;
20373 wxPrintDialogData *result;
20374
20375 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (wxPrintDialogData *)new wxPrintDialogData();
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20391 PyObject *resultobj;
20392 wxPrintData *arg1 = 0 ;
20393 wxPrintDialogData *result;
20394 PyObject * obj0 = 0 ;
20395
20396 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20398 SWIG_POINTER_EXCEPTION | 0)) == -1)
20399 SWIG_fail;
20400 if (arg1 == NULL) {
20401 PyErr_SetString(PyExc_TypeError,"null reference");
20402 SWIG_fail;
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20412 return resultobj;
20413 fail:
20414 return NULL;
20415 }
20416
20417
20418 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20419 int argc;
20420 PyObject *argv[2];
20421 int ii;
20422
20423 argc = PyObject_Length(args);
20424 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20425 argv[ii] = PyTuple_GetItem(args,ii);
20426 }
20427 if (argc == 0) {
20428 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20429 }
20430 if (argc == 1) {
20431 int _v;
20432 {
20433 void *ptr;
20434 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20435 _v = 0;
20436 PyErr_Clear();
20437 } else {
20438 _v = 1;
20439 }
20440 }
20441 if (_v) {
20442 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20443 }
20444 }
20445
20446 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20447 return NULL;
20448 }
20449
20450
20451 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20452 PyObject *resultobj;
20453 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20454 PyObject * obj0 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 delete arg1;
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 Py_INCREF(Py_None); resultobj = Py_None;
20470 return resultobj;
20471 fail:
20472 return NULL;
20473 }
20474
20475
20476 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj;
20478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20479 int result;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_FromInt((int)result);
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20503 PyObject *resultobj;
20504 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20505 int result;
20506 PyObject * obj0 = 0 ;
20507 char *kwnames[] = {
20508 (char *) "self", NULL
20509 };
20510
20511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 resultobj = SWIG_FromInt((int)result);
20522 return resultobj;
20523 fail:
20524 return NULL;
20525 }
20526
20527
20528 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20531 int result;
20532 PyObject * obj0 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 resultobj = SWIG_FromInt((int)result);
20548 return resultobj;
20549 fail:
20550 return NULL;
20551 }
20552
20553
20554 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20555 PyObject *resultobj;
20556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20557 int result;
20558 PyObject * obj0 = 0 ;
20559 char *kwnames[] = {
20560 (char *) "self", NULL
20561 };
20562
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20569
20570 wxPyEndAllowThreads(__tstate);
20571 if (PyErr_Occurred()) SWIG_fail;
20572 }
20573 resultobj = SWIG_FromInt((int)result);
20574 return resultobj;
20575 fail:
20576 return NULL;
20577 }
20578
20579
20580 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20583 int result;
20584 PyObject * obj0 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20595
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 resultobj = SWIG_FromInt((int)result);
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20609 bool result;
20610 PyObject * obj0 = 0 ;
20611 char *kwnames[] = {
20612 (char *) "self", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 {
20626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20627 }
20628 return resultobj;
20629 fail:
20630 return NULL;
20631 }
20632
20633
20634 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20635 PyObject *resultobj;
20636 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20637 bool result;
20638 PyObject * obj0 = 0 ;
20639 char *kwnames[] = {
20640 (char *) "self", NULL
20641 };
20642
20643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 {
20654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20655 }
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20665 bool result;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
20681 {
20682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20683 }
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20693 bool result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 {
20710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20711 }
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20721 bool result;
20722 PyObject * obj0 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 {
20738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20739 }
20740 return resultobj;
20741 fail:
20742 return NULL;
20743 }
20744
20745
20746 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20747 PyObject *resultobj;
20748 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20749 int arg2 ;
20750 PyObject * obj0 = 0 ;
20751 PyObject * obj1 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self",(char *) "v", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20759 arg2 = (int) SWIG_AsInt(obj1);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 (arg1)->SetFromPage(arg2);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 Py_INCREF(Py_None); resultobj = Py_None;
20769 return resultobj;
20770 fail:
20771 return NULL;
20772 }
20773
20774
20775 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj;
20777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20778 int arg2 ;
20779 PyObject * obj0 = 0 ;
20780 PyObject * obj1 = 0 ;
20781 char *kwnames[] = {
20782 (char *) "self",(char *) "v", NULL
20783 };
20784
20785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20788 arg2 = (int) SWIG_AsInt(obj1);
20789 if (PyErr_Occurred()) SWIG_fail;
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 (arg1)->SetToPage(arg2);
20793
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 Py_INCREF(Py_None); resultobj = Py_None;
20798 return resultobj;
20799 fail:
20800 return NULL;
20801 }
20802
20803
20804 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20807 int arg2 ;
20808 PyObject * obj0 = 0 ;
20809 PyObject * obj1 = 0 ;
20810 char *kwnames[] = {
20811 (char *) "self",(char *) "v", NULL
20812 };
20813
20814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20817 arg2 = (int) SWIG_AsInt(obj1);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 (arg1)->SetMinPage(arg2);
20822
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 Py_INCREF(Py_None); resultobj = Py_None;
20827 return resultobj;
20828 fail:
20829 return NULL;
20830 }
20831
20832
20833 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20834 PyObject *resultobj;
20835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20836 int arg2 ;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self",(char *) "v", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20846 arg2 = (int) SWIG_AsInt(obj1);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 (arg1)->SetMaxPage(arg2);
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 Py_INCREF(Py_None); resultobj = Py_None;
20856 return resultobj;
20857 fail:
20858 return NULL;
20859 }
20860
20861
20862 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20865 int arg2 ;
20866 PyObject * obj0 = 0 ;
20867 PyObject * obj1 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self",(char *) "v", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20875 arg2 = (int) SWIG_AsInt(obj1);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 (arg1)->SetNoCopies(arg2);
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 Py_INCREF(Py_None); resultobj = Py_None;
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20894 bool arg2 ;
20895 PyObject * obj0 = 0 ;
20896 PyObject * obj1 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self",(char *) "flag", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20904 arg2 = (bool) SWIG_AsBool(obj1);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 (arg1)->SetAllPages(arg2);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 Py_INCREF(Py_None); resultobj = Py_None;
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20923 bool arg2 ;
20924 PyObject * obj0 = 0 ;
20925 PyObject * obj1 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self",(char *) "flag", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20933 arg2 = (bool) SWIG_AsBool(obj1);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 (arg1)->SetSelection(arg2);
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 Py_INCREF(Py_None); resultobj = Py_None;
20943 return resultobj;
20944 fail:
20945 return NULL;
20946 }
20947
20948
20949 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20950 PyObject *resultobj;
20951 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20952 bool arg2 ;
20953 PyObject * obj0 = 0 ;
20954 PyObject * obj1 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self",(char *) "flag", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20962 arg2 = (bool) SWIG_AsBool(obj1);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 (arg1)->SetCollate(arg2);
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 Py_INCREF(Py_None); resultobj = Py_None;
20972 return resultobj;
20973 fail:
20974 return NULL;
20975 }
20976
20977
20978 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20979 PyObject *resultobj;
20980 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20981 bool arg2 ;
20982 PyObject * obj0 = 0 ;
20983 PyObject * obj1 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self",(char *) "flag", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20991 arg2 = (bool) SWIG_AsBool(obj1);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 {
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 (arg1)->SetPrintToFile(arg2);
20996
20997 wxPyEndAllowThreads(__tstate);
20998 if (PyErr_Occurred()) SWIG_fail;
20999 }
21000 Py_INCREF(Py_None); resultobj = Py_None;
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21010 bool arg2 ;
21011 PyObject * obj0 = 0 ;
21012 PyObject * obj1 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "self",(char *) "flag", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
21018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21020 arg2 = (bool) SWIG_AsBool(obj1);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 (arg1)->SetSetupDialog(arg2);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 Py_INCREF(Py_None); resultobj = Py_None;
21030 return resultobj;
21031 fail:
21032 return NULL;
21033 }
21034
21035
21036 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21037 PyObject *resultobj;
21038 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21039 bool arg2 ;
21040 PyObject * obj0 = 0 ;
21041 PyObject * obj1 = 0 ;
21042 char *kwnames[] = {
21043 (char *) "self",(char *) "flag", NULL
21044 };
21045
21046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
21047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21049 arg2 = (bool) SWIG_AsBool(obj1);
21050 if (PyErr_Occurred()) SWIG_fail;
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 (arg1)->EnablePrintToFile(arg2);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 Py_INCREF(Py_None); resultobj = Py_None;
21059 return resultobj;
21060 fail:
21061 return NULL;
21062 }
21063
21064
21065 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj;
21067 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21068 bool arg2 ;
21069 PyObject * obj0 = 0 ;
21070 PyObject * obj1 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "flag", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
21076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21078 arg2 = (bool) SWIG_AsBool(obj1);
21079 if (PyErr_Occurred()) SWIG_fail;
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 (arg1)->EnableSelection(arg2);
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 Py_INCREF(Py_None); resultobj = Py_None;
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21097 bool arg2 ;
21098 PyObject * obj0 = 0 ;
21099 PyObject * obj1 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self",(char *) "flag", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
21105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21107 arg2 = (bool) SWIG_AsBool(obj1);
21108 if (PyErr_Occurred()) SWIG_fail;
21109 {
21110 PyThreadState* __tstate = wxPyBeginAllowThreads();
21111 (arg1)->EnablePageNumbers(arg2);
21112
21113 wxPyEndAllowThreads(__tstate);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 }
21116 Py_INCREF(Py_None); resultobj = Py_None;
21117 return resultobj;
21118 fail:
21119 return NULL;
21120 }
21121
21122
21123 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21124 PyObject *resultobj;
21125 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21126 bool arg2 ;
21127 PyObject * obj0 = 0 ;
21128 PyObject * obj1 = 0 ;
21129 char *kwnames[] = {
21130 (char *) "self",(char *) "flag", NULL
21131 };
21132
21133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21136 arg2 = (bool) SWIG_AsBool(obj1);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 (arg1)->EnableHelp(arg2);
21141
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 Py_INCREF(Py_None); resultobj = Py_None;
21146 return resultobj;
21147 fail:
21148 return NULL;
21149 }
21150
21151
21152 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21153 PyObject *resultobj;
21154 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21155 bool result;
21156 PyObject * obj0 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 {
21172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21173 }
21174 return resultobj;
21175 fail:
21176 return NULL;
21177 }
21178
21179
21180 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21183 bool result;
21184 PyObject * obj0 = 0 ;
21185 char *kwnames[] = {
21186 (char *) "self", NULL
21187 };
21188
21189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 {
21200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21201 }
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21211 bool result;
21212 PyObject * obj0 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 {
21228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21229 }
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj;
21238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21239 bool result;
21240 PyObject * obj0 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "self", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
21256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21257 }
21258 return resultobj;
21259 fail:
21260 return NULL;
21261 }
21262
21263
21264 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21265 PyObject *resultobj;
21266 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21267 bool result;
21268 PyObject * obj0 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21276 {
21277 PyThreadState* __tstate = wxPyBeginAllowThreads();
21278 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21279
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 {
21284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21285 }
21286 return resultobj;
21287 fail:
21288 return NULL;
21289 }
21290
21291
21292 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21293 PyObject *resultobj;
21294 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21295 wxPrintData *result;
21296 PyObject * obj0 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 {
21307 wxPrintData &_result_ref = (arg1)->GetPrintData();
21308 result = (wxPrintData *) &_result_ref;
21309 }
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
21314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21315 return resultobj;
21316 fail:
21317 return NULL;
21318 }
21319
21320
21321 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21324 wxPrintData *arg2 = 0 ;
21325 PyObject * obj0 = 0 ;
21326 PyObject * obj1 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self",(char *) "printData", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21335 SWIG_POINTER_EXCEPTION | 0)) == -1)
21336 SWIG_fail;
21337 if (arg2 == NULL) {
21338 PyErr_SetString(PyExc_TypeError,"null reference");
21339 SWIG_fail;
21340 }
21341 {
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21344
21345 wxPyEndAllowThreads(__tstate);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 }
21348 Py_INCREF(Py_None); resultobj = Py_None;
21349 return resultobj;
21350 fail:
21351 return NULL;
21352 }
21353
21354
21355 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21356 PyObject *obj;
21357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21358 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21359 Py_INCREF(obj);
21360 return Py_BuildValue((char *)"");
21361 }
21362 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxWindow *arg1 = (wxWindow *) 0 ;
21365 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21366 wxPrintDialog *result;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "parent",(char *) "data", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 if (obj1) {
21377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21397 wxPrintDialogData *result;
21398 PyObject * obj0 = 0 ;
21399 char *kwnames[] = {
21400 (char *) "self", NULL
21401 };
21402
21403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21406 {
21407 PyThreadState* __tstate = wxPyBeginAllowThreads();
21408 {
21409 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21410 result = (wxPrintDialogData *) &_result_ref;
21411 }
21412
21413 wxPyEndAllowThreads(__tstate);
21414 if (PyErr_Occurred()) SWIG_fail;
21415 }
21416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21417 return resultobj;
21418 fail:
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj;
21425 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21426 wxDC *result;
21427 PyObject * obj0 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21435 {
21436 PyThreadState* __tstate = wxPyBeginAllowThreads();
21437 result = (wxDC *)(arg1)->GetPrintDC();
21438
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 resultobj = wxPyMake_wxObject(result);
21444 }
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21454 int result;
21455 PyObject * obj0 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
21465 result = (int)(arg1)->ShowModal();
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 resultobj = SWIG_FromInt((int)result);
21471 return resultobj;
21472 fail:
21473 return NULL;
21474 }
21475
21476
21477 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21478 PyObject *obj;
21479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21480 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21481 Py_INCREF(obj);
21482 return Py_BuildValue((char *)"");
21483 }
21484 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21487 wxPrinter *result;
21488 PyObject * obj0 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "data", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21494 if (obj0) {
21495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21497 }
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = (wxPrinter *)new wxPrinter(arg1);
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21506 return resultobj;
21507 fail:
21508 return NULL;
21509 }
21510
21511
21512 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21513 PyObject *resultobj;
21514 wxPrinter *arg1 = (wxPrinter *) 0 ;
21515 PyObject * obj0 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 delete arg1;
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPrinter *arg1 = (wxPrinter *) 0 ;
21540 wxWindow *arg2 = (wxWindow *) 0 ;
21541 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21542 PyObject * obj0 = 0 ;
21543 PyObject * obj1 = 0 ;
21544 PyObject * obj2 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self",(char *) "parent",(char *) "printout", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21554 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 (arg1)->CreateAbortWindow(arg2,arg3);
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 Py_INCREF(Py_None); resultobj = Py_None;
21564 return resultobj;
21565 fail:
21566 return NULL;
21567 }
21568
21569
21570 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21571 PyObject *resultobj;
21572 wxPrinter *arg1 = (wxPrinter *) 0 ;
21573 wxPrintDialogData *result;
21574 PyObject * obj0 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 {
21585 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21586 result = (wxPrintDialogData *) &_result_ref;
21587 }
21588
21589 wxPyEndAllowThreads(__tstate);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21593 return resultobj;
21594 fail:
21595 return NULL;
21596 }
21597
21598
21599 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21600 PyObject *resultobj;
21601 wxPrinter *arg1 = (wxPrinter *) 0 ;
21602 wxWindow *arg2 = (wxWindow *) 0 ;
21603 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21604 int arg4 = (int) True ;
21605 bool result;
21606 PyObject * obj0 = 0 ;
21607 PyObject * obj1 = 0 ;
21608 PyObject * obj2 = 0 ;
21609 PyObject * obj3 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21617 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21619 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21621 if (obj3) {
21622 arg4 = (int) SWIG_AsInt(obj3);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 {
21633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21634 }
21635 return resultobj;
21636 fail:
21637 return NULL;
21638 }
21639
21640
21641 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxPrinter *arg1 = (wxPrinter *) 0 ;
21644 wxWindow *arg2 = (wxWindow *) 0 ;
21645 wxDC *result;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "parent", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21657 {
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (wxDC *)(arg1)->PrintDialog(arg2);
21660
21661 wxPyEndAllowThreads(__tstate);
21662 if (PyErr_Occurred()) SWIG_fail;
21663 }
21664 {
21665 resultobj = wxPyMake_wxObject(result);
21666 }
21667 return resultobj;
21668 fail:
21669 return NULL;
21670 }
21671
21672
21673 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxPrinter *arg1 = (wxPrinter *) 0 ;
21676 wxWindow *arg2 = (wxWindow *) 0 ;
21677 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21678 wxString *arg4 = 0 ;
21679 bool temp4 = False ;
21680 PyObject * obj0 = 0 ;
21681 PyObject * obj1 = 0 ;
21682 PyObject * obj2 = 0 ;
21683 PyObject * obj3 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21695 {
21696 arg4 = wxString_in_helper(obj3);
21697 if (arg4 == NULL) SWIG_fail;
21698 temp4 = True;
21699 }
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21703
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 Py_INCREF(Py_None); resultobj = Py_None;
21708 {
21709 if (temp4)
21710 delete arg4;
21711 }
21712 return resultobj;
21713 fail:
21714 {
21715 if (temp4)
21716 delete arg4;
21717 }
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxPrinter *arg1 = (wxPrinter *) 0 ;
21725 wxWindow *arg2 = (wxWindow *) 0 ;
21726 bool result;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 char *kwnames[] = {
21730 (char *) "self",(char *) "parent", NULL
21731 };
21732
21733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 result = (bool)(arg1)->Setup(arg2);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 {
21746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21747 }
21748 return resultobj;
21749 fail:
21750 return NULL;
21751 }
21752
21753
21754 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21755 PyObject *resultobj;
21756 wxPrinter *arg1 = (wxPrinter *) 0 ;
21757 bool result;
21758 PyObject * obj0 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 result = (bool)(arg1)->GetAbort();
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21775 }
21776 return resultobj;
21777 fail:
21778 return NULL;
21779 }
21780
21781
21782 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj;
21784 int result;
21785 char *kwnames[] = {
21786 NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 result = (int)wxPrinter::GetLastError();
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 resultobj = SWIG_FromInt((int)result);
21798 return resultobj;
21799 fail:
21800 return NULL;
21801 }
21802
21803
21804 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21805 PyObject *obj;
21806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21807 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21808 Py_INCREF(obj);
21809 return Py_BuildValue((char *)"");
21810 }
21811 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj;
21813 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21814 wxString *arg1 = (wxString *) &arg1_defvalue ;
21815 wxPyPrintout *result;
21816 bool temp1 = False ;
21817 PyObject * obj0 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "title", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21823 if (obj0) {
21824 {
21825 arg1 = wxString_in_helper(obj0);
21826 if (arg1 == NULL) SWIG_fail;
21827 temp1 = True;
21828 }
21829 }
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 {
21838 resultobj = wxPyMake_wxObject(result);
21839 }
21840 {
21841 if (temp1)
21842 delete arg1;
21843 }
21844 return resultobj;
21845 fail:
21846 {
21847 if (temp1)
21848 delete arg1;
21849 }
21850 return NULL;
21851 }
21852
21853
21854 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21855 PyObject *resultobj;
21856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21857 PyObject *arg2 = (PyObject *) 0 ;
21858 PyObject *arg3 = (PyObject *) 0 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 PyObject * obj2 = 0 ;
21862 char *kwnames[] = {
21863 (char *) "self",(char *) "self",(char *) "_class", NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21869 arg2 = obj1;
21870 arg3 = obj2;
21871 {
21872 PyThreadState* __tstate = wxPyBeginAllowThreads();
21873 (arg1)->_setCallbackInfo(arg2,arg3);
21874
21875 wxPyEndAllowThreads(__tstate);
21876 if (PyErr_Occurred()) SWIG_fail;
21877 }
21878 Py_INCREF(Py_None); resultobj = Py_None;
21879 return resultobj;
21880 fail:
21881 return NULL;
21882 }
21883
21884
21885 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21886 PyObject *resultobj;
21887 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21888 wxString result;
21889 PyObject * obj0 = 0 ;
21890 char *kwnames[] = {
21891 (char *) "self", NULL
21892 };
21893
21894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = ((wxPyPrintout const *)arg1)->GetTitle();
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 {
21905 #if wxUSE_UNICODE
21906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21907 #else
21908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21909 #endif
21910 }
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21920 wxDC *result;
21921 PyObject * obj0 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = (wxDC *)(arg1)->GetDC();
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 {
21937 resultobj = wxPyMake_wxObject(result);
21938 }
21939 return resultobj;
21940 fail:
21941 return NULL;
21942 }
21943
21944
21945 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21946 PyObject *resultobj;
21947 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21948 wxDC *arg2 = (wxDC *) 0 ;
21949 PyObject * obj0 = 0 ;
21950 PyObject * obj1 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "dc", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 (arg1)->SetDC(arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 Py_INCREF(Py_None); resultobj = Py_None;
21968 return resultobj;
21969 fail:
21970 return NULL;
21971 }
21972
21973
21974 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21975 PyObject *resultobj;
21976 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21977 int arg2 ;
21978 int arg3 ;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 char *kwnames[] = {
21983 (char *) "self",(char *) "w",(char *) "h", NULL
21984 };
21985
21986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21989 arg2 = (int) SWIG_AsInt(obj1);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 arg3 = (int) SWIG_AsInt(obj2);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 (arg1)->SetPageSizePixels(arg2,arg3);
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 Py_INCREF(Py_None); resultobj = Py_None;
22001 return resultobj;
22002 fail:
22003 return NULL;
22004 }
22005
22006
22007 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj;
22009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22010 int *arg2 = (int *) 0 ;
22011 int *arg3 = (int *) 0 ;
22012 int temp2 ;
22013 int temp3 ;
22014 PyObject * obj0 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self", NULL
22017 };
22018
22019 arg2 = &temp2;
22020 arg3 = &temp3;
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 (arg1)->GetPageSizePixels(arg2,arg3);
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 Py_INCREF(Py_None); resultobj = Py_None;
22032 {
22033 PyObject *o = PyInt_FromLong((long) (*arg2));
22034 resultobj = t_output_helper(resultobj,o);
22035 }
22036 {
22037 PyObject *o = PyInt_FromLong((long) (*arg3));
22038 resultobj = t_output_helper(resultobj,o);
22039 }
22040 return resultobj;
22041 fail:
22042 return NULL;
22043 }
22044
22045
22046 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22047 PyObject *resultobj;
22048 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22049 int arg2 ;
22050 int arg3 ;
22051 PyObject * obj0 = 0 ;
22052 PyObject * obj1 = 0 ;
22053 PyObject * obj2 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "w",(char *) "h", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
22059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22061 arg2 = (int) SWIG_AsInt(obj1);
22062 if (PyErr_Occurred()) SWIG_fail;
22063 arg3 = (int) SWIG_AsInt(obj2);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 {
22066 PyThreadState* __tstate = wxPyBeginAllowThreads();
22067 (arg1)->SetPageSizeMM(arg2,arg3);
22068
22069 wxPyEndAllowThreads(__tstate);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 Py_INCREF(Py_None); resultobj = Py_None;
22073 return resultobj;
22074 fail:
22075 return NULL;
22076 }
22077
22078
22079 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
22080 PyObject *resultobj;
22081 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22082 int *arg2 = (int *) 0 ;
22083 int *arg3 = (int *) 0 ;
22084 int temp2 ;
22085 int temp3 ;
22086 PyObject * obj0 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self", NULL
22089 };
22090
22091 arg2 = &temp2;
22092 arg3 = &temp3;
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
22094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 (arg1)->GetPageSizeMM(arg2,arg3);
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 Py_INCREF(Py_None); resultobj = Py_None;
22104 {
22105 PyObject *o = PyInt_FromLong((long) (*arg2));
22106 resultobj = t_output_helper(resultobj,o);
22107 }
22108 {
22109 PyObject *o = PyInt_FromLong((long) (*arg3));
22110 resultobj = t_output_helper(resultobj,o);
22111 }
22112 return resultobj;
22113 fail:
22114 return NULL;
22115 }
22116
22117
22118 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22121 int arg2 ;
22122 int arg3 ;
22123 PyObject * obj0 = 0 ;
22124 PyObject * obj1 = 0 ;
22125 PyObject * obj2 = 0 ;
22126 char *kwnames[] = {
22127 (char *) "self",(char *) "x",(char *) "y", NULL
22128 };
22129
22130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
22131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22133 arg2 = (int) SWIG_AsInt(obj1);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 arg3 = (int) SWIG_AsInt(obj2);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 (arg1)->SetPPIScreen(arg2,arg3);
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 Py_INCREF(Py_None); resultobj = Py_None;
22145 return resultobj;
22146 fail:
22147 return NULL;
22148 }
22149
22150
22151 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22152 PyObject *resultobj;
22153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22154 int *arg2 = (int *) 0 ;
22155 int *arg3 = (int *) 0 ;
22156 int temp2 ;
22157 int temp3 ;
22158 PyObject * obj0 = 0 ;
22159 char *kwnames[] = {
22160 (char *) "self", NULL
22161 };
22162
22163 arg2 = &temp2;
22164 arg3 = &temp3;
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",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)->GetPPIScreen(arg2,arg3);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 Py_INCREF(Py_None); resultobj = Py_None;
22176 {
22177 PyObject *o = PyInt_FromLong((long) (*arg2));
22178 resultobj = t_output_helper(resultobj,o);
22179 }
22180 {
22181 PyObject *o = PyInt_FromLong((long) (*arg3));
22182 resultobj = t_output_helper(resultobj,o);
22183 }
22184 return resultobj;
22185 fail:
22186 return NULL;
22187 }
22188
22189
22190 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj;
22192 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22193 int arg2 ;
22194 int arg3 ;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 PyObject * obj2 = 0 ;
22198 char *kwnames[] = {
22199 (char *) "self",(char *) "x",(char *) "y", NULL
22200 };
22201
22202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22205 arg2 = (int) SWIG_AsInt(obj1);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 arg3 = (int) SWIG_AsInt(obj2);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 (arg1)->SetPPIPrinter(arg2,arg3);
22212
22213 wxPyEndAllowThreads(__tstate);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 Py_INCREF(Py_None); resultobj = Py_None;
22217 return resultobj;
22218 fail:
22219 return NULL;
22220 }
22221
22222
22223 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22224 PyObject *resultobj;
22225 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22226 int *arg2 = (int *) 0 ;
22227 int *arg3 = (int *) 0 ;
22228 int temp2 ;
22229 int temp3 ;
22230 PyObject * obj0 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self", NULL
22233 };
22234
22235 arg2 = &temp2;
22236 arg3 = &temp3;
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 (arg1)->GetPPIPrinter(arg2,arg3);
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 Py_INCREF(Py_None); resultobj = Py_None;
22248 {
22249 PyObject *o = PyInt_FromLong((long) (*arg2));
22250 resultobj = t_output_helper(resultobj,o);
22251 }
22252 {
22253 PyObject *o = PyInt_FromLong((long) (*arg3));
22254 resultobj = t_output_helper(resultobj,o);
22255 }
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22265 bool result;
22266 PyObject * obj0 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 result = (bool)(arg1)->IsPreview();
22277
22278 wxPyEndAllowThreads(__tstate);
22279 if (PyErr_Occurred()) SWIG_fail;
22280 }
22281 {
22282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22283 }
22284 return resultobj;
22285 fail:
22286 return NULL;
22287 }
22288
22289
22290 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22291 PyObject *resultobj;
22292 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22293 bool arg2 ;
22294 PyObject * obj0 = 0 ;
22295 PyObject * obj1 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self",(char *) "p", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22303 arg2 = (bool) SWIG_AsBool(obj1);
22304 if (PyErr_Occurred()) SWIG_fail;
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 (arg1)->SetIsPreview(arg2);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 Py_INCREF(Py_None); resultobj = Py_None;
22313 return resultobj;
22314 fail:
22315 return NULL;
22316 }
22317
22318
22319 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22322 int arg2 ;
22323 int arg3 ;
22324 bool result;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
22327 PyObject * obj2 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22335 arg2 = (int) SWIG_AsInt(obj1);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 arg3 = (int) SWIG_AsInt(obj2);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 {
22347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22348 }
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22358 PyObject * obj0 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->base_OnEndDocument();
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22383 PyObject * obj0 = 0 ;
22384 char *kwnames[] = {
22385 (char *) "self", NULL
22386 };
22387
22388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 (arg1)->base_OnBeginPrinting();
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 Py_INCREF(Py_None); resultobj = Py_None;
22399 return resultobj;
22400 fail:
22401 return NULL;
22402 }
22403
22404
22405 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22406 PyObject *resultobj;
22407 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22408 PyObject * obj0 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 (arg1)->base_OnEndPrinting();
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 Py_INCREF(Py_None); resultobj = Py_None;
22424 return resultobj;
22425 fail:
22426 return NULL;
22427 }
22428
22429
22430 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22431 PyObject *resultobj;
22432 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22433 PyObject * obj0 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 (arg1)->base_OnPreparePrinting();
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 Py_INCREF(Py_None); resultobj = Py_None;
22449 return resultobj;
22450 fail:
22451 return NULL;
22452 }
22453
22454
22455 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22456 PyObject *resultobj;
22457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22458 int arg2 ;
22459 bool result;
22460 PyObject * obj0 = 0 ;
22461 PyObject * obj1 = 0 ;
22462 char *kwnames[] = {
22463 (char *) "self",(char *) "page", NULL
22464 };
22465
22466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22469 arg2 = (int) SWIG_AsInt(obj1);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (bool)(arg1)->base_HasPage(arg2);
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 {
22479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22480 }
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22490 int *arg2 = (int *) 0 ;
22491 int *arg3 = (int *) 0 ;
22492 int *arg4 = (int *) 0 ;
22493 int *arg5 = (int *) 0 ;
22494 int temp2 ;
22495 int temp3 ;
22496 int temp4 ;
22497 int temp5 ;
22498 PyObject * obj0 = 0 ;
22499 char *kwnames[] = {
22500 (char *) "self", NULL
22501 };
22502
22503 arg2 = &temp2;
22504 arg3 = &temp3;
22505 arg4 = &temp4;
22506 arg5 = &temp5;
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22513
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 Py_INCREF(Py_None); resultobj = Py_None;
22518 {
22519 PyObject *o = PyInt_FromLong((long) (*arg2));
22520 resultobj = t_output_helper(resultobj,o);
22521 }
22522 {
22523 PyObject *o = PyInt_FromLong((long) (*arg3));
22524 resultobj = t_output_helper(resultobj,o);
22525 }
22526 {
22527 PyObject *o = PyInt_FromLong((long) (*arg4));
22528 resultobj = t_output_helper(resultobj,o);
22529 }
22530 {
22531 PyObject *o = PyInt_FromLong((long) (*arg5));
22532 resultobj = t_output_helper(resultobj,o);
22533 }
22534 return resultobj;
22535 fail:
22536 return NULL;
22537 }
22538
22539
22540 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22541 PyObject *obj;
22542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22543 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22544 Py_INCREF(obj);
22545 return Py_BuildValue((char *)"");
22546 }
22547 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22550 wxWindow *arg2 = (wxWindow *) 0 ;
22551 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22552 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22553 wxSize const &arg4_defvalue = wxDefaultSize ;
22554 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22555 long arg5 = (long) 0 ;
22556 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22557 wxString *arg6 = (wxString *) &arg6_defvalue ;
22558 wxPreviewCanvas *result;
22559 wxPoint temp3 ;
22560 wxSize temp4 ;
22561 bool temp6 = False ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 PyObject * obj2 = 0 ;
22565 PyObject * obj3 = 0 ;
22566 PyObject * obj4 = 0 ;
22567 PyObject * obj5 = 0 ;
22568 char *kwnames[] = {
22569 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22570 };
22571
22572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22577 if (obj2) {
22578 {
22579 arg3 = &temp3;
22580 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22581 }
22582 }
22583 if (obj3) {
22584 {
22585 arg4 = &temp4;
22586 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22587 }
22588 }
22589 if (obj4) {
22590 arg5 = (long) SWIG_AsLong(obj4);
22591 if (PyErr_Occurred()) SWIG_fail;
22592 }
22593 if (obj5) {
22594 {
22595 arg6 = wxString_in_helper(obj5);
22596 if (arg6 == NULL) SWIG_fail;
22597 temp6 = True;
22598 }
22599 }
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22608 {
22609 if (temp6)
22610 delete arg6;
22611 }
22612 return resultobj;
22613 fail:
22614 {
22615 if (temp6)
22616 delete arg6;
22617 }
22618 return NULL;
22619 }
22620
22621
22622 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22623 PyObject *obj;
22624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22625 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22626 Py_INCREF(obj);
22627 return Py_BuildValue((char *)"");
22628 }
22629 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22632 wxFrame *arg2 = (wxFrame *) 0 ;
22633 wxString *arg3 = 0 ;
22634 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22635 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22636 wxSize const &arg5_defvalue = wxDefaultSize ;
22637 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22638 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22639 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22640 wxString *arg7 = (wxString *) &arg7_defvalue ;
22641 wxPreviewFrame *result;
22642 bool temp3 = False ;
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 *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22655 };
22656
22657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",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 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22662 {
22663 arg3 = wxString_in_helper(obj2);
22664 if (arg3 == NULL) SWIG_fail;
22665 temp3 = True;
22666 }
22667 if (obj3) {
22668 {
22669 arg4 = &temp4;
22670 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22671 }
22672 }
22673 if (obj4) {
22674 {
22675 arg5 = &temp5;
22676 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22677 }
22678 }
22679 if (obj5) {
22680 arg6 = (long) SWIG_AsLong(obj5);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 if (obj6) {
22684 {
22685 arg7 = wxString_in_helper(obj6);
22686 if (arg7 == NULL) SWIG_fail;
22687 temp7 = True;
22688 }
22689 }
22690 {
22691 PyThreadState* __tstate = wxPyBeginAllowThreads();
22692 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22693
22694 wxPyEndAllowThreads(__tstate);
22695 if (PyErr_Occurred()) SWIG_fail;
22696 }
22697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22698 {
22699 if (temp3)
22700 delete arg3;
22701 }
22702 {
22703 if (temp7)
22704 delete arg7;
22705 }
22706 return resultobj;
22707 fail:
22708 {
22709 if (temp3)
22710 delete arg3;
22711 }
22712 {
22713 if (temp7)
22714 delete arg7;
22715 }
22716 return NULL;
22717 }
22718
22719
22720 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj;
22722 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22723 PyObject * obj0 = 0 ;
22724 char *kwnames[] = {
22725 (char *) "self", NULL
22726 };
22727
22728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 (arg1)->Initialize();
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 Py_INCREF(Py_None); resultobj = Py_None;
22739 return resultobj;
22740 fail:
22741 return NULL;
22742 }
22743
22744
22745 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj;
22747 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22748 PyObject * obj0 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 (arg1)->CreateControlBar();
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 Py_INCREF(Py_None); resultobj = Py_None;
22764 return resultobj;
22765 fail:
22766 return NULL;
22767 }
22768
22769
22770 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj;
22772 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22773 PyObject * obj0 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self", NULL
22776 };
22777
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 (arg1)->CreateCanvas();
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 Py_INCREF(Py_None); resultobj = Py_None;
22789 return resultobj;
22790 fail:
22791 return NULL;
22792 }
22793
22794
22795 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22796 PyObject *resultobj;
22797 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22798 wxPreviewControlBar *result;
22799 PyObject * obj0 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22807 {
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22822 PyObject *obj;
22823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22824 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22825 Py_INCREF(obj);
22826 return Py_BuildValue((char *)"");
22827 }
22828 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22829 PyObject *resultobj;
22830 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22831 long arg2 ;
22832 wxWindow *arg3 = (wxWindow *) 0 ;
22833 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22834 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22835 wxSize const &arg5_defvalue = wxDefaultSize ;
22836 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22837 long arg6 = (long) wxTAB_TRAVERSAL ;
22838 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22839 wxString *arg7 = (wxString *) &arg7_defvalue ;
22840 wxPreviewControlBar *result;
22841 wxPoint temp4 ;
22842 wxSize temp5 ;
22843 bool temp7 = False ;
22844 PyObject * obj0 = 0 ;
22845 PyObject * obj1 = 0 ;
22846 PyObject * obj2 = 0 ;
22847 PyObject * obj3 = 0 ;
22848 PyObject * obj4 = 0 ;
22849 PyObject * obj5 = 0 ;
22850 PyObject * obj6 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22858 arg2 = (long) SWIG_AsLong(obj1);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22862 if (obj3) {
22863 {
22864 arg4 = &temp4;
22865 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22866 }
22867 }
22868 if (obj4) {
22869 {
22870 arg5 = &temp5;
22871 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22872 }
22873 }
22874 if (obj5) {
22875 arg6 = (long) SWIG_AsLong(obj5);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 if (obj6) {
22879 {
22880 arg7 = wxString_in_helper(obj6);
22881 if (arg7 == NULL) SWIG_fail;
22882 temp7 = True;
22883 }
22884 }
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22893 {
22894 if (temp7)
22895 delete arg7;
22896 }
22897 return resultobj;
22898 fail:
22899 {
22900 if (temp7)
22901 delete arg7;
22902 }
22903 return NULL;
22904 }
22905
22906
22907 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj;
22909 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22910 int result;
22911 PyObject * obj0 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 result = (int)(arg1)->GetZoomControl();
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 resultobj = SWIG_FromInt((int)result);
22927 return resultobj;
22928 fail:
22929 return NULL;
22930 }
22931
22932
22933 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22934 PyObject *resultobj;
22935 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22936 int arg2 ;
22937 PyObject * obj0 = 0 ;
22938 PyObject * obj1 = 0 ;
22939 char *kwnames[] = {
22940 (char *) "self",(char *) "zoom", NULL
22941 };
22942
22943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22946 arg2 = (int) SWIG_AsInt(obj1);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->SetZoomControl(arg2);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22965 wxPrintPreview *result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22991 PyObject * obj0 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 (arg1)->OnNext();
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 Py_INCREF(Py_None); resultobj = Py_None;
23007 return resultobj;
23008 fail:
23009 return NULL;
23010 }
23011
23012
23013 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23016 PyObject * obj0 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 (arg1)->OnPrevious();
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 Py_INCREF(Py_None); resultobj = Py_None;
23032 return resultobj;
23033 fail:
23034 return NULL;
23035 }
23036
23037
23038 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
23039 PyObject *resultobj;
23040 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23041 PyObject * obj0 = 0 ;
23042 char *kwnames[] = {
23043 (char *) "self", NULL
23044 };
23045
23046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
23047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23049 {
23050 PyThreadState* __tstate = wxPyBeginAllowThreads();
23051 (arg1)->OnFirst();
23052
23053 wxPyEndAllowThreads(__tstate);
23054 if (PyErr_Occurred()) SWIG_fail;
23055 }
23056 Py_INCREF(Py_None); resultobj = Py_None;
23057 return resultobj;
23058 fail:
23059 return NULL;
23060 }
23061
23062
23063 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
23064 PyObject *resultobj;
23065 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23066 PyObject * obj0 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 (arg1)->OnLast();
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 Py_INCREF(Py_None); resultobj = Py_None;
23082 return resultobj;
23083 fail:
23084 return NULL;
23085 }
23086
23087
23088 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj;
23090 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
23091 PyObject * obj0 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
23097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
23098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 (arg1)->OnGoto();
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 Py_INCREF(Py_None); resultobj = Py_None;
23107 return resultobj;
23108 fail:
23109 return NULL;
23110 }
23111
23112
23113 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
23114 PyObject *obj;
23115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23116 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
23117 Py_INCREF(obj);
23118 return Py_BuildValue((char *)"");
23119 }
23120 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23121 PyObject *resultobj;
23122 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23123 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23124 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23125 wxPrintPreview *result;
23126 PyObject * obj0 = 0 ;
23127 PyObject * obj1 = 0 ;
23128 PyObject * obj2 = 0 ;
23129
23130 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23135 if (obj2) {
23136 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23138 }
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23142
23143 wxPyEndAllowThreads(__tstate);
23144 if (PyErr_Occurred()) SWIG_fail;
23145 }
23146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23147 return resultobj;
23148 fail:
23149 return NULL;
23150 }
23151
23152
23153 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23154 PyObject *resultobj;
23155 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23156 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23157 wxPrintData *arg3 = (wxPrintData *) 0 ;
23158 wxPrintPreview *result;
23159 PyObject * obj0 = 0 ;
23160 PyObject * obj1 = 0 ;
23161 PyObject * obj2 = 0 ;
23162
23163 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23168 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23173
23174 wxPyEndAllowThreads(__tstate);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 }
23177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23178 return resultobj;
23179 fail:
23180 return NULL;
23181 }
23182
23183
23184 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23185 int argc;
23186 PyObject *argv[4];
23187 int ii;
23188
23189 argc = PyObject_Length(args);
23190 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23191 argv[ii] = PyTuple_GetItem(args,ii);
23192 }
23193 if ((argc >= 2) && (argc <= 3)) {
23194 int _v;
23195 {
23196 void *ptr;
23197 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23198 _v = 0;
23199 PyErr_Clear();
23200 } else {
23201 _v = 1;
23202 }
23203 }
23204 if (_v) {
23205 {
23206 void *ptr;
23207 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23208 _v = 0;
23209 PyErr_Clear();
23210 } else {
23211 _v = 1;
23212 }
23213 }
23214 if (_v) {
23215 if (argc <= 2) {
23216 return _wrap_new_PrintPreview__SWIG_0(self,args);
23217 }
23218 {
23219 void *ptr;
23220 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23221 _v = 0;
23222 PyErr_Clear();
23223 } else {
23224 _v = 1;
23225 }
23226 }
23227 if (_v) {
23228 return _wrap_new_PrintPreview__SWIG_0(self,args);
23229 }
23230 }
23231 }
23232 }
23233 if (argc == 3) {
23234 int _v;
23235 {
23236 void *ptr;
23237 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23238 _v = 0;
23239 PyErr_Clear();
23240 } else {
23241 _v = 1;
23242 }
23243 }
23244 if (_v) {
23245 {
23246 void *ptr;
23247 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23248 _v = 0;
23249 PyErr_Clear();
23250 } else {
23251 _v = 1;
23252 }
23253 }
23254 if (_v) {
23255 {
23256 void *ptr;
23257 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23258 _v = 0;
23259 PyErr_Clear();
23260 } else {
23261 _v = 1;
23262 }
23263 }
23264 if (_v) {
23265 return _wrap_new_PrintPreview__SWIG_1(self,args);
23266 }
23267 }
23268 }
23269 }
23270
23271 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23279 int arg2 ;
23280 bool result;
23281 PyObject * obj0 = 0 ;
23282 PyObject * obj1 = 0 ;
23283 char *kwnames[] = {
23284 (char *) "self",(char *) "pageNum", NULL
23285 };
23286
23287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23290 arg2 = (int) SWIG_AsInt(obj1);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 {
23293 PyThreadState* __tstate = wxPyBeginAllowThreads();
23294 result = (bool)(arg1)->SetCurrentPage(arg2);
23295
23296 wxPyEndAllowThreads(__tstate);
23297 if (PyErr_Occurred()) SWIG_fail;
23298 }
23299 {
23300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23301 }
23302 return resultobj;
23303 fail:
23304 return NULL;
23305 }
23306
23307
23308 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23309 PyObject *resultobj;
23310 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23311 int result;
23312 PyObject * obj0 = 0 ;
23313 char *kwnames[] = {
23314 (char *) "self", NULL
23315 };
23316
23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 result = (int)(arg1)->GetCurrentPage();
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 resultobj = SWIG_FromInt((int)result);
23328 return resultobj;
23329 fail:
23330 return NULL;
23331 }
23332
23333
23334 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23335 PyObject *resultobj;
23336 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23337 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self",(char *) "printout", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 (arg1)->SetPrintout(arg2);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 Py_INCREF(Py_None); resultobj = Py_None;
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23366 wxPyPrintout *result;
23367 PyObject * obj0 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23375 {
23376 PyThreadState* __tstate = wxPyBeginAllowThreads();
23377 result = (wxPyPrintout *)(arg1)->GetPrintout();
23378
23379 wxPyEndAllowThreads(__tstate);
23380 if (PyErr_Occurred()) SWIG_fail;
23381 }
23382 {
23383 resultobj = wxPyMake_wxObject(result);
23384 }
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23394 wxPyPrintout *result;
23395 PyObject * obj0 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self", NULL
23398 };
23399
23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 {
23411 resultobj = wxPyMake_wxObject(result);
23412 }
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23422 wxFrame *arg2 = (wxFrame *) 0 ;
23423 PyObject * obj0 = 0 ;
23424 PyObject * obj1 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self",(char *) "frame", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 (arg1)->SetFrame(arg2);
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 Py_INCREF(Py_None); resultobj = Py_None;
23442 return resultobj;
23443 fail:
23444 return NULL;
23445 }
23446
23447
23448 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23451 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "self",(char *) "canvas", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 (arg1)->SetCanvas(arg2);
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 Py_INCREF(Py_None); resultobj = Py_None;
23471 return resultobj;
23472 fail:
23473 return NULL;
23474 }
23475
23476
23477 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj;
23479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23480 wxFrame *result;
23481 PyObject * obj0 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 result = (wxFrame *)(arg1)->GetFrame();
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 {
23497 resultobj = wxPyMake_wxObject(result);
23498 }
23499 return resultobj;
23500 fail:
23501 return NULL;
23502 }
23503
23504
23505 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23506 PyObject *resultobj;
23507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23508 wxPreviewCanvas *result;
23509 PyObject * obj0 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23525 return resultobj;
23526 fail:
23527 return NULL;
23528 }
23529
23530
23531 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23532 PyObject *resultobj;
23533 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23534 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23535 wxDC *arg3 = 0 ;
23536 bool result;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 PyObject * obj2 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23549 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23550 SWIG_POINTER_EXCEPTION | 0)) == -1)
23551 SWIG_fail;
23552 if (arg3 == NULL) {
23553 PyErr_SetString(PyExc_TypeError,"null reference");
23554 SWIG_fail;
23555 }
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 {
23564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23565 }
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23573 PyObject *resultobj;
23574 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23575 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23576 wxDC *arg3 = 0 ;
23577 bool result;
23578 PyObject * obj0 = 0 ;
23579 PyObject * obj1 = 0 ;
23580 PyObject * obj2 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23590 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23591 SWIG_POINTER_EXCEPTION | 0)) == -1)
23592 SWIG_fail;
23593 if (arg3 == NULL) {
23594 PyErr_SetString(PyExc_TypeError,"null reference");
23595 SWIG_fail;
23596 }
23597 {
23598 PyThreadState* __tstate = wxPyBeginAllowThreads();
23599 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23600
23601 wxPyEndAllowThreads(__tstate);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 }
23604 {
23605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23606 }
23607 return resultobj;
23608 fail:
23609 return NULL;
23610 }
23611
23612
23613 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23614 PyObject *resultobj;
23615 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23616 int arg2 ;
23617 bool result;
23618 PyObject * obj0 = 0 ;
23619 PyObject * obj1 = 0 ;
23620 char *kwnames[] = {
23621 (char *) "self",(char *) "pageNum", NULL
23622 };
23623
23624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23627 arg2 = (int) SWIG_AsInt(obj1);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 result = (bool)(arg1)->RenderPage(arg2);
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 {
23637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23638 }
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23648 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23649 PyObject * obj0 = 0 ;
23650 PyObject * obj1 = 0 ;
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "canvas", NULL
23653 };
23654
23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 (arg1)->AdjustScrollbars(arg2);
23663
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 Py_INCREF(Py_None); resultobj = Py_None;
23668 return resultobj;
23669 fail:
23670 return NULL;
23671 }
23672
23673
23674 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23675 PyObject *resultobj;
23676 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23677 wxPrintDialogData *result;
23678 PyObject * obj0 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 {
23689 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23690 result = (wxPrintDialogData *) &_result_ref;
23691 }
23692
23693 wxPyEndAllowThreads(__tstate);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 }
23696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23697 return resultobj;
23698 fail:
23699 return NULL;
23700 }
23701
23702
23703 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23704 PyObject *resultobj;
23705 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23706 int arg2 ;
23707 PyObject * obj0 = 0 ;
23708 PyObject * obj1 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self",(char *) "percent", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23716 arg2 = (int) SWIG_AsInt(obj1);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 (arg1)->SetZoom(arg2);
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
23725 Py_INCREF(Py_None); resultobj = Py_None;
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23735 int result;
23736 PyObject * obj0 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "self", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23744 {
23745 PyThreadState* __tstate = wxPyBeginAllowThreads();
23746 result = (int)(arg1)->GetZoom();
23747
23748 wxPyEndAllowThreads(__tstate);
23749 if (PyErr_Occurred()) SWIG_fail;
23750 }
23751 resultobj = SWIG_FromInt((int)result);
23752 return resultobj;
23753 fail:
23754 return NULL;
23755 }
23756
23757
23758 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23759 PyObject *resultobj;
23760 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23761 int result;
23762 PyObject * obj0 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (int)(arg1)->GetMaxPage();
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 resultobj = SWIG_FromInt((int)result);
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23787 int result;
23788 PyObject * obj0 = 0 ;
23789 char *kwnames[] = {
23790 (char *) "self", NULL
23791 };
23792
23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (int)(arg1)->GetMinPage();
23799
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 resultobj = SWIG_FromInt((int)result);
23804 return resultobj;
23805 fail:
23806 return NULL;
23807 }
23808
23809
23810 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23813 bool result;
23814 PyObject * obj0 = 0 ;
23815 char *kwnames[] = {
23816 (char *) "self", NULL
23817 };
23818
23819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23822 {
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (bool)(arg1)->Ok();
23825
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 {
23830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23831 }
23832 return resultobj;
23833 fail:
23834 return NULL;
23835 }
23836
23837
23838 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23839 PyObject *resultobj;
23840 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23841 bool arg2 ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self",(char *) "ok", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23851 arg2 = (bool) SWIG_AsBool(obj1);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 (arg1)->SetOk(arg2);
23856
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 Py_INCREF(Py_None); resultobj = Py_None;
23861 return resultobj;
23862 fail:
23863 return NULL;
23864 }
23865
23866
23867 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23868 PyObject *resultobj;
23869 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23870 bool arg2 ;
23871 bool result;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self",(char *) "interactive", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23881 arg2 = (bool) SWIG_AsBool(obj1);
23882 if (PyErr_Occurred()) SWIG_fail;
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (bool)(arg1)->Print(arg2);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 {
23891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23892 }
23893 return resultobj;
23894 fail:
23895 return NULL;
23896 }
23897
23898
23899 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23902 PyObject * obj0 = 0 ;
23903 char *kwnames[] = {
23904 (char *) "self", NULL
23905 };
23906
23907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 (arg1)->DetermineScaling();
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 Py_INCREF(Py_None); resultobj = Py_None;
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23925 PyObject *obj;
23926 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23927 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23928 Py_INCREF(obj);
23929 return Py_BuildValue((char *)"");
23930 }
23931 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23932 PyObject *resultobj;
23933 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23934 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23935 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23936 wxPyPrintPreview *result;
23937 PyObject * obj0 = 0 ;
23938 PyObject * obj1 = 0 ;
23939 PyObject * obj2 = 0 ;
23940
23941 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23944 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23946 if (obj2) {
23947 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23949 }
23950 {
23951 PyThreadState* __tstate = wxPyBeginAllowThreads();
23952 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23953
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23965 PyObject *resultobj;
23966 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23967 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23968 wxPrintData *arg3 = (wxPrintData *) 0 ;
23969 wxPyPrintPreview *result;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 PyObject * obj2 = 0 ;
23973
23974 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23989 return resultobj;
23990 fail:
23991 return NULL;
23992 }
23993
23994
23995 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23996 int argc;
23997 PyObject *argv[4];
23998 int ii;
23999
24000 argc = PyObject_Length(args);
24001 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
24002 argv[ii] = PyTuple_GetItem(args,ii);
24003 }
24004 if ((argc >= 2) && (argc <= 3)) {
24005 int _v;
24006 {
24007 void *ptr;
24008 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24009 _v = 0;
24010 PyErr_Clear();
24011 } else {
24012 _v = 1;
24013 }
24014 }
24015 if (_v) {
24016 {
24017 void *ptr;
24018 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24019 _v = 0;
24020 PyErr_Clear();
24021 } else {
24022 _v = 1;
24023 }
24024 }
24025 if (_v) {
24026 if (argc <= 2) {
24027 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24028 }
24029 {
24030 void *ptr;
24031 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
24032 _v = 0;
24033 PyErr_Clear();
24034 } else {
24035 _v = 1;
24036 }
24037 }
24038 if (_v) {
24039 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
24040 }
24041 }
24042 }
24043 }
24044 if (argc == 3) {
24045 int _v;
24046 {
24047 void *ptr;
24048 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24049 _v = 0;
24050 PyErr_Clear();
24051 } else {
24052 _v = 1;
24053 }
24054 }
24055 if (_v) {
24056 {
24057 void *ptr;
24058 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
24059 _v = 0;
24060 PyErr_Clear();
24061 } else {
24062 _v = 1;
24063 }
24064 }
24065 if (_v) {
24066 {
24067 void *ptr;
24068 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
24069 _v = 0;
24070 PyErr_Clear();
24071 } else {
24072 _v = 1;
24073 }
24074 }
24075 if (_v) {
24076 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
24077 }
24078 }
24079 }
24080 }
24081
24082 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
24083 return NULL;
24084 }
24085
24086
24087 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24090 PyObject *arg2 = (PyObject *) 0 ;
24091 PyObject *arg3 = (PyObject *) 0 ;
24092 PyObject * obj0 = 0 ;
24093 PyObject * obj1 = 0 ;
24094 PyObject * obj2 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self",(char *) "self",(char *) "_class", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 arg2 = obj1;
24103 arg3 = obj2;
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 (arg1)->_setCallbackInfo(arg2,arg3);
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 Py_INCREF(Py_None); resultobj = Py_None;
24112 return resultobj;
24113 fail:
24114 return NULL;
24115 }
24116
24117
24118 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24121 int arg2 ;
24122 bool result;
24123 PyObject * obj0 = 0 ;
24124 PyObject * obj1 = 0 ;
24125 char *kwnames[] = {
24126 (char *) "self",(char *) "pageNum", NULL
24127 };
24128
24129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
24130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24132 arg2 = (int) SWIG_AsInt(obj1);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
24136 result = (bool)(arg1)->base_SetCurrentPage(arg2);
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 {
24142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24143 }
24144 return resultobj;
24145 fail:
24146 return NULL;
24147 }
24148
24149
24150 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj;
24152 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24153 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24154 wxDC *arg3 = 0 ;
24155 bool result;
24156 PyObject * obj0 = 0 ;
24157 PyObject * obj1 = 0 ;
24158 PyObject * obj2 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24168 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24169 SWIG_POINTER_EXCEPTION | 0)) == -1)
24170 SWIG_fail;
24171 if (arg3 == NULL) {
24172 PyErr_SetString(PyExc_TypeError,"null reference");
24173 SWIG_fail;
24174 }
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 {
24183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24184 }
24185 return resultobj;
24186 fail:
24187 return NULL;
24188 }
24189
24190
24191 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24192 PyObject *resultobj;
24193 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24194 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24195 wxDC *arg3 = 0 ;
24196 bool result;
24197 PyObject * obj0 = 0 ;
24198 PyObject * obj1 = 0 ;
24199 PyObject * obj2 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24209 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24210 SWIG_POINTER_EXCEPTION | 0)) == -1)
24211 SWIG_fail;
24212 if (arg3 == NULL) {
24213 PyErr_SetString(PyExc_TypeError,"null reference");
24214 SWIG_fail;
24215 }
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24219
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 {
24224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24225 }
24226 return resultobj;
24227 fail:
24228 return NULL;
24229 }
24230
24231
24232 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24233 PyObject *resultobj;
24234 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24235 int arg2 ;
24236 bool result;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self",(char *) "pageNum", NULL
24241 };
24242
24243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24246 arg2 = (int) SWIG_AsInt(obj1);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (bool)(arg1)->base_RenderPage(arg2);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24267 int arg2 ;
24268 PyObject * obj0 = 0 ;
24269 PyObject * obj1 = 0 ;
24270 char *kwnames[] = {
24271 (char *) "self",(char *) "percent", NULL
24272 };
24273
24274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24277 arg2 = (int) SWIG_AsInt(obj1);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 {
24280 PyThreadState* __tstate = wxPyBeginAllowThreads();
24281 (arg1)->base_SetZoom(arg2);
24282
24283 wxPyEndAllowThreads(__tstate);
24284 if (PyErr_Occurred()) SWIG_fail;
24285 }
24286 Py_INCREF(Py_None); resultobj = Py_None;
24287 return resultobj;
24288 fail:
24289 return NULL;
24290 }
24291
24292
24293 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24294 PyObject *resultobj;
24295 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24296 bool arg2 ;
24297 bool result;
24298 PyObject * obj0 = 0 ;
24299 PyObject * obj1 = 0 ;
24300 char *kwnames[] = {
24301 (char *) "self",(char *) "interactive", NULL
24302 };
24303
24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24307 arg2 = (bool) SWIG_AsBool(obj1);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 {
24310 PyThreadState* __tstate = wxPyBeginAllowThreads();
24311 result = (bool)(arg1)->base_Print(arg2);
24312
24313 wxPyEndAllowThreads(__tstate);
24314 if (PyErr_Occurred()) SWIG_fail;
24315 }
24316 {
24317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24318 }
24319 return resultobj;
24320 fail:
24321 return NULL;
24322 }
24323
24324
24325 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24326 PyObject *resultobj;
24327 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24328 PyObject * obj0 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 (arg1)->base_DetermineScaling();
24339
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 Py_INCREF(Py_None); resultobj = Py_None;
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24351 PyObject *obj;
24352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24353 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24354 Py_INCREF(obj);
24355 return Py_BuildValue((char *)"");
24356 }
24357 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24358 PyObject *resultobj;
24359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24360 wxFrame *arg2 = (wxFrame *) 0 ;
24361 wxString *arg3 = 0 ;
24362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24364 wxSize const &arg5_defvalue = wxDefaultSize ;
24365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24366 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24367 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24368 wxString *arg7 = (wxString *) &arg7_defvalue ;
24369 wxPyPreviewFrame *result;
24370 bool temp3 = False ;
24371 wxPoint temp4 ;
24372 wxSize temp5 ;
24373 bool temp7 = False ;
24374 PyObject * obj0 = 0 ;
24375 PyObject * obj1 = 0 ;
24376 PyObject * obj2 = 0 ;
24377 PyObject * obj3 = 0 ;
24378 PyObject * obj4 = 0 ;
24379 PyObject * obj5 = 0 ;
24380 PyObject * obj6 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24390 {
24391 arg3 = wxString_in_helper(obj2);
24392 if (arg3 == NULL) SWIG_fail;
24393 temp3 = True;
24394 }
24395 if (obj3) {
24396 {
24397 arg4 = &temp4;
24398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24399 }
24400 }
24401 if (obj4) {
24402 {
24403 arg5 = &temp5;
24404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24405 }
24406 }
24407 if (obj5) {
24408 arg6 = (long) SWIG_AsLong(obj5);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
24411 if (obj6) {
24412 {
24413 arg7 = wxString_in_helper(obj6);
24414 if (arg7 == NULL) SWIG_fail;
24415 temp7 = True;
24416 }
24417 }
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24426 {
24427 if (temp3)
24428 delete arg3;
24429 }
24430 {
24431 if (temp7)
24432 delete arg7;
24433 }
24434 return resultobj;
24435 fail:
24436 {
24437 if (temp3)
24438 delete arg3;
24439 }
24440 {
24441 if (temp7)
24442 delete arg7;
24443 }
24444 return NULL;
24445 }
24446
24447
24448 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj;
24450 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24451 PyObject *arg2 = (PyObject *) 0 ;
24452 PyObject *arg3 = (PyObject *) 0 ;
24453 PyObject * obj0 = 0 ;
24454 PyObject * obj1 = 0 ;
24455 PyObject * obj2 = 0 ;
24456 char *kwnames[] = {
24457 (char *) "self",(char *) "self",(char *) "_class", NULL
24458 };
24459
24460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24463 arg2 = obj1;
24464 arg3 = obj2;
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 (arg1)->_setCallbackInfo(arg2,arg3);
24468
24469 wxPyEndAllowThreads(__tstate);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 Py_INCREF(Py_None); resultobj = Py_None;
24473 return resultobj;
24474 fail:
24475 return NULL;
24476 }
24477
24478
24479 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24480 PyObject *resultobj;
24481 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24482 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24483 PyObject * obj0 = 0 ;
24484 PyObject * obj1 = 0 ;
24485 char *kwnames[] = {
24486 (char *) "self",(char *) "canvas", NULL
24487 };
24488
24489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24492 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 (arg1)->SetPreviewCanvas(arg2);
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 Py_INCREF(Py_None); resultobj = Py_None;
24502 return resultobj;
24503 fail:
24504 return NULL;
24505 }
24506
24507
24508 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24509 PyObject *resultobj;
24510 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24511 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24512 PyObject * obj0 = 0 ;
24513 PyObject * obj1 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self",(char *) "bar", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 (arg1)->SetControlBar(arg2);
24526
24527 wxPyEndAllowThreads(__tstate);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 }
24530 Py_INCREF(Py_None); resultobj = Py_None;
24531 return resultobj;
24532 fail:
24533 return NULL;
24534 }
24535
24536
24537 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24538 PyObject *resultobj;
24539 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24540 PyObject * obj0 = 0 ;
24541 char *kwnames[] = {
24542 (char *) "self", NULL
24543 };
24544
24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24548 {
24549 PyThreadState* __tstate = wxPyBeginAllowThreads();
24550 (arg1)->base_Initialize();
24551
24552 wxPyEndAllowThreads(__tstate);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 Py_INCREF(Py_None); resultobj = Py_None;
24556 return resultobj;
24557 fail:
24558 return NULL;
24559 }
24560
24561
24562 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24563 PyObject *resultobj;
24564 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24565 PyObject * obj0 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24573 {
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 (arg1)->base_CreateCanvas();
24576
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 Py_INCREF(Py_None); resultobj = Py_None;
24581 return resultobj;
24582 fail:
24583 return NULL;
24584 }
24585
24586
24587 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24588 PyObject *resultobj;
24589 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24590 PyObject * obj0 = 0 ;
24591 char *kwnames[] = {
24592 (char *) "self", NULL
24593 };
24594
24595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 (arg1)->base_CreateControlBar();
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 Py_INCREF(Py_None); resultobj = Py_None;
24606 return resultobj;
24607 fail:
24608 return NULL;
24609 }
24610
24611
24612 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24613 PyObject *obj;
24614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24615 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24616 Py_INCREF(obj);
24617 return Py_BuildValue((char *)"");
24618 }
24619 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24620 PyObject *resultobj;
24621 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24622 long arg2 ;
24623 wxWindow *arg3 = (wxWindow *) 0 ;
24624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24626 wxSize const &arg5_defvalue = wxDefaultSize ;
24627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24628 long arg6 = (long) 0 ;
24629 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24630 wxString *arg7 = (wxString *) &arg7_defvalue ;
24631 wxPyPreviewControlBar *result;
24632 wxPoint temp4 ;
24633 wxSize temp5 ;
24634 bool temp7 = False ;
24635 PyObject * obj0 = 0 ;
24636 PyObject * obj1 = 0 ;
24637 PyObject * obj2 = 0 ;
24638 PyObject * obj3 = 0 ;
24639 PyObject * obj4 = 0 ;
24640 PyObject * obj5 = 0 ;
24641 PyObject * obj6 = 0 ;
24642 char *kwnames[] = {
24643 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24644 };
24645
24646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24649 arg2 = (long) SWIG_AsLong(obj1);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24653 if (obj3) {
24654 {
24655 arg4 = &temp4;
24656 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24657 }
24658 }
24659 if (obj4) {
24660 {
24661 arg5 = &temp5;
24662 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24663 }
24664 }
24665 if (obj5) {
24666 arg6 = (long) SWIG_AsLong(obj5);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 if (obj6) {
24670 {
24671 arg7 = wxString_in_helper(obj6);
24672 if (arg7 == NULL) SWIG_fail;
24673 temp7 = True;
24674 }
24675 }
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24684 {
24685 if (temp7)
24686 delete arg7;
24687 }
24688 return resultobj;
24689 fail:
24690 {
24691 if (temp7)
24692 delete arg7;
24693 }
24694 return NULL;
24695 }
24696
24697
24698 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24699 PyObject *resultobj;
24700 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24701 PyObject *arg2 = (PyObject *) 0 ;
24702 PyObject *arg3 = (PyObject *) 0 ;
24703 PyObject * obj0 = 0 ;
24704 PyObject * obj1 = 0 ;
24705 PyObject * obj2 = 0 ;
24706 char *kwnames[] = {
24707 (char *) "self",(char *) "self",(char *) "_class", NULL
24708 };
24709
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24713 arg2 = obj1;
24714 arg3 = obj2;
24715 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 (arg1)->_setCallbackInfo(arg2,arg3);
24718
24719 wxPyEndAllowThreads(__tstate);
24720 if (PyErr_Occurred()) SWIG_fail;
24721 }
24722 Py_INCREF(Py_None); resultobj = Py_None;
24723 return resultobj;
24724 fail:
24725 return NULL;
24726 }
24727
24728
24729 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24730 PyObject *resultobj;
24731 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24732 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24733 PyObject * obj0 = 0 ;
24734 PyObject * obj1 = 0 ;
24735 char *kwnames[] = {
24736 (char *) "self",(char *) "preview", NULL
24737 };
24738
24739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24744 {
24745 PyThreadState* __tstate = wxPyBeginAllowThreads();
24746 (arg1)->SetPrintPreview(arg2);
24747
24748 wxPyEndAllowThreads(__tstate);
24749 if (PyErr_Occurred()) SWIG_fail;
24750 }
24751 Py_INCREF(Py_None); resultobj = Py_None;
24752 return resultobj;
24753 fail:
24754 return NULL;
24755 }
24756
24757
24758 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24759 PyObject *resultobj;
24760 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24761 PyObject * obj0 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 (arg1)->base_CreateButtons();
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 Py_INCREF(Py_None); resultobj = Py_None;
24777 return resultobj;
24778 fail:
24779 return NULL;
24780 }
24781
24782
24783 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj;
24785 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24786 int arg2 ;
24787 PyObject * obj0 = 0 ;
24788 PyObject * obj1 = 0 ;
24789 char *kwnames[] = {
24790 (char *) "self",(char *) "zoom", NULL
24791 };
24792
24793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24796 arg2 = (int) SWIG_AsInt(obj1);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 (arg1)->base_SetZoomControl(arg2);
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 Py_INCREF(Py_None); resultobj = Py_None;
24806 return resultobj;
24807 fail:
24808 return NULL;
24809 }
24810
24811
24812 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24813 PyObject *obj;
24814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24815 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24816 Py_INCREF(obj);
24817 return Py_BuildValue((char *)"");
24818 }
24819 static PyMethodDef SwigMethods[] = {
24820 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24826 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24837 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24841 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24842 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24845 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24850 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24857 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24863 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24864 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24872 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24878 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24883 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24888 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24889 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24893 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24900 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24904 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24908 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24911 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24913 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24929 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24957 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24964 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24987 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24995 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25006 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
25007 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
25013 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
25022 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
25025 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
25028 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
25033 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
25039 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
25043 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
25061 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
25087 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
25095 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
25104 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
25106 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
25115 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
25118 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
25125 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
25143 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
25147 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25152 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25156 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25172 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25175 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25177 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25181 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25190 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25199 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25202 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25205 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25220 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25227 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25231 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25257 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25283 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25309 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25355 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25387 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25391 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25392 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25425 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25430 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25441 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25464 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25466 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25472 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25482 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25483 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25506 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25507 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25516 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25524 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25530 { NULL, NULL }
25531 };
25532
25533
25534 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25535
25536 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25537 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25538 }
25539 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25540 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25541 }
25542 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25543 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25544 }
25545 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25546 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25547 }
25548 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25549 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25550 }
25551 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25552 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25553 }
25554 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25555 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25556 }
25557 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25558 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25559 }
25560 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25561 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25562 }
25563 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25565 }
25566 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25567 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25568 }
25569 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25570 return (void *)((wxEvent *) ((wxPyEvent *) x));
25571 }
25572 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25573 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25574 }
25575 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25576 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25577 }
25578 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25579 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25580 }
25581 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25582 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25583 }
25584 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25585 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25586 }
25587 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25588 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25589 }
25590 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25591 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25592 }
25593 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25594 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25595 }
25596 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25597 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25598 }
25599 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25600 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25601 }
25602 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25603 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25604 }
25605 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25606 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25607 }
25608 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25610 }
25611 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25612 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25613 }
25614 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25615 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25616 }
25617 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25618 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25619 }
25620 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25621 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25622 }
25623 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25624 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25625 }
25626 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25627 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25628 }
25629 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25630 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25631 }
25632 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25633 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25634 }
25635 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25636 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25637 }
25638 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25639 return (void *)((wxEvent *) ((wxShowEvent *) x));
25640 }
25641 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25642 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25643 }
25644 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25645 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25646 }
25647 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25649 }
25650 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25651 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25652 }
25653 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25654 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25655 }
25656 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25657 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25658 }
25659 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25660 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25661 }
25662 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25663 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25664 }
25665 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25666 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25667 }
25668 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25669 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25670 }
25671 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25672 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25673 }
25674 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25675 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25676 }
25677 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25678 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25679 }
25680 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25681 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25682 }
25683 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25684 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25685 }
25686 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25687 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25688 }
25689 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25690 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25691 }
25692 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25693 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25694 }
25695 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25696 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25697 }
25698 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25699 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25700 }
25701 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25702 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25703 }
25704 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25706 }
25707 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25708 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25709 }
25710 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25711 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25712 }
25713 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25714 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25715 }
25716 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25717 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25718 }
25719 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25720 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25721 }
25722 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25723 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25724 }
25725 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25726 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25727 }
25728 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25729 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25730 }
25731 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25732 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25733 }
25734 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25735 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25736 }
25737 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25738 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25739 }
25740 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25741 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25742 }
25743 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25744 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25745 }
25746 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25747 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25748 }
25749 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25750 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25751 }
25752 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25753 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25754 }
25755 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25756 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25757 }
25758 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25760 }
25761 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25762 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25763 }
25764 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25765 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25766 }
25767 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25768 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25769 }
25770 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25771 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25772 }
25773 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25774 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25775 }
25776 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25777 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25778 }
25779 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25780 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25781 }
25782 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25783 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25784 }
25785 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25786 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25787 }
25788 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25789 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25790 }
25791 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25793 }
25794 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25796 }
25797 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25799 }
25800 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25802 }
25803 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25805 }
25806 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25808 }
25809 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25811 }
25812 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25813 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25814 }
25815 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25816 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25817 }
25818 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25819 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25820 }
25821 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25822 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25823 }
25824 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25825 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25826 }
25827 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25828 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25829 }
25830 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25831 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25832 }
25833 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25834 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25835 }
25836 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25837 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25838 }
25839 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25840 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25841 }
25842 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25843 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25844 }
25845 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25847 }
25848 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25850 }
25851 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25852 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25853 }
25854 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25855 return (void *)((wxObject *) ((wxSizerItem *) x));
25856 }
25857 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25859 }
25860 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25861 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25862 }
25863 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25864 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25865 }
25866 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25867 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25868 }
25869 static void *_p_wxSizerTo_p_wxObject(void *x) {
25870 return (void *)((wxObject *) ((wxSizer *) x));
25871 }
25872 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25873 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25874 }
25875 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25877 }
25878 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25880 }
25881 static void *_p_wxEventTo_p_wxObject(void *x) {
25882 return (void *)((wxObject *) ((wxEvent *) x));
25883 }
25884 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25885 return (void *)((wxObject *) ((wxFontData *) x));
25886 }
25887 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25888 return (void *)((wxObject *) ((wxPrintData *) x));
25889 }
25890 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25891 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25892 }
25893 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25894 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25895 }
25896 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25897 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25898 }
25899 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25900 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25901 }
25902 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25903 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25904 }
25905 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25907 }
25908 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25909 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25910 }
25911 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25912 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25913 }
25914 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25915 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25916 }
25917 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25918 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25919 }
25920 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25921 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25922 }
25923 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25924 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25925 }
25926 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25928 }
25929 static void *_p_wxControlTo_p_wxObject(void *x) {
25930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25931 }
25932 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25933 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25934 }
25935 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25937 }
25938 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25939 return (void *)((wxObject *) ((wxFSFile *) x));
25940 }
25941 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25942 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25943 }
25944 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25945 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25946 }
25947 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25949 }
25950 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) ((wxColourData *) x));
25952 }
25953 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25955 }
25956 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25958 }
25959 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25961 }
25962 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25964 }
25965 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25967 }
25968 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25970 }
25971 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25973 }
25974 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25976 }
25977 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25979 }
25980 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25982 }
25983 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25985 }
25986 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25988 }
25989 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) ((wxPrinter *) x));
25991 }
25992 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) ((wxMenuItem *) x));
25994 }
25995 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25996 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25997 }
25998 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26000 }
26001 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26002 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26003 }
26004 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26005 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26006 }
26007 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26008 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26009 }
26010 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26011 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26012 }
26013 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26014 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26015 }
26016 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26017 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26018 }
26019 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26020 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26021 }
26022 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26023 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26024 }
26025 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26026 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26027 }
26028 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26029 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26030 }
26031 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26032 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26033 }
26034 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26035 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26036 }
26037 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26038 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26039 }
26040 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26041 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26042 }
26043 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26044 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26045 }
26046 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26047 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26048 }
26049 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26050 return (void *)((wxObject *) ((wxImageHandler *) x));
26051 }
26052 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26053 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26054 }
26055 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26056 return (void *)((wxObject *) ((wxEvtHandler *) x));
26057 }
26058 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
26059 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
26060 }
26061 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
26062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26063 }
26064 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
26065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26066 }
26067 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
26068 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
26069 }
26070 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
26071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26072 }
26073 static void *_p_wxImageTo_p_wxObject(void *x) {
26074 return (void *)((wxObject *) ((wxImage *) x));
26075 }
26076 static void *_p_wxFrameTo_p_wxObject(void *x) {
26077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
26078 }
26079 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
26080 return (void *)((wxObject *) ((wxPyPrintout *) x));
26081 }
26082 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26083 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26084 }
26085 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
26086 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
26087 }
26088 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
26089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
26090 }
26091 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
26092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26093 }
26094 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26095 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26096 }
26097 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26098 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26099 }
26100 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26101 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26102 }
26103 static void *_p_wxWindowTo_p_wxObject(void *x) {
26104 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26105 }
26106 static void *_p_wxMenuTo_p_wxObject(void *x) {
26107 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26108 }
26109 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26111 }
26112 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
26113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
26114 }
26115 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
26116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
26117 }
26118 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
26119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
26120 }
26121 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
26122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
26123 }
26124 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
26125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
26126 }
26127 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
26128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
26129 }
26130 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
26131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
26132 }
26133 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
26134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26135 }
26136 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
26137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26138 }
26139 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
26140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
26141 }
26142 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
26143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
26144 }
26145 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
26146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26147 }
26148 static void *_p_wxSashEventTo_p_wxObject(void *x) {
26149 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
26150 }
26151 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
26152 return (void *)((wxObject *) ((wxPrintPreview *) x));
26153 }
26154 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26155 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26156 }
26157 static void *_p_wxPanelTo_p_wxObject(void *x) {
26158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26159 }
26160 static void *_p_wxDialogTo_p_wxObject(void *x) {
26161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26162 }
26163 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26165 }
26166 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26168 }
26169 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26171 }
26172 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26174 }
26175 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26177 }
26178 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26179 return (void *)((wxObject *) ((wxFileSystem *) x));
26180 }
26181 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26182 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26183 }
26184 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26185 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26186 }
26187 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26188 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26189 }
26190 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26191 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26192 }
26193 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26194 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26195 }
26196 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26197 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26198 }
26199 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26201 }
26202 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26203 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26204 }
26205 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26207 }
26208 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26210 }
26211 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26212 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26213 }
26214 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26215 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26216 }
26217 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26218 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26219 }
26220 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26222 }
26223 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26224 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26225 }
26226 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26227 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26228 }
26229 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26230 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26231 }
26232 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26233 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26234 }
26235 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26236 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26237 }
26238 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26239 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26240 }
26241 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26242 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26243 }
26244 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26245 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26246 }
26247 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26248 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26249 }
26250 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26251 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26252 }
26253 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26254 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26255 }
26256 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26257 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26258 }
26259 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26260 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26261 }
26262 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26263 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26264 }
26265 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26266 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26267 }
26268 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26269 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26270 }
26271 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26272 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26273 }
26274 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26275 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26276 }
26277 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26278 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26279 }
26280 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26281 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26282 }
26283 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26284 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26285 }
26286 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26287 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26288 }
26289 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26290 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26291 }
26292 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26293 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26294 }
26295 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26296 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26297 }
26298 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26299 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26300 }
26301 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26302 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26303 }
26304 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26305 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26306 }
26307 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26308 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26309 }
26310 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26311 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26312 }
26313 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26314 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26315 }
26316 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26317 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26318 }
26319 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26320 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26321 }
26322 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26323 return (void *)((wxWindow *) ((wxMenuBar *) x));
26324 }
26325 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26326 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26327 }
26328 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26329 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26330 }
26331 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26332 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26333 }
26334 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26335 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26336 }
26337 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26338 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26339 }
26340 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26341 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26342 }
26343 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26344 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26345 }
26346 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26347 return (void *)((wxWindow *) ((wxPanel *) x));
26348 }
26349 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26350 return (void *)((wxWindow *) ((wxStatusBar *) x));
26351 }
26352 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26353 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26354 }
26355 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26356 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26357 }
26358 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26359 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26360 }
26361 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26362 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26363 }
26364 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26365 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26366 }
26367 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26368 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26369 }
26370 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26371 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26372 }
26373 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26374 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26375 }
26376 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26377 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26378 }
26379 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26380 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26381 }
26382 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26383 return (void *)((wxWindow *) ((wxSashWindow *) x));
26384 }
26385 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26386 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26387 }
26388 static void *_p_wxControlTo_p_wxWindow(void *x) {
26389 return (void *)((wxWindow *) ((wxControl *) x));
26390 }
26391 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26392 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26393 }
26394 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26395 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26396 }
26397 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26398 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26399 }
26400 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26401 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26402 }
26403 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26404 return (void *)((wxWindow *) ((wxPyWindow *) x));
26405 }
26406 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26407 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26408 }
26409 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26410 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26411 }
26412 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26413 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26414 }
26415 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26416 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26417 }
26418 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26419 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26420 }
26421 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26422 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26423 }
26424 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26425 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26426 }
26427 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26428 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26429 }
26430 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26431 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26432 }
26433 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26434 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26435 }
26436 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26438 }
26439 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26441 }
26442 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26444 }
26445 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26446 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26447 }
26448 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26449 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26450 }
26451 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26452 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26453 }
26454 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26455 return (void *)((wxDialog *) ((wxColourDialog *) x));
26456 }
26457 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26458 return (void *)((wxDialog *) ((wxDirDialog *) x));
26459 }
26460 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26461 return (void *)((wxDialog *) ((wxFontDialog *) x));
26462 }
26463 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26464 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26465 }
26466 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26467 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26468 }
26469 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26470 return (void *)((wxDialog *) ((wxFileDialog *) x));
26471 }
26472 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26473 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26474 }
26475 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26476 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26477 }
26478 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26479 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26480 }
26481 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26482 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26483 }
26484 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26485 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26486 }
26487 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26488 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26489 }
26490 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26491 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26492 }
26493 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26494 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26495 }
26496 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26497 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26498 }
26499 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26500 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26501 }
26502 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26503 return (void *)((wxPanel *) ((wxPyPanel *) x));
26504 }
26505 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26506 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26507 }
26508 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26509 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26510 }
26511 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26512 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26513 }
26514 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26515 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26516 }
26517 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26518 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26519 }
26520 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26521 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26522 }
26523 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26524 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26525 }
26526 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26527 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26528 }
26529 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26530 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26531 }
26532 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26533 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26534 }
26535 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26536 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26537 }
26538 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26539 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26540 }
26541 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26542 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26543 }
26544 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26545 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26546 }
26547 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26548 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26549 }
26550 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}};
26551 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}};
26552 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}};
26553 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}};
26554 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}};
26555 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}};
26556 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}};
26557 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}};
26558 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}};
26559 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}};
26560 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}};
26561 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}};
26562 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}};
26563 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}};
26564 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}};
26565 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}};
26566 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}};
26567 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}};
26568 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}};
26569 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}};
26570 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}};
26571 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}};
26572 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}};
26573 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}};
26574 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}};
26575 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}};
26576 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}};
26577 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}};
26578 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}};
26579 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}};
26580 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}};
26581 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}};
26582 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}};
26583 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}};
26584 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}};
26585 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}};
26586 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}};
26587 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}};
26588 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}};
26589 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}};
26590 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}};
26591 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}};
26592 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}};
26593 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}};
26594 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}};
26595 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}};
26596 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}};
26597 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}};
26598 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}};
26599 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}};
26600 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}};
26601 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}};
26602 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}};
26603 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}};
26604 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}};
26605 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}};
26606 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}};
26607 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}};
26608 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}};
26609 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}};
26610 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}};
26611 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}};
26612 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}};
26613 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}};
26614 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}};
26615 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}};
26616 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}};
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26637
26638 static swig_type_info *swig_types_initial[] = {
26639 _swigt__p_wxQueryLayoutInfoEvent,
26640 _swigt__p_wxPreviewFrame,
26641 _swigt__p_wxPyPreviewFrame,
26642 _swigt__p_wxPyPanel,
26643 _swigt__p_wxMenu,
26644 _swigt__p_wxFontData,
26645 _swigt__p_wxEvent,
26646 _swigt__p_wxPrintData,
26647 _swigt__p_wxTaskBarIcon,
26648 _swigt__p_wxIconBundle,
26649 _swigt__p_wxLayoutAlgorithm,
26650 _swigt__p_wxFindDialogEvent,
26651 _swigt__p_wxPreviewCanvas,
26652 _swigt__p_wxFont,
26653 _swigt__p_wxSplitterEvent,
26654 _swigt__p_wxRegion,
26655 _swigt__p_wxFindReplaceData,
26656 _swigt__p_int,
26657 _swigt__p_wxSize,
26658 _swigt__p_wxDC,
26659 _swigt__p_wxIcon,
26660 _swigt__p_wxVisualAttributes,
26661 _swigt__p_wxMDIChildFrame,
26662 _swigt__p_wxColourData,
26663 _swigt__p_wxNotifyEvent,
26664 _swigt__p_wxPyWindow,
26665 _swigt__p_wxSplashScreen,
26666 _swigt__p_wxFindReplaceDialog,
26667 _swigt__p_wxProgressDialog,
26668 _swigt__p_wxMessageDialog,
26669 _swigt__p_wxTextEntryDialog,
26670 _swigt__p_wxSingleChoiceDialog,
26671 _swigt__p_wxMultiChoiceDialog,
26672 _swigt__p_wxFileDialog,
26673 _swigt__p_wxPrinter,
26674 _swigt__p_wxArrayInt,
26675 _swigt__p_wxEvtHandler,
26676 _swigt__p_wxCalculateLayoutEvent,
26677 _swigt__p_wxPyHtmlListBox,
26678 _swigt__p_wxPyVListBox,
26679 _swigt__p_wxRect,
26680 _swigt__p_char,
26681 _swigt__p_wxMiniFrame,
26682 _swigt__p_wxFrame,
26683 _swigt__p_wxPyPrintout,
26684 _swigt__p_wxTaskBarIconEvent,
26685 _swigt__p_wxScrollWinEvent,
26686 _swigt__p_wxStatusBar,
26687 _swigt__p_wxMDIParentFrame,
26688 _swigt__p_wxPoint,
26689 _swigt__p_wxObject,
26690 _swigt__p_wxOutputStream,
26691 _swigt__p_unsigned_long,
26692 _swigt__p_wxPyScrolledWindow,
26693 _swigt__p_wxMDIClientWindow,
26694 _swigt__p_wxTipWindow,
26695 _swigt__p_wxSashLayoutWindow,
26696 _swigt__p_wxSplitterWindow,
26697 _swigt__p_wxSplashScreenWindow,
26698 _swigt__p_wxPyVScrolledWindow,
26699 _swigt__p_wxPyPopupTransientWindow,
26700 _swigt__p_wxPopupWindow,
26701 _swigt__p_wxSashWindow,
26702 _swigt__p_wxTopLevelWindow,
26703 _swigt__p_wxWindow,
26704 _swigt__p_wxScrolledWindow,
26705 _swigt__p_wxMenuBar,
26706 _swigt__p_wxPrintPreview,
26707 _swigt__p_wxSashEvent,
26708 _swigt__p_wxString,
26709 _swigt__p_wxPyPrintPreview,
26710 _swigt__p_wxFontDialog,
26711 _swigt__p_wxDirDialog,
26712 _swigt__p_wxColourDialog,
26713 _swigt__p_wxDialog,
26714 _swigt__p_wxPanel,
26715 _swigt__p_wxPageSetupDialog,
26716 _swigt__p_wxPrintDialog,
26717 _swigt__p_wxFileSystem,
26718 _swigt__p_wxBitmap,
26719 _swigt__p_wxCommandEvent,
26720 _swigt__p_wxPreviewControlBar,
26721 _swigt__p_wxPyPreviewControlBar,
26722 _swigt__p_wxColour,
26723 _swigt__p_wxToolBar,
26724 _swigt__p_wxPageSetupDialogData,
26725 _swigt__p_wxPrintDialogData,
26726 0
26727 };
26728
26729
26730 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26731
26732 static swig_const_info swig_const_table[] = {
26733 {0}};
26734
26735 #ifdef __cplusplus
26736 }
26737 #endif
26738
26739 #ifdef __cplusplus
26740 extern "C"
26741 #endif
26742 SWIGEXPORT(void) SWIG_init(void) {
26743 static PyObject *SWIG_globals = 0;
26744 static int typeinit = 0;
26745 PyObject *m, *d;
26746 int i;
26747 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26748 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26749 d = PyModule_GetDict(m);
26750
26751 if (!typeinit) {
26752 for (i = 0; swig_types_initial[i]; i++) {
26753 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26754 }
26755 typeinit = 1;
26756 }
26757 SWIG_InstallConstants(d,swig_const_table);
26758
26759 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26760 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26761 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26762 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26763 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26764 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26765 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26766 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26767 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26768 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26769 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26770 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26771 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26772 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26773 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26774 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26775 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26776 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26777 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26778 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26779 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26780 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26781 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26782 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26783 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26784 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26785 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26786 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26787 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26788 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26789 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26790 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26791 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26792 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26793 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26794 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26795 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26796 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26797 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26798 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26799 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26800 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26801 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26802 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26803 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26804 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26805 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26806 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26807 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26808 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26809 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26810 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26811 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26812 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26813 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26814 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26815 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26816 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26817 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26818 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26819 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26820 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26821 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26822 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26823 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26824 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26825 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26826 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26827 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26828 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26829 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26830 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26831 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26832 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26833 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26834 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26835 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26836 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26837 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26838 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26839 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26840 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26841 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26842 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26843 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26844 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26845 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26846 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26847 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26848 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26849 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26850 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26851 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26852
26853 // Map renamed classes back to their common name for OOR
26854 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26855 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26856 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26857
26858 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26859 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26860 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26861 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26862 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26863 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26864 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26865 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26866 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26867 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26868 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26869 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26870 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26871 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26872 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26873 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26874 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26875 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26876 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26877 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26878 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26879 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26880 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26881 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26882 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26883 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26884 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26885 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26886 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26887 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26888 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26889 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26890 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26891 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26892 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26893 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26894 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26895 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26896 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26897 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26898 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26899 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26900 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26901 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26902 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26903 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26904 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26905 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26906 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26907 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26908 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26909 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26910 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26911 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26912 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26913 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26914 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26915 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26916 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26917 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26918
26919 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26920
26921 }
26922