]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
wxGTK now uses gtk_init_check so wxPython can raise an exception if
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
210 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
211 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
212 #define SWIGTYPE_p_wxPyPanel swig_types[3]
213 #define SWIGTYPE_p_wxMenu swig_types[4]
214 #define SWIGTYPE_p_wxFontData swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxPrintData swig_types[7]
217 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
218 #define SWIGTYPE_p_wxIconBundle swig_types[9]
219 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
220 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
221 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
222 #define SWIGTYPE_p_wxFont swig_types[13]
223 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
224 #define SWIGTYPE_p_wxRegion swig_types[15]
225 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
226 #define SWIGTYPE_p_int swig_types[17]
227 #define SWIGTYPE_p_wxSize swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxIcon swig_types[20]
230 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
231 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
232 #define SWIGTYPE_p_wxColourData swig_types[23]
233 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
234 #define SWIGTYPE_p_wxPyWindow swig_types[25]
235 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
236 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
237 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
238 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
239 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
240 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
241 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
242 #define SWIGTYPE_p_wxFileDialog swig_types[33]
243 #define SWIGTYPE_p_wxPrinter swig_types[34]
244 #define SWIGTYPE_p_wxArrayInt swig_types[35]
245 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
246 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
248 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
249 #define SWIGTYPE_p_wxRect swig_types[40]
250 #define SWIGTYPE_p_char swig_types[41]
251 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
252 #define SWIGTYPE_p_wxFrame swig_types[43]
253 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
254 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
255 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
256 #define SWIGTYPE_p_wxStatusBar swig_types[47]
257 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
258 #define SWIGTYPE_p_wxPoint swig_types[49]
259 #define SWIGTYPE_p_wxObject swig_types[50]
260 #define SWIGTYPE_p_wxOutputStream swig_types[51]
261 #define SWIGTYPE_p_unsigned_long swig_types[52]
262 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[53]
263 #define SWIGTYPE_p_wxMDIClientWindow swig_types[54]
264 #define SWIGTYPE_p_wxTipWindow swig_types[55]
265 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
266 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
267 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
268 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
269 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
270 #define SWIGTYPE_p_wxSashWindow swig_types[61]
271 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
272 #define SWIGTYPE_p_wxWindow swig_types[63]
273 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
274 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[65]
275 #define SWIGTYPE_p_wxMenuBar swig_types[66]
276 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
277 #define SWIGTYPE_p_wxSashEvent swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
280 #define SWIGTYPE_p_wxFontDialog swig_types[71]
281 #define SWIGTYPE_p_wxDirDialog swig_types[72]
282 #define SWIGTYPE_p_wxColourDialog swig_types[73]
283 #define SWIGTYPE_p_wxDialog swig_types[74]
284 #define SWIGTYPE_p_wxPanel swig_types[75]
285 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
286 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
287 #define SWIGTYPE_p_wxFileSystem swig_types[78]
288 #define SWIGTYPE_p_wxBitmap swig_types[79]
289 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
290 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
291 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
292 #define SWIGTYPE_p_wxColour swig_types[83]
293 #define SWIGTYPE_p_wxToolBar swig_types[84]
294 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
295 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
296 static swig_type_info *swig_types[88];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _windows_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_windows_
305
306 #define SWIG_name "_windows_"
307
308 /* Auxiliar swig macros */
309
310 #ifdef __cplusplus
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #else
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
323 #endif
324
325 #else /* C case */
326
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
335
336 #endif /* __cplusplus */
337
338
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
349
350
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353
354
355 static const wxString wxPyEmptyString(wxEmptyString);
356 static const wxString wxPyPanelNameStr(wxPanelNameStr);
357
358
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440
441 SWIGSTATICINLINE(bool)
442 SWIG_AsBool(PyObject *obj)
443 {
444 return PyObject_IsTrue(obj) ? true : false;
445 }
446
447
448 SWIGSTATICINLINE(int)
449 SWIG_CheckBool(PyObject* obj)
450 {
451 SWIG_AsBool(obj);
452 if (PyErr_Occurred()) {
453 PyErr_Clear();
454 return 0;
455 } else {
456 return 1;
457 }
458 }
459
460
461 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
462 PyObject* o2;
463 PyObject* o3;
464
465 if (!target) {
466 target = o;
467 } else if (target == Py_None) {
468 Py_DECREF(Py_None);
469 target = o;
470 } else {
471 if (!PyTuple_Check(target)) {
472 o2 = target;
473 target = PyTuple_New(1);
474 PyTuple_SetItem(target, 0, o2);
475 }
476 o3 = PyTuple_New(1);
477 PyTuple_SetItem(o3, 0, o);
478
479 o2 = target;
480 target = PySequence_Concat(o2, o3);
481 Py_DECREF(o2);
482 Py_DECREF(o3);
483 }
484 return target;
485 }
486
487
488 SWIGSTATICINLINE(double)
489 SWIG_AsDouble(PyObject *obj)
490 {
491 if (PyNumber_Check(obj))
492 return PyFloat_AsDouble(obj);
493 else {
494 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
495 obj->ob_type->tp_name);
496 PyErr_SetObject(PyExc_TypeError, errmsg);
497 Py_DECREF(errmsg);
498 return 0;
499 }
500 }
501
502
503 SWIGSTATICINLINE(int)
504 SWIG_CheckDouble(PyObject* obj)
505 {
506 SWIG_AsDouble(obj);
507 if (PyErr_Occurred()) {
508 PyErr_Clear();
509 return 0;
510 } else {
511 return 1;
512 }
513 }
514
515 static const wxString wxPyFrameNameStr(wxFrameNameStr);
516 static const wxString wxPyDialogNameStr(wxDialogNameStr);
517 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
518 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
519
520
521 wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
522 wxRect r;
523 self->GetFieldRect(i, r);
524 return r;
525 }
526 static const wxString wxPySplitterNameStr(wxT("splitter"));
527 static const wxString wxPySashNameStr(wxT("sashWindow"));
528 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
529
530 #include <wx/popupwin.h>
531
532
533 class wxPyPopupTransientWindow : public wxPopupTransientWindow
534 {
535 public:
536 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
537 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
538 : wxPopupTransientWindow(parent, style) {}
539
540 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
541 DEC_PYCALLBACK__(OnDismiss);
542 DEC_PYCALLBACK_BOOL_(CanDismiss);
543 PYPRIVATE;
544 };
545
546
547 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
548 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
549 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
550
551
552 #include <wx/tipwin.h>
553
554 wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
555 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
556 }
557
558 #include <wx/tipwin.h>
559
560
561 #include <wx/vscroll.h>
562
563
564 class wxPyVScrolledWindow : public wxVScrolledWindow
565 {
566 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
567 public:
568 wxPyVScrolledWindow() : wxVScrolledWindow() {}
569
570 wxPyVScrolledWindow(wxWindow *parent,
571 wxWindowID id = wxID_ANY,
572 const wxPoint& pos = wxDefaultPosition,
573 const wxSize& size = wxDefaultSize,
574 long style = 0,
575 const wxString& name = wxPyPanelNameStr)
576 : wxVScrolledWindow(parent, id, pos, size, style, name)
577 {}
578
579 // Overridable virtuals
580
581 // this function must be overridden in the derived class and it should
582 // return the height of the given line in pixels
583 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
584
585
586 // this function doesn't have to be overridden but it may be useful to do
587 // it if calculating the lines heights is a relatively expensive operation
588 // as it gives the user code a possibility to calculate several of them at
589 // once
590 //
591 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
592 // shouldn't rely on the latter being called for all lines in the interval
593 // specified here. It is also possible that OnGetLineHeight() will be
594 // called for the lines outside of this interval, so this is really just a
595 // hint, not a promise.
596 //
597 // finally note that lineMin is inclusive, while lineMax is exclusive, as
598 // usual
599 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
600
601
602 // when the number of lines changes, we try to estimate the total height
603 // of all lines which is a rather expensive operation in terms of lines
604 // access, so if the user code may estimate the average height
605 // better/faster than we do, it should override this function to implement
606 // its own logic
607 //
608 // this function should return the best guess for the total height it may
609 // make
610 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
611
612
613 // Also expose some other interesting protected methods
614
615
616 // find the index of the line we need to show at the top of the window such
617 // that the last (fully or partially) visible line is the given one
618 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
619 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
620
621 // get the total height of the lines between lineMin (inclusive) and
622 // lineMax (exclusive)
623 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
624 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
625
626
627 PYPRIVATE;
628 };
629
630 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
631
632 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
633 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
634 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
635
636
637 SWIGSTATICINLINE(unsigned long)
638 SWIG_AsUnsignedLong(PyObject * obj)
639 {
640 if (PyLong_Check(obj)) {
641 return PyLong_AsUnsignedLong(obj);
642 } else {
643 long i = SWIG_AsLong(obj);
644 if ( !PyErr_Occurred() && (i < 0)) {
645 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
646 }
647 return i;
648 }
649 }
650
651
652 SWIGSTATICINLINE(int)
653 SWIG_CheckUnsignedLong(PyObject* obj)
654 {
655 SWIG_AsUnsignedLong(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
662 }
663
664
665 SWIGSTATICINLINE(PyObject* )
666 SWIG_FromUnsignedLong(unsigned long value)
667 {
668 return (value > LONG_MAX) ?
669 PyLong_FromUnsignedLong(value)
670 : PyInt_FromLong(swig_numeric_cast(long,value));
671 }
672
673
674 #include <wx/vlbox.h>
675
676 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
677
678 class wxPyVListBox : public wxVListBox
679 {
680 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
681 public:
682 wxPyVListBox() : wxVListBox() {}
683
684 wxPyVListBox(wxWindow *parent,
685 wxWindowID id = wxID_ANY,
686 const wxPoint& pos = wxDefaultPosition,
687 const wxSize& size = wxDefaultSize,
688 long style = 0,
689 const wxString& name = wxPyVListBoxNameStr)
690 : wxVListBox(parent, id, pos, size, style, name)
691 {}
692
693 // Overridable virtuals
694
695 // the derived class must implement this function to actually draw the item
696 // with the given index on the provided DC
697 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
698 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
699
700
701 // the derived class must implement this method to return the height of the
702 // specified item
703 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
704 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
705
706
707 // this method may be used to draw separators between the lines; note that
708 // the rectangle may be modified, typically to deflate it a bit before
709 // passing to OnDrawItem()
710 //
711 // the base class version doesn't do anything
712 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
713 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
714
715
716 // this method is used to draw the items background and, maybe, a border
717 // around it
718 //
719 // the base class version implements a reasonable default behaviour which
720 // consists in drawing the selected item with the standard background
721 // colour and drawing a border around the item if it is either selected or
722 // current
723 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
724 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
725
726
727 PYPRIVATE;
728 };
729
730 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
731
732 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
733 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
734 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
735 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
736
737
738
739 #include <wx/htmllbox.h>
740
741
742 class wxPyHtmlListBox : public wxHtmlListBox
743 {
744 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
745 public:
746 wxPyHtmlListBox() : wxHtmlListBox() {}
747
748 wxPyHtmlListBox(wxWindow *parent,
749 wxWindowID id = wxID_ANY,
750 const wxPoint& pos = wxDefaultPosition,
751 const wxSize& size = wxDefaultSize,
752 long style = 0,
753 const wxString& name = wxPyVListBoxNameStr)
754 : wxHtmlListBox(parent, id, pos, size, style, name)
755 {}
756
757 // Overridable virtuals
758
759 // this method must be implemented in the derived class and should return
760 // the body (i.e. without <html>) of the HTML for the given item
761 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
762
763 // this function may be overridden to decorate HTML returned by OnGetItem()
764 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
765
766 // TODO:
767 // // this method allows to customize the selection appearance: it may be used
768 // // to specify the colour of the text which normally has the given colour
769 // // colFg when it is inside the selection
770 // //
771 // // by default, the original colour is not used at all and all text has the
772 // // same (default for this system) colour inside selection
773 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
774
775 // // this is the same as GetSelectedTextColour() but allows to customize the
776 // // background colour -- this is even more rarely used as you can change it
777 // // globally using SetSelectionBackground()
778 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
779
780
781 PYPRIVATE;
782 };
783
784
785 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
786
787 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
788 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
789
790
791
792
793
794 #ifdef __WXMAC__
795 // implement dummy classes and such for wxMac
796
797 class wxTaskBarIcon : public wxEvtHandler
798 {
799 public:
800 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
801 };
802
803
804 class wxTaskBarIconEvent : public wxEvent
805 {
806 public:
807 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
808 { wxPyRaiseNotImplemented(); }
809 virtual wxEvent* Clone() const { return NULL; }
810 };
811
812 enum {
813 wxEVT_TASKBAR_MOVE = 0,
814 wxEVT_TASKBAR_LEFT_DOWN = 0,
815 wxEVT_TASKBAR_LEFT_UP = 0,
816 wxEVT_TASKBAR_RIGHT_DOWN = 0,
817 wxEVT_TASKBAR_RIGHT_UP = 0,
818 wxEVT_TASKBAR_LEFT_DCLICK = 0,
819 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
820 };
821 #endif
822
823 void wxTaskBarIcon_Destroy(wxTaskBarIcon *self){
824
825 self->RemoveIcon();
826
827 }
828 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
829 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
830 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
831 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
832 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
833 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
834 PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
835 wxArrayString arr;
836 self->GetFilenames(arr);
837 return wxArrayString2PyList_helper(arr);
838 }
839 PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
840 wxArrayString arr;
841 self->GetPaths(arr);
842 return wxArrayString2PyList_helper(arr);
843 }
844 PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
845 return wxArrayInt2PyList_helper(self->GetSelections());
846 }
847 wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
848 return new wxSingleChoiceDialog(parent, message, caption,
849 choices, choices_array, NULL, style, pos);
850 }
851
852 #include <wx/mdi.h>
853
854 // C++ version of Python aware wxWindow
855 class wxPyWindow : public wxWindow
856 {
857 DECLARE_DYNAMIC_CLASS(wxPyWindow)
858 public:
859 wxPyWindow() : wxWindow() {}
860 wxPyWindow(wxWindow* parent, const wxWindowID id,
861 const wxPoint& pos = wxDefaultPosition,
862 const wxSize& size = wxDefaultSize,
863 long style = 0,
864 const wxString& name = wxPyPanelNameStr)
865 : wxWindow(parent, id, pos, size, style, name) {}
866
867 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_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2489 wxVisualAttributes result;
2490 PyObject * obj0 = 0 ;
2491 char *kwnames[] = {
2492 (char *) "variant", NULL
2493 };
2494
2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2496 if (obj0) {
2497 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 }
2500 {
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
2503
2504 wxPyEndAllowThreads(__tstate);
2505 if (PyErr_Occurred()) SWIG_fail;
2506 }
2507 {
2508 wxVisualAttributes * resultptr;
2509 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2511 }
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2519 PyObject *obj;
2520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2521 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2522 Py_INCREF(obj);
2523 return Py_BuildValue((char *)"");
2524 }
2525 static int _wrap_FrameNameStr_set(PyObject *_val) {
2526 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2527 return 1;
2528 }
2529
2530
2531 static PyObject *_wrap_FrameNameStr_get() {
2532 PyObject *pyobj;
2533
2534 {
2535 #if wxUSE_UNICODE
2536 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2537 #else
2538 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2539 #endif
2540 }
2541 return pyobj;
2542 }
2543
2544
2545 static int _wrap_DialogNameStr_set(PyObject *_val) {
2546 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2547 return 1;
2548 }
2549
2550
2551 static PyObject *_wrap_DialogNameStr_get() {
2552 PyObject *pyobj;
2553
2554 {
2555 #if wxUSE_UNICODE
2556 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2557 #else
2558 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2559 #endif
2560 }
2561 return pyobj;
2562 }
2563
2564
2565 static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2566 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2567 return 1;
2568 }
2569
2570
2571 static PyObject *_wrap_StatusLineNameStr_get() {
2572 PyObject *pyobj;
2573
2574 {
2575 #if wxUSE_UNICODE
2576 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2577 #else
2578 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2579 #endif
2580 }
2581 return pyobj;
2582 }
2583
2584
2585 static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2586 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2587 return 1;
2588 }
2589
2590
2591 static PyObject *_wrap_ToolBarNameStr_get() {
2592 PyObject *pyobj;
2593
2594 {
2595 #if wxUSE_UNICODE
2596 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2597 #else
2598 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2599 #endif
2600 }
2601 return pyobj;
2602 }
2603
2604
2605 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject *resultobj;
2607 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2608 bool arg2 = (bool) True ;
2609 PyObject * obj0 = 0 ;
2610 PyObject * obj1 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "self",(char *) "maximize", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2618 if (obj1) {
2619 arg2 = (bool) SWIG_AsBool(obj1);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 (arg1)->Maximize(arg2);
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 Py_INCREF(Py_None); resultobj = Py_None;
2630 return resultobj;
2631 fail:
2632 return NULL;
2633 }
2634
2635
2636 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2639 PyObject * obj0 = 0 ;
2640 char *kwnames[] = {
2641 (char *) "self", NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2647 {
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 (arg1)->Restore();
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 Py_INCREF(Py_None); resultobj = Py_None;
2655 return resultobj;
2656 fail:
2657 return NULL;
2658 }
2659
2660
2661 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2662 PyObject *resultobj;
2663 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2664 bool arg2 = (bool) True ;
2665 PyObject * obj0 = 0 ;
2666 PyObject * obj1 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self",(char *) "iconize", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2674 if (obj1) {
2675 arg2 = (bool) SWIG_AsBool(obj1);
2676 if (PyErr_Occurred()) SWIG_fail;
2677 }
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->Iconize(arg2);
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2695 bool result;
2696 PyObject * obj0 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2704 {
2705 PyThreadState* __tstate = wxPyBeginAllowThreads();
2706 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2707
2708 wxPyEndAllowThreads(__tstate);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 }
2711 {
2712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2713 }
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2723 bool result;
2724 PyObject * obj0 = 0 ;
2725 char *kwnames[] = {
2726 (char *) "self", NULL
2727 };
2728
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2741 }
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2749 PyObject *resultobj;
2750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2751 wxIcon result;
2752 PyObject * obj0 = 0 ;
2753 char *kwnames[] = {
2754 (char *) "self", NULL
2755 };
2756
2757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2760 {
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2763
2764 wxPyEndAllowThreads(__tstate);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 {
2768 wxIcon * resultptr;
2769 resultptr = new wxIcon((wxIcon &) result);
2770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
2771 }
2772 return resultobj;
2773 fail:
2774 return NULL;
2775 }
2776
2777
2778 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2779 PyObject *resultobj;
2780 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2781 wxIcon *arg2 = 0 ;
2782 PyObject * obj0 = 0 ;
2783 PyObject * obj1 = 0 ;
2784 char *kwnames[] = {
2785 (char *) "self",(char *) "icon", NULL
2786 };
2787
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
2792 SWIG_POINTER_EXCEPTION | 0)) == -1)
2793 SWIG_fail;
2794 if (arg2 == NULL) {
2795 PyErr_SetString(PyExc_TypeError,"null reference");
2796 SWIG_fail;
2797 }
2798 {
2799 PyThreadState* __tstate = wxPyBeginAllowThreads();
2800 (arg1)->SetIcon((wxIcon const &)*arg2);
2801
2802 wxPyEndAllowThreads(__tstate);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 Py_INCREF(Py_None); resultobj = Py_None;
2806 return resultobj;
2807 fail:
2808 return NULL;
2809 }
2810
2811
2812 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2815 wxIconBundle *arg2 = 0 ;
2816 PyObject * obj0 = 0 ;
2817 PyObject * obj1 = 0 ;
2818 char *kwnames[] = {
2819 (char *) "self",(char *) "icons", NULL
2820 };
2821
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle,
2826 SWIG_POINTER_EXCEPTION | 0)) == -1)
2827 SWIG_fail;
2828 if (arg2 == NULL) {
2829 PyErr_SetString(PyExc_TypeError,"null reference");
2830 SWIG_fail;
2831 }
2832 {
2833 PyThreadState* __tstate = wxPyBeginAllowThreads();
2834 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2835
2836 wxPyEndAllowThreads(__tstate);
2837 if (PyErr_Occurred()) SWIG_fail;
2838 }
2839 Py_INCREF(Py_None); resultobj = Py_None;
2840 return resultobj;
2841 fail:
2842 return NULL;
2843 }
2844
2845
2846 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2847 PyObject *resultobj;
2848 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2849 bool arg2 ;
2850 long arg3 = (long) wxFULLSCREEN_ALL ;
2851 bool result;
2852 PyObject * obj0 = 0 ;
2853 PyObject * obj1 = 0 ;
2854 PyObject * obj2 = 0 ;
2855 char *kwnames[] = {
2856 (char *) "self",(char *) "show",(char *) "style", NULL
2857 };
2858
2859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2862 arg2 = (bool) SWIG_AsBool(obj1);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 if (obj2) {
2865 arg3 = (long) SWIG_AsLong(obj2);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 }
2868 {
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2871
2872 wxPyEndAllowThreads(__tstate);
2873 if (PyErr_Occurred()) SWIG_fail;
2874 }
2875 {
2876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2877 }
2878 return resultobj;
2879 fail:
2880 return NULL;
2881 }
2882
2883
2884 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2885 PyObject *resultobj;
2886 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2887 bool result;
2888 PyObject * obj0 = 0 ;
2889 char *kwnames[] = {
2890 (char *) "self", NULL
2891 };
2892
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2896 {
2897 PyThreadState* __tstate = wxPyBeginAllowThreads();
2898 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2899
2900 wxPyEndAllowThreads(__tstate);
2901 if (PyErr_Occurred()) SWIG_fail;
2902 }
2903 {
2904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909 }
2910
2911
2912 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2913 PyObject *resultobj;
2914 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2915 wxString *arg2 = 0 ;
2916 bool temp2 = False ;
2917 PyObject * obj0 = 0 ;
2918 PyObject * obj1 = 0 ;
2919 char *kwnames[] = {
2920 (char *) "self",(char *) "title", NULL
2921 };
2922
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2926 {
2927 arg2 = wxString_in_helper(obj1);
2928 if (arg2 == NULL) SWIG_fail;
2929 temp2 = True;
2930 }
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 (arg1)->SetTitle((wxString const &)*arg2);
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 Py_INCREF(Py_None); resultobj = Py_None;
2939 {
2940 if (temp2)
2941 delete arg2;
2942 }
2943 return resultobj;
2944 fail:
2945 {
2946 if (temp2)
2947 delete arg2;
2948 }
2949 return NULL;
2950 }
2951
2952
2953 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2954 PyObject *resultobj;
2955 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2956 wxString result;
2957 PyObject * obj0 = 0 ;
2958 char *kwnames[] = {
2959 (char *) "self", NULL
2960 };
2961
2962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 {
2973 #if wxUSE_UNICODE
2974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2975 #else
2976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2977 #endif
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj;
2987 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2988 wxRegion *arg2 = 0 ;
2989 bool result;
2990 PyObject * obj0 = 0 ;
2991 PyObject * obj1 = 0 ;
2992 char *kwnames[] = {
2993 (char *) "self",(char *) "region", NULL
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow,
2998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2999 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion,
3000 SWIG_POINTER_EXCEPTION | 0)) == -1)
3001 SWIG_fail;
3002 if (arg2 == NULL) {
3003 PyErr_SetString(PyExc_TypeError,"null reference");
3004 SWIG_fail;
3005 }
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 {
3014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3015 }
3016 return resultobj;
3017 fail:
3018 return NULL;
3019 }
3020
3021
3022 static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
3023 PyObject *obj;
3024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3025 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
3026 Py_INCREF(obj);
3027 return Py_BuildValue((char *)"");
3028 }
3029 static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxWindow *arg1 = (wxWindow *) 0 ;
3032 int arg2 ;
3033 wxString *arg3 = 0 ;
3034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3036 wxSize const &arg5_defvalue = wxDefaultSize ;
3037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3038 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3039 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3040 wxString *arg7 = (wxString *) &arg7_defvalue ;
3041 wxFrame *result;
3042 bool temp3 = False ;
3043 wxPoint temp4 ;
3044 wxSize temp5 ;
3045 bool temp7 = False ;
3046 PyObject * obj0 = 0 ;
3047 PyObject * obj1 = 0 ;
3048 PyObject * obj2 = 0 ;
3049 PyObject * obj3 = 0 ;
3050 PyObject * obj4 = 0 ;
3051 PyObject * obj5 = 0 ;
3052 PyObject * obj6 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3060 arg2 = (int const) SWIG_AsInt(obj1);
3061 if (PyErr_Occurred()) SWIG_fail;
3062 {
3063 arg3 = wxString_in_helper(obj2);
3064 if (arg3 == NULL) SWIG_fail;
3065 temp3 = True;
3066 }
3067 if (obj3) {
3068 {
3069 arg4 = &temp4;
3070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3071 }
3072 }
3073 if (obj4) {
3074 {
3075 arg5 = &temp5;
3076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3077 }
3078 }
3079 if (obj5) {
3080 arg6 = (long) SWIG_AsLong(obj5);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 if (obj6) {
3084 {
3085 arg7 = wxString_in_helper(obj6);
3086 if (arg7 == NULL) SWIG_fail;
3087 temp7 = True;
3088 }
3089 }
3090 {
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3093
3094 wxPyEndAllowThreads(__tstate);
3095 if (PyErr_Occurred()) SWIG_fail;
3096 }
3097 {
3098 resultobj = wxPyMake_wxObject(result);
3099 }
3100 {
3101 if (temp3)
3102 delete arg3;
3103 }
3104 {
3105 if (temp7)
3106 delete arg7;
3107 }
3108 return resultobj;
3109 fail:
3110 {
3111 if (temp3)
3112 delete arg3;
3113 }
3114 {
3115 if (temp7)
3116 delete arg7;
3117 }
3118 return NULL;
3119 }
3120
3121
3122 static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxFrame *result;
3125 char *kwnames[] = {
3126 NULL
3127 };
3128
3129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (wxFrame *)new wxFrame();
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 {
3138 resultobj = wxPyMake_wxObject(result);
3139 }
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxFrame *arg1 = (wxFrame *) 0 ;
3149 wxWindow *arg2 = (wxWindow *) 0 ;
3150 int arg3 ;
3151 wxString *arg4 = 0 ;
3152 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3153 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3154 wxSize const &arg6_defvalue = wxDefaultSize ;
3155 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3156 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3157 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3158 wxString *arg8 = (wxString *) &arg8_defvalue ;
3159 bool result;
3160 bool temp4 = False ;
3161 wxPoint temp5 ;
3162 wxSize temp6 ;
3163 bool temp8 = False ;
3164 PyObject * obj0 = 0 ;
3165 PyObject * obj1 = 0 ;
3166 PyObject * obj2 = 0 ;
3167 PyObject * obj3 = 0 ;
3168 PyObject * obj4 = 0 ;
3169 PyObject * obj5 = 0 ;
3170 PyObject * obj6 = 0 ;
3171 PyObject * obj7 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3179 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3181 arg3 = (int const) SWIG_AsInt(obj2);
3182 if (PyErr_Occurred()) SWIG_fail;
3183 {
3184 arg4 = wxString_in_helper(obj3);
3185 if (arg4 == NULL) SWIG_fail;
3186 temp4 = True;
3187 }
3188 if (obj4) {
3189 {
3190 arg5 = &temp5;
3191 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3192 }
3193 }
3194 if (obj5) {
3195 {
3196 arg6 = &temp6;
3197 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3198 }
3199 }
3200 if (obj6) {
3201 arg7 = (long) SWIG_AsLong(obj6);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 if (obj7) {
3205 {
3206 arg8 = wxString_in_helper(obj7);
3207 if (arg8 == NULL) SWIG_fail;
3208 temp8 = True;
3209 }
3210 }
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
3218 {
3219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3220 }
3221 {
3222 if (temp4)
3223 delete arg4;
3224 }
3225 {
3226 if (temp8)
3227 delete arg8;
3228 }
3229 return resultobj;
3230 fail:
3231 {
3232 if (temp4)
3233 delete arg4;
3234 }
3235 {
3236 if (temp8)
3237 delete arg8;
3238 }
3239 return NULL;
3240 }
3241
3242
3243 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxFrame *arg1 = (wxFrame *) 0 ;
3246 wxPoint result;
3247 PyObject * obj0 = 0 ;
3248 char *kwnames[] = {
3249 (char *) "self", NULL
3250 };
3251
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3255 {
3256 PyThreadState* __tstate = wxPyBeginAllowThreads();
3257 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3258
3259 wxPyEndAllowThreads(__tstate);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 {
3263 wxPoint * resultptr;
3264 resultptr = new wxPoint((wxPoint &) result);
3265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3266 }
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 PyObject * obj0 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
3286 (arg1)->SendSizeEvent();
3287
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 Py_INCREF(Py_None); resultobj = Py_None;
3292 return resultobj;
3293 fail:
3294 return NULL;
3295 }
3296
3297
3298 static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3299 PyObject *resultobj;
3300 wxFrame *arg1 = (wxFrame *) 0 ;
3301 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3302 PyObject * obj0 = 0 ;
3303 PyObject * obj1 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "self",(char *) "menubar", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar,
3312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 (arg1)->SetMenuBar(arg2);
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 Py_INCREF(Py_None); resultobj = Py_None;
3321 return resultobj;
3322 fail:
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxFrame *arg1 = (wxFrame *) 0 ;
3330 wxMenuBar *result;
3331 PyObject * obj0 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 {
3347 resultobj = wxPyMake_wxObject(result);
3348 }
3349 return resultobj;
3350 fail:
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxFrame *arg1 = (wxFrame *) 0 ;
3358 int arg2 ;
3359 bool result;
3360 PyObject * obj0 = 0 ;
3361 PyObject * obj1 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "self",(char *) "winid", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3369 arg2 = (int) SWIG_AsInt(obj1);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (bool)(arg1)->ProcessCommand(arg2);
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 {
3379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3380 }
3381 return resultobj;
3382 fail:
3383 return NULL;
3384 }
3385
3386
3387 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxFrame *arg1 = (wxFrame *) 0 ;
3390 int arg2 = (int) 1 ;
3391 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
3392 int arg4 = (int) 0 ;
3393 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3394 wxString *arg5 = (wxString *) &arg5_defvalue ;
3395 wxStatusBar *result;
3396 bool temp5 = False ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 PyObject * obj2 = 0 ;
3400 PyObject * obj3 = 0 ;
3401 PyObject * obj4 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3409 if (obj1) {
3410 arg2 = (int) SWIG_AsInt(obj1);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 if (obj2) {
3414 arg3 = (long) SWIG_AsLong(obj2);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 if (obj3) {
3418 arg4 = (int) SWIG_AsInt(obj3);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 if (obj4) {
3422 {
3423 arg5 = wxString_in_helper(obj4);
3424 if (arg5 == NULL) SWIG_fail;
3425 temp5 = True;
3426 }
3427 }
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
3435 {
3436 resultobj = wxPyMake_wxObject(result);
3437 }
3438 {
3439 if (temp5)
3440 delete arg5;
3441 }
3442 return resultobj;
3443 fail:
3444 {
3445 if (temp5)
3446 delete arg5;
3447 }
3448 return NULL;
3449 }
3450
3451
3452 static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxFrame *arg1 = (wxFrame *) 0 ;
3455 wxStatusBar *result;
3456 PyObject * obj0 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 {
3472 resultobj = wxPyMake_wxObject(result);
3473 }
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxFrame *arg1 = (wxFrame *) 0 ;
3483 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self",(char *) "statBar", NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar,
3494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 (arg1)->SetStatusBar(arg2);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 Py_INCREF(Py_None); resultobj = Py_None;
3503 return resultobj;
3504 fail:
3505 return NULL;
3506 }
3507
3508
3509 static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3510 PyObject *resultobj;
3511 wxFrame *arg1 = (wxFrame *) 0 ;
3512 wxString *arg2 = 0 ;
3513 int arg3 = (int) 0 ;
3514 bool temp2 = False ;
3515 PyObject * obj0 = 0 ;
3516 PyObject * obj1 = 0 ;
3517 PyObject * obj2 = 0 ;
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "text",(char *) "number", NULL
3520 };
3521
3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 {
3526 arg2 = wxString_in_helper(obj1);
3527 if (arg2 == NULL) SWIG_fail;
3528 temp2 = True;
3529 }
3530 if (obj2) {
3531 arg3 = (int) SWIG_AsInt(obj2);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 Py_INCREF(Py_None); resultobj = Py_None;
3542 {
3543 if (temp2)
3544 delete arg2;
3545 }
3546 return resultobj;
3547 fail:
3548 {
3549 if (temp2)
3550 delete arg2;
3551 }
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxFrame *arg1 = (wxFrame *) 0 ;
3559 int arg2 ;
3560 int *arg3 = (int *) 0 ;
3561 PyObject * obj0 = 0 ;
3562 PyObject * obj1 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "widths", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3570 {
3571 arg2 = PyList_Size(obj1);
3572 arg3 = int_LIST_helper(obj1);
3573 if (arg3 == NULL) SWIG_fail;
3574 }
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 Py_INCREF(Py_None); resultobj = Py_None;
3583 {
3584 if (arg3) delete [] arg3;
3585 }
3586 return resultobj;
3587 fail:
3588 {
3589 if (arg3) delete [] arg3;
3590 }
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxFrame *arg1 = (wxFrame *) 0 ;
3598 wxString *arg2 = 0 ;
3599 int arg3 = (int) 0 ;
3600 bool temp2 = False ;
3601 PyObject * obj0 = 0 ;
3602 PyObject * obj1 = 0 ;
3603 PyObject * obj2 = 0 ;
3604 char *kwnames[] = {
3605 (char *) "self",(char *) "text",(char *) "number", NULL
3606 };
3607
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3611 {
3612 arg2 = wxString_in_helper(obj1);
3613 if (arg2 == NULL) SWIG_fail;
3614 temp2 = True;
3615 }
3616 if (obj2) {
3617 arg3 = (int) SWIG_AsInt(obj2);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 {
3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
3622 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3623
3624 wxPyEndAllowThreads(__tstate);
3625 if (PyErr_Occurred()) SWIG_fail;
3626 }
3627 Py_INCREF(Py_None); resultobj = Py_None;
3628 {
3629 if (temp2)
3630 delete arg2;
3631 }
3632 return resultobj;
3633 fail:
3634 {
3635 if (temp2)
3636 delete arg2;
3637 }
3638 return NULL;
3639 }
3640
3641
3642 static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject *resultobj;
3644 wxFrame *arg1 = (wxFrame *) 0 ;
3645 int arg2 = (int) 0 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "self",(char *) "number", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3655 if (obj1) {
3656 arg2 = (int) SWIG_AsInt(obj1);
3657 if (PyErr_Occurred()) SWIG_fail;
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 (arg1)->PopStatusText(arg2);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 Py_INCREF(Py_None); resultobj = Py_None;
3667 return resultobj;
3668 fail:
3669 return NULL;
3670 }
3671
3672
3673 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject *resultobj;
3675 wxFrame *arg1 = (wxFrame *) 0 ;
3676 int arg2 ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "n", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3686 arg2 = (int) SWIG_AsInt(obj1);
3687 if (PyErr_Occurred()) SWIG_fail;
3688 {
3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
3690 (arg1)->SetStatusBarPane(arg2);
3691
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 Py_INCREF(Py_None); resultobj = Py_None;
3696 return resultobj;
3697 fail:
3698 return NULL;
3699 }
3700
3701
3702 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3703 PyObject *resultobj;
3704 wxFrame *arg1 = (wxFrame *) 0 ;
3705 int result;
3706 PyObject * obj0 = 0 ;
3707 char *kwnames[] = {
3708 (char *) "self", NULL
3709 };
3710
3711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3714 {
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 resultobj = SWIG_FromInt((int)result);
3722 return resultobj;
3723 fail:
3724 return NULL;
3725 }
3726
3727
3728 static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj;
3730 wxFrame *arg1 = (wxFrame *) 0 ;
3731 long arg2 = (long) -1 ;
3732 int arg3 = (int) -1 ;
3733 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3734 wxString *arg4 = (wxString *) &arg4_defvalue ;
3735 wxToolBar *result;
3736 bool temp4 = False ;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj1 = 0 ;
3739 PyObject * obj2 = 0 ;
3740 PyObject * obj3 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3748 if (obj1) {
3749 arg2 = (long) SWIG_AsLong(obj1);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 if (obj2) {
3753 arg3 = (int) SWIG_AsInt(obj2);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 if (obj3) {
3757 {
3758 arg4 = wxString_in_helper(obj3);
3759 if (arg4 == NULL) SWIG_fail;
3760 temp4 = True;
3761 }
3762 }
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 {
3771 resultobj = wxPyMake_wxObject(result);
3772 }
3773 {
3774 if (temp4)
3775 delete arg4;
3776 }
3777 return resultobj;
3778 fail:
3779 {
3780 if (temp4)
3781 delete arg4;
3782 }
3783 return NULL;
3784 }
3785
3786
3787 static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3788 PyObject *resultobj;
3789 wxFrame *arg1 = (wxFrame *) 0 ;
3790 wxToolBar *result;
3791 PyObject * obj0 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "self", NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 {
3807 resultobj = wxPyMake_wxObject(result);
3808 }
3809 return resultobj;
3810 fail:
3811 return NULL;
3812 }
3813
3814
3815 static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject *resultobj;
3817 wxFrame *arg1 = (wxFrame *) 0 ;
3818 wxToolBar *arg2 = (wxToolBar *) 0 ;
3819 PyObject * obj0 = 0 ;
3820 PyObject * obj1 = 0 ;
3821 char *kwnames[] = {
3822 (char *) "self",(char *) "toolbar", NULL
3823 };
3824
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar,
3829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3830 {
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 (arg1)->SetToolBar(arg2);
3833
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 Py_INCREF(Py_None); resultobj = Py_None;
3838 return resultobj;
3839 fail:
3840 return NULL;
3841 }
3842
3843
3844 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3845 PyObject *resultobj;
3846 wxFrame *arg1 = (wxFrame *) 0 ;
3847 wxString *arg2 = 0 ;
3848 bool arg3 ;
3849 bool temp2 = False ;
3850 PyObject * obj0 = 0 ;
3851 PyObject * obj1 = 0 ;
3852 PyObject * obj2 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "self",(char *) "text",(char *) "show", NULL
3855 };
3856
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3860 {
3861 arg2 = wxString_in_helper(obj1);
3862 if (arg2 == NULL) SWIG_fail;
3863 temp2 = True;
3864 }
3865 arg3 = (bool) SWIG_AsBool(obj2);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 Py_INCREF(Py_None); resultobj = Py_None;
3875 {
3876 if (temp2)
3877 delete arg2;
3878 }
3879 return resultobj;
3880 fail:
3881 {
3882 if (temp2)
3883 delete arg2;
3884 }
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxFrame *arg1 = (wxFrame *) 0 ;
3892 wxMenu *arg2 = (wxMenu *) NULL ;
3893 PyObject * obj0 = 0 ;
3894 PyObject * obj1 = 0 ;
3895 char *kwnames[] = {
3896 (char *) "self",(char *) "menu", NULL
3897 };
3898
3899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
3901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3902 if (obj1) {
3903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
3904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3905 }
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 (arg1)->DoMenuUpdates(arg2);
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 Py_INCREF(Py_None); resultobj = Py_None;
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3923 wxVisualAttributes result;
3924 PyObject * obj0 = 0 ;
3925 char *kwnames[] = {
3926 (char *) "variant", NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3930 if (obj0) {
3931 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
3937
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
3941 {
3942 wxVisualAttributes * resultptr;
3943 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3945 }
3946 return resultobj;
3947 fail:
3948 return NULL;
3949 }
3950
3951
3952 static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3953 PyObject *obj;
3954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3955 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3956 Py_INCREF(obj);
3957 return Py_BuildValue((char *)"");
3958 }
3959 static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxWindow *arg1 = (wxWindow *) 0 ;
3962 int arg2 ;
3963 wxString *arg3 = 0 ;
3964 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3965 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3966 wxSize const &arg5_defvalue = wxDefaultSize ;
3967 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3968 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3969 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3970 wxString *arg7 = (wxString *) &arg7_defvalue ;
3971 wxDialog *result;
3972 bool temp3 = False ;
3973 wxPoint temp4 ;
3974 wxSize temp5 ;
3975 bool temp7 = False ;
3976 PyObject * obj0 = 0 ;
3977 PyObject * obj1 = 0 ;
3978 PyObject * obj2 = 0 ;
3979 PyObject * obj3 = 0 ;
3980 PyObject * obj4 = 0 ;
3981 PyObject * obj5 = 0 ;
3982 PyObject * obj6 = 0 ;
3983 char *kwnames[] = {
3984 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3985 };
3986
3987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3990 arg2 = (int const) SWIG_AsInt(obj1);
3991 if (PyErr_Occurred()) SWIG_fail;
3992 {
3993 arg3 = wxString_in_helper(obj2);
3994 if (arg3 == NULL) SWIG_fail;
3995 temp3 = True;
3996 }
3997 if (obj3) {
3998 {
3999 arg4 = &temp4;
4000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4001 }
4002 }
4003 if (obj4) {
4004 {
4005 arg5 = &temp5;
4006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4007 }
4008 }
4009 if (obj5) {
4010 arg6 = (long) SWIG_AsLong(obj5);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 if (obj6) {
4014 {
4015 arg7 = wxString_in_helper(obj6);
4016 if (arg7 == NULL) SWIG_fail;
4017 temp7 = True;
4018 }
4019 }
4020 {
4021 PyThreadState* __tstate = wxPyBeginAllowThreads();
4022 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4023
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 resultobj = wxPyMake_wxObject(result);
4029 }
4030 {
4031 if (temp3)
4032 delete arg3;
4033 }
4034 {
4035 if (temp7)
4036 delete arg7;
4037 }
4038 return resultobj;
4039 fail:
4040 {
4041 if (temp3)
4042 delete arg3;
4043 }
4044 {
4045 if (temp7)
4046 delete arg7;
4047 }
4048 return NULL;
4049 }
4050
4051
4052 static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj;
4054 wxDialog *result;
4055 char *kwnames[] = {
4056 NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (wxDialog *)new wxDialog();
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 {
4068 resultobj = wxPyMake_wxObject(result);
4069 }
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxDialog *arg1 = (wxDialog *) 0 ;
4079 wxWindow *arg2 = (wxWindow *) 0 ;
4080 int arg3 ;
4081 wxString *arg4 = 0 ;
4082 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4083 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4084 wxSize const &arg6_defvalue = wxDefaultSize ;
4085 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4086 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
4087 wxString const &arg8_defvalue = wxPyDialogNameStr ;
4088 wxString *arg8 = (wxString *) &arg8_defvalue ;
4089 bool result;
4090 bool temp4 = False ;
4091 wxPoint temp5 ;
4092 wxSize temp6 ;
4093 bool temp8 = False ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 PyObject * obj2 = 0 ;
4097 PyObject * obj3 = 0 ;
4098 PyObject * obj4 = 0 ;
4099 PyObject * obj5 = 0 ;
4100 PyObject * obj6 = 0 ;
4101 PyObject * obj7 = 0 ;
4102 char *kwnames[] = {
4103 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4104 };
4105
4106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4109 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4111 arg3 = (int const) SWIG_AsInt(obj2);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 {
4114 arg4 = wxString_in_helper(obj3);
4115 if (arg4 == NULL) SWIG_fail;
4116 temp4 = True;
4117 }
4118 if (obj4) {
4119 {
4120 arg5 = &temp5;
4121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4122 }
4123 }
4124 if (obj5) {
4125 {
4126 arg6 = &temp6;
4127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4128 }
4129 }
4130 if (obj6) {
4131 arg7 = (long) SWIG_AsLong(obj6);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 if (obj7) {
4135 {
4136 arg8 = wxString_in_helper(obj7);
4137 if (arg8 == NULL) SWIG_fail;
4138 temp8 = True;
4139 }
4140 }
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 {
4149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4150 }
4151 {
4152 if (temp4)
4153 delete arg4;
4154 }
4155 {
4156 if (temp8)
4157 delete arg8;
4158 }
4159 return resultobj;
4160 fail:
4161 {
4162 if (temp4)
4163 delete arg4;
4164 }
4165 {
4166 if (temp8)
4167 delete arg8;
4168 }
4169 return NULL;
4170 }
4171
4172
4173 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxDialog *arg1 = (wxDialog *) 0 ;
4176 int arg2 ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 char *kwnames[] = {
4180 (char *) "self",(char *) "returnCode", NULL
4181 };
4182
4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
4184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4186 arg2 = (int) SWIG_AsInt(obj1);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 (arg1)->SetReturnCode(arg2);
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 Py_INCREF(Py_None); resultobj = Py_None;
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxDialog *arg1 = (wxDialog *) 0 ;
4205 int result;
4206 PyObject * obj0 = 0 ;
4207 char *kwnames[] = {
4208 (char *) "self", NULL
4209 };
4210
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4217
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 resultobj = SWIG_FromInt((int)result);
4222 return resultobj;
4223 fail:
4224 return NULL;
4225 }
4226
4227
4228 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4229 PyObject *resultobj;
4230 wxDialog *arg1 = (wxDialog *) 0 ;
4231 wxString *arg2 = 0 ;
4232 wxSizer *result;
4233 bool temp2 = False ;
4234 PyObject * obj0 = 0 ;
4235 PyObject * obj1 = 0 ;
4236 char *kwnames[] = {
4237 (char *) "self",(char *) "message", NULL
4238 };
4239
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4243 {
4244 arg2 = wxString_in_helper(obj1);
4245 if (arg2 == NULL) SWIG_fail;
4246 temp2 = True;
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 {
4256 resultobj = wxPyMake_wxSizer(result);
4257 }
4258 {
4259 if (temp2)
4260 delete arg2;
4261 }
4262 return resultobj;
4263 fail:
4264 {
4265 if (temp2)
4266 delete arg2;
4267 }
4268 return NULL;
4269 }
4270
4271
4272 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxDialog *arg1 = (wxDialog *) 0 ;
4275 long arg2 ;
4276 wxSizer *result;
4277 PyObject * obj0 = 0 ;
4278 PyObject * obj1 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "flags", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4286 arg2 = (long) SWIG_AsLong(obj1);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4291
4292 wxPyEndAllowThreads(__tstate);
4293 if (PyErr_Occurred()) SWIG_fail;
4294 }
4295 {
4296 resultobj = wxPyMake_wxSizer(result);
4297 }
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxDialog *arg1 = (wxDialog *) 0 ;
4307 bool result;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "self", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4316 {
4317 PyThreadState* __tstate = wxPyBeginAllowThreads();
4318 result = (bool)((wxDialog const *)arg1)->IsModal();
4319
4320 wxPyEndAllowThreads(__tstate);
4321 if (PyErr_Occurred()) SWIG_fail;
4322 }
4323 {
4324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4325 }
4326 return resultobj;
4327 fail:
4328 return NULL;
4329 }
4330
4331
4332 static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4333 PyObject *resultobj;
4334 wxDialog *arg1 = (wxDialog *) 0 ;
4335 int result;
4336 PyObject * obj0 = 0 ;
4337 char *kwnames[] = {
4338 (char *) "self", NULL
4339 };
4340
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (int)(arg1)->ShowModal();
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 resultobj = SWIG_FromInt((int)result);
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxDialog *arg1 = (wxDialog *) 0 ;
4361 int arg2 ;
4362 PyObject * obj0 = 0 ;
4363 PyObject * obj1 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "self",(char *) "retCode", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog,
4370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4371 arg2 = (int) SWIG_AsInt(obj1);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->EndModal(arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 Py_INCREF(Py_None); resultobj = Py_None;
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4390 wxVisualAttributes result;
4391 PyObject * obj0 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "variant", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4397 if (obj0) {
4398 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 }
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 {
4409 wxVisualAttributes * resultptr;
4410 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4412 }
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4420 PyObject *obj;
4421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4422 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4423 Py_INCREF(obj);
4424 return Py_BuildValue((char *)"");
4425 }
4426 static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxWindow *arg1 = (wxWindow *) 0 ;
4429 int arg2 ;
4430 wxString *arg3 = 0 ;
4431 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4432 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4433 wxSize const &arg5_defvalue = wxDefaultSize ;
4434 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4435 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4436 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4437 wxString *arg7 = (wxString *) &arg7_defvalue ;
4438 wxMiniFrame *result;
4439 bool temp3 = False ;
4440 wxPoint temp4 ;
4441 wxSize temp5 ;
4442 bool temp7 = False ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 PyObject * obj3 = 0 ;
4447 PyObject * obj4 = 0 ;
4448 PyObject * obj5 = 0 ;
4449 PyObject * obj6 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4457 arg2 = (int const) SWIG_AsInt(obj1);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 {
4460 arg3 = wxString_in_helper(obj2);
4461 if (arg3 == NULL) SWIG_fail;
4462 temp3 = True;
4463 }
4464 if (obj3) {
4465 {
4466 arg4 = &temp4;
4467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4468 }
4469 }
4470 if (obj4) {
4471 {
4472 arg5 = &temp5;
4473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4474 }
4475 }
4476 if (obj5) {
4477 arg6 = (long) SWIG_AsLong(obj5);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 if (obj6) {
4481 {
4482 arg7 = wxString_in_helper(obj6);
4483 if (arg7 == NULL) SWIG_fail;
4484 temp7 = True;
4485 }
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4495 {
4496 if (temp3)
4497 delete arg3;
4498 }
4499 {
4500 if (temp7)
4501 delete arg7;
4502 }
4503 return resultobj;
4504 fail:
4505 {
4506 if (temp3)
4507 delete arg3;
4508 }
4509 {
4510 if (temp7)
4511 delete arg7;
4512 }
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxMiniFrame *result;
4520 char *kwnames[] = {
4521 NULL
4522 };
4523
4524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (wxMiniFrame *)new wxMiniFrame();
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4542 wxWindow *arg2 = (wxWindow *) 0 ;
4543 int arg3 ;
4544 wxString *arg4 = 0 ;
4545 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4546 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4547 wxSize const &arg6_defvalue = wxDefaultSize ;
4548 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4549 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4550 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4551 wxString *arg8 = (wxString *) &arg8_defvalue ;
4552 bool result;
4553 bool temp4 = False ;
4554 wxPoint temp5 ;
4555 wxSize temp6 ;
4556 bool temp8 = False ;
4557 PyObject * obj0 = 0 ;
4558 PyObject * obj1 = 0 ;
4559 PyObject * obj2 = 0 ;
4560 PyObject * obj3 = 0 ;
4561 PyObject * obj4 = 0 ;
4562 PyObject * obj5 = 0 ;
4563 PyObject * obj6 = 0 ;
4564 PyObject * obj7 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4567 };
4568
4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame,
4571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4574 arg3 = (int const) SWIG_AsInt(obj2);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 {
4577 arg4 = wxString_in_helper(obj3);
4578 if (arg4 == NULL) SWIG_fail;
4579 temp4 = True;
4580 }
4581 if (obj4) {
4582 {
4583 arg5 = &temp5;
4584 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4585 }
4586 }
4587 if (obj5) {
4588 {
4589 arg6 = &temp6;
4590 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4591 }
4592 }
4593 if (obj6) {
4594 arg7 = (long) SWIG_AsLong(obj6);
4595 if (PyErr_Occurred()) SWIG_fail;
4596 }
4597 if (obj7) {
4598 {
4599 arg8 = wxString_in_helper(obj7);
4600 if (arg8 == NULL) SWIG_fail;
4601 temp8 = True;
4602 }
4603 }
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4607
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 {
4612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4613 }
4614 {
4615 if (temp4)
4616 delete arg4;
4617 }
4618 {
4619 if (temp8)
4620 delete arg8;
4621 }
4622 return resultobj;
4623 fail:
4624 {
4625 if (temp4)
4626 delete arg4;
4627 }
4628 {
4629 if (temp8)
4630 delete arg8;
4631 }
4632 return NULL;
4633 }
4634
4635
4636 static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4637 PyObject *obj;
4638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4639 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4640 Py_INCREF(obj);
4641 return Py_BuildValue((char *)"");
4642 }
4643 static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxBitmap *arg1 = 0 ;
4646 wxWindow *arg2 = (wxWindow *) 0 ;
4647 int arg3 ;
4648 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4649 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4650 wxSize const &arg5_defvalue = wxDefaultSize ;
4651 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4652 long arg6 = (long) wxNO_BORDER ;
4653 wxSplashScreenWindow *result;
4654 wxPoint temp4 ;
4655 wxSize temp5 ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj1 = 0 ;
4658 PyObject * obj2 = 0 ;
4659 PyObject * obj3 = 0 ;
4660 PyObject * obj4 = 0 ;
4661 PyObject * obj5 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4668 SWIG_POINTER_EXCEPTION | 0)) == -1)
4669 SWIG_fail;
4670 if (arg1 == NULL) {
4671 PyErr_SetString(PyExc_TypeError,"null reference");
4672 SWIG_fail;
4673 }
4674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4676 arg3 = (int) SWIG_AsInt(obj2);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 if (obj3) {
4679 {
4680 arg4 = &temp4;
4681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4682 }
4683 }
4684 if (obj4) {
4685 {
4686 arg5 = &temp5;
4687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4688 }
4689 }
4690 if (obj5) {
4691 arg6 = (long) SWIG_AsLong(obj5);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4711 wxBitmap *arg2 = 0 ;
4712 PyObject * obj0 = 0 ;
4713 PyObject * obj1 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "self",(char *) "bitmap", NULL
4716 };
4717
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4722 SWIG_POINTER_EXCEPTION | 0)) == -1)
4723 SWIG_fail;
4724 if (arg2 == NULL) {
4725 PyErr_SetString(PyExc_TypeError,"null reference");
4726 SWIG_fail;
4727 }
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 Py_INCREF(Py_None); resultobj = Py_None;
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4745 wxBitmap *result;
4746 PyObject * obj0 = 0 ;
4747 char *kwnames[] = {
4748 (char *) "self", NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow,
4753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 {
4757 wxBitmap &_result_ref = (arg1)->GetBitmap();
4758 result = (wxBitmap *) &_result_ref;
4759 }
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 {
4765 wxBitmap* resultptr = new wxBitmap(*result);
4766 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
4767 }
4768 return resultobj;
4769 fail:
4770 return NULL;
4771 }
4772
4773
4774 static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4775 PyObject *obj;
4776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4777 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4778 Py_INCREF(obj);
4779 return Py_BuildValue((char *)"");
4780 }
4781 static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxBitmap *arg1 = 0 ;
4784 long arg2 ;
4785 int arg3 ;
4786 wxWindow *arg4 = (wxWindow *) 0 ;
4787 int arg5 ;
4788 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4789 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4790 wxSize const &arg7_defvalue = wxDefaultSize ;
4791 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4792 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4793 wxSplashScreen *result;
4794 wxPoint temp6 ;
4795 wxSize temp7 ;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj1 = 0 ;
4798 PyObject * obj2 = 0 ;
4799 PyObject * obj3 = 0 ;
4800 PyObject * obj4 = 0 ;
4801 PyObject * obj5 = 0 ;
4802 PyObject * obj6 = 0 ;
4803 PyObject * obj7 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
4810 SWIG_POINTER_EXCEPTION | 0)) == -1)
4811 SWIG_fail;
4812 if (arg1 == NULL) {
4813 PyErr_SetString(PyExc_TypeError,"null reference");
4814 SWIG_fail;
4815 }
4816 arg2 = (long) SWIG_AsLong(obj1);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 arg3 = (int) SWIG_AsInt(obj2);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4822 arg5 = (int) SWIG_AsInt(obj4);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 if (obj5) {
4825 {
4826 arg6 = &temp6;
4827 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4828 }
4829 }
4830 if (obj6) {
4831 {
4832 arg7 = &temp7;
4833 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4834 }
4835 }
4836 if (obj7) {
4837 arg8 = (long) SWIG_AsLong(obj7);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4857 long result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 resultobj = SWIG_FromLong((long)result);
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4883 wxSplashScreenWindow *result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4909 int result;
4910 PyObject * obj0 = 0 ;
4911 char *kwnames[] = {
4912 (char *) "self", NULL
4913 };
4914
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen,
4917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
4925 resultobj = SWIG_FromInt((int)result);
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4933 PyObject *obj;
4934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4935 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4936 Py_INCREF(obj);
4937 return Py_BuildValue((char *)"");
4938 }
4939 static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxWindow *arg1 = (wxWindow *) 0 ;
4942 int arg2 = (int) -1 ;
4943 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4944 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4945 wxString *arg4 = (wxString *) &arg4_defvalue ;
4946 wxStatusBar *result;
4947 bool temp4 = False ;
4948 PyObject * obj0 = 0 ;
4949 PyObject * obj1 = 0 ;
4950 PyObject * obj2 = 0 ;
4951 PyObject * obj3 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4959 if (obj1) {
4960 arg2 = (int) SWIG_AsInt(obj1);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 if (obj2) {
4964 arg3 = (long) SWIG_AsLong(obj2);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 if (obj3) {
4968 {
4969 arg4 = wxString_in_helper(obj3);
4970 if (arg4 == NULL) SWIG_fail;
4971 temp4 = True;
4972 }
4973 }
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 {
4982 resultobj = wxPyMake_wxObject(result);
4983 }
4984 {
4985 if (temp4)
4986 delete arg4;
4987 }
4988 return resultobj;
4989 fail:
4990 {
4991 if (temp4)
4992 delete arg4;
4993 }
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxStatusBar *result;
5001 char *kwnames[] = {
5002 NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (wxStatusBar *)new wxStatusBar();
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 {
5014 resultobj = wxPyMake_wxObject(result);
5015 }
5016 return resultobj;
5017 fail:
5018 return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5025 wxWindow *arg2 = (wxWindow *) 0 ;
5026 int arg3 ;
5027 long arg4 = (long) wxST_SIZEGRIP ;
5028 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5029 wxString *arg5 = (wxString *) &arg5_defvalue ;
5030 bool result;
5031 bool temp5 = False ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 PyObject * obj2 = 0 ;
5035 PyObject * obj3 = 0 ;
5036 PyObject * obj4 = 0 ;
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5046 arg3 = (int) SWIG_AsInt(obj2);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 if (obj3) {
5049 arg4 = (long) SWIG_AsLong(obj3);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 if (obj4) {
5053 {
5054 arg5 = wxString_in_helper(obj4);
5055 if (arg5 == NULL) SWIG_fail;
5056 temp5 = True;
5057 }
5058 }
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 {
5067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5068 }
5069 {
5070 if (temp5)
5071 delete arg5;
5072 }
5073 return resultobj;
5074 fail:
5075 {
5076 if (temp5)
5077 delete arg5;
5078 }
5079 return NULL;
5080 }
5081
5082
5083 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5086 int arg2 = (int) 1 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "number", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 if (obj1) {
5097 arg2 = (int) SWIG_AsInt(obj1);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SetFieldsCount(arg2);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 return resultobj;
5109 fail:
5110 return NULL;
5111 }
5112
5113
5114 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5117 int result;
5118 PyObject * obj0 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
5129
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 resultobj = SWIG_FromInt((int)result);
5134 return resultobj;
5135 fail:
5136 return NULL;
5137 }
5138
5139
5140 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject *resultobj;
5142 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5143 wxString *arg2 = 0 ;
5144 int arg3 = (int) 0 ;
5145 bool temp2 = False ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 PyObject * obj2 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "text",(char *) "number", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5156 {
5157 arg2 = wxString_in_helper(obj1);
5158 if (arg2 == NULL) SWIG_fail;
5159 temp2 = True;
5160 }
5161 if (obj2) {
5162 arg3 = (int) SWIG_AsInt(obj2);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 Py_INCREF(Py_None); resultobj = Py_None;
5173 {
5174 if (temp2)
5175 delete arg2;
5176 }
5177 return resultobj;
5178 fail:
5179 {
5180 if (temp2)
5181 delete arg2;
5182 }
5183 return NULL;
5184 }
5185
5186
5187 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5190 int arg2 = (int) 0 ;
5191 wxString result;
5192 PyObject * obj0 = 0 ;
5193 PyObject * obj1 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "self",(char *) "number", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
5199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5201 if (obj1) {
5202 arg2 = (int) SWIG_AsInt(obj1);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 {
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 }
5212 {
5213 #if wxUSE_UNICODE
5214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5215 #else
5216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5217 #endif
5218 }
5219 return resultobj;
5220 fail:
5221 return NULL;
5222 }
5223
5224
5225 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj;
5227 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5228 wxString *arg2 = 0 ;
5229 int arg3 = (int) 0 ;
5230 bool temp2 = False ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 PyObject * obj2 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "text",(char *) "number", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5241 {
5242 arg2 = wxString_in_helper(obj1);
5243 if (arg2 == NULL) SWIG_fail;
5244 temp2 = True;
5245 }
5246 if (obj2) {
5247 arg3 = (int) SWIG_AsInt(obj2);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 {
5259 if (temp2)
5260 delete arg2;
5261 }
5262 return resultobj;
5263 fail:
5264 {
5265 if (temp2)
5266 delete arg2;
5267 }
5268 return NULL;
5269 }
5270
5271
5272 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5273 PyObject *resultobj;
5274 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5275 int arg2 = (int) 0 ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self",(char *) "number", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5285 if (obj1) {
5286 arg2 = (int) SWIG_AsInt(obj1);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 (arg1)->PopStatusText(arg2);
5292
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 Py_INCREF(Py_None); resultobj = Py_None;
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj;
5305 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5306 int arg2 ;
5307 int *arg3 = (int *) 0 ;
5308 PyObject * obj0 = 0 ;
5309 PyObject * obj1 = 0 ;
5310 char *kwnames[] = {
5311 (char *) "self",(char *) "widths", NULL
5312 };
5313
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5317 {
5318 arg2 = PyList_Size(obj1);
5319 arg3 = int_LIST_helper(obj1);
5320 if (arg3 == NULL) SWIG_fail;
5321 }
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 Py_INCREF(Py_None); resultobj = Py_None;
5330 {
5331 if (arg3) delete [] arg3;
5332 }
5333 return resultobj;
5334 fail:
5335 {
5336 if (arg3) delete [] arg3;
5337 }
5338 return NULL;
5339 }
5340
5341
5342 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5345 int arg2 ;
5346 wxRect result;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "i", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5356 arg2 = (int) SWIG_AsInt(obj1);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 result = wxStatusBar_GetFieldRect(arg1,arg2);
5361
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 {
5366 wxRect * resultptr;
5367 resultptr = new wxRect((wxRect &) result);
5368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5369 }
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5379 int arg2 ;
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
5382 char *kwnames[] = {
5383 (char *) "self",(char *) "height", NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5389 arg2 = (int) SWIG_AsInt(obj1);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 (arg1)->SetMinHeight(arg2);
5394
5395 wxPyEndAllowThreads(__tstate);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 Py_INCREF(Py_None); resultobj = Py_None;
5399 return resultobj;
5400 fail:
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5408 int result;
5409 PyObject * obj0 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = SWIG_FromInt((int)result);
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5434 int result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar,
5442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_FromInt((int)result);
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5460 wxVisualAttributes result;
5461 PyObject * obj0 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "variant", NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5467 if (obj0) {
5468 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 {
5479 wxVisualAttributes * resultptr;
5480 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5482 }
5483 return resultobj;
5484 fail:
5485 return NULL;
5486 }
5487
5488
5489 static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5490 PyObject *obj;
5491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5492 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5493 Py_INCREF(obj);
5494 return Py_BuildValue((char *)"");
5495 }
5496 static int _wrap_SplitterNameStr_set(PyObject *_val) {
5497 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5498 return 1;
5499 }
5500
5501
5502 static PyObject *_wrap_SplitterNameStr_get() {
5503 PyObject *pyobj;
5504
5505 {
5506 #if wxUSE_UNICODE
5507 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5508 #else
5509 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5510 #endif
5511 }
5512 return pyobj;
5513 }
5514
5515
5516 static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxWindow *arg1 = (wxWindow *) 0 ;
5519 int arg2 = (int) -1 ;
5520 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5521 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5522 wxSize const &arg4_defvalue = wxDefaultSize ;
5523 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5524 long arg5 = (long) wxSP_3D ;
5525 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5526 wxString *arg6 = (wxString *) &arg6_defvalue ;
5527 wxSplitterWindow *result;
5528 wxPoint temp3 ;
5529 wxSize temp4 ;
5530 bool temp6 = False ;
5531 PyObject * obj0 = 0 ;
5532 PyObject * obj1 = 0 ;
5533 PyObject * obj2 = 0 ;
5534 PyObject * obj3 = 0 ;
5535 PyObject * obj4 = 0 ;
5536 PyObject * obj5 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5544 if (obj1) {
5545 arg2 = (int) SWIG_AsInt(obj1);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 if (obj2) {
5549 {
5550 arg3 = &temp3;
5551 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5552 }
5553 }
5554 if (obj3) {
5555 {
5556 arg4 = &temp4;
5557 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5558 }
5559 }
5560 if (obj4) {
5561 arg5 = (long) SWIG_AsLong(obj4);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 if (obj5) {
5565 {
5566 arg6 = wxString_in_helper(obj5);
5567 if (arg6 == NULL) SWIG_fail;
5568 temp6 = True;
5569 }
5570 }
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5579 {
5580 if (temp6)
5581 delete arg6;
5582 }
5583 return resultobj;
5584 fail:
5585 {
5586 if (temp6)
5587 delete arg6;
5588 }
5589 return NULL;
5590 }
5591
5592
5593 static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxSplitterWindow *result;
5596 char *kwnames[] = {
5597 NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (wxSplitterWindow *)new wxSplitterWindow();
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5618 wxWindow *arg2 = (wxWindow *) 0 ;
5619 int arg3 = (int) -1 ;
5620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5622 wxSize const &arg5_defvalue = wxDefaultSize ;
5623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5624 long arg6 = (long) wxSP_3D ;
5625 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5626 wxString *arg7 = (wxString *) &arg7_defvalue ;
5627 bool result;
5628 wxPoint temp4 ;
5629 wxSize temp5 ;
5630 bool temp7 = False ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 PyObject * obj2 = 0 ;
5634 PyObject * obj3 = 0 ;
5635 PyObject * obj4 = 0 ;
5636 PyObject * obj5 = 0 ;
5637 PyObject * obj6 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5647 if (obj2) {
5648 arg3 = (int) SWIG_AsInt(obj2);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 if (obj3) {
5652 {
5653 arg4 = &temp4;
5654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5655 }
5656 }
5657 if (obj4) {
5658 {
5659 arg5 = &temp5;
5660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5661 }
5662 }
5663 if (obj5) {
5664 arg6 = (long) SWIG_AsLong(obj5);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 if (obj6) {
5668 {
5669 arg7 = wxString_in_helper(obj6);
5670 if (arg7 == NULL) SWIG_fail;
5671 temp7 = True;
5672 }
5673 }
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 {
5682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5683 }
5684 {
5685 if (temp7)
5686 delete arg7;
5687 }
5688 return resultobj;
5689 fail:
5690 {
5691 if (temp7)
5692 delete arg7;
5693 }
5694 return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5701 wxWindow *result;
5702 PyObject * obj0 = 0 ;
5703 char *kwnames[] = {
5704 (char *) "self", NULL
5705 };
5706
5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 resultobj = wxPyMake_wxObject(result);
5719 }
5720 return resultobj;
5721 fail:
5722 return NULL;
5723 }
5724
5725
5726 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5727 PyObject *resultobj;
5728 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5729 wxWindow *result;
5730 PyObject * obj0 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 {
5746 resultobj = wxPyMake_wxObject(result);
5747 }
5748 return resultobj;
5749 fail:
5750 return NULL;
5751 }
5752
5753
5754 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5755 PyObject *resultobj;
5756 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5757 int arg2 ;
5758 PyObject * obj0 = 0 ;
5759 PyObject * obj1 = 0 ;
5760 char *kwnames[] = {
5761 (char *) "self",(char *) "mode", NULL
5762 };
5763
5764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5767 arg2 = (int) SWIG_AsInt(obj1);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 (arg1)->SetSplitMode(arg2);
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 Py_INCREF(Py_None); resultobj = Py_None;
5777 return resultobj;
5778 fail:
5779 return NULL;
5780 }
5781
5782
5783 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject *resultobj;
5785 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5786 int result;
5787 PyObject * obj0 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 resultobj = SWIG_FromInt((int)result);
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5812 wxWindow *arg2 = (wxWindow *) 0 ;
5813 PyObject * obj0 = 0 ;
5814 PyObject * obj1 = 0 ;
5815 char *kwnames[] = {
5816 (char *) "self",(char *) "window", NULL
5817 };
5818
5819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->Initialize(arg2);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 Py_INCREF(Py_None); resultobj = Py_None;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5841 wxWindow *arg2 = (wxWindow *) 0 ;
5842 wxWindow *arg3 = (wxWindow *) 0 ;
5843 int arg4 = (int) 0 ;
5844 bool result;
5845 PyObject * obj0 = 0 ;
5846 PyObject * obj1 = 0 ;
5847 PyObject * obj2 = 0 ;
5848 PyObject * obj3 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5858 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5860 if (obj3) {
5861 arg4 = (int) SWIG_AsInt(obj3);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 {
5872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5873 }
5874 return resultobj;
5875 fail:
5876 return NULL;
5877 }
5878
5879
5880 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5881 PyObject *resultobj;
5882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5883 wxWindow *arg2 = (wxWindow *) 0 ;
5884 wxWindow *arg3 = (wxWindow *) 0 ;
5885 int arg4 = (int) 0 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 PyObject * obj2 = 0 ;
5890 PyObject * obj3 = 0 ;
5891 char *kwnames[] = {
5892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5893 };
5894
5895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5900 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5902 if (obj3) {
5903 arg4 = (int) SWIG_AsInt(obj3);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5915 }
5916 return resultobj;
5917 fail:
5918 return NULL;
5919 }
5920
5921
5922 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5923 PyObject *resultobj;
5924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5925 wxWindow *arg2 = (wxWindow *) NULL ;
5926 bool result;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "toRemove", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5936 if (obj1) {
5937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 }
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (bool)(arg1)->Unsplit(arg2);
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 {
5948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5949 }
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5959 wxWindow *arg2 = (wxWindow *) 0 ;
5960 wxWindow *arg3 = (wxWindow *) 0 ;
5961 bool result;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
5971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5974 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
5975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 {
5984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5985 }
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5995 PyObject * obj0 = 0 ;
5996 char *kwnames[] = {
5997 (char *) "self", NULL
5998 };
5999
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
6001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 (arg1)->UpdateSize();
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 Py_INCREF(Py_None); resultobj = Py_None;
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6020 bool result;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6029 {
6030 PyThreadState* __tstate = wxPyBeginAllowThreads();
6031 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 {
6037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6038 }
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6046 PyObject *resultobj;
6047 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6048 int arg2 ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "width", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6058 arg2 = (int) SWIG_AsInt(obj1);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 (arg1)->SetSashSize(arg2);
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 Py_INCREF(Py_None); resultobj = Py_None;
6068 return resultobj;
6069 fail:
6070 return NULL;
6071 }
6072
6073
6074 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj;
6076 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6077 int arg2 ;
6078 PyObject * obj0 = 0 ;
6079 PyObject * obj1 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self",(char *) "width", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6087 arg2 = (int) SWIG_AsInt(obj1);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 (arg1)->SetBorderSize(arg2);
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 Py_INCREF(Py_None); resultobj = Py_None;
6097 return resultobj;
6098 fail:
6099 return NULL;
6100 }
6101
6102
6103 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6106 int result;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = SWIG_FromInt((int)result);
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6132 int result;
6133 PyObject * obj0 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = SWIG_FromInt((int)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6158 int arg2 ;
6159 bool arg3 = (bool) True ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 PyObject * obj2 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "position",(char *) "redraw", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 arg2 = (int) SWIG_AsInt(obj1);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 if (obj2) {
6173 arg3 = (bool) SWIG_AsBool(obj2);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->SetSashPosition(arg2,arg3);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6193 int result;
6194 PyObject * obj0 = 0 ;
6195 char *kwnames[] = {
6196 (char *) "self", NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = SWIG_FromInt((int)result);
6210 return resultobj;
6211 fail:
6212 return NULL;
6213 }
6214
6215
6216 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6219 int arg2 ;
6220 PyObject * obj0 = 0 ;
6221 PyObject * obj1 = 0 ;
6222 char *kwnames[] = {
6223 (char *) "self",(char *) "min", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
6227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6229 arg2 = (int) SWIG_AsInt(obj1);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 (arg1)->SetMinimumPaneSize(arg2);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 Py_INCREF(Py_None); resultobj = Py_None;
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6248 int result;
6249 PyObject * obj0 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 resultobj = SWIG_FromInt((int)result);
6265 return resultobj;
6266 fail:
6267 return NULL;
6268 }
6269
6270
6271 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj;
6273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6274 int arg2 ;
6275 int arg3 ;
6276 int arg4 = (int) 5 ;
6277 bool result;
6278 PyObject * obj0 = 0 ;
6279 PyObject * obj1 = 0 ;
6280 PyObject * obj2 = 0 ;
6281 PyObject * obj3 = 0 ;
6282 char *kwnames[] = {
6283 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6284 };
6285
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6289 arg2 = (int) SWIG_AsInt(obj1);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 arg3 = (int) SWIG_AsInt(obj2);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 if (obj3) {
6294 arg4 = (int) SWIG_AsInt(obj3);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 {
6305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6306 }
6307 return resultobj;
6308 fail:
6309 return NULL;
6310 }
6311
6312
6313 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject *resultobj;
6315 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6316 PyObject * obj0 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "self", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 (arg1)->SizeWindows();
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 Py_INCREF(Py_None); resultobj = Py_None;
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6341 bool arg2 ;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self",(char *) "needUpdating", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6351 arg2 = (bool) SWIG_AsBool(obj1);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 (arg1)->SetNeedUpdating(arg2);
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 Py_INCREF(Py_None); resultobj = Py_None;
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6370 bool result;
6371 PyObject * obj0 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "self", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow,
6378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6382
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 {
6387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6388 }
6389 return resultobj;
6390 fail:
6391 return NULL;
6392 }
6393
6394
6395 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6398 wxVisualAttributes result;
6399 PyObject * obj0 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "variant", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6405 if (obj0) {
6406 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 {
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
6412
6413 wxPyEndAllowThreads(__tstate);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
6416 {
6417 wxVisualAttributes * resultptr;
6418 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6420 }
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6428 PyObject *obj;
6429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6430 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6431 Py_INCREF(obj);
6432 return Py_BuildValue((char *)"");
6433 }
6434 static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6437 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6438 wxSplitterEvent *result;
6439 PyObject * obj0 = 0 ;
6440 PyObject * obj1 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "type",(char *) "splitter", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6446 if (obj0) {
6447 arg1 = (wxEventType) SWIG_AsInt(obj0);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 if (obj1) {
6451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6471 int arg2 ;
6472 PyObject * obj0 = 0 ;
6473 PyObject * obj1 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self",(char *) "pos", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6481 arg2 = (int) SWIG_AsInt(obj1);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 (arg1)->SetSashPosition(arg2);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 Py_INCREF(Py_None); resultobj = Py_None;
6491 return resultobj;
6492 fail:
6493 return NULL;
6494 }
6495
6496
6497 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6500 int result;
6501 PyObject * obj0 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "self", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = SWIG_FromInt((int)result);
6517 return resultobj;
6518 fail:
6519 return NULL;
6520 }
6521
6522
6523 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj;
6525 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6526 wxWindow *result;
6527 PyObject * obj0 = 0 ;
6528 char *kwnames[] = {
6529 (char *) "self", NULL
6530 };
6531
6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6535 {
6536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6537 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 {
6543 resultobj = wxPyMake_wxObject(result);
6544 }
6545 return resultobj;
6546 fail:
6547 return NULL;
6548 }
6549
6550
6551 static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6554 int result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 resultobj = SWIG_FromInt((int)result);
6571 return resultobj;
6572 fail:
6573 return NULL;
6574 }
6575
6576
6577 static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj;
6579 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6580 int result;
6581 PyObject * obj0 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent,
6588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6589 {
6590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6591 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6592
6593 wxPyEndAllowThreads(__tstate);
6594 if (PyErr_Occurred()) SWIG_fail;
6595 }
6596 resultobj = SWIG_FromInt((int)result);
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6604 PyObject *obj;
6605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6606 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6607 Py_INCREF(obj);
6608 return Py_BuildValue((char *)"");
6609 }
6610 static int _wrap_SashNameStr_set(PyObject *_val) {
6611 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6612 return 1;
6613 }
6614
6615
6616 static PyObject *_wrap_SashNameStr_get() {
6617 PyObject *pyobj;
6618
6619 {
6620 #if wxUSE_UNICODE
6621 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6622 #else
6623 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6624 #endif
6625 }
6626 return pyobj;
6627 }
6628
6629
6630 static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
6631 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6632 return 1;
6633 }
6634
6635
6636 static PyObject *_wrap_SashLayoutNameStr_get() {
6637 PyObject *pyobj;
6638
6639 {
6640 #if wxUSE_UNICODE
6641 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6642 #else
6643 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6644 #endif
6645 }
6646 return pyobj;
6647 }
6648
6649
6650 static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxWindow *arg1 = (wxWindow *) 0 ;
6653 int arg2 ;
6654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6656 wxSize const &arg4_defvalue = wxDefaultSize ;
6657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6658 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6659 wxString const &arg6_defvalue = wxPySashNameStr ;
6660 wxString *arg6 = (wxString *) &arg6_defvalue ;
6661 wxSashWindow *result;
6662 wxPoint temp3 ;
6663 wxSize temp4 ;
6664 bool temp6 = False ;
6665 PyObject * obj0 = 0 ;
6666 PyObject * obj1 = 0 ;
6667 PyObject * obj2 = 0 ;
6668 PyObject * obj3 = 0 ;
6669 PyObject * obj4 = 0 ;
6670 PyObject * obj5 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6673 };
6674
6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6678 arg2 = (int) SWIG_AsInt(obj1);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 if (obj2) {
6681 {
6682 arg3 = &temp3;
6683 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6684 }
6685 }
6686 if (obj3) {
6687 {
6688 arg4 = &temp4;
6689 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6690 }
6691 }
6692 if (obj4) {
6693 arg5 = (long) SWIG_AsLong(obj4);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 if (obj5) {
6697 {
6698 arg6 = wxString_in_helper(obj5);
6699 if (arg6 == NULL) SWIG_fail;
6700 temp6 = True;
6701 }
6702 }
6703 {
6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
6705 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6706
6707 wxPyEndAllowThreads(__tstate);
6708 if (PyErr_Occurred()) SWIG_fail;
6709 }
6710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6711 {
6712 if (temp6)
6713 delete arg6;
6714 }
6715 return resultobj;
6716 fail:
6717 {
6718 if (temp6)
6719 delete arg6;
6720 }
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxSashWindow *result;
6728 char *kwnames[] = {
6729 NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 result = (wxSashWindow *)new wxSashWindow();
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
6741 return resultobj;
6742 fail:
6743 return NULL;
6744 }
6745
6746
6747 static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject *resultobj;
6749 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6750 wxWindow *arg2 = (wxWindow *) 0 ;
6751 int arg3 ;
6752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6754 wxSize const &arg5_defvalue = wxDefaultSize ;
6755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6756 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6757 wxString const &arg7_defvalue = wxPySashNameStr ;
6758 wxString *arg7 = (wxString *) &arg7_defvalue ;
6759 bool result;
6760 wxPoint temp4 ;
6761 wxSize temp5 ;
6762 bool temp7 = False ;
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
6765 PyObject * obj2 = 0 ;
6766 PyObject * obj3 = 0 ;
6767 PyObject * obj4 = 0 ;
6768 PyObject * obj5 = 0 ;
6769 PyObject * obj6 = 0 ;
6770 char *kwnames[] = {
6771 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6772 };
6773
6774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6779 arg3 = (int) SWIG_AsInt(obj2);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 if (obj3) {
6782 {
6783 arg4 = &temp4;
6784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6785 }
6786 }
6787 if (obj4) {
6788 {
6789 arg5 = &temp5;
6790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6791 }
6792 }
6793 if (obj5) {
6794 arg6 = (long) SWIG_AsLong(obj5);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 if (obj6) {
6798 {
6799 arg7 = wxString_in_helper(obj6);
6800 if (arg7 == NULL) SWIG_fail;
6801 temp7 = True;
6802 }
6803 }
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 {
6812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6813 }
6814 {
6815 if (temp7)
6816 delete arg7;
6817 }
6818 return resultobj;
6819 fail:
6820 {
6821 if (temp7)
6822 delete arg7;
6823 }
6824 return NULL;
6825 }
6826
6827
6828 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6831 int arg2 ;
6832 bool arg3 ;
6833 PyObject * obj0 = 0 ;
6834 PyObject * obj1 = 0 ;
6835 PyObject * obj2 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "edge",(char *) "sash", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6843 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 arg3 = (bool) SWIG_AsBool(obj2);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 Py_INCREF(Py_None); resultobj = Py_None;
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6864 int arg2 ;
6865 bool result;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "edge", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6875 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 {
6885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6896 int arg2 ;
6897 bool arg3 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 PyObject * obj2 = 0 ;
6901 char *kwnames[] = {
6902 (char *) "self",(char *) "edge",(char *) "border", NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6908 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 arg3 = (bool) SWIG_AsBool(obj2);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 Py_INCREF(Py_None); resultobj = Py_None;
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6929 int arg2 ;
6930 bool result;
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self",(char *) "edge", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6940 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6945
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 {
6950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6951 }
6952 return resultobj;
6953 fail:
6954 return NULL;
6955 }
6956
6957
6958 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj;
6960 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6961 int arg2 ;
6962 int result;
6963 PyObject * obj0 = 0 ;
6964 PyObject * obj1 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self",(char *) "edge", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
6971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6972 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_FromInt((int)result);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6991 int arg2 ;
6992 PyObject * obj0 = 0 ;
6993 PyObject * obj1 = 0 ;
6994 char *kwnames[] = {
6995 (char *) "self",(char *) "width", NULL
6996 };
6997
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7001 arg2 = (int) SWIG_AsInt(obj1);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetDefaultBorderSize(arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7020 int result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = SWIG_FromInt((int)result);
7037 return resultobj;
7038 fail:
7039 return NULL;
7040 }
7041
7042
7043 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7046 int arg2 ;
7047 PyObject * obj0 = 0 ;
7048 PyObject * obj1 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self",(char *) "width", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
7054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7056 arg2 = (int) SWIG_AsInt(obj1);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 (arg1)->SetExtraBorderSize(arg2);
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 Py_INCREF(Py_None); resultobj = Py_None;
7066 return resultobj;
7067 fail:
7068 return NULL;
7069 }
7070
7071
7072 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7075 int result;
7076 PyObject * obj0 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 resultobj = SWIG_FromInt((int)result);
7092 return resultobj;
7093 fail:
7094 return NULL;
7095 }
7096
7097
7098 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7101 int arg2 ;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "min", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7111 arg2 = (int) SWIG_AsInt(obj1);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->SetMinimumSizeX(arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7130 int arg2 ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "min", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7140 arg2 = (int) SWIG_AsInt(obj1);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 (arg1)->SetMinimumSizeY(arg2);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 Py_INCREF(Py_None); resultobj = Py_None;
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7159 int result;
7160 PyObject * obj0 = 0 ;
7161 char *kwnames[] = {
7162 (char *) "self", NULL
7163 };
7164
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
7166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 resultobj = SWIG_FromInt((int)result);
7176 return resultobj;
7177 fail:
7178 return NULL;
7179 }
7180
7181
7182 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj;
7184 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7185 int result;
7186 PyObject * obj0 = 0 ;
7187 char *kwnames[] = {
7188 (char *) "self", NULL
7189 };
7190
7191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
7192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = SWIG_FromInt((int)result);
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj;
7210 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7211 int arg2 ;
7212 PyObject * obj0 = 0 ;
7213 PyObject * obj1 = 0 ;
7214 char *kwnames[] = {
7215 (char *) "self",(char *) "max", NULL
7216 };
7217
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
7219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7221 arg2 = (int) SWIG_AsInt(obj1);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 {
7224 PyThreadState* __tstate = wxPyBeginAllowThreads();
7225 (arg1)->SetMaximumSizeX(arg2);
7226
7227 wxPyEndAllowThreads(__tstate);
7228 if (PyErr_Occurred()) SWIG_fail;
7229 }
7230 Py_INCREF(Py_None); resultobj = Py_None;
7231 return resultobj;
7232 fail:
7233 return NULL;
7234 }
7235
7236
7237 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7238 PyObject *resultobj;
7239 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7240 int arg2 ;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char *kwnames[] = {
7244 (char *) "self",(char *) "max", NULL
7245 };
7246
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
7248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7250 arg2 = (int) SWIG_AsInt(obj1);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 (arg1)->SetMaximumSizeY(arg2);
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7269 int result;
7270 PyObject * obj0 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "self", NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
7276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
7281
7282 wxPyEndAllowThreads(__tstate);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 }
7285 resultobj = SWIG_FromInt((int)result);
7286 return resultobj;
7287 fail:
7288 return NULL;
7289 }
7290
7291
7292 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7295 int result;
7296 PyObject * obj0 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_FromInt((int)result);
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7321 int arg2 ;
7322 int arg3 ;
7323 int arg4 = (int) 2 ;
7324 int result;
7325 PyObject * obj0 = 0 ;
7326 PyObject * obj1 = 0 ;
7327 PyObject * obj2 = 0 ;
7328 PyObject * obj3 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 arg2 = (int) SWIG_AsInt(obj1);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 arg3 = (int) SWIG_AsInt(obj2);
7339 if (PyErr_Occurred()) SWIG_fail;
7340 if (obj3) {
7341 arg4 = (int) SWIG_AsInt(obj3);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 resultobj = SWIG_FromInt((int)result);
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7361 PyObject * obj0 = 0 ;
7362 char *kwnames[] = {
7363 (char *) "self", NULL
7364 };
7365
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow,
7368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 (arg1)->SizeWindows();
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 Py_INCREF(Py_None); resultobj = Py_None;
7377 return resultobj;
7378 fail:
7379 return NULL;
7380 }
7381
7382
7383 static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7384 PyObject *obj;
7385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7386 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7387 Py_INCREF(obj);
7388 return Py_BuildValue((char *)"");
7389 }
7390 static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 int arg1 = (int) 0 ;
7393 int arg2 = (int) wxSASH_NONE ;
7394 wxSashEvent *result;
7395 PyObject * obj0 = 0 ;
7396 PyObject * obj1 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "id",(char *) "edge", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7402 if (obj0) {
7403 arg1 = (int) SWIG_AsInt(obj0);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 if (obj1) {
7407 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7427 int arg2 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self",(char *) "edge", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7437 arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 Py_INCREF(Py_None); resultobj = Py_None;
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7456 int result;
7457 PyObject * obj0 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "self", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7468
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_FromInt((int)result);
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7482 wxRect *arg2 = 0 ;
7483 wxRect temp2 ;
7484 PyObject * obj0 = 0 ;
7485 PyObject * obj1 = 0 ;
7486 char *kwnames[] = {
7487 (char *) "self",(char *) "rect", NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7493 {
7494 arg2 = &temp2;
7495 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->SetDragRect((wxRect const &)*arg2);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 return resultobj;
7506 fail:
7507 return NULL;
7508 }
7509
7510
7511 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj;
7513 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7514 wxRect result;
7515 PyObject * obj0 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "self", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = ((wxSashEvent const *)arg1)->GetDragRect();
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 {
7531 wxRect * resultptr;
7532 resultptr = new wxRect((wxRect &) result);
7533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7534 }
7535 return resultobj;
7536 fail:
7537 return NULL;
7538 }
7539
7540
7541 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7542 PyObject *resultobj;
7543 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7544 int arg2 ;
7545 PyObject * obj0 = 0 ;
7546 PyObject * obj1 = 0 ;
7547 char *kwnames[] = {
7548 (char *) "self",(char *) "status", NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7554 arg2 = (wxSashDragStatus) SWIG_AsInt(obj1);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 Py_INCREF(Py_None); resultobj = Py_None;
7564 return resultobj;
7565 fail:
7566 return NULL;
7567 }
7568
7569
7570 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj;
7572 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7573 int result;
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent,
7581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 resultobj = SWIG_FromInt((int)result);
7590 return resultobj;
7591 fail:
7592 return NULL;
7593 }
7594
7595
7596 static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7597 PyObject *obj;
7598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7599 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7600 Py_INCREF(obj);
7601 return Py_BuildValue((char *)"");
7602 }
7603 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 int arg1 = (int) 0 ;
7606 wxQueryLayoutInfoEvent *result;
7607 PyObject * obj0 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "id", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7613 if (obj0) {
7614 arg1 = (int) SWIG_AsInt(obj0);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7634 int arg2 ;
7635 PyObject * obj0 = 0 ;
7636 PyObject * obj1 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self",(char *) "length", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7644 arg2 = (int) SWIG_AsInt(obj1);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->SetRequestedLength(arg2);
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7663 int result;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 resultobj = SWIG_FromInt((int)result);
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7689 int arg2 ;
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "flags", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7699 arg2 = (int) SWIG_AsInt(obj1);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->SetFlags(arg2);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7718 int result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 resultobj = SWIG_FromInt((int)result);
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7744 wxSize *arg2 = 0 ;
7745 wxSize temp2 ;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self",(char *) "size", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7755 {
7756 arg2 = &temp2;
7757 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7758 }
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 (arg1)->SetSize((wxSize const &)*arg2);
7762
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 Py_INCREF(Py_None); resultobj = Py_None;
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7776 wxSize result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 wxSize * resultptr;
7794 resultptr = new wxSize((wxSize &) result);
7795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7796 }
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7806 int arg2 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char *kwnames[] = {
7810 (char *) "self",(char *) "orient", NULL
7811 };
7812
7813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7816 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7835 int result;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = SWIG_FromInt((int)result);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7861 int arg2 ;
7862 PyObject * obj0 = 0 ;
7863 PyObject * obj1 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self",(char *) "align", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7871 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7876
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
7880 Py_INCREF(Py_None); resultobj = Py_None;
7881 return resultobj;
7882 fail:
7883 return NULL;
7884 }
7885
7886
7887 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7888 PyObject *resultobj;
7889 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7890 int result;
7891 PyObject * obj0 = 0 ;
7892 char *kwnames[] = {
7893 (char *) "self", NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent,
7898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 resultobj = SWIG_FromInt((int)result);
7907 return resultobj;
7908 fail:
7909 return NULL;
7910 }
7911
7912
7913 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7914 PyObject *obj;
7915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7916 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7917 Py_INCREF(obj);
7918 return Py_BuildValue((char *)"");
7919 }
7920 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7921 PyObject *resultobj;
7922 int arg1 = (int) 0 ;
7923 wxCalculateLayoutEvent *result;
7924 PyObject * obj0 = 0 ;
7925 char *kwnames[] = {
7926 (char *) "id", NULL
7927 };
7928
7929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7930 if (obj0) {
7931 arg1 = (int) SWIG_AsInt(obj0);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7942 return resultobj;
7943 fail:
7944 return NULL;
7945 }
7946
7947
7948 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj;
7950 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7951 int arg2 ;
7952 PyObject * obj0 = 0 ;
7953 PyObject * obj1 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self",(char *) "flags", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7961 arg2 = (int) SWIG_AsInt(obj1);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 (arg1)->SetFlags(arg2);
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 Py_INCREF(Py_None); resultobj = Py_None;
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7980 int result;
7981 PyObject * obj0 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_FromInt((int)result);
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8006 wxRect *arg2 = 0 ;
8007 wxRect temp2 ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self",(char *) "rect", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8017 {
8018 arg2 = &temp2;
8019 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8020 }
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 (arg1)->SetRect((wxRect const &)*arg2);
8024
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 Py_INCREF(Py_None); resultobj = Py_None;
8029 return resultobj;
8030 fail:
8031 return NULL;
8032 }
8033
8034
8035 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj;
8037 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
8038 wxRect result;
8039 PyObject * obj0 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
8045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent,
8046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 {
8055 wxRect * resultptr;
8056 resultptr = new wxRect((wxRect &) result);
8057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
8058 }
8059 return resultobj;
8060 fail:
8061 return NULL;
8062 }
8063
8064
8065 static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
8066 PyObject *obj;
8067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8068 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
8069 Py_INCREF(obj);
8070 return Py_BuildValue((char *)"");
8071 }
8072 static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxWindow *arg1 = (wxWindow *) 0 ;
8075 int arg2 ;
8076 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8077 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8078 wxSize const &arg4_defvalue = wxDefaultSize ;
8079 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8080 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8081 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
8082 wxString *arg6 = (wxString *) &arg6_defvalue ;
8083 wxSashLayoutWindow *result;
8084 wxPoint temp3 ;
8085 wxSize temp4 ;
8086 bool temp6 = False ;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 PyObject * obj2 = 0 ;
8090 PyObject * obj3 = 0 ;
8091 PyObject * obj4 = 0 ;
8092 PyObject * obj5 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8100 arg2 = (int) SWIG_AsInt(obj1);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 if (obj2) {
8103 {
8104 arg3 = &temp3;
8105 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8106 }
8107 }
8108 if (obj3) {
8109 {
8110 arg4 = &temp4;
8111 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8112 }
8113 }
8114 if (obj4) {
8115 arg5 = (long) SWIG_AsLong(obj4);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 if (obj5) {
8119 {
8120 arg6 = wxString_in_helper(obj5);
8121 if (arg6 == NULL) SWIG_fail;
8122 temp6 = True;
8123 }
8124 }
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8133 {
8134 if (temp6)
8135 delete arg6;
8136 }
8137 return resultobj;
8138 fail:
8139 {
8140 if (temp6)
8141 delete arg6;
8142 }
8143 return NULL;
8144 }
8145
8146
8147 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxSashLayoutWindow *result;
8150 char *kwnames[] = {
8151 NULL
8152 };
8153
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
8163 return resultobj;
8164 fail:
8165 return NULL;
8166 }
8167
8168
8169 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8172 wxWindow *arg2 = (wxWindow *) 0 ;
8173 int arg3 ;
8174 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8175 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8176 wxSize const &arg5_defvalue = wxDefaultSize ;
8177 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8178 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8179 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
8180 wxString *arg7 = (wxString *) &arg7_defvalue ;
8181 bool result;
8182 wxPoint temp4 ;
8183 wxSize temp5 ;
8184 bool temp7 = False ;
8185 PyObject * obj0 = 0 ;
8186 PyObject * obj1 = 0 ;
8187 PyObject * obj2 = 0 ;
8188 PyObject * obj3 = 0 ;
8189 PyObject * obj4 = 0 ;
8190 PyObject * obj5 = 0 ;
8191 PyObject * obj6 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8201 arg3 = (int) SWIG_AsInt(obj2);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 if (obj3) {
8204 {
8205 arg4 = &temp4;
8206 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8207 }
8208 }
8209 if (obj4) {
8210 {
8211 arg5 = &temp5;
8212 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8213 }
8214 }
8215 if (obj5) {
8216 arg6 = (long) SWIG_AsLong(obj5);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 if (obj6) {
8220 {
8221 arg7 = wxString_in_helper(obj6);
8222 if (arg7 == NULL) SWIG_fail;
8223 temp7 = True;
8224 }
8225 }
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 {
8234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8235 }
8236 {
8237 if (temp7)
8238 delete arg7;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp7)
8244 delete arg7;
8245 }
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8253 int result;
8254 PyObject * obj0 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 result = (int)(arg1)->GetAlignment();
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 resultobj = SWIG_FromInt((int)result);
8270 return resultobj;
8271 fail:
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8279 int result;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
8286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 result = (int)(arg1)->GetOrientation();
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 }
8295 resultobj = SWIG_FromInt((int)result);
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject *resultobj;
8304 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8305 int arg2 ;
8306 PyObject * obj0 = 0 ;
8307 PyObject * obj1 = 0 ;
8308 char *kwnames[] = {
8309 (char *) "self",(char *) "alignment", NULL
8310 };
8311
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8315 arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 Py_INCREF(Py_None); resultobj = Py_None;
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8334 wxSize *arg2 = 0 ;
8335 wxSize temp2 ;
8336 PyObject * obj0 = 0 ;
8337 PyObject * obj1 = 0 ;
8338 char *kwnames[] = {
8339 (char *) "self",(char *) "size", NULL
8340 };
8341
8342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8345 {
8346 arg2 = &temp2;
8347 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8348 }
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 Py_INCREF(Py_None); resultobj = Py_None;
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj;
8365 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8366 int arg2 ;
8367 PyObject * obj0 = 0 ;
8368 PyObject * obj1 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "orientation", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 Py_INCREF(Py_None); resultobj = Py_None;
8386 return resultobj;
8387 fail:
8388 return NULL;
8389 }
8390
8391
8392 static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8393 PyObject *obj;
8394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8395 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8396 Py_INCREF(obj);
8397 return Py_BuildValue((char *)"");
8398 }
8399 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxLayoutAlgorithm *result;
8402 char *kwnames[] = {
8403 NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8424 PyObject * obj0 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 delete arg1;
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 Py_INCREF(Py_None); resultobj = Py_None;
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8449 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8450 wxRect *arg3 = (wxRect *) NULL ;
8451 bool result;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj2 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "self",(char *) "frame",(char *) "rect", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8464 if (obj2) {
8465 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8467 }
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 {
8476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8477 }
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8487 wxFrame *arg2 = (wxFrame *) 0 ;
8488 wxWindow *arg3 = (wxWindow *) NULL ;
8489 bool result;
8490 PyObject * obj0 = 0 ;
8491 PyObject * obj1 = 0 ;
8492 PyObject * obj2 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
8501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8502 if (obj2) {
8503 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
8514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8515 }
8516 return resultobj;
8517 fail:
8518 return NULL;
8519 }
8520
8521
8522 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj;
8524 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8525 wxWindow *arg2 = (wxWindow *) 0 ;
8526 wxWindow *arg3 = (wxWindow *) NULL ;
8527 bool result;
8528 PyObject * obj0 = 0 ;
8529 PyObject * obj1 = 0 ;
8530 PyObject * obj2 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm,
8537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8540 if (obj2) {
8541 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
8542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 {
8552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8553 }
8554 return resultobj;
8555 fail:
8556 return NULL;
8557 }
8558
8559
8560 static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8561 PyObject *obj;
8562 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8563 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8564 Py_INCREF(obj);
8565 return Py_BuildValue((char *)"");
8566 }
8567 static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj;
8569 wxWindow *arg1 = (wxWindow *) 0 ;
8570 int arg2 = (int) wxBORDER_NONE ;
8571 wxPopupWindow *result;
8572 PyObject * obj0 = 0 ;
8573 PyObject * obj1 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "parent",(char *) "flags", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8581 if (obj1) {
8582 arg2 = (int) SWIG_AsInt(obj1);
8583 if (PyErr_Occurred()) SWIG_fail;
8584 }
8585 {
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8588
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj;
8601 wxPopupWindow *result;
8602 char *kwnames[] = {
8603 NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8607 {
8608 PyThreadState* __tstate = wxPyBeginAllowThreads();
8609 result = (wxPopupWindow *)new wxPopupWindow();
8610
8611 wxPyEndAllowThreads(__tstate);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 }
8614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
8615 return resultobj;
8616 fail:
8617 return NULL;
8618 }
8619
8620
8621 static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj;
8623 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8624 wxWindow *arg2 = (wxWindow *) 0 ;
8625 int arg3 = (int) wxBORDER_NONE ;
8626 bool result;
8627 PyObject * obj0 = 0 ;
8628 PyObject * obj1 = 0 ;
8629 PyObject * obj2 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "parent",(char *) "flags", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8639 if (obj2) {
8640 arg3 = (int) SWIG_AsInt(obj2);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (bool)(arg1)->Create(arg2,arg3);
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 {
8651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8652 }
8653 return resultobj;
8654 fail:
8655 return NULL;
8656 }
8657
8658
8659 static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8660 PyObject *resultobj;
8661 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8662 wxPoint *arg2 = 0 ;
8663 wxSize *arg3 = 0 ;
8664 wxPoint temp2 ;
8665 wxSize temp3 ;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 PyObject * obj2 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow,
8675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8676 {
8677 arg2 = &temp2;
8678 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8679 }
8680 {
8681 arg3 = &temp3;
8682 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 Py_INCREF(Py_None); resultobj = Py_None;
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8699 PyObject *obj;
8700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8701 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8702 Py_INCREF(obj);
8703 return Py_BuildValue((char *)"");
8704 }
8705 static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8706 PyObject *resultobj;
8707 wxWindow *arg1 = (wxWindow *) 0 ;
8708 int arg2 = (int) wxBORDER_NONE ;
8709 wxPyPopupTransientWindow *result;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "parent",(char *) "style", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8719 if (obj1) {
8720 arg2 = (int) SWIG_AsInt(obj1);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 wxPyPopupTransientWindow *result;
8740 char *kwnames[] = {
8741 NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8753 return resultobj;
8754 fail:
8755 return NULL;
8756 }
8757
8758
8759 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj;
8761 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8762 PyObject *arg2 = (PyObject *) 0 ;
8763 PyObject *arg3 = (PyObject *) 0 ;
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 PyObject * obj2 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self",(char *) "self",(char *) "_class", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8774 arg2 = obj1;
8775 arg3 = obj2;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 (arg1)->_setCallbackInfo(arg2,arg3);
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 Py_INCREF(Py_None); resultobj = Py_None;
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8793 wxWindow *arg2 = (wxWindow *) NULL ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self",(char *) "focus", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8803 if (obj1) {
8804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->Popup(arg2);
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 Py_INCREF(Py_None); resultobj = Py_None;
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8824 PyObject * obj0 = 0 ;
8825 char *kwnames[] = {
8826 (char *) "self", NULL
8827 };
8828
8829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow,
8831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8832 {
8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
8834 (arg1)->Dismiss();
8835
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 Py_INCREF(Py_None); resultobj = Py_None;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8847 PyObject *obj;
8848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8849 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8850 Py_INCREF(obj);
8851 return Py_BuildValue((char *)"");
8852 }
8853 static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxWindow *arg1 = (wxWindow *) 0 ;
8856 wxString *arg2 = 0 ;
8857 int arg3 = (int) 100 ;
8858 wxRect *arg4 = (wxRect *) NULL ;
8859 wxTipWindow *result;
8860 bool temp2 = False ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 PyObject * obj2 = 0 ;
8864 PyObject * obj3 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8872 {
8873 arg2 = wxString_in_helper(obj1);
8874 if (arg2 == NULL) SWIG_fail;
8875 temp2 = True;
8876 }
8877 if (obj2) {
8878 arg3 = (int) SWIG_AsInt(obj2);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 if (obj3) {
8882 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
8883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8884 }
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
8893 {
8894 if (temp2)
8895 delete arg2;
8896 }
8897 return resultobj;
8898 fail:
8899 {
8900 if (temp2)
8901 delete arg2;
8902 }
8903 return NULL;
8904 }
8905
8906
8907 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject *resultobj;
8909 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8910 wxRect *arg2 = 0 ;
8911 wxRect temp2 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "rectBound", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8921 {
8922 arg2 = &temp2;
8923 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8924 }
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 Py_INCREF(Py_None); resultobj = Py_None;
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8942 PyObject * obj0 = 0 ;
8943 char *kwnames[] = {
8944 (char *) "self", NULL
8945 };
8946
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow,
8949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8950 {
8951 PyThreadState* __tstate = wxPyBeginAllowThreads();
8952 (arg1)->Close();
8953
8954 wxPyEndAllowThreads(__tstate);
8955 if (PyErr_Occurred()) SWIG_fail;
8956 }
8957 Py_INCREF(Py_None); resultobj = Py_None;
8958 return resultobj;
8959 fail:
8960 return NULL;
8961 }
8962
8963
8964 static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8965 PyObject *obj;
8966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8967 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8968 Py_INCREF(obj);
8969 return Py_BuildValue((char *)"");
8970 }
8971 static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxWindow *arg1 = (wxWindow *) 0 ;
8974 int arg2 = (int) wxID_ANY ;
8975 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8976 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8977 wxSize const &arg4_defvalue = wxDefaultSize ;
8978 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8979 long arg5 = (long) 0 ;
8980 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8981 wxString *arg6 = (wxString *) &arg6_defvalue ;
8982 wxPyVScrolledWindow *result;
8983 wxPoint temp3 ;
8984 wxSize temp4 ;
8985 bool temp6 = False ;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 PyObject * obj2 = 0 ;
8989 PyObject * obj3 = 0 ;
8990 PyObject * obj4 = 0 ;
8991 PyObject * obj5 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8999 if (obj1) {
9000 arg2 = (int) SWIG_AsInt(obj1);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 if (obj2) {
9004 {
9005 arg3 = &temp3;
9006 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9007 }
9008 }
9009 if (obj3) {
9010 {
9011 arg4 = &temp4;
9012 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9013 }
9014 }
9015 if (obj4) {
9016 arg5 = (long) SWIG_AsLong(obj4);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 if (obj5) {
9020 {
9021 arg6 = wxString_in_helper(obj5);
9022 if (arg6 == NULL) SWIG_fail;
9023 temp6 = True;
9024 }
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9034 {
9035 if (temp6)
9036 delete arg6;
9037 }
9038 return resultobj;
9039 fail:
9040 {
9041 if (temp6)
9042 delete arg6;
9043 }
9044 return NULL;
9045 }
9046
9047
9048 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxPyVScrolledWindow *result;
9051 char *kwnames[] = {
9052 NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
9059
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9073 PyObject *arg2 = (PyObject *) 0 ;
9074 PyObject *arg3 = (PyObject *) 0 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "self",(char *) "_class", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9085 arg2 = obj1;
9086 arg3 = obj2;
9087 {
9088 PyThreadState* __tstate = wxPyBeginAllowThreads();
9089 (arg1)->_setCallbackInfo(arg2,arg3);
9090
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 Py_INCREF(Py_None); resultobj = Py_None;
9095 return resultobj;
9096 fail:
9097 return NULL;
9098 }
9099
9100
9101 static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9104 wxWindow *arg2 = (wxWindow *) 0 ;
9105 int arg3 = (int) wxID_ANY ;
9106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9108 wxSize const &arg5_defvalue = wxDefaultSize ;
9109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9110 long arg6 = (long) 0 ;
9111 wxString const &arg7_defvalue = wxPyPanelNameStr ;
9112 wxString *arg7 = (wxString *) &arg7_defvalue ;
9113 bool result;
9114 wxPoint temp4 ;
9115 wxSize temp5 ;
9116 bool temp7 = False ;
9117 PyObject * obj0 = 0 ;
9118 PyObject * obj1 = 0 ;
9119 PyObject * obj2 = 0 ;
9120 PyObject * obj3 = 0 ;
9121 PyObject * obj4 = 0 ;
9122 PyObject * obj5 = 0 ;
9123 PyObject * obj6 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9133 if (obj2) {
9134 arg3 = (int) SWIG_AsInt(obj2);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 if (obj3) {
9138 {
9139 arg4 = &temp4;
9140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9141 }
9142 }
9143 if (obj4) {
9144 {
9145 arg5 = &temp5;
9146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9147 }
9148 }
9149 if (obj5) {
9150 arg6 = (long) SWIG_AsLong(obj5);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 if (obj6) {
9154 {
9155 arg7 = wxString_in_helper(obj6);
9156 if (arg7 == NULL) SWIG_fail;
9157 temp7 = True;
9158 }
9159 }
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 {
9168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9169 }
9170 {
9171 if (temp7)
9172 delete arg7;
9173 }
9174 return resultobj;
9175 fail:
9176 {
9177 if (temp7)
9178 delete arg7;
9179 }
9180 return NULL;
9181 }
9182
9183
9184 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9187 size_t arg2 ;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "count", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9197 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 (arg1)->SetLineCount(arg2);
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 Py_INCREF(Py_None); resultobj = Py_None;
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9216 size_t arg2 ;
9217 bool result;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self",(char *) "line", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
9225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9227 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 result = (bool)(arg1)->ScrollToLine(arg2);
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 {
9237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9238 }
9239 return resultobj;
9240 fail:
9241 return NULL;
9242 }
9243
9244
9245 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject *resultobj;
9247 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9248 int arg2 ;
9249 bool result;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 char *kwnames[] = {
9253 (char *) "self",(char *) "lines", NULL
9254 };
9255
9256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",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 = (int) SWIG_AsInt(obj1);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (bool)(arg1)->ScrollLines(arg2);
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 {
9269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9270 }
9271 return resultobj;
9272 fail:
9273 return NULL;
9274 }
9275
9276
9277 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9280 int arg2 ;
9281 bool result;
9282 PyObject * obj0 = 0 ;
9283 PyObject * obj1 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self",(char *) "pages", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9291 arg2 = (int) SWIG_AsInt(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (bool)(arg1)->ScrollPages(arg2);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 {
9301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9302 }
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9312 size_t arg2 ;
9313 PyObject * obj0 = 0 ;
9314 PyObject * obj1 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self",(char *) "line", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9322 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9323 if (PyErr_Occurred()) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->RefreshLine(arg2);
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9341 size_t arg2 ;
9342 size_t arg3 ;
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 PyObject * obj2 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "self",(char *) "from",(char *) "to", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9353 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->RefreshLines(arg2,arg3);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 Py_INCREF(Py_None); resultobj = Py_None;
9365 return resultobj;
9366 fail:
9367 return NULL;
9368 }
9369
9370
9371 static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject *resultobj;
9373 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9374 int arg2 ;
9375 int arg3 ;
9376 int result;
9377 PyObject * obj0 = 0 ;
9378 PyObject * obj1 = 0 ;
9379 PyObject * obj2 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self",(char *) "x",(char *) "y", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9387 arg2 = (int) SWIG_AsInt(obj1);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 arg3 = (int) SWIG_AsInt(obj2);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_FromInt((int)result);
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9408 wxPoint *arg2 = 0 ;
9409 int result;
9410 wxPoint temp2 ;
9411 PyObject * obj0 = 0 ;
9412 PyObject * obj1 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "pt", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9420 {
9421 arg2 = &temp2;
9422 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9423 }
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 resultobj = SWIG_FromInt((int)result);
9432 return resultobj;
9433 fail:
9434 return NULL;
9435 }
9436
9437
9438 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9441 PyObject * obj0 = 0 ;
9442 char *kwnames[] = {
9443 (char *) "self", NULL
9444 };
9445
9446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 (arg1)->RefreshAll();
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 Py_INCREF(Py_None); resultobj = Py_None;
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9466 size_t result;
9467 PyObject * obj0 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9483 return resultobj;
9484 fail:
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj;
9491 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9492 size_t result;
9493 PyObject * obj0 = 0 ;
9494 char *kwnames[] = {
9495 (char *) "self", NULL
9496 };
9497
9498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9509 return resultobj;
9510 fail:
9511 return NULL;
9512 }
9513
9514
9515 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9518 size_t result;
9519 PyObject * obj0 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9530
9531 wxPyEndAllowThreads(__tstate);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9535 return resultobj;
9536 fail:
9537 return NULL;
9538 }
9539
9540
9541 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9544 size_t arg2 ;
9545 bool result;
9546 PyObject * obj0 = 0 ;
9547 PyObject * obj1 = 0 ;
9548 char *kwnames[] = {
9549 (char *) "self",(char *) "line", NULL
9550 };
9551
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow,
9554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9555 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 {
9565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9566 }
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9574 PyObject *obj;
9575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9577 Py_INCREF(obj);
9578 return Py_BuildValue((char *)"");
9579 }
9580 static int _wrap_VListBoxNameStr_set(PyObject *_val) {
9581 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9582 return 1;
9583 }
9584
9585
9586 static PyObject *_wrap_VListBoxNameStr_get() {
9587 PyObject *pyobj;
9588
9589 {
9590 #if wxUSE_UNICODE
9591 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9592 #else
9593 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9594 #endif
9595 }
9596 return pyobj;
9597 }
9598
9599
9600 static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxWindow *arg1 = (wxWindow *) 0 ;
9603 int arg2 = (int) wxID_ANY ;
9604 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9605 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9606 wxSize const &arg4_defvalue = wxDefaultSize ;
9607 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9608 long arg5 = (long) 0 ;
9609 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9610 wxString *arg6 = (wxString *) &arg6_defvalue ;
9611 wxPyVListBox *result;
9612 wxPoint temp3 ;
9613 wxSize temp4 ;
9614 bool temp6 = False ;
9615 PyObject * obj0 = 0 ;
9616 PyObject * obj1 = 0 ;
9617 PyObject * obj2 = 0 ;
9618 PyObject * obj3 = 0 ;
9619 PyObject * obj4 = 0 ;
9620 PyObject * obj5 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9628 if (obj1) {
9629 arg2 = (int) SWIG_AsInt(obj1);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 if (obj2) {
9633 {
9634 arg3 = &temp3;
9635 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9636 }
9637 }
9638 if (obj3) {
9639 {
9640 arg4 = &temp4;
9641 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9642 }
9643 }
9644 if (obj4) {
9645 arg5 = (long) SWIG_AsLong(obj4);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 if (obj5) {
9649 {
9650 arg6 = wxString_in_helper(obj5);
9651 if (arg6 == NULL) SWIG_fail;
9652 temp6 = True;
9653 }
9654 }
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9658
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9663 {
9664 if (temp6)
9665 delete arg6;
9666 }
9667 return resultobj;
9668 fail:
9669 {
9670 if (temp6)
9671 delete arg6;
9672 }
9673 return NULL;
9674 }
9675
9676
9677 static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9678 PyObject *resultobj;
9679 wxPyVListBox *result;
9680 char *kwnames[] = {
9681 NULL
9682 };
9683
9684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (wxPyVListBox *)new wxPyVListBox();
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
9692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
9693 return resultobj;
9694 fail:
9695 return NULL;
9696 }
9697
9698
9699 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9700 PyObject *resultobj;
9701 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9702 PyObject *arg2 = (PyObject *) 0 ;
9703 PyObject *arg3 = (PyObject *) 0 ;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 PyObject * obj2 = 0 ;
9707 char *kwnames[] = {
9708 (char *) "self",(char *) "self",(char *) "_class", NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9714 arg2 = obj1;
9715 arg3 = obj2;
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 (arg1)->_setCallbackInfo(arg2,arg3);
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 Py_INCREF(Py_None); resultobj = Py_None;
9724 return resultobj;
9725 fail:
9726 return NULL;
9727 }
9728
9729
9730 static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9731 PyObject *resultobj;
9732 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9733 wxWindow *arg2 = (wxWindow *) 0 ;
9734 int arg3 = (int) wxID_ANY ;
9735 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9736 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9737 wxSize const &arg5_defvalue = wxDefaultSize ;
9738 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9739 long arg6 = (long) 0 ;
9740 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9741 wxString *arg7 = (wxString *) &arg7_defvalue ;
9742 bool result;
9743 wxPoint temp4 ;
9744 wxSize temp5 ;
9745 bool temp7 = False ;
9746 PyObject * obj0 = 0 ;
9747 PyObject * obj1 = 0 ;
9748 PyObject * obj2 = 0 ;
9749 PyObject * obj3 = 0 ;
9750 PyObject * obj4 = 0 ;
9751 PyObject * obj5 = 0 ;
9752 PyObject * obj6 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9762 if (obj2) {
9763 arg3 = (int) SWIG_AsInt(obj2);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 if (obj3) {
9767 {
9768 arg4 = &temp4;
9769 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9770 }
9771 }
9772 if (obj4) {
9773 {
9774 arg5 = &temp5;
9775 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9776 }
9777 }
9778 if (obj5) {
9779 arg6 = (long) SWIG_AsLong(obj5);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 if (obj6) {
9783 {
9784 arg7 = wxString_in_helper(obj6);
9785 if (arg7 == NULL) SWIG_fail;
9786 temp7 = True;
9787 }
9788 }
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 {
9797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9798 }
9799 {
9800 if (temp7)
9801 delete arg7;
9802 }
9803 return resultobj;
9804 fail:
9805 {
9806 if (temp7)
9807 delete arg7;
9808 }
9809 return NULL;
9810 }
9811
9812
9813 static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj;
9815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9816 size_t result;
9817 PyObject * obj0 = 0 ;
9818 char *kwnames[] = {
9819 (char *) "self", NULL
9820 };
9821
9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9842 bool result;
9843 PyObject * obj0 = 0 ;
9844 char *kwnames[] = {
9845 (char *) "self", NULL
9846 };
9847
9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 {
9859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9860 }
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9870 int result;
9871 PyObject * obj0 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 resultobj = SWIG_FromInt((int)result);
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9896 size_t arg2 ;
9897 bool result;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self",(char *) "item", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 {
9917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9918 }
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9928 size_t arg2 ;
9929 bool result;
9930 PyObject * obj0 = 0 ;
9931 PyObject * obj1 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self",(char *) "item", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9939 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9944
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 {
9949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9950 }
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9960 size_t result;
9961 PyObject * obj0 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9986 unsigned long *arg2 = 0 ;
9987 int result;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "cookie", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1)
9999 SWIG_fail;
10000 if (arg2 == NULL) {
10001 PyErr_SetString(PyExc_TypeError,"null reference");
10002 SWIG_fail;
10003 }
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_FromInt((int)result);
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10021 unsigned long *arg2 = 0 ;
10022 int result;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "cookie", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1)
10034 SWIG_fail;
10035 if (arg2 == NULL) {
10036 PyErr_SetString(PyExc_TypeError,"null reference");
10037 SWIG_fail;
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_FromInt((int)result);
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10056 wxPoint result;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 result = ((wxPyVListBox const *)arg1)->GetMargins();
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 {
10073 wxPoint * resultptr;
10074 resultptr = new wxPoint((wxPoint &) result);
10075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10076 }
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10086 wxColour *result;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 {
10098 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
10099 result = (wxColour *) &_result_ref;
10100 }
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
10106 return resultobj;
10107 fail:
10108 return NULL;
10109 }
10110
10111
10112 static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10115 size_t arg2 ;
10116 PyObject * obj0 = 0 ;
10117 PyObject * obj1 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self",(char *) "count", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10125 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 (arg1)->SetItemCount(arg2);
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 Py_INCREF(Py_None); resultobj = Py_None;
10135 return resultobj;
10136 fail:
10137 return NULL;
10138 }
10139
10140
10141 static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj;
10143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10144 PyObject * obj0 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10152 {
10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
10154 (arg1)->Clear();
10155
10156 wxPyEndAllowThreads(__tstate);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 Py_INCREF(Py_None); resultobj = Py_None;
10160 return resultobj;
10161 fail:
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10169 int arg2 ;
10170 PyObject * obj0 = 0 ;
10171 PyObject * obj1 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self",(char *) "selection", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10179 arg2 = (int) SWIG_AsInt(obj1);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 (arg1)->SetSelection(arg2);
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 Py_INCREF(Py_None); resultobj = Py_None;
10189 return resultobj;
10190 fail:
10191 return NULL;
10192 }
10193
10194
10195 static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10198 size_t arg2 ;
10199 bool arg3 = (bool) True ;
10200 bool result;
10201 PyObject * obj0 = 0 ;
10202 PyObject * obj1 = 0 ;
10203 PyObject * obj2 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self",(char *) "item",(char *) "select", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10211 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 if (obj2) {
10214 arg3 = (bool) SWIG_AsBool(obj2);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (bool)(arg1)->Select(arg2,arg3);
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 {
10225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10226 }
10227 return resultobj;
10228 fail:
10229 return NULL;
10230 }
10231
10232
10233 static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject *resultobj;
10235 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10236 size_t arg2 ;
10237 size_t arg3 ;
10238 bool result;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 PyObject * obj2 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self",(char *) "from",(char *) "to", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10249 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (bool)(arg1)->SelectRange(arg2,arg3);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 {
10261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10262 }
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10272 size_t arg2 ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "item", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 (arg1)->Toggle(arg2);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 Py_INCREF(Py_None); resultobj = Py_None;
10292 return resultobj;
10293 fail:
10294 return NULL;
10295 }
10296
10297
10298 static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj;
10300 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10301 bool result;
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
10308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 result = (bool)(arg1)->SelectAll();
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 {
10318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10319 }
10320 return resultobj;
10321 fail:
10322 return NULL;
10323 }
10324
10325
10326 static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10327 PyObject *resultobj;
10328 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10329 bool result;
10330 PyObject * obj0 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
10336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (bool)(arg1)->DeselectAll();
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 {
10346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10347 }
10348 return resultobj;
10349 fail:
10350 return NULL;
10351 }
10352
10353
10354 static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj;
10356 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10357 wxPoint *arg2 = 0 ;
10358 wxPoint temp2 ;
10359 PyObject * obj0 = 0 ;
10360 PyObject * obj1 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self",(char *) "pt", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10368 {
10369 arg2 = &temp2;
10370 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10371 }
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 (arg1)->SetMargins((wxPoint const &)*arg2);
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 Py_INCREF(Py_None); resultobj = Py_None;
10380 return resultobj;
10381 fail:
10382 return NULL;
10383 }
10384
10385
10386 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10387 PyObject *resultobj;
10388 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10389 int arg2 ;
10390 int arg3 ;
10391 PyObject * obj0 = 0 ;
10392 PyObject * obj1 = 0 ;
10393 PyObject * obj2 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self",(char *) "x",(char *) "y", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10401 arg2 = (int) SWIG_AsInt(obj1);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 arg3 = (int) SWIG_AsInt(obj2);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->SetMargins(arg2,arg3);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10422 wxColour *arg2 = 0 ;
10423 wxColour temp2 ;
10424 PyObject * obj0 = 0 ;
10425 PyObject * obj1 = 0 ;
10426 char *kwnames[] = {
10427 (char *) "self",(char *) "col", NULL
10428 };
10429
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox,
10432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10433 {
10434 arg2 = &temp2;
10435 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 Py_INCREF(Py_None); resultobj = Py_None;
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10452 PyObject *obj;
10453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10454 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10455 Py_INCREF(obj);
10456 return Py_BuildValue((char *)"");
10457 }
10458 static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxWindow *arg1 = (wxWindow *) 0 ;
10461 int arg2 = (int) wxID_ANY ;
10462 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10463 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10464 wxSize const &arg4_defvalue = wxDefaultSize ;
10465 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10466 long arg5 = (long) 0 ;
10467 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10468 wxString *arg6 = (wxString *) &arg6_defvalue ;
10469 wxPyHtmlListBox *result;
10470 wxPoint temp3 ;
10471 wxSize temp4 ;
10472 bool temp6 = False ;
10473 PyObject * obj0 = 0 ;
10474 PyObject * obj1 = 0 ;
10475 PyObject * obj2 = 0 ;
10476 PyObject * obj3 = 0 ;
10477 PyObject * obj4 = 0 ;
10478 PyObject * obj5 = 0 ;
10479 char *kwnames[] = {
10480 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10481 };
10482
10483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10486 if (obj1) {
10487 arg2 = (int) SWIG_AsInt(obj1);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 if (obj2) {
10491 {
10492 arg3 = &temp3;
10493 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10494 }
10495 }
10496 if (obj3) {
10497 {
10498 arg4 = &temp4;
10499 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10500 }
10501 }
10502 if (obj4) {
10503 arg5 = (long) SWIG_AsLong(obj4);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 if (obj5) {
10507 {
10508 arg6 = wxString_in_helper(obj5);
10509 if (arg6 == NULL) SWIG_fail;
10510 temp6 = True;
10511 }
10512 }
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10521 {
10522 if (temp6)
10523 delete arg6;
10524 }
10525 return resultobj;
10526 fail:
10527 {
10528 if (temp6)
10529 delete arg6;
10530 }
10531 return NULL;
10532 }
10533
10534
10535 static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxPyHtmlListBox *result;
10538 char *kwnames[] = {
10539 NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10543 {
10544 PyThreadState* __tstate = wxPyBeginAllowThreads();
10545 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10546
10547 wxPyEndAllowThreads(__tstate);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 }
10550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
10551 return resultobj;
10552 fail:
10553 return NULL;
10554 }
10555
10556
10557 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10558 PyObject *resultobj;
10559 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10560 PyObject *arg2 = (PyObject *) 0 ;
10561 PyObject *arg3 = (PyObject *) 0 ;
10562 PyObject * obj0 = 0 ;
10563 PyObject * obj1 = 0 ;
10564 PyObject * obj2 = 0 ;
10565 char *kwnames[] = {
10566 (char *) "self",(char *) "self",(char *) "_class", NULL
10567 };
10568
10569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10572 arg2 = obj1;
10573 arg3 = obj2;
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 (arg1)->_setCallbackInfo(arg2,arg3);
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 Py_INCREF(Py_None); resultobj = Py_None;
10582 return resultobj;
10583 fail:
10584 return NULL;
10585 }
10586
10587
10588 static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj;
10590 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10591 wxWindow *arg2 = (wxWindow *) 0 ;
10592 int arg3 = (int) wxID_ANY ;
10593 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10594 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10595 wxSize const &arg5_defvalue = wxDefaultSize ;
10596 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10597 long arg6 = (long) 0 ;
10598 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10599 wxString *arg7 = (wxString *) &arg7_defvalue ;
10600 bool result;
10601 wxPoint temp4 ;
10602 wxSize temp5 ;
10603 bool temp7 = False ;
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10606 PyObject * obj2 = 0 ;
10607 PyObject * obj3 = 0 ;
10608 PyObject * obj4 = 0 ;
10609 PyObject * obj5 = 0 ;
10610 PyObject * obj6 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 if (obj2) {
10621 arg3 = (int) SWIG_AsInt(obj2);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 if (obj3) {
10625 {
10626 arg4 = &temp4;
10627 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10628 }
10629 }
10630 if (obj4) {
10631 {
10632 arg5 = &temp5;
10633 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10634 }
10635 }
10636 if (obj5) {
10637 arg6 = (long) SWIG_AsLong(obj5);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 if (obj6) {
10641 {
10642 arg7 = wxString_in_helper(obj6);
10643 if (arg7 == NULL) SWIG_fail;
10644 temp7 = True;
10645 }
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 {
10655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10656 }
10657 {
10658 if (temp7)
10659 delete arg7;
10660 }
10661 return resultobj;
10662 fail:
10663 {
10664 if (temp7)
10665 delete arg7;
10666 }
10667 return NULL;
10668 }
10669
10670
10671 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject *resultobj;
10673 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 (arg1)->RefreshAll();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 Py_INCREF(Py_None); resultobj = Py_None;
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10699 size_t arg2 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self",(char *) "count", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10709 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetItemCount(arg2);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10728 wxFileSystem *result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 {
10740 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
10741 result = (wxFileSystem *) &_result_ref;
10742 }
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10755 PyObject *obj;
10756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10757 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10758 Py_INCREF(obj);
10759 return Py_BuildValue((char *)"");
10760 }
10761 static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxTaskBarIcon *result;
10764 char *kwnames[] = {
10765 NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1);
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj;
10785 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10786 PyObject * obj0 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 delete arg1;
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 wxTaskBarIcon_Destroy(arg1);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10836 bool result;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10848
10849 wxPyEndAllowThreads(__tstate);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 {
10853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10854 }
10855 return resultobj;
10856 fail:
10857 return NULL;
10858 }
10859
10860
10861 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj;
10863 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10864 bool result;
10865 PyObject * obj0 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 {
10881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10882 }
10883 return resultobj;
10884 fail:
10885 return NULL;
10886 }
10887
10888
10889 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj;
10891 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10892 wxIcon *arg2 = 0 ;
10893 wxString const &arg3_defvalue = wxPyEmptyString ;
10894 wxString *arg3 = (wxString *) &arg3_defvalue ;
10895 bool result;
10896 bool temp3 = False ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 PyObject * obj2 = 0 ;
10900 char *kwnames[] = {
10901 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10902 };
10903
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
10908 SWIG_POINTER_EXCEPTION | 0)) == -1)
10909 SWIG_fail;
10910 if (arg2 == NULL) {
10911 PyErr_SetString(PyExc_TypeError,"null reference");
10912 SWIG_fail;
10913 }
10914 if (obj2) {
10915 {
10916 arg3 = wxString_in_helper(obj2);
10917 if (arg3 == NULL) SWIG_fail;
10918 temp3 = True;
10919 }
10920 }
10921 {
10922 PyThreadState* __tstate = wxPyBeginAllowThreads();
10923 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10924
10925 wxPyEndAllowThreads(__tstate);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 {
10929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10930 }
10931 {
10932 if (temp3)
10933 delete arg3;
10934 }
10935 return resultobj;
10936 fail:
10937 {
10938 if (temp3)
10939 delete arg3;
10940 }
10941 return NULL;
10942 }
10943
10944
10945 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj;
10947 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10948 bool result;
10949 PyObject * obj0 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (bool)(arg1)->RemoveIcon();
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 {
10965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10966 }
10967 return resultobj;
10968 fail:
10969 return NULL;
10970 }
10971
10972
10973 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10976 wxMenu *arg2 = (wxMenu *) 0 ;
10977 bool result;
10978 PyObject * obj0 = 0 ;
10979 PyObject * obj1 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "menu", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon,
10986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
10988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10989 {
10990 PyThreadState* __tstate = wxPyBeginAllowThreads();
10991 result = (bool)(arg1)->PopupMenu(arg2);
10992
10993 wxPyEndAllowThreads(__tstate);
10994 if (PyErr_Occurred()) SWIG_fail;
10995 }
10996 {
10997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10998 }
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
11006 PyObject *obj;
11007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11008 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
11009 Py_INCREF(obj);
11010 return Py_BuildValue((char *)"");
11011 }
11012 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxEventType arg1 ;
11015 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
11016 wxTaskBarIconEvent *result;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "evtType",(char *) "tbIcon", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
11024 arg1 = (wxEventType) SWIG_AsInt(obj0);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
11036 return resultobj;
11037 fail:
11038 return NULL;
11039 }
11040
11041
11042 static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
11043 PyObject *obj;
11044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11045 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
11046 Py_INCREF(obj);
11047 return Py_BuildValue((char *)"");
11048 }
11049 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
11050 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
11051 return 1;
11052 }
11053
11054
11055 static PyObject *_wrap_FileSelectorPromptStr_get() {
11056 PyObject *pyobj;
11057
11058 {
11059 #if wxUSE_UNICODE
11060 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11061 #else
11062 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
11063 #endif
11064 }
11065 return pyobj;
11066 }
11067
11068
11069 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
11070 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
11071 return 1;
11072 }
11073
11074
11075 static PyObject *_wrap_DirSelectorPromptStr_get() {
11076 PyObject *pyobj;
11077
11078 {
11079 #if wxUSE_UNICODE
11080 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11081 #else
11082 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
11083 #endif
11084 }
11085 return pyobj;
11086 }
11087
11088
11089 static int _wrap_DirDialogNameStr_set(PyObject *_val) {
11090 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
11091 return 1;
11092 }
11093
11094
11095 static PyObject *_wrap_DirDialogNameStr_get() {
11096 PyObject *pyobj;
11097
11098 {
11099 #if wxUSE_UNICODE
11100 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11101 #else
11102 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
11103 #endif
11104 }
11105 return pyobj;
11106 }
11107
11108
11109 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
11110 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
11111 return 1;
11112 }
11113
11114
11115 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
11116 PyObject *pyobj;
11117
11118 {
11119 #if wxUSE_UNICODE
11120 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11121 #else
11122 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
11123 #endif
11124 }
11125 return pyobj;
11126 }
11127
11128
11129 static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
11130 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
11131 return 1;
11132 }
11133
11134
11135 static PyObject *_wrap_GetTextFromUserPromptStr_get() {
11136 PyObject *pyobj;
11137
11138 {
11139 #if wxUSE_UNICODE
11140 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11141 #else
11142 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
11143 #endif
11144 }
11145 return pyobj;
11146 }
11147
11148
11149 static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
11150 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
11151 return 1;
11152 }
11153
11154
11155 static PyObject *_wrap_MessageBoxCaptionStr_get() {
11156 PyObject *pyobj;
11157
11158 {
11159 #if wxUSE_UNICODE
11160 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11161 #else
11162 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
11163 #endif
11164 }
11165 return pyobj;
11166 }
11167
11168
11169 static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxColourData *result;
11172 char *kwnames[] = {
11173 NULL
11174 };
11175
11176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 result = (wxColourData *)new wxColourData();
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxColourData *arg1 = (wxColourData *) 0 ;
11194 PyObject * obj0 = 0 ;
11195 char *kwnames[] = {
11196 (char *) "self", NULL
11197 };
11198
11199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
11200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 delete arg1;
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 Py_INCREF(Py_None); resultobj = Py_None;
11210 return resultobj;
11211 fail:
11212 return NULL;
11213 }
11214
11215
11216 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11217 PyObject *resultobj;
11218 wxColourData *arg1 = (wxColourData *) 0 ;
11219 bool result;
11220 PyObject * obj0 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "self", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
11226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11228 {
11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
11230 result = (bool)(arg1)->GetChooseFull();
11231
11232 wxPyEndAllowThreads(__tstate);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 }
11235 {
11236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11237 }
11238 return resultobj;
11239 fail:
11240 return NULL;
11241 }
11242
11243
11244 static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11245 PyObject *resultobj;
11246 wxColourData *arg1 = (wxColourData *) 0 ;
11247 wxColour result;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
11254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 result = (arg1)->GetColour();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 {
11264 wxColour * resultptr;
11265 resultptr = new wxColour((wxColour &) result);
11266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11267 }
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxColourData *arg1 = (wxColourData *) 0 ;
11277 int arg2 ;
11278 wxColour result;
11279 PyObject * obj0 = 0 ;
11280 PyObject * obj1 = 0 ;
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "i", NULL
11283 };
11284
11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
11286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11288 arg2 = (int) SWIG_AsInt(obj1);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 result = (arg1)->GetCustomColour(arg2);
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 {
11298 wxColour * resultptr;
11299 resultptr = new wxColour((wxColour &) result);
11300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11301 }
11302 return resultobj;
11303 fail:
11304 return NULL;
11305 }
11306
11307
11308 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxColourData *arg1 = (wxColourData *) 0 ;
11311 int arg2 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "flag", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
11319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11321 arg2 = (int) SWIG_AsInt(obj1);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->SetChooseFull(arg2);
11326
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 Py_INCREF(Py_None); resultobj = Py_None;
11331 return resultobj;
11332 fail:
11333 return NULL;
11334 }
11335
11336
11337 static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11338 PyObject *resultobj;
11339 wxColourData *arg1 = (wxColourData *) 0 ;
11340 wxColour *arg2 = 0 ;
11341 wxColour temp2 ;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj1 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "colour", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11351 {
11352 arg2 = &temp2;
11353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11354 }
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 (arg1)->SetColour((wxColour const &)*arg2);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 Py_INCREF(Py_None); resultobj = Py_None;
11363 return resultobj;
11364 fail:
11365 return NULL;
11366 }
11367
11368
11369 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxColourData *arg1 = (wxColourData *) 0 ;
11372 int arg2 ;
11373 wxColour *arg3 = 0 ;
11374 wxColour temp3 ;
11375 PyObject * obj0 = 0 ;
11376 PyObject * obj1 = 0 ;
11377 PyObject * obj2 = 0 ;
11378 char *kwnames[] = {
11379 (char *) "self",(char *) "i",(char *) "colour", NULL
11380 };
11381
11382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
11383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData,
11384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11385 arg2 = (int) SWIG_AsInt(obj1);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 {
11388 arg3 = &temp3;
11389 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11390 }
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 Py_INCREF(Py_None); resultobj = Py_None;
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
11406 PyObject *obj;
11407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11408 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
11409 Py_INCREF(obj);
11410 return Py_BuildValue((char *)"");
11411 }
11412 static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11413 PyObject *resultobj;
11414 wxWindow *arg1 = (wxWindow *) 0 ;
11415 wxColourData *arg2 = (wxColourData *) NULL ;
11416 wxColourDialog *result;
11417 PyObject * obj0 = 0 ;
11418 PyObject * obj1 = 0 ;
11419 char *kwnames[] = {
11420 (char *) "parent",(char *) "data", NULL
11421 };
11422
11423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
11424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11426 if (obj1) {
11427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData,
11428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11429 }
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj;
11446 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11447 wxColourData *result;
11448 PyObject * obj0 = 0 ;
11449 char *kwnames[] = {
11450 (char *) "self", NULL
11451 };
11452
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog,
11455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 {
11459 wxColourData &_result_ref = (arg1)->GetColourData();
11460 result = (wxColourData *) &_result_ref;
11461 }
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11474 PyObject *obj;
11475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11476 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11477 Py_INCREF(obj);
11478 return Py_BuildValue((char *)"");
11479 }
11480 static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj;
11482 wxWindow *arg1 = (wxWindow *) 0 ;
11483 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11484 wxString *arg2 = (wxString *) &arg2_defvalue ;
11485 wxString const &arg3_defvalue = wxPyEmptyString ;
11486 wxString *arg3 = (wxString *) &arg3_defvalue ;
11487 long arg4 = (long) 0 ;
11488 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11489 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11490 wxSize const &arg6_defvalue = wxDefaultSize ;
11491 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11492 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11493 wxString *arg7 = (wxString *) &arg7_defvalue ;
11494 wxDirDialog *result;
11495 bool temp2 = False ;
11496 bool temp3 = False ;
11497 wxPoint temp5 ;
11498 wxSize temp6 ;
11499 bool temp7 = False ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 PyObject * obj2 = 0 ;
11503 PyObject * obj3 = 0 ;
11504 PyObject * obj4 = 0 ;
11505 PyObject * obj5 = 0 ;
11506 PyObject * obj6 = 0 ;
11507 char *kwnames[] = {
11508 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11509 };
11510
11511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11514 if (obj1) {
11515 {
11516 arg2 = wxString_in_helper(obj1);
11517 if (arg2 == NULL) SWIG_fail;
11518 temp2 = True;
11519 }
11520 }
11521 if (obj2) {
11522 {
11523 arg3 = wxString_in_helper(obj2);
11524 if (arg3 == NULL) SWIG_fail;
11525 temp3 = True;
11526 }
11527 }
11528 if (obj3) {
11529 arg4 = (long) SWIG_AsLong(obj3);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 if (obj4) {
11533 {
11534 arg5 = &temp5;
11535 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11536 }
11537 }
11538 if (obj5) {
11539 {
11540 arg6 = &temp6;
11541 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11542 }
11543 }
11544 if (obj6) {
11545 {
11546 arg7 = wxString_in_helper(obj6);
11547 if (arg7 == NULL) SWIG_fail;
11548 temp7 = True;
11549 }
11550 }
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
11559 {
11560 if (temp2)
11561 delete arg2;
11562 }
11563 {
11564 if (temp3)
11565 delete arg3;
11566 }
11567 {
11568 if (temp7)
11569 delete arg7;
11570 }
11571 return resultobj;
11572 fail:
11573 {
11574 if (temp2)
11575 delete arg2;
11576 }
11577 {
11578 if (temp3)
11579 delete arg3;
11580 }
11581 {
11582 if (temp7)
11583 delete arg7;
11584 }
11585 return NULL;
11586 }
11587
11588
11589 static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11590 PyObject *resultobj;
11591 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11592 wxString result;
11593 PyObject * obj0 = 0 ;
11594 char *kwnames[] = {
11595 (char *) "self", NULL
11596 };
11597
11598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (arg1)->GetPath();
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 {
11609 #if wxUSE_UNICODE
11610 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11611 #else
11612 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11613 #endif
11614 }
11615 return resultobj;
11616 fail:
11617 return NULL;
11618 }
11619
11620
11621 static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11624 wxString result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (arg1)->GetMessage();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 {
11641 #if wxUSE_UNICODE
11642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11643 #else
11644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11645 #endif
11646 }
11647 return resultobj;
11648 fail:
11649 return NULL;
11650 }
11651
11652
11653 static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject *resultobj;
11655 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11656 long result;
11657 PyObject * obj0 = 0 ;
11658 char *kwnames[] = {
11659 (char *) "self", NULL
11660 };
11661
11662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11665 {
11666 PyThreadState* __tstate = wxPyBeginAllowThreads();
11667 result = (long)(arg1)->GetStyle();
11668
11669 wxPyEndAllowThreads(__tstate);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 }
11672 resultobj = SWIG_FromLong((long)result);
11673 return resultobj;
11674 fail:
11675 return NULL;
11676 }
11677
11678
11679 static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11680 PyObject *resultobj;
11681 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11682 wxString *arg2 = 0 ;
11683 bool temp2 = False ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self",(char *) "message", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11693 {
11694 arg2 = wxString_in_helper(obj1);
11695 if (arg2 == NULL) SWIG_fail;
11696 temp2 = True;
11697 }
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 (arg1)->SetMessage((wxString const &)*arg2);
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 Py_INCREF(Py_None); resultobj = Py_None;
11706 {
11707 if (temp2)
11708 delete arg2;
11709 }
11710 return resultobj;
11711 fail:
11712 {
11713 if (temp2)
11714 delete arg2;
11715 }
11716 return NULL;
11717 }
11718
11719
11720 static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11721 PyObject *resultobj;
11722 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11723 wxString *arg2 = 0 ;
11724 bool temp2 = False ;
11725 PyObject * obj0 = 0 ;
11726 PyObject * obj1 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self",(char *) "path", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog,
11733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11734 {
11735 arg2 = wxString_in_helper(obj1);
11736 if (arg2 == NULL) SWIG_fail;
11737 temp2 = True;
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 (arg1)->SetPath((wxString const &)*arg2);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 Py_INCREF(Py_None); resultobj = Py_None;
11747 {
11748 if (temp2)
11749 delete arg2;
11750 }
11751 return resultobj;
11752 fail:
11753 {
11754 if (temp2)
11755 delete arg2;
11756 }
11757 return NULL;
11758 }
11759
11760
11761 static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11762 PyObject *obj;
11763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11764 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11765 Py_INCREF(obj);
11766 return Py_BuildValue((char *)"");
11767 }
11768 static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11769 PyObject *resultobj;
11770 wxWindow *arg1 = (wxWindow *) 0 ;
11771 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11772 wxString *arg2 = (wxString *) &arg2_defvalue ;
11773 wxString const &arg3_defvalue = wxPyEmptyString ;
11774 wxString *arg3 = (wxString *) &arg3_defvalue ;
11775 wxString const &arg4_defvalue = wxPyEmptyString ;
11776 wxString *arg4 = (wxString *) &arg4_defvalue ;
11777 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11778 wxString *arg5 = (wxString *) &arg5_defvalue ;
11779 long arg6 = (long) 0 ;
11780 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11781 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11782 wxFileDialog *result;
11783 bool temp2 = False ;
11784 bool temp3 = False ;
11785 bool temp4 = False ;
11786 bool temp5 = False ;
11787 wxPoint temp7 ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 PyObject * obj2 = 0 ;
11791 PyObject * obj3 = 0 ;
11792 PyObject * obj4 = 0 ;
11793 PyObject * obj5 = 0 ;
11794 PyObject * obj6 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11802 if (obj1) {
11803 {
11804 arg2 = wxString_in_helper(obj1);
11805 if (arg2 == NULL) SWIG_fail;
11806 temp2 = True;
11807 }
11808 }
11809 if (obj2) {
11810 {
11811 arg3 = wxString_in_helper(obj2);
11812 if (arg3 == NULL) SWIG_fail;
11813 temp3 = True;
11814 }
11815 }
11816 if (obj3) {
11817 {
11818 arg4 = wxString_in_helper(obj3);
11819 if (arg4 == NULL) SWIG_fail;
11820 temp4 = True;
11821 }
11822 }
11823 if (obj4) {
11824 {
11825 arg5 = wxString_in_helper(obj4);
11826 if (arg5 == NULL) SWIG_fail;
11827 temp5 = True;
11828 }
11829 }
11830 if (obj5) {
11831 arg6 = (long) SWIG_AsLong(obj5);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 if (obj6) {
11835 {
11836 arg7 = &temp7;
11837 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11838 }
11839 }
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
11848 {
11849 if (temp2)
11850 delete arg2;
11851 }
11852 {
11853 if (temp3)
11854 delete arg3;
11855 }
11856 {
11857 if (temp4)
11858 delete arg4;
11859 }
11860 {
11861 if (temp5)
11862 delete arg5;
11863 }
11864 return resultobj;
11865 fail:
11866 {
11867 if (temp2)
11868 delete arg2;
11869 }
11870 {
11871 if (temp3)
11872 delete arg3;
11873 }
11874 {
11875 if (temp4)
11876 delete arg4;
11877 }
11878 {
11879 if (temp5)
11880 delete arg5;
11881 }
11882 return NULL;
11883 }
11884
11885
11886 static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11889 wxString *arg2 = 0 ;
11890 bool temp2 = False ;
11891 PyObject * obj0 = 0 ;
11892 PyObject * obj1 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "self",(char *) "message", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11900 {
11901 arg2 = wxString_in_helper(obj1);
11902 if (arg2 == NULL) SWIG_fail;
11903 temp2 = True;
11904 }
11905 {
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 (arg1)->SetMessage((wxString const &)*arg2);
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 Py_INCREF(Py_None); resultobj = Py_None;
11913 {
11914 if (temp2)
11915 delete arg2;
11916 }
11917 return resultobj;
11918 fail:
11919 {
11920 if (temp2)
11921 delete arg2;
11922 }
11923 return NULL;
11924 }
11925
11926
11927 static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11930 wxString *arg2 = 0 ;
11931 bool temp2 = False ;
11932 PyObject * obj0 = 0 ;
11933 PyObject * obj1 = 0 ;
11934 char *kwnames[] = {
11935 (char *) "self",(char *) "path", NULL
11936 };
11937
11938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11941 {
11942 arg2 = wxString_in_helper(obj1);
11943 if (arg2 == NULL) SWIG_fail;
11944 temp2 = True;
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetPath((wxString const &)*arg2);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 Py_INCREF(Py_None); resultobj = Py_None;
11954 {
11955 if (temp2)
11956 delete arg2;
11957 }
11958 return resultobj;
11959 fail:
11960 {
11961 if (temp2)
11962 delete arg2;
11963 }
11964 return NULL;
11965 }
11966
11967
11968 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11969 PyObject *resultobj;
11970 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11971 wxString *arg2 = 0 ;
11972 bool temp2 = False ;
11973 PyObject * obj0 = 0 ;
11974 PyObject * obj1 = 0 ;
11975 char *kwnames[] = {
11976 (char *) "self",(char *) "dir", NULL
11977 };
11978
11979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
11981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11982 {
11983 arg2 = wxString_in_helper(obj1);
11984 if (arg2 == NULL) SWIG_fail;
11985 temp2 = True;
11986 }
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 (arg1)->SetDirectory((wxString const &)*arg2);
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 Py_INCREF(Py_None); resultobj = Py_None;
11995 {
11996 if (temp2)
11997 delete arg2;
11998 }
11999 return resultobj;
12000 fail:
12001 {
12002 if (temp2)
12003 delete arg2;
12004 }
12005 return NULL;
12006 }
12007
12008
12009 static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12012 wxString *arg2 = 0 ;
12013 bool temp2 = False ;
12014 PyObject * obj0 = 0 ;
12015 PyObject * obj1 = 0 ;
12016 char *kwnames[] = {
12017 (char *) "self",(char *) "name", NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
12021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12023 {
12024 arg2 = wxString_in_helper(obj1);
12025 if (arg2 == NULL) SWIG_fail;
12026 temp2 = True;
12027 }
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 (arg1)->SetFilename((wxString const &)*arg2);
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 Py_INCREF(Py_None); resultobj = Py_None;
12036 {
12037 if (temp2)
12038 delete arg2;
12039 }
12040 return resultobj;
12041 fail:
12042 {
12043 if (temp2)
12044 delete arg2;
12045 }
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12053 wxString *arg2 = 0 ;
12054 bool temp2 = False ;
12055 PyObject * obj0 = 0 ;
12056 PyObject * obj1 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "wildCard", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
12062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12064 {
12065 arg2 = wxString_in_helper(obj1);
12066 if (arg2 == NULL) SWIG_fail;
12067 temp2 = True;
12068 }
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->SetWildcard((wxString const &)*arg2);
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 {
12078 if (temp2)
12079 delete arg2;
12080 }
12081 return resultobj;
12082 fail:
12083 {
12084 if (temp2)
12085 delete arg2;
12086 }
12087 return NULL;
12088 }
12089
12090
12091 static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12094 long arg2 ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "style", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 arg2 = (long) SWIG_AsLong(obj1);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 (arg1)->SetStyle(arg2);
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 Py_INCREF(Py_None); resultobj = Py_None;
12114 return resultobj;
12115 fail:
12116 return NULL;
12117 }
12118
12119
12120 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12121 PyObject *resultobj;
12122 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12123 int arg2 ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self",(char *) "filterIndex", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12133 arg2 = (int) SWIG_AsInt(obj1);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 (arg1)->SetFilterIndex(arg2);
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 Py_INCREF(Py_None); resultobj = Py_None;
12143 return resultobj;
12144 fail:
12145 return NULL;
12146 }
12147
12148
12149 static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12152 wxString result;
12153 PyObject * obj0 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
12159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = ((wxFileDialog const *)arg1)->GetMessage();
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 #if wxUSE_UNICODE
12170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12171 #else
12172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12173 #endif
12174 }
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12184 wxString result;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 result = ((wxFileDialog const *)arg1)->GetPath();
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 {
12201 #if wxUSE_UNICODE
12202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12203 #else
12204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12205 #endif
12206 }
12207 return resultobj;
12208 fail:
12209 return NULL;
12210 }
12211
12212
12213 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
12214 PyObject *resultobj;
12215 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12216 wxString result;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 result = ((wxFileDialog const *)arg1)->GetDirectory();
12228
12229 wxPyEndAllowThreads(__tstate);
12230 if (PyErr_Occurred()) SWIG_fail;
12231 }
12232 {
12233 #if wxUSE_UNICODE
12234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12235 #else
12236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12237 #endif
12238 }
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj;
12247 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12248 wxString result;
12249 PyObject * obj0 = 0 ;
12250 char *kwnames[] = {
12251 (char *) "self", NULL
12252 };
12253
12254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
12255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12257 {
12258 PyThreadState* __tstate = wxPyBeginAllowThreads();
12259 result = ((wxFileDialog const *)arg1)->GetFilename();
12260
12261 wxPyEndAllowThreads(__tstate);
12262 if (PyErr_Occurred()) SWIG_fail;
12263 }
12264 {
12265 #if wxUSE_UNICODE
12266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12267 #else
12268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12269 #endif
12270 }
12271 return resultobj;
12272 fail:
12273 return NULL;
12274 }
12275
12276
12277 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
12278 PyObject *resultobj;
12279 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12280 wxString result;
12281 PyObject * obj0 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = ((wxFileDialog const *)arg1)->GetWildcard();
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 {
12297 #if wxUSE_UNICODE
12298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12299 #else
12300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12301 #endif
12302 }
12303 return resultobj;
12304 fail:
12305 return NULL;
12306 }
12307
12308
12309 static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12312 long result;
12313 PyObject * obj0 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 result = (long)((wxFileDialog const *)arg1)->GetStyle();
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 resultobj = SWIG_FromLong((long)result);
12329 return resultobj;
12330 fail:
12331 return NULL;
12332 }
12333
12334
12335 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12338 int result;
12339 PyObject * obj0 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "self", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
12345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
12350
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
12354 resultobj = SWIG_FromInt((int)result);
12355 return resultobj;
12356 fail:
12357 return NULL;
12358 }
12359
12360
12361 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
12362 PyObject *resultobj;
12363 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12364 PyObject *result;
12365 PyObject * obj0 = 0 ;
12366 char *kwnames[] = {
12367 (char *) "self", NULL
12368 };
12369
12370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
12371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = result;
12381 return resultobj;
12382 fail:
12383 return NULL;
12384 }
12385
12386
12387 static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
12388 PyObject *resultobj;
12389 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
12390 PyObject *result;
12391 PyObject * obj0 = 0 ;
12392 char *kwnames[] = {
12393 (char *) "self", NULL
12394 };
12395
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog,
12398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 resultobj = result;
12407 return resultobj;
12408 fail:
12409 return NULL;
12410 }
12411
12412
12413 static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12414 PyObject *obj;
12415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12416 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12417 Py_INCREF(obj);
12418 return Py_BuildValue((char *)"");
12419 }
12420 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12421 PyObject *resultobj;
12422 wxWindow *arg1 = (wxWindow *) 0 ;
12423 wxString *arg2 = 0 ;
12424 wxString *arg3 = 0 ;
12425 int arg4 = (int) 0 ;
12426 wxString *arg5 = (wxString *) 0 ;
12427 long arg6 = (long) wxCHOICEDLG_STYLE ;
12428 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12429 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12430 wxMultiChoiceDialog *result;
12431 bool temp2 = False ;
12432 bool temp3 = False ;
12433 wxPoint temp6 ;
12434 PyObject * obj0 = 0 ;
12435 PyObject * obj1 = 0 ;
12436 PyObject * obj2 = 0 ;
12437 PyObject * obj3 = 0 ;
12438 PyObject * obj4 = 0 ;
12439 PyObject * obj5 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12447 {
12448 arg2 = wxString_in_helper(obj1);
12449 if (arg2 == NULL) SWIG_fail;
12450 temp2 = True;
12451 }
12452 {
12453 arg3 = wxString_in_helper(obj2);
12454 if (arg3 == NULL) SWIG_fail;
12455 temp3 = True;
12456 }
12457 if (obj3) {
12458 {
12459 arg4 = PyList_Size(obj3);
12460 arg5 = wxString_LIST_helper(obj3);
12461 if (arg5 == NULL) SWIG_fail;
12462 }
12463 }
12464 if (obj4) {
12465 arg6 = (long) SWIG_AsLong(obj4);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 if (obj5) {
12469 {
12470 arg7 = &temp6;
12471 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12472 }
12473 }
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
12482 {
12483 if (temp2)
12484 delete arg2;
12485 }
12486 {
12487 if (temp3)
12488 delete arg3;
12489 }
12490 {
12491 if (arg5) delete [] arg5;
12492 }
12493 return resultobj;
12494 fail:
12495 {
12496 if (temp2)
12497 delete arg2;
12498 }
12499 {
12500 if (temp3)
12501 delete arg3;
12502 }
12503 {
12504 if (arg5) delete [] arg5;
12505 }
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12513 wxArrayInt *arg2 = 0 ;
12514 bool temp2 = False ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "selections", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12524 {
12525 if (! PySequence_Check(obj1)) {
12526 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12527 SWIG_fail;
12528 }
12529 arg2 = new wxArrayInt;
12530 temp2 = True;
12531 int i, len=PySequence_Length(obj1);
12532 for (i=0; i<len; i++) {
12533 PyObject* item = PySequence_GetItem(obj1, i);
12534 PyObject* number = PyNumber_Int(item);
12535 arg2->Add(PyInt_AS_LONG(number));
12536 Py_DECREF(item);
12537 Py_DECREF(number);
12538 }
12539 }
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 Py_INCREF(Py_None); resultobj = Py_None;
12548 {
12549 if (temp2) delete arg2;
12550 }
12551 return resultobj;
12552 fail:
12553 {
12554 if (temp2) delete arg2;
12555 }
12556 return NULL;
12557 }
12558
12559
12560 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12561 PyObject *resultobj;
12562 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12563 PyObject *result;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog,
12571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 resultobj = result;
12580 return resultobj;
12581 fail:
12582 return NULL;
12583 }
12584
12585
12586 static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12587 PyObject *obj;
12588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12589 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12590 Py_INCREF(obj);
12591 return Py_BuildValue((char *)"");
12592 }
12593 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxWindow *arg1 = (wxWindow *) 0 ;
12596 wxString *arg2 = 0 ;
12597 wxString *arg3 = 0 ;
12598 int arg4 ;
12599 wxString *arg5 = (wxString *) 0 ;
12600 long arg6 = (long) wxCHOICEDLG_STYLE ;
12601 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12602 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12603 wxSingleChoiceDialog *result;
12604 bool temp2 = False ;
12605 bool temp3 = False ;
12606 wxPoint temp6 ;
12607 PyObject * obj0 = 0 ;
12608 PyObject * obj1 = 0 ;
12609 PyObject * obj2 = 0 ;
12610 PyObject * obj3 = 0 ;
12611 PyObject * obj4 = 0 ;
12612 PyObject * obj5 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12620 {
12621 arg2 = wxString_in_helper(obj1);
12622 if (arg2 == NULL) SWIG_fail;
12623 temp2 = True;
12624 }
12625 {
12626 arg3 = wxString_in_helper(obj2);
12627 if (arg3 == NULL) SWIG_fail;
12628 temp3 = True;
12629 }
12630 {
12631 arg4 = PyList_Size(obj3);
12632 arg5 = wxString_LIST_helper(obj3);
12633 if (arg5 == NULL) SWIG_fail;
12634 }
12635 if (obj4) {
12636 arg6 = (long) SWIG_AsLong(obj4);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 if (obj5) {
12640 {
12641 arg7 = &temp6;
12642 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12643 }
12644 }
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12648
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
12653 {
12654 if (temp2)
12655 delete arg2;
12656 }
12657 {
12658 if (temp3)
12659 delete arg3;
12660 }
12661 {
12662 if (arg5) delete [] arg5;
12663 }
12664 return resultobj;
12665 fail:
12666 {
12667 if (temp2)
12668 delete arg2;
12669 }
12670 {
12671 if (temp3)
12672 delete arg3;
12673 }
12674 {
12675 if (arg5) delete [] arg5;
12676 }
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12684 int result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = (int)(arg1)->GetSelection();
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 resultobj = SWIG_FromInt((int)result);
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12708 PyObject *resultobj;
12709 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12710 wxString result;
12711 PyObject * obj0 = 0 ;
12712 char *kwnames[] = {
12713 (char *) "self", NULL
12714 };
12715
12716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 result = (arg1)->GetStringSelection();
12722
12723 wxPyEndAllowThreads(__tstate);
12724 if (PyErr_Occurred()) SWIG_fail;
12725 }
12726 {
12727 #if wxUSE_UNICODE
12728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12729 #else
12730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12731 #endif
12732 }
12733 return resultobj;
12734 fail:
12735 return NULL;
12736 }
12737
12738
12739 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12740 PyObject *resultobj;
12741 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12742 int arg2 ;
12743 PyObject * obj0 = 0 ;
12744 PyObject * obj1 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self",(char *) "sel", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog,
12751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12752 arg2 = (int) SWIG_AsInt(obj1);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 (arg1)->SetSelection(arg2);
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 Py_INCREF(Py_None); resultobj = Py_None;
12762 return resultobj;
12763 fail:
12764 return NULL;
12765 }
12766
12767
12768 static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12769 PyObject *obj;
12770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12771 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12772 Py_INCREF(obj);
12773 return Py_BuildValue((char *)"");
12774 }
12775 static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxWindow *arg1 = (wxWindow *) 0 ;
12778 wxString *arg2 = 0 ;
12779 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12780 wxString *arg3 = (wxString *) &arg3_defvalue ;
12781 wxString const &arg4_defvalue = wxPyEmptyString ;
12782 wxString *arg4 = (wxString *) &arg4_defvalue ;
12783 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12784 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12785 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12786 wxTextEntryDialog *result;
12787 bool temp2 = False ;
12788 bool temp3 = False ;
12789 bool temp4 = False ;
12790 wxPoint temp6 ;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 PyObject * obj3 = 0 ;
12795 PyObject * obj4 = 0 ;
12796 PyObject * obj5 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12804 {
12805 arg2 = wxString_in_helper(obj1);
12806 if (arg2 == NULL) SWIG_fail;
12807 temp2 = True;
12808 }
12809 if (obj2) {
12810 {
12811 arg3 = wxString_in_helper(obj2);
12812 if (arg3 == NULL) SWIG_fail;
12813 temp3 = True;
12814 }
12815 }
12816 if (obj3) {
12817 {
12818 arg4 = wxString_in_helper(obj3);
12819 if (arg4 == NULL) SWIG_fail;
12820 temp4 = True;
12821 }
12822 }
12823 if (obj4) {
12824 arg5 = (long) SWIG_AsLong(obj4);
12825 if (PyErr_Occurred()) SWIG_fail;
12826 }
12827 if (obj5) {
12828 {
12829 arg6 = &temp6;
12830 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12831 }
12832 }
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
12841 {
12842 if (temp2)
12843 delete arg2;
12844 }
12845 {
12846 if (temp3)
12847 delete arg3;
12848 }
12849 {
12850 if (temp4)
12851 delete arg4;
12852 }
12853 return resultobj;
12854 fail:
12855 {
12856 if (temp2)
12857 delete arg2;
12858 }
12859 {
12860 if (temp3)
12861 delete arg3;
12862 }
12863 {
12864 if (temp4)
12865 delete arg4;
12866 }
12867 return NULL;
12868 }
12869
12870
12871 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12874 wxString result;
12875 PyObject * obj0 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "self", NULL
12878 };
12879
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = (arg1)->GetValue();
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 {
12891 #if wxUSE_UNICODE
12892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12893 #else
12894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12895 #endif
12896 }
12897 return resultobj;
12898 fail:
12899 return NULL;
12900 }
12901
12902
12903 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
12905 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12906 wxString *arg2 = 0 ;
12907 bool temp2 = False ;
12908 PyObject * obj0 = 0 ;
12909 PyObject * obj1 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self",(char *) "value", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog,
12916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12917 {
12918 arg2 = wxString_in_helper(obj1);
12919 if (arg2 == NULL) SWIG_fail;
12920 temp2 = True;
12921 }
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 (arg1)->SetValue((wxString const &)*arg2);
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 Py_INCREF(Py_None); resultobj = Py_None;
12930 {
12931 if (temp2)
12932 delete arg2;
12933 }
12934 return resultobj;
12935 fail:
12936 {
12937 if (temp2)
12938 delete arg2;
12939 }
12940 return NULL;
12941 }
12942
12943
12944 static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12945 PyObject *obj;
12946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12947 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12948 Py_INCREF(obj);
12949 return Py_BuildValue((char *)"");
12950 }
12951 static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj;
12953 wxFontData *result;
12954 char *kwnames[] = {
12955 NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 result = (wxFontData *)new wxFontData();
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxFontData *arg1 = (wxFontData *) 0 ;
12976 PyObject * obj0 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "self", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
12983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 delete arg1;
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 Py_INCREF(Py_None); resultobj = Py_None;
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxFontData *arg1 = (wxFontData *) 0 ;
13001 bool arg2 ;
13002 PyObject * obj0 = 0 ;
13003 PyObject * obj1 = 0 ;
13004 char *kwnames[] = {
13005 (char *) "self",(char *) "enable", NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
13009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13011 arg2 = (bool) SWIG_AsBool(obj1);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 (arg1)->EnableEffects(arg2);
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 Py_INCREF(Py_None); resultobj = Py_None;
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxFontData *arg1 = (wxFontData *) 0 ;
13030 bool result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
13037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->GetAllowSymbols();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxFontData *arg1 = (wxFontData *) 0 ;
13058 wxColour result;
13059 PyObject * obj0 = 0 ;
13060 char *kwnames[] = {
13061 (char *) "self", NULL
13062 };
13063
13064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
13065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (arg1)->GetColour();
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 {
13075 wxColour * resultptr;
13076 resultptr = new wxColour((wxColour &) result);
13077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13078 }
13079 return resultobj;
13080 fail:
13081 return NULL;
13082 }
13083
13084
13085 static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj;
13087 wxFontData *arg1 = (wxFontData *) 0 ;
13088 wxFont result;
13089 PyObject * obj0 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (arg1)->GetChosenFont();
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 {
13105 wxFont * resultptr;
13106 resultptr = new wxFont((wxFont &) result);
13107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13108 }
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxFontData *arg1 = (wxFontData *) 0 ;
13118 bool result;
13119 PyObject * obj0 = 0 ;
13120 char *kwnames[] = {
13121 (char *) "self", NULL
13122 };
13123
13124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
13125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (bool)(arg1)->GetEnableEffects();
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 {
13135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13136 }
13137 return resultobj;
13138 fail:
13139 return NULL;
13140 }
13141
13142
13143 static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13144 PyObject *resultobj;
13145 wxFontData *arg1 = (wxFontData *) 0 ;
13146 wxFont result;
13147 PyObject * obj0 = 0 ;
13148 char *kwnames[] = {
13149 (char *) "self", NULL
13150 };
13151
13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
13153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13155 {
13156 PyThreadState* __tstate = wxPyBeginAllowThreads();
13157 result = (arg1)->GetInitialFont();
13158
13159 wxPyEndAllowThreads(__tstate);
13160 if (PyErr_Occurred()) SWIG_fail;
13161 }
13162 {
13163 wxFont * resultptr;
13164 resultptr = new wxFont((wxFont &) result);
13165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
13166 }
13167 return resultobj;
13168 fail:
13169 return NULL;
13170 }
13171
13172
13173 static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13174 PyObject *resultobj;
13175 wxFontData *arg1 = (wxFontData *) 0 ;
13176 bool result;
13177 PyObject * obj0 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 result = (bool)(arg1)->GetShowHelp();
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 {
13193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13194 }
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxFontData *arg1 = (wxFontData *) 0 ;
13204 bool arg2 ;
13205 PyObject * obj0 = 0 ;
13206 PyObject * obj1 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self",(char *) "allowSymbols", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13214 arg2 = (bool) SWIG_AsBool(obj1);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 (arg1)->SetAllowSymbols(arg2);
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 Py_INCREF(Py_None); resultobj = Py_None;
13224 return resultobj;
13225 fail:
13226 return NULL;
13227 }
13228
13229
13230 static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxFontData *arg1 = (wxFontData *) 0 ;
13233 wxFont *arg2 = 0 ;
13234 PyObject * obj0 = 0 ;
13235 PyObject * obj1 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "font", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13244 SWIG_POINTER_EXCEPTION | 0)) == -1)
13245 SWIG_fail;
13246 if (arg2 == NULL) {
13247 PyErr_SetString(PyExc_TypeError,"null reference");
13248 SWIG_fail;
13249 }
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 (arg1)->SetChosenFont((wxFont const &)*arg2);
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 Py_INCREF(Py_None); resultobj = Py_None;
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxFontData *arg1 = (wxFontData *) 0 ;
13267 wxColour *arg2 = 0 ;
13268 wxColour temp2 ;
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 char *kwnames[] = {
13272 (char *) "self",(char *) "colour", NULL
13273 };
13274
13275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13278 {
13279 arg2 = &temp2;
13280 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13281 }
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 (arg1)->SetColour((wxColour const &)*arg2);
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 Py_INCREF(Py_None); resultobj = Py_None;
13290 return resultobj;
13291 fail:
13292 return NULL;
13293 }
13294
13295
13296 static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj;
13298 wxFontData *arg1 = (wxFontData *) 0 ;
13299 wxFont *arg2 = 0 ;
13300 PyObject * obj0 = 0 ;
13301 PyObject * obj1 = 0 ;
13302 char *kwnames[] = {
13303 (char *) "self",(char *) "font", NULL
13304 };
13305
13306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
13307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
13310 SWIG_POINTER_EXCEPTION | 0)) == -1)
13311 SWIG_fail;
13312 if (arg2 == NULL) {
13313 PyErr_SetString(PyExc_TypeError,"null reference");
13314 SWIG_fail;
13315 }
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 (arg1)->SetInitialFont((wxFont const &)*arg2);
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 Py_INCREF(Py_None); resultobj = Py_None;
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxFontData *arg1 = (wxFontData *) 0 ;
13333 int arg2 ;
13334 int arg3 ;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 PyObject * obj2 = 0 ;
13338 char *kwnames[] = {
13339 (char *) "self",(char *) "min",(char *) "max", NULL
13340 };
13341
13342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13345 arg2 = (int) SWIG_AsInt(obj1);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 arg3 = (int) SWIG_AsInt(obj2);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 {
13350 PyThreadState* __tstate = wxPyBeginAllowThreads();
13351 (arg1)->SetRange(arg2,arg3);
13352
13353 wxPyEndAllowThreads(__tstate);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 Py_INCREF(Py_None); resultobj = Py_None;
13357 return resultobj;
13358 fail:
13359 return NULL;
13360 }
13361
13362
13363 static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13364 PyObject *resultobj;
13365 wxFontData *arg1 = (wxFontData *) 0 ;
13366 bool arg2 ;
13367 PyObject * obj0 = 0 ;
13368 PyObject * obj1 = 0 ;
13369 char *kwnames[] = {
13370 (char *) "self",(char *) "showHelp", NULL
13371 };
13372
13373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData,
13375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13376 arg2 = (bool) SWIG_AsBool(obj1);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 {
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 (arg1)->SetShowHelp(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 * FontData_swigregister(PyObject *self, PyObject *args) {
13393 PyObject *obj;
13394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13395 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13396 Py_INCREF(obj);
13397 return Py_BuildValue((char *)"");
13398 }
13399 static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj;
13401 wxWindow *arg1 = (wxWindow *) 0 ;
13402 wxFontData *arg2 = 0 ;
13403 wxFontDialog *result;
13404 PyObject * obj0 = 0 ;
13405 PyObject * obj1 = 0 ;
13406 char *kwnames[] = {
13407 (char *) "parent",(char *) "data", NULL
13408 };
13409
13410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13413 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData,
13414 SWIG_POINTER_EXCEPTION | 0)) == -1)
13415 SWIG_fail;
13416 if (arg2 == NULL) {
13417 PyErr_SetString(PyExc_TypeError,"null reference");
13418 SWIG_fail;
13419 }
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
13428 return resultobj;
13429 fail:
13430 return NULL;
13431 }
13432
13433
13434 static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13437 wxFontData *result;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog,
13445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 {
13449 wxFontData &_result_ref = (arg1)->GetFontData();
13450 result = (wxFontData *) &_result_ref;
13451 }
13452
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
13457 return resultobj;
13458 fail:
13459 return NULL;
13460 }
13461
13462
13463 static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13464 PyObject *obj;
13465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13466 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13467 Py_INCREF(obj);
13468 return Py_BuildValue((char *)"");
13469 }
13470 static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxWindow *arg1 = (wxWindow *) 0 ;
13473 wxString *arg2 = 0 ;
13474 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13475 wxString *arg3 = (wxString *) &arg3_defvalue ;
13476 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13477 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13478 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13479 wxMessageDialog *result;
13480 bool temp2 = False ;
13481 bool temp3 = False ;
13482 wxPoint temp5 ;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 PyObject * obj2 = 0 ;
13486 PyObject * obj3 = 0 ;
13487 PyObject * obj4 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13495 {
13496 arg2 = wxString_in_helper(obj1);
13497 if (arg2 == NULL) SWIG_fail;
13498 temp2 = True;
13499 }
13500 if (obj2) {
13501 {
13502 arg3 = wxString_in_helper(obj2);
13503 if (arg3 == NULL) SWIG_fail;
13504 temp3 = True;
13505 }
13506 }
13507 if (obj3) {
13508 arg4 = (long) SWIG_AsLong(obj3);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 if (obj4) {
13512 {
13513 arg5 = &temp5;
13514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13515 }
13516 }
13517 {
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13520
13521 wxPyEndAllowThreads(__tstate);
13522 if (PyErr_Occurred()) SWIG_fail;
13523 }
13524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
13525 {
13526 if (temp2)
13527 delete arg2;
13528 }
13529 {
13530 if (temp3)
13531 delete arg3;
13532 }
13533 return resultobj;
13534 fail:
13535 {
13536 if (temp2)
13537 delete arg2;
13538 }
13539 {
13540 if (temp3)
13541 delete arg3;
13542 }
13543 return NULL;
13544 }
13545
13546
13547 static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13548 PyObject *obj;
13549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13550 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13551 Py_INCREF(obj);
13552 return Py_BuildValue((char *)"");
13553 }
13554 static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13555 PyObject *resultobj;
13556 wxString *arg1 = 0 ;
13557 wxString *arg2 = 0 ;
13558 int arg3 = (int) 100 ;
13559 wxWindow *arg4 = (wxWindow *) NULL ;
13560 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13561 wxProgressDialog *result;
13562 bool temp1 = False ;
13563 bool temp2 = False ;
13564 PyObject * obj0 = 0 ;
13565 PyObject * obj1 = 0 ;
13566 PyObject * obj2 = 0 ;
13567 PyObject * obj3 = 0 ;
13568 PyObject * obj4 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13574 {
13575 arg1 = wxString_in_helper(obj0);
13576 if (arg1 == NULL) SWIG_fail;
13577 temp1 = True;
13578 }
13579 {
13580 arg2 = wxString_in_helper(obj1);
13581 if (arg2 == NULL) SWIG_fail;
13582 temp2 = True;
13583 }
13584 if (obj2) {
13585 arg3 = (int) SWIG_AsInt(obj2);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 if (obj3) {
13589 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
13590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13591 }
13592 if (obj4) {
13593 arg5 = (int) SWIG_AsInt(obj4);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
13604 {
13605 if (temp1)
13606 delete arg1;
13607 }
13608 {
13609 if (temp2)
13610 delete arg2;
13611 }
13612 return resultobj;
13613 fail:
13614 {
13615 if (temp1)
13616 delete arg1;
13617 }
13618 {
13619 if (temp2)
13620 delete arg2;
13621 }
13622 return NULL;
13623 }
13624
13625
13626 static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13627 PyObject *resultobj;
13628 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13629 int arg2 ;
13630 wxString const &arg3_defvalue = wxPyEmptyString ;
13631 wxString *arg3 = (wxString *) &arg3_defvalue ;
13632 bool result;
13633 bool temp3 = False ;
13634 PyObject * obj0 = 0 ;
13635 PyObject * obj1 = 0 ;
13636 PyObject * obj2 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 arg2 = (int) SWIG_AsInt(obj1);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 if (obj2) {
13647 {
13648 arg3 = wxString_in_helper(obj2);
13649 if (arg3 == NULL) SWIG_fail;
13650 temp3 = True;
13651 }
13652 }
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 {
13661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13662 }
13663 {
13664 if (temp3)
13665 delete arg3;
13666 }
13667 return resultobj;
13668 fail:
13669 {
13670 if (temp3)
13671 delete arg3;
13672 }
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13680 PyObject * obj0 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "self", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog,
13687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 (arg1)->Resume();
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
13695 Py_INCREF(Py_None); resultobj = Py_None;
13696 return resultobj;
13697 fail:
13698 return NULL;
13699 }
13700
13701
13702 static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13703 PyObject *obj;
13704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13705 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13706 Py_INCREF(obj);
13707 return Py_BuildValue((char *)"");
13708 }
13709 static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13710 PyObject *resultobj;
13711 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13712 int arg2 = (int) 0 ;
13713 wxFindDialogEvent *result;
13714 PyObject * obj0 = 0 ;
13715 PyObject * obj1 = 0 ;
13716 char *kwnames[] = {
13717 (char *) "commandType",(char *) "id", NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13721 if (obj0) {
13722 arg1 = (wxEventType) SWIG_AsInt(obj0);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 if (obj1) {
13726 arg2 = (int) SWIG_AsInt(obj1);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13732
13733 wxPyEndAllowThreads(__tstate);
13734 if (PyErr_Occurred()) SWIG_fail;
13735 }
13736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
13737 return resultobj;
13738 fail:
13739 return NULL;
13740 }
13741
13742
13743 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13746 int result;
13747 PyObject * obj0 = 0 ;
13748 char *kwnames[] = {
13749 (char *) "self", NULL
13750 };
13751
13752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 result = (int)(arg1)->GetFlags();
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 resultobj = SWIG_FromInt((int)result);
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13772 wxString *result;
13773 PyObject * obj0 = 0 ;
13774 char *kwnames[] = {
13775 (char *) "self", NULL
13776 };
13777
13778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 {
13784 wxString const &_result_ref = (arg1)->GetFindString();
13785 result = (wxString *) &_result_ref;
13786 }
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 {
13792 #if wxUSE_UNICODE
13793 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13794 #else
13795 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13796 #endif
13797 }
13798 return resultobj;
13799 fail:
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13807 wxString *result;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13816 {
13817 PyThreadState* __tstate = wxPyBeginAllowThreads();
13818 {
13819 wxString const &_result_ref = (arg1)->GetReplaceString();
13820 result = (wxString *) &_result_ref;
13821 }
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 {
13827 #if wxUSE_UNICODE
13828 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13829 #else
13830 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13831 #endif
13832 }
13833 return resultobj;
13834 fail:
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13842 wxFindReplaceDialog *result;
13843 PyObject * obj0 = 0 ;
13844 char *kwnames[] = {
13845 (char *) "self", NULL
13846 };
13847
13848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
13859 return resultobj;
13860 fail:
13861 return NULL;
13862 }
13863
13864
13865 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13866 PyObject *resultobj;
13867 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13868 int arg2 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self",(char *) "flags", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13878 arg2 = (int) SWIG_AsInt(obj1);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 (arg1)->SetFlags(arg2);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 Py_INCREF(Py_None); resultobj = Py_None;
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13897 wxString *arg2 = 0 ;
13898 bool temp2 = False ;
13899 PyObject * obj0 = 0 ;
13900 PyObject * obj1 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self",(char *) "str", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13908 {
13909 arg2 = wxString_in_helper(obj1);
13910 if (arg2 == NULL) SWIG_fail;
13911 temp2 = True;
13912 }
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 (arg1)->SetFindString((wxString const &)*arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 {
13922 if (temp2)
13923 delete arg2;
13924 }
13925 return resultobj;
13926 fail:
13927 {
13928 if (temp2)
13929 delete arg2;
13930 }
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13938 wxString *arg2 = 0 ;
13939 bool temp2 = False ;
13940 PyObject * obj0 = 0 ;
13941 PyObject * obj1 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "str", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent,
13948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13949 {
13950 arg2 = wxString_in_helper(obj1);
13951 if (arg2 == NULL) SWIG_fail;
13952 temp2 = True;
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->SetReplaceString((wxString const &)*arg2);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 {
13963 if (temp2)
13964 delete arg2;
13965 }
13966 return resultobj;
13967 fail:
13968 {
13969 if (temp2)
13970 delete arg2;
13971 }
13972 return NULL;
13973 }
13974
13975
13976 static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13977 PyObject *obj;
13978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13979 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13980 Py_INCREF(obj);
13981 return Py_BuildValue((char *)"");
13982 }
13983 static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 int arg1 = (int) 0 ;
13986 wxFindReplaceData *result;
13987 PyObject * obj0 = 0 ;
13988 char *kwnames[] = {
13989 (char *) "flags", NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13993 if (obj0) {
13994 arg1 = (int) SWIG_AsInt(obj0);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 {
13998 PyThreadState* __tstate = wxPyBeginAllowThreads();
13999 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
14000
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj;
14013 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14014 PyObject * obj0 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 delete arg1;
14025
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 Py_INCREF(Py_None); resultobj = Py_None;
14030 return resultobj;
14031 fail:
14032 return NULL;
14033 }
14034
14035
14036 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj;
14038 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14039 wxString *result;
14040 PyObject * obj0 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "self", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
14046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14048 {
14049 PyThreadState* __tstate = wxPyBeginAllowThreads();
14050 {
14051 wxString const &_result_ref = (arg1)->GetFindString();
14052 result = (wxString *) &_result_ref;
14053 }
14054
14055 wxPyEndAllowThreads(__tstate);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 }
14058 {
14059 #if wxUSE_UNICODE
14060 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14061 #else
14062 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14063 #endif
14064 }
14065 return resultobj;
14066 fail:
14067 return NULL;
14068 }
14069
14070
14071 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14072 PyObject *resultobj;
14073 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14074 wxString *result;
14075 PyObject * obj0 = 0 ;
14076 char *kwnames[] = {
14077 (char *) "self", NULL
14078 };
14079
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
14081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 {
14086 wxString const &_result_ref = (arg1)->GetReplaceString();
14087 result = (wxString *) &_result_ref;
14088 }
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 {
14094 #if wxUSE_UNICODE
14095 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14096 #else
14097 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14098 #endif
14099 }
14100 return resultobj;
14101 fail:
14102 return NULL;
14103 }
14104
14105
14106 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14109 int result;
14110 PyObject * obj0 = 0 ;
14111 char *kwnames[] = {
14112 (char *) "self", NULL
14113 };
14114
14115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
14116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (int)(arg1)->GetFlags();
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 resultobj = SWIG_FromInt((int)result);
14126 return resultobj;
14127 fail:
14128 return NULL;
14129 }
14130
14131
14132 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
14133 PyObject *resultobj;
14134 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14135 int arg2 ;
14136 PyObject * obj0 = 0 ;
14137 PyObject * obj1 = 0 ;
14138 char *kwnames[] = {
14139 (char *) "self",(char *) "flags", NULL
14140 };
14141
14142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
14143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14145 arg2 = (int) SWIG_AsInt(obj1);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 (arg1)->SetFlags(arg2);
14150
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 Py_INCREF(Py_None); resultobj = Py_None;
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14164 wxString *arg2 = 0 ;
14165 bool temp2 = False ;
14166 PyObject * obj0 = 0 ;
14167 PyObject * obj1 = 0 ;
14168 char *kwnames[] = {
14169 (char *) "self",(char *) "str", NULL
14170 };
14171
14172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
14173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14175 {
14176 arg2 = wxString_in_helper(obj1);
14177 if (arg2 == NULL) SWIG_fail;
14178 temp2 = True;
14179 }
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 (arg1)->SetFindString((wxString const &)*arg2);
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 Py_INCREF(Py_None); resultobj = Py_None;
14188 {
14189 if (temp2)
14190 delete arg2;
14191 }
14192 return resultobj;
14193 fail:
14194 {
14195 if (temp2)
14196 delete arg2;
14197 }
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
14205 wxString *arg2 = 0 ;
14206 bool temp2 = False ;
14207 PyObject * obj0 = 0 ;
14208 PyObject * obj1 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self",(char *) "str", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
14214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData,
14215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14216 {
14217 arg2 = wxString_in_helper(obj1);
14218 if (arg2 == NULL) SWIG_fail;
14219 temp2 = True;
14220 }
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 (arg1)->SetReplaceString((wxString const &)*arg2);
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 Py_INCREF(Py_None); resultobj = Py_None;
14229 {
14230 if (temp2)
14231 delete arg2;
14232 }
14233 return resultobj;
14234 fail:
14235 {
14236 if (temp2)
14237 delete arg2;
14238 }
14239 return NULL;
14240 }
14241
14242
14243 static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
14244 PyObject *obj;
14245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14246 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
14247 Py_INCREF(obj);
14248 return Py_BuildValue((char *)"");
14249 }
14250 static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxWindow *arg1 = (wxWindow *) 0 ;
14253 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14254 wxString *arg3 = 0 ;
14255 int arg4 = (int) 0 ;
14256 wxFindReplaceDialog *result;
14257 bool temp3 = False ;
14258 PyObject * obj0 = 0 ;
14259 PyObject * obj1 = 0 ;
14260 PyObject * obj2 = 0 ;
14261 PyObject * obj3 = 0 ;
14262 char *kwnames[] = {
14263 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14264 };
14265
14266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14271 {
14272 arg3 = wxString_in_helper(obj2);
14273 if (arg3 == NULL) SWIG_fail;
14274 temp3 = True;
14275 }
14276 if (obj3) {
14277 arg4 = (int) SWIG_AsInt(obj3);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 {
14281 PyThreadState* __tstate = wxPyBeginAllowThreads();
14282 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
14283
14284 wxPyEndAllowThreads(__tstate);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14288 {
14289 if (temp3)
14290 delete arg3;
14291 }
14292 return resultobj;
14293 fail:
14294 {
14295 if (temp3)
14296 delete arg3;
14297 }
14298 return NULL;
14299 }
14300
14301
14302 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj;
14304 wxFindReplaceDialog *result;
14305 char *kwnames[] = {
14306 NULL
14307 };
14308
14309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
14310 {
14311 PyThreadState* __tstate = wxPyBeginAllowThreads();
14312 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
14313
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
14317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
14318 return resultobj;
14319 fail:
14320 return NULL;
14321 }
14322
14323
14324 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj;
14326 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14327 wxWindow *arg2 = (wxWindow *) 0 ;
14328 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14329 wxString *arg4 = 0 ;
14330 int arg5 = (int) 0 ;
14331 bool result;
14332 bool temp4 = False ;
14333 PyObject * obj0 = 0 ;
14334 PyObject * obj1 = 0 ;
14335 PyObject * obj2 = 0 ;
14336 PyObject * obj3 = 0 ;
14337 PyObject * obj4 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14345 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14347 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData,
14348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14349 {
14350 arg4 = wxString_in_helper(obj3);
14351 if (arg4 == NULL) SWIG_fail;
14352 temp4 = True;
14353 }
14354 if (obj4) {
14355 arg5 = (int) SWIG_AsInt(obj4);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 {
14366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14367 }
14368 {
14369 if (temp4)
14370 delete arg4;
14371 }
14372 return resultobj;
14373 fail:
14374 {
14375 if (temp4)
14376 delete arg4;
14377 }
14378 return NULL;
14379 }
14380
14381
14382 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14385 wxFindReplaceData *result;
14386 PyObject * obj0 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "self", NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (wxFindReplaceData *)(arg1)->GetData();
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14409 PyObject *resultobj;
14410 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14411 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14412 PyObject * obj0 = 0 ;
14413 PyObject * obj1 = 0 ;
14414 char *kwnames[] = {
14415 (char *) "self",(char *) "data", NULL
14416 };
14417
14418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog,
14420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData,
14422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 (arg1)->SetData(arg2);
14426
14427 wxPyEndAllowThreads(__tstate);
14428 if (PyErr_Occurred()) SWIG_fail;
14429 }
14430 Py_INCREF(Py_None); resultobj = Py_None;
14431 return resultobj;
14432 fail:
14433 return NULL;
14434 }
14435
14436
14437 static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14438 PyObject *obj;
14439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14440 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14441 Py_INCREF(obj);
14442 return Py_BuildValue((char *)"");
14443 }
14444 static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14445 PyObject *resultobj;
14446 wxWindow *arg1 = (wxWindow *) 0 ;
14447 int arg2 ;
14448 wxString *arg3 = 0 ;
14449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14451 wxSize const &arg5_defvalue = wxDefaultSize ;
14452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14453 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14454 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14455 wxString *arg7 = (wxString *) &arg7_defvalue ;
14456 wxMDIParentFrame *result;
14457 bool temp3 = False ;
14458 wxPoint temp4 ;
14459 wxSize temp5 ;
14460 bool temp7 = False ;
14461 PyObject * obj0 = 0 ;
14462 PyObject * obj1 = 0 ;
14463 PyObject * obj2 = 0 ;
14464 PyObject * obj3 = 0 ;
14465 PyObject * obj4 = 0 ;
14466 PyObject * obj5 = 0 ;
14467 PyObject * obj6 = 0 ;
14468 char *kwnames[] = {
14469 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14470 };
14471
14472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14475 arg2 = (int const) SWIG_AsInt(obj1);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 {
14478 arg3 = wxString_in_helper(obj2);
14479 if (arg3 == NULL) SWIG_fail;
14480 temp3 = True;
14481 }
14482 if (obj3) {
14483 {
14484 arg4 = &temp4;
14485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14486 }
14487 }
14488 if (obj4) {
14489 {
14490 arg5 = &temp5;
14491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14492 }
14493 }
14494 if (obj5) {
14495 arg6 = (long) SWIG_AsLong(obj5);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 if (obj6) {
14499 {
14500 arg7 = wxString_in_helper(obj6);
14501 if (arg7 == NULL) SWIG_fail;
14502 temp7 = True;
14503 }
14504 }
14505 {
14506 PyThreadState* __tstate = wxPyBeginAllowThreads();
14507 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14508
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14513 {
14514 if (temp3)
14515 delete arg3;
14516 }
14517 {
14518 if (temp7)
14519 delete arg7;
14520 }
14521 return resultobj;
14522 fail:
14523 {
14524 if (temp3)
14525 delete arg3;
14526 }
14527 {
14528 if (temp7)
14529 delete arg7;
14530 }
14531 return NULL;
14532 }
14533
14534
14535 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14536 PyObject *resultobj;
14537 wxMDIParentFrame *result;
14538 char *kwnames[] = {
14539 NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14560 wxWindow *arg2 = (wxWindow *) 0 ;
14561 int arg3 ;
14562 wxString *arg4 = 0 ;
14563 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14564 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14565 wxSize const &arg6_defvalue = wxDefaultSize ;
14566 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14567 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14568 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14569 wxString *arg8 = (wxString *) &arg8_defvalue ;
14570 bool result;
14571 bool temp4 = False ;
14572 wxPoint temp5 ;
14573 wxSize temp6 ;
14574 bool temp8 = False ;
14575 PyObject * obj0 = 0 ;
14576 PyObject * obj1 = 0 ;
14577 PyObject * obj2 = 0 ;
14578 PyObject * obj3 = 0 ;
14579 PyObject * obj4 = 0 ;
14580 PyObject * obj5 = 0 ;
14581 PyObject * obj6 = 0 ;
14582 PyObject * obj7 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14592 arg3 = (int const) SWIG_AsInt(obj2);
14593 if (PyErr_Occurred()) SWIG_fail;
14594 {
14595 arg4 = wxString_in_helper(obj3);
14596 if (arg4 == NULL) SWIG_fail;
14597 temp4 = True;
14598 }
14599 if (obj4) {
14600 {
14601 arg5 = &temp5;
14602 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14603 }
14604 }
14605 if (obj5) {
14606 {
14607 arg6 = &temp6;
14608 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14609 }
14610 }
14611 if (obj6) {
14612 arg7 = (long) SWIG_AsLong(obj6);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 if (obj7) {
14616 {
14617 arg8 = wxString_in_helper(obj7);
14618 if (arg8 == NULL) SWIG_fail;
14619 temp8 = True;
14620 }
14621 }
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 {
14630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14631 }
14632 {
14633 if (temp4)
14634 delete arg4;
14635 }
14636 {
14637 if (temp8)
14638 delete arg8;
14639 }
14640 return resultobj;
14641 fail:
14642 {
14643 if (temp4)
14644 delete arg4;
14645 }
14646 {
14647 if (temp8)
14648 delete arg8;
14649 }
14650 return NULL;
14651 }
14652
14653
14654 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14655 PyObject *resultobj;
14656 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14665 {
14666 PyThreadState* __tstate = wxPyBeginAllowThreads();
14667 (arg1)->ActivateNext();
14668
14669 wxPyEndAllowThreads(__tstate);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 Py_INCREF(Py_None); resultobj = Py_None;
14673 return resultobj;
14674 fail:
14675 return NULL;
14676 }
14677
14678
14679 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14682 PyObject * obj0 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 (arg1)->ActivatePrevious();
14693
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 Py_INCREF(Py_None); resultobj = Py_None;
14698 return resultobj;
14699 fail:
14700 return NULL;
14701 }
14702
14703
14704 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14707 PyObject * obj0 = 0 ;
14708 char *kwnames[] = {
14709 (char *) "self", NULL
14710 };
14711
14712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 (arg1)->ArrangeIcons();
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 (arg1)->Cascade();
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 Py_INCREF(Py_None); resultobj = Py_None;
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14755 PyObject *resultobj;
14756 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14757 wxMDIChildFrame *result;
14758 PyObject * obj0 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 {
14774 resultobj = wxPyMake_wxObject(result);
14775 }
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14785 wxMDIClientWindow *result;
14786 PyObject * obj0 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "self", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 {
14802 resultobj = wxPyMake_wxObject(result);
14803 }
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14811 PyObject *resultobj;
14812 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14813 wxWindow *result;
14814 PyObject * obj0 = 0 ;
14815 char *kwnames[] = {
14816 (char *) "self", NULL
14817 };
14818
14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (wxWindow *)(arg1)->GetToolBar();
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 {
14830 resultobj = wxPyMake_wxObject(result);
14831 }
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14841 PyObject * obj0 = 0 ;
14842 char *kwnames[] = {
14843 (char *) "self", NULL
14844 };
14845
14846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 (arg1)->Tile();
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860 }
14861
14862
14863 static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14864 PyObject *obj;
14865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14866 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14867 Py_INCREF(obj);
14868 return Py_BuildValue((char *)"");
14869 }
14870 static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14873 int arg2 ;
14874 wxString *arg3 = 0 ;
14875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14877 wxSize const &arg5_defvalue = wxDefaultSize ;
14878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14879 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14880 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14881 wxString *arg7 = (wxString *) &arg7_defvalue ;
14882 wxMDIChildFrame *result;
14883 bool temp3 = False ;
14884 wxPoint temp4 ;
14885 wxSize temp5 ;
14886 bool temp7 = False ;
14887 PyObject * obj0 = 0 ;
14888 PyObject * obj1 = 0 ;
14889 PyObject * obj2 = 0 ;
14890 PyObject * obj3 = 0 ;
14891 PyObject * obj4 = 0 ;
14892 PyObject * obj5 = 0 ;
14893 PyObject * obj6 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
14900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14901 arg2 = (int const) SWIG_AsInt(obj1);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 {
14904 arg3 = wxString_in_helper(obj2);
14905 if (arg3 == NULL) SWIG_fail;
14906 temp3 = True;
14907 }
14908 if (obj3) {
14909 {
14910 arg4 = &temp4;
14911 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14912 }
14913 }
14914 if (obj4) {
14915 {
14916 arg5 = &temp5;
14917 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14918 }
14919 }
14920 if (obj5) {
14921 arg6 = (long) SWIG_AsLong(obj5);
14922 if (PyErr_Occurred()) SWIG_fail;
14923 }
14924 if (obj6) {
14925 {
14926 arg7 = wxString_in_helper(obj6);
14927 if (arg7 == NULL) SWIG_fail;
14928 temp7 = True;
14929 }
14930 }
14931 {
14932 PyThreadState* __tstate = wxPyBeginAllowThreads();
14933 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14934
14935 wxPyEndAllowThreads(__tstate);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 {
14939 resultobj = wxPyMake_wxObject(result);
14940 }
14941 {
14942 if (temp3)
14943 delete arg3;
14944 }
14945 {
14946 if (temp7)
14947 delete arg7;
14948 }
14949 return resultobj;
14950 fail:
14951 {
14952 if (temp3)
14953 delete arg3;
14954 }
14955 {
14956 if (temp7)
14957 delete arg7;
14958 }
14959 return NULL;
14960 }
14961
14962
14963 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14964 PyObject *resultobj;
14965 wxMDIChildFrame *result;
14966 char *kwnames[] = {
14967 NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 {
14979 resultobj = wxPyMake_wxObject(result);
14980 }
14981 return resultobj;
14982 fail:
14983 return NULL;
14984 }
14985
14986
14987 static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14990 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14991 int arg3 ;
14992 wxString *arg4 = 0 ;
14993 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14994 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14995 wxSize const &arg6_defvalue = wxDefaultSize ;
14996 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14997 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14998 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14999 wxString *arg8 = (wxString *) &arg8_defvalue ;
15000 bool result;
15001 bool temp4 = False ;
15002 wxPoint temp5 ;
15003 wxSize temp6 ;
15004 bool temp8 = False ;
15005 PyObject * obj0 = 0 ;
15006 PyObject * obj1 = 0 ;
15007 PyObject * obj2 = 0 ;
15008 PyObject * obj3 = 0 ;
15009 PyObject * obj4 = 0 ;
15010 PyObject * obj5 = 0 ;
15011 PyObject * obj6 = 0 ;
15012 PyObject * obj7 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15022 arg3 = (int const) SWIG_AsInt(obj2);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 {
15025 arg4 = wxString_in_helper(obj3);
15026 if (arg4 == NULL) SWIG_fail;
15027 temp4 = True;
15028 }
15029 if (obj4) {
15030 {
15031 arg5 = &temp5;
15032 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15033 }
15034 }
15035 if (obj5) {
15036 {
15037 arg6 = &temp6;
15038 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15039 }
15040 }
15041 if (obj6) {
15042 arg7 = (long) SWIG_AsLong(obj6);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 if (obj7) {
15046 {
15047 arg8 = wxString_in_helper(obj7);
15048 if (arg8 == NULL) SWIG_fail;
15049 temp8 = True;
15050 }
15051 }
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 {
15060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15061 }
15062 {
15063 if (temp4)
15064 delete arg4;
15065 }
15066 {
15067 if (temp8)
15068 delete arg8;
15069 }
15070 return resultobj;
15071 fail:
15072 {
15073 if (temp4)
15074 delete arg4;
15075 }
15076 {
15077 if (temp8)
15078 delete arg8;
15079 }
15080 return NULL;
15081 }
15082
15083
15084 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj;
15086 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15087 PyObject * obj0 = 0 ;
15088 char *kwnames[] = {
15089 (char *) "self", NULL
15090 };
15091
15092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
15093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15095 {
15096 PyThreadState* __tstate = wxPyBeginAllowThreads();
15097 (arg1)->Activate();
15098
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 Py_INCREF(Py_None); resultobj = Py_None;
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj;
15111 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15112 bool arg2 ;
15113 PyObject * obj0 = 0 ;
15114 PyObject * obj1 = 0 ;
15115 char *kwnames[] = {
15116 (char *) "self",(char *) "maximize", NULL
15117 };
15118
15119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
15120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15122 arg2 = (bool) SWIG_AsBool(obj1);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 (arg1)->Maximize(arg2);
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 Py_INCREF(Py_None); resultobj = Py_None;
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj;
15140 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
15141 PyObject * obj0 = 0 ;
15142 char *kwnames[] = {
15143 (char *) "self", NULL
15144 };
15145
15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
15147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame,
15148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15149 {
15150 PyThreadState* __tstate = wxPyBeginAllowThreads();
15151 (arg1)->Restore();
15152
15153 wxPyEndAllowThreads(__tstate);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 Py_INCREF(Py_None); resultobj = Py_None;
15157 return resultobj;
15158 fail:
15159 return NULL;
15160 }
15161
15162
15163 static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
15164 PyObject *obj;
15165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15166 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
15167 Py_INCREF(obj);
15168 return Py_BuildValue((char *)"");
15169 }
15170 static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
15173 long arg2 = (long) 0 ;
15174 wxMDIClientWindow *result;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "parent",(char *) "style", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
15182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame,
15183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15184 if (obj1) {
15185 arg2 = (long) SWIG_AsLong(obj1);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 {
15196 resultobj = wxPyMake_wxObject(result);
15197 }
15198 return resultobj;
15199 fail:
15200 return NULL;
15201 }
15202
15203
15204 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxMDIClientWindow *result;
15207 char *kwnames[] = {
15208 NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (wxMDIClientWindow *)new wxMDIClientWindow();
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 {
15220 resultobj = wxPyMake_wxObject(result);
15221 }
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
15231 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
15232 long arg3 = (long) 0 ;
15233 bool result;
15234 PyObject * obj0 = 0 ;
15235 PyObject * obj1 = 0 ;
15236 PyObject * obj2 = 0 ;
15237 char *kwnames[] = {
15238 (char *) "self",(char *) "parent",(char *) "style", NULL
15239 };
15240
15241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow,
15243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame,
15245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15246 if (obj2) {
15247 arg3 = (long) SWIG_AsLong(obj2);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (bool)(arg1)->Create(arg2,arg3);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 {
15258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15259 }
15260 return resultobj;
15261 fail:
15262 return NULL;
15263 }
15264
15265
15266 static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15267 PyObject *obj;
15268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15269 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15270 Py_INCREF(obj);
15271 return Py_BuildValue((char *)"");
15272 }
15273 static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 wxWindow *arg1 = (wxWindow *) 0 ;
15276 int arg2 ;
15277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15279 wxSize const &arg4_defvalue = wxDefaultSize ;
15280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15281 long arg5 = (long) 0 ;
15282 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15283 wxString *arg6 = (wxString *) &arg6_defvalue ;
15284 wxPyWindow *result;
15285 wxPoint temp3 ;
15286 wxSize temp4 ;
15287 bool temp6 = False ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 PyObject * obj2 = 0 ;
15291 PyObject * obj3 = 0 ;
15292 PyObject * obj4 = 0 ;
15293 PyObject * obj5 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15301 arg2 = (int const) SWIG_AsInt(obj1);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 if (obj2) {
15304 {
15305 arg3 = &temp3;
15306 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15307 }
15308 }
15309 if (obj3) {
15310 {
15311 arg4 = &temp4;
15312 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15313 }
15314 }
15315 if (obj4) {
15316 arg5 = (long) SWIG_AsLong(obj4);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 if (obj5) {
15320 {
15321 arg6 = wxString_in_helper(obj5);
15322 if (arg6 == NULL) SWIG_fail;
15323 temp6 = True;
15324 }
15325 }
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15329
15330 wxPyEndAllowThreads(__tstate);
15331 if (PyErr_Occurred()) SWIG_fail;
15332 }
15333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15334 {
15335 if (temp6)
15336 delete arg6;
15337 }
15338 return resultobj;
15339 fail:
15340 {
15341 if (temp6)
15342 delete arg6;
15343 }
15344 return NULL;
15345 }
15346
15347
15348 static PyObject *_wrap_new_PrePyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxPyWindow *result;
15351 char *kwnames[] = {
15352 NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
15356 {
15357 PyThreadState* __tstate = wxPyBeginAllowThreads();
15358 result = (wxPyWindow *)new wxPyWindow();
15359
15360 wxPyEndAllowThreads(__tstate);
15361 if (PyErr_Occurred()) SWIG_fail;
15362 }
15363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15373 PyObject *arg2 = (PyObject *) 0 ;
15374 PyObject *arg3 = (PyObject *) 0 ;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 PyObject * obj2 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "self",(char *) "_class", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15385 arg2 = obj1;
15386 arg3 = obj2;
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 (arg1)->_setCallbackInfo(arg2,arg3);
15390
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 Py_INCREF(Py_None); resultobj = Py_None;
15395 return resultobj;
15396 fail:
15397 return NULL;
15398 }
15399
15400
15401 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15404 wxSize *arg2 = 0 ;
15405 wxSize temp2 ;
15406 PyObject * obj0 = 0 ;
15407 PyObject * obj1 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self",(char *) "size", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
15413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15415 {
15416 arg2 = &temp2;
15417 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15418 }
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 (arg1)->SetBestSize((wxSize const &)*arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 Py_INCREF(Py_None); resultobj = Py_None;
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15436 int arg2 ;
15437 int arg3 ;
15438 int arg4 ;
15439 int arg5 ;
15440 PyObject * obj0 = 0 ;
15441 PyObject * obj1 = 0 ;
15442 PyObject * obj2 = 0 ;
15443 PyObject * obj3 = 0 ;
15444 PyObject * obj4 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 arg2 = (int) SWIG_AsInt(obj1);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 arg3 = (int) SWIG_AsInt(obj2);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 arg4 = (int) SWIG_AsInt(obj3);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 arg5 = (int) SWIG_AsInt(obj4);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 Py_INCREF(Py_None); resultobj = Py_None;
15468 return resultobj;
15469 fail:
15470 return NULL;
15471 }
15472
15473
15474 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15477 int arg2 ;
15478 int arg3 ;
15479 int arg4 ;
15480 int arg5 ;
15481 int arg6 = (int) wxSIZE_AUTO ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 PyObject * obj2 = 0 ;
15485 PyObject * obj3 = 0 ;
15486 PyObject * obj4 = 0 ;
15487 PyObject * obj5 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15495 arg2 = (int) SWIG_AsInt(obj1);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 arg3 = (int) SWIG_AsInt(obj2);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 arg4 = (int) SWIG_AsInt(obj3);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 arg5 = (int) SWIG_AsInt(obj4);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 if (obj5) {
15504 arg6 = (int) SWIG_AsInt(obj5);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518 }
15519
15520
15521 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15524 int arg2 ;
15525 int arg3 ;
15526 PyObject * obj0 = 0 ;
15527 PyObject * obj1 = 0 ;
15528 PyObject * obj2 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "width",(char *) "height", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15536 arg2 = (int) SWIG_AsInt(obj1);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 arg3 = (int) SWIG_AsInt(obj2);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 (arg1)->base_DoSetClientSize(arg2,arg3);
15543
15544 wxPyEndAllowThreads(__tstate);
15545 if (PyErr_Occurred()) SWIG_fail;
15546 }
15547 Py_INCREF(Py_None); resultobj = Py_None;
15548 return resultobj;
15549 fail:
15550 return NULL;
15551 }
15552
15553
15554 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15555 PyObject *resultobj;
15556 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15557 int arg2 ;
15558 int arg3 ;
15559 PyObject * obj0 = 0 ;
15560 PyObject * obj1 = 0 ;
15561 PyObject * obj2 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self",(char *) "x",(char *) "y", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15569 arg2 = (int) SWIG_AsInt(obj1);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 arg3 = (int) SWIG_AsInt(obj2);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 Py_INCREF(Py_None); resultobj = Py_None;
15581 return resultobj;
15582 fail:
15583 return NULL;
15584 }
15585
15586
15587 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15590 int *arg2 = (int *) 0 ;
15591 int *arg3 = (int *) 0 ;
15592 int temp2 ;
15593 int temp3 ;
15594 PyObject * obj0 = 0 ;
15595 char *kwnames[] = {
15596 (char *) "self", NULL
15597 };
15598
15599 arg2 = &temp2;
15600 arg3 = &temp3;
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 Py_INCREF(Py_None); resultobj = Py_None;
15612 {
15613 PyObject *o = PyInt_FromLong((long) (*arg2));
15614 resultobj = t_output_helper(resultobj,o);
15615 }
15616 {
15617 PyObject *o = PyInt_FromLong((long) (*arg3));
15618 resultobj = t_output_helper(resultobj,o);
15619 }
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15629 int *arg2 = (int *) 0 ;
15630 int *arg3 = (int *) 0 ;
15631 int temp2 ;
15632 int temp3 ;
15633 PyObject * obj0 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self", NULL
15636 };
15637
15638 arg2 = &temp2;
15639 arg3 = &temp3;
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 Py_INCREF(Py_None); resultobj = Py_None;
15651 {
15652 PyObject *o = PyInt_FromLong((long) (*arg2));
15653 resultobj = t_output_helper(resultobj,o);
15654 }
15655 {
15656 PyObject *o = PyInt_FromLong((long) (*arg3));
15657 resultobj = t_output_helper(resultobj,o);
15658 }
15659 return resultobj;
15660 fail:
15661 return NULL;
15662 }
15663
15664
15665 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj;
15667 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15668 int *arg2 = (int *) 0 ;
15669 int *arg3 = (int *) 0 ;
15670 int temp2 ;
15671 int temp3 ;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self", NULL
15675 };
15676
15677 arg2 = &temp2;
15678 arg3 = &temp3;
15679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15682 {
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 Py_INCREF(Py_None); resultobj = Py_None;
15690 {
15691 PyObject *o = PyInt_FromLong((long) (*arg2));
15692 resultobj = t_output_helper(resultobj,o);
15693 }
15694 {
15695 PyObject *o = PyInt_FromLong((long) (*arg3));
15696 resultobj = t_output_helper(resultobj,o);
15697 }
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15707 wxSize result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15716 {
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15719
15720 wxPyEndAllowThreads(__tstate);
15721 if (PyErr_Occurred()) SWIG_fail;
15722 }
15723 {
15724 wxSize * resultptr;
15725 resultptr = new wxSize((wxSize &) result);
15726 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15727 }
15728 return resultobj;
15729 fail:
15730 return NULL;
15731 }
15732
15733
15734 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15735 PyObject *resultobj;
15736 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15737 wxSize result;
15738 PyObject * obj0 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 {
15754 wxSize * resultptr;
15755 resultptr = new wxSize((wxSize &) result);
15756 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15757 }
15758 return resultobj;
15759 fail:
15760 return NULL;
15761 }
15762
15763
15764 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj;
15766 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15767 PyObject * obj0 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15775 {
15776 PyThreadState* __tstate = wxPyBeginAllowThreads();
15777 (arg1)->base_InitDialog();
15778
15779 wxPyEndAllowThreads(__tstate);
15780 if (PyErr_Occurred()) SWIG_fail;
15781 }
15782 Py_INCREF(Py_None); resultobj = Py_None;
15783 return resultobj;
15784 fail:
15785 return NULL;
15786 }
15787
15788
15789 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15790 PyObject *resultobj;
15791 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15792 bool result;
15793 PyObject * obj0 = 0 ;
15794 char *kwnames[] = {
15795 (char *) "self", NULL
15796 };
15797
15798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 result = (bool)(arg1)->base_TransferDataToWindow();
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 {
15809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15810 }
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15820 bool result;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 result = (bool)(arg1)->base_TransferDataFromWindow();
15832
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 {
15837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15838 }
15839 return resultobj;
15840 fail:
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15848 bool result;
15849 PyObject * obj0 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (bool)(arg1)->base_Validate();
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 {
15865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15876 bool result;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 {
15893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15894 }
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15904 bool result;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 {
15921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15922 }
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15932 wxSize result;
15933 PyObject * obj0 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 {
15949 wxSize * resultptr;
15950 resultptr = new wxSize((wxSize &) result);
15951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15952 }
15953 return resultobj;
15954 fail:
15955 return NULL;
15956 }
15957
15958
15959 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15962 wxWindow *arg2 = (wxWindow *) 0 ;
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 char *kwnames[] = {
15966 (char *) "self",(char *) "child", NULL
15967 };
15968
15969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
15971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15972 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 (arg1)->base_AddChild(arg2);
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 Py_INCREF(Py_None); resultobj = Py_None;
15982 return resultobj;
15983 fail:
15984 return NULL;
15985 }
15986
15987
15988 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15991 wxWindow *arg2 = (wxWindow *) 0 ;
15992 PyObject * obj0 = 0 ;
15993 PyObject * obj1 = 0 ;
15994 char *kwnames[] = {
15995 (char *) "self",(char *) "child", NULL
15996 };
15997
15998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 (arg1)->base_RemoveChild(arg2);
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 Py_INCREF(Py_None); resultobj = Py_None;
16011 return resultobj;
16012 fail:
16013 return NULL;
16014 }
16015
16016
16017 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16018 PyObject *resultobj;
16019 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16020 bool result;
16021 PyObject * obj0 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 {
16037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16038 }
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16048 wxColour *arg2 = 0 ;
16049 wxColour temp2 ;
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self",(char *) "c", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow,
16058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16059 {
16060 arg2 = &temp2;
16061 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16062 }
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 Py_INCREF(Py_None); resultobj = Py_None;
16071 return resultobj;
16072 fail:
16073 return NULL;
16074 }
16075
16076
16077 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
16080 wxVisualAttributes result;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",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 = (arg1)->base_GetDefaultAttributes();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 wxVisualAttributes * resultptr;
16098 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16100 }
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
16108 PyObject *obj;
16109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16110 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
16111 Py_INCREF(obj);
16112 return Py_BuildValue((char *)"");
16113 }
16114 static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxWindow *arg1 = (wxWindow *) 0 ;
16117 int arg2 ;
16118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16120 wxSize const &arg4_defvalue = wxDefaultSize ;
16121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16122 long arg5 = (long) 0 ;
16123 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16124 wxString *arg6 = (wxString *) &arg6_defvalue ;
16125 wxPyPanel *result;
16126 wxPoint temp3 ;
16127 wxSize temp4 ;
16128 bool temp6 = False ;
16129 PyObject * obj0 = 0 ;
16130 PyObject * obj1 = 0 ;
16131 PyObject * obj2 = 0 ;
16132 PyObject * obj3 = 0 ;
16133 PyObject * obj4 = 0 ;
16134 PyObject * obj5 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16142 arg2 = (int const) SWIG_AsInt(obj1);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 if (obj2) {
16145 {
16146 arg3 = &temp3;
16147 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16148 }
16149 }
16150 if (obj3) {
16151 {
16152 arg4 = &temp4;
16153 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16154 }
16155 }
16156 if (obj4) {
16157 arg5 = (long) SWIG_AsLong(obj4);
16158 if (PyErr_Occurred()) SWIG_fail;
16159 }
16160 if (obj5) {
16161 {
16162 arg6 = wxString_in_helper(obj5);
16163 if (arg6 == NULL) SWIG_fail;
16164 temp6 = True;
16165 }
16166 }
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16175 {
16176 if (temp6)
16177 delete arg6;
16178 }
16179 return resultobj;
16180 fail:
16181 {
16182 if (temp6)
16183 delete arg6;
16184 }
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_new_PrePyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxPyPanel *result;
16192 char *kwnames[] = {
16193 NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (wxPyPanel *)new wxPyPanel();
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
16205 return resultobj;
16206 fail:
16207 return NULL;
16208 }
16209
16210
16211 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16214 PyObject *arg2 = (PyObject *) 0 ;
16215 PyObject *arg3 = (PyObject *) 0 ;
16216 PyObject * obj0 = 0 ;
16217 PyObject * obj1 = 0 ;
16218 PyObject * obj2 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self",(char *) "self",(char *) "_class", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16226 arg2 = obj1;
16227 arg3 = obj2;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 (arg1)->_setCallbackInfo(arg2,arg3);
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 Py_INCREF(Py_None); resultobj = Py_None;
16236 return resultobj;
16237 fail:
16238 return NULL;
16239 }
16240
16241
16242 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16245 wxSize *arg2 = 0 ;
16246 wxSize temp2 ;
16247 PyObject * obj0 = 0 ;
16248 PyObject * obj1 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self",(char *) "size", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16256 {
16257 arg2 = &temp2;
16258 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16259 }
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->SetBestSize((wxSize const &)*arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16277 int arg2 ;
16278 int arg3 ;
16279 int arg4 ;
16280 int arg5 ;
16281 PyObject * obj0 = 0 ;
16282 PyObject * obj1 = 0 ;
16283 PyObject * obj2 = 0 ;
16284 PyObject * obj3 = 0 ;
16285 PyObject * obj4 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16293 arg2 = (int) SWIG_AsInt(obj1);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 arg3 = (int) SWIG_AsInt(obj2);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 arg4 = (int) SWIG_AsInt(obj3);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 arg5 = (int) SWIG_AsInt(obj4);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 Py_INCREF(Py_None); resultobj = Py_None;
16309 return resultobj;
16310 fail:
16311 return NULL;
16312 }
16313
16314
16315 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj;
16317 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16318 int arg2 ;
16319 int arg3 ;
16320 int arg4 ;
16321 int arg5 ;
16322 int arg6 = (int) wxSIZE_AUTO ;
16323 PyObject * obj0 = 0 ;
16324 PyObject * obj1 = 0 ;
16325 PyObject * obj2 = 0 ;
16326 PyObject * obj3 = 0 ;
16327 PyObject * obj4 = 0 ;
16328 PyObject * obj5 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16336 arg2 = (int) SWIG_AsInt(obj1);
16337 if (PyErr_Occurred()) SWIG_fail;
16338 arg3 = (int) SWIG_AsInt(obj2);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 arg4 = (int) SWIG_AsInt(obj3);
16341 if (PyErr_Occurred()) SWIG_fail;
16342 arg5 = (int) SWIG_AsInt(obj4);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 if (obj5) {
16345 arg6 = (int) SWIG_AsInt(obj5);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
16351
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 Py_INCREF(Py_None); resultobj = Py_None;
16356 return resultobj;
16357 fail:
16358 return NULL;
16359 }
16360
16361
16362 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16363 PyObject *resultobj;
16364 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16365 int arg2 ;
16366 int arg3 ;
16367 PyObject * obj0 = 0 ;
16368 PyObject * obj1 = 0 ;
16369 PyObject * obj2 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self",(char *) "width",(char *) "height", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16377 arg2 = (int) SWIG_AsInt(obj1);
16378 if (PyErr_Occurred()) SWIG_fail;
16379 arg3 = (int) SWIG_AsInt(obj2);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 (arg1)->base_DoSetClientSize(arg2,arg3);
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 Py_INCREF(Py_None); resultobj = Py_None;
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16398 int arg2 ;
16399 int arg3 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 PyObject * obj2 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "x",(char *) "y", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16410 arg2 = (int) SWIG_AsInt(obj1);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 arg3 = (int) SWIG_AsInt(obj2);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 (arg1)->base_DoSetVirtualSize(arg2,arg3);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 Py_INCREF(Py_None); resultobj = Py_None;
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16431 int *arg2 = (int *) 0 ;
16432 int *arg3 = (int *) 0 ;
16433 int temp2 ;
16434 int temp3 ;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 arg2 = &temp2;
16441 arg3 = &temp3;
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16445 {
16446 PyThreadState* __tstate = wxPyBeginAllowThreads();
16447 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16448
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 Py_INCREF(Py_None); resultobj = Py_None;
16453 {
16454 PyObject *o = PyInt_FromLong((long) (*arg2));
16455 resultobj = t_output_helper(resultobj,o);
16456 }
16457 {
16458 PyObject *o = PyInt_FromLong((long) (*arg3));
16459 resultobj = t_output_helper(resultobj,o);
16460 }
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16470 int *arg2 = (int *) 0 ;
16471 int *arg3 = (int *) 0 ;
16472 int temp2 ;
16473 int temp3 ;
16474 PyObject * obj0 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self", NULL
16477 };
16478
16479 arg2 = &temp2;
16480 arg3 = &temp3;
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 {
16493 PyObject *o = PyInt_FromLong((long) (*arg2));
16494 resultobj = t_output_helper(resultobj,o);
16495 }
16496 {
16497 PyObject *o = PyInt_FromLong((long) (*arg3));
16498 resultobj = t_output_helper(resultobj,o);
16499 }
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16509 int *arg2 = (int *) 0 ;
16510 int *arg3 = (int *) 0 ;
16511 int temp2 ;
16512 int temp3 ;
16513 PyObject * obj0 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self", NULL
16516 };
16517
16518 arg2 = &temp2;
16519 arg3 = &temp3;
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16523 {
16524 PyThreadState* __tstate = wxPyBeginAllowThreads();
16525 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16526
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 Py_INCREF(Py_None); resultobj = Py_None;
16531 {
16532 PyObject *o = PyInt_FromLong((long) (*arg2));
16533 resultobj = t_output_helper(resultobj,o);
16534 }
16535 {
16536 PyObject *o = PyInt_FromLong((long) (*arg3));
16537 resultobj = t_output_helper(resultobj,o);
16538 }
16539 return resultobj;
16540 fail:
16541 return NULL;
16542 }
16543
16544
16545 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16546 PyObject *resultobj;
16547 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16548 wxSize result;
16549 PyObject * obj0 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 {
16565 wxSize * resultptr;
16566 resultptr = new wxSize((wxSize &) result);
16567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16568 }
16569 return resultobj;
16570 fail:
16571 return NULL;
16572 }
16573
16574
16575 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj;
16577 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16578 wxSize result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 {
16595 wxSize * resultptr;
16596 resultptr = new wxSize((wxSize &) result);
16597 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16598 }
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj;
16607 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 (arg1)->base_InitDialog();
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj;
16632 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16633 bool result;
16634 PyObject * obj0 = 0 ;
16635 char *kwnames[] = {
16636 (char *) "self", NULL
16637 };
16638
16639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (bool)(arg1)->base_TransferDataToWindow();
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 {
16650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16651 }
16652 return resultobj;
16653 fail:
16654 return NULL;
16655 }
16656
16657
16658 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16661 bool result;
16662 PyObject * obj0 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = (bool)(arg1)->base_TransferDataFromWindow();
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16679 }
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16689 bool result;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 result = (bool)(arg1)->base_Validate();
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 {
16706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16707 }
16708 return resultobj;
16709 fail:
16710 return NULL;
16711 }
16712
16713
16714 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16715 PyObject *resultobj;
16716 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16717 bool result;
16718 PyObject * obj0 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 {
16734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16735 }
16736 return resultobj;
16737 fail:
16738 return NULL;
16739 }
16740
16741
16742 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj;
16744 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16745 bool result;
16746 PyObject * obj0 = 0 ;
16747 char *kwnames[] = {
16748 (char *) "self", NULL
16749 };
16750
16751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 {
16762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16763 }
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16773 wxSize result;
16774 PyObject * obj0 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16782 {
16783 PyThreadState* __tstate = wxPyBeginAllowThreads();
16784 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16785
16786 wxPyEndAllowThreads(__tstate);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 {
16790 wxSize * resultptr;
16791 resultptr = new wxSize((wxSize &) result);
16792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16793 }
16794 return resultobj;
16795 fail:
16796 return NULL;
16797 }
16798
16799
16800 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj;
16802 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16803 wxWindow *arg2 = (wxWindow *) 0 ;
16804 PyObject * obj0 = 0 ;
16805 PyObject * obj1 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self",(char *) "child", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16813 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 (arg1)->base_AddChild(arg2);
16818
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
16822 Py_INCREF(Py_None); resultobj = Py_None;
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16832 wxWindow *arg2 = (wxWindow *) 0 ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "self",(char *) "child", NULL
16837 };
16838
16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
16846 (arg1)->base_RemoveChild(arg2);
16847
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
16851 Py_INCREF(Py_None); resultobj = Py_None;
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16861 bool result;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 {
16878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16879 }
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16889 wxColour *arg2 = 0 ;
16890 wxColour temp2 ;
16891 PyObject * obj0 = 0 ;
16892 PyObject * obj1 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "self",(char *) "c", NULL
16895 };
16896
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
16898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel,
16899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16900 {
16901 arg2 = &temp2;
16902 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16903 }
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 Py_INCREF(Py_None); resultobj = Py_None;
16912 return resultobj;
16913 fail:
16914 return NULL;
16915 }
16916
16917
16918 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16921 wxVisualAttributes result;
16922 PyObject * obj0 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",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 = (arg1)->base_GetDefaultAttributes();
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 {
16938 wxVisualAttributes * resultptr;
16939 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
16940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16941 }
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16949 PyObject *obj;
16950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16951 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16952 Py_INCREF(obj);
16953 return Py_BuildValue((char *)"");
16954 }
16955 static PyObject *_wrap_new_PyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16956 PyObject *resultobj;
16957 wxWindow *arg1 = (wxWindow *) 0 ;
16958 int arg2 ;
16959 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16960 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16961 wxSize const &arg4_defvalue = wxDefaultSize ;
16962 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16963 long arg5 = (long) 0 ;
16964 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16965 wxString *arg6 = (wxString *) &arg6_defvalue ;
16966 wxPyScrolledWindow *result;
16967 wxPoint temp3 ;
16968 wxSize temp4 ;
16969 bool temp6 = False ;
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 PyObject * obj2 = 0 ;
16973 PyObject * obj3 = 0 ;
16974 PyObject * obj4 = 0 ;
16975 PyObject * obj5 = 0 ;
16976 char *kwnames[] = {
16977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16978 };
16979
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16983 arg2 = (int const) SWIG_AsInt(obj1);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 if (obj2) {
16986 {
16987 arg3 = &temp3;
16988 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16989 }
16990 }
16991 if (obj3) {
16992 {
16993 arg4 = &temp4;
16994 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16995 }
16996 }
16997 if (obj4) {
16998 arg5 = (long) SWIG_AsLong(obj4);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 if (obj5) {
17002 {
17003 arg6 = wxString_in_helper(obj5);
17004 if (arg6 == NULL) SWIG_fail;
17005 temp6 = True;
17006 }
17007 }
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17016 {
17017 if (temp6)
17018 delete arg6;
17019 }
17020 return resultobj;
17021 fail:
17022 {
17023 if (temp6)
17024 delete arg6;
17025 }
17026 return NULL;
17027 }
17028
17029
17030 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17031 PyObject *resultobj;
17032 wxPyScrolledWindow *result;
17033 char *kwnames[] = {
17034 NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
17046 return resultobj;
17047 fail:
17048 return NULL;
17049 }
17050
17051
17052 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17055 PyObject *arg2 = (PyObject *) 0 ;
17056 PyObject *arg3 = (PyObject *) 0 ;
17057 PyObject * obj0 = 0 ;
17058 PyObject * obj1 = 0 ;
17059 PyObject * obj2 = 0 ;
17060 char *kwnames[] = {
17061 (char *) "self",(char *) "self",(char *) "_class", NULL
17062 };
17063
17064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17067 arg2 = obj1;
17068 arg3 = obj2;
17069 {
17070 PyThreadState* __tstate = wxPyBeginAllowThreads();
17071 (arg1)->_setCallbackInfo(arg2,arg3);
17072
17073 wxPyEndAllowThreads(__tstate);
17074 if (PyErr_Occurred()) SWIG_fail;
17075 }
17076 Py_INCREF(Py_None); resultobj = Py_None;
17077 return resultobj;
17078 fail:
17079 return NULL;
17080 }
17081
17082
17083 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17086 wxSize *arg2 = 0 ;
17087 wxSize temp2 ;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self",(char *) "size", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17097 {
17098 arg2 = &temp2;
17099 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17100 }
17101 {
17102 PyThreadState* __tstate = wxPyBeginAllowThreads();
17103 (arg1)->SetBestSize((wxSize const &)*arg2);
17104
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 Py_INCREF(Py_None); resultobj = Py_None;
17109 return resultobj;
17110 fail:
17111 return NULL;
17112 }
17113
17114
17115 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17118 int arg2 ;
17119 int arg3 ;
17120 int arg4 ;
17121 int arg5 ;
17122 PyObject * obj0 = 0 ;
17123 PyObject * obj1 = 0 ;
17124 PyObject * obj2 = 0 ;
17125 PyObject * obj3 = 0 ;
17126 PyObject * obj4 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17134 arg2 = (int) SWIG_AsInt(obj1);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 arg3 = (int) SWIG_AsInt(obj2);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 arg4 = (int) SWIG_AsInt(obj3);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 arg5 = (int) SWIG_AsInt(obj4);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 Py_INCREF(Py_None); resultobj = Py_None;
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17159 int arg2 ;
17160 int arg3 ;
17161 int arg4 ;
17162 int arg5 ;
17163 int arg6 = (int) wxSIZE_AUTO ;
17164 PyObject * obj0 = 0 ;
17165 PyObject * obj1 = 0 ;
17166 PyObject * obj2 = 0 ;
17167 PyObject * obj3 = 0 ;
17168 PyObject * obj4 = 0 ;
17169 PyObject * obj5 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17177 arg2 = (int) SWIG_AsInt(obj1);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 arg3 = (int) SWIG_AsInt(obj2);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 arg4 = (int) SWIG_AsInt(obj3);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 arg5 = (int) SWIG_AsInt(obj4);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 if (obj5) {
17186 arg6 = (int) SWIG_AsInt(obj5);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 {
17190 PyThreadState* __tstate = wxPyBeginAllowThreads();
17191 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17192
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 Py_INCREF(Py_None); resultobj = Py_None;
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17206 int arg2 ;
17207 int arg3 ;
17208 PyObject * obj0 = 0 ;
17209 PyObject * obj1 = 0 ;
17210 PyObject * obj2 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self",(char *) "width",(char *) "height", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17218 arg2 = (int) SWIG_AsInt(obj1);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 arg3 = (int) SWIG_AsInt(obj2);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 (arg1)->base_DoSetClientSize(arg2,arg3);
17225
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 Py_INCREF(Py_None); resultobj = Py_None;
17230 return resultobj;
17231 fail:
17232 return NULL;
17233 }
17234
17235
17236 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj;
17238 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17239 int arg2 ;
17240 int arg3 ;
17241 PyObject * obj0 = 0 ;
17242 PyObject * obj1 = 0 ;
17243 PyObject * obj2 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self",(char *) "x",(char *) "y", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17251 arg2 = (int) SWIG_AsInt(obj1);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 arg3 = (int) SWIG_AsInt(obj2);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 Py_INCREF(Py_None); resultobj = Py_None;
17263 return resultobj;
17264 fail:
17265 return NULL;
17266 }
17267
17268
17269 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17270 PyObject *resultobj;
17271 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17272 int *arg2 = (int *) 0 ;
17273 int *arg3 = (int *) 0 ;
17274 int temp2 ;
17275 int temp3 ;
17276 PyObject * obj0 = 0 ;
17277 char *kwnames[] = {
17278 (char *) "self", NULL
17279 };
17280
17281 arg2 = &temp2;
17282 arg3 = &temp3;
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17286 {
17287 PyThreadState* __tstate = wxPyBeginAllowThreads();
17288 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17289
17290 wxPyEndAllowThreads(__tstate);
17291 if (PyErr_Occurred()) SWIG_fail;
17292 }
17293 Py_INCREF(Py_None); resultobj = Py_None;
17294 {
17295 PyObject *o = PyInt_FromLong((long) (*arg2));
17296 resultobj = t_output_helper(resultobj,o);
17297 }
17298 {
17299 PyObject *o = PyInt_FromLong((long) (*arg3));
17300 resultobj = t_output_helper(resultobj,o);
17301 }
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17311 int *arg2 = (int *) 0 ;
17312 int *arg3 = (int *) 0 ;
17313 int temp2 ;
17314 int temp3 ;
17315 PyObject * obj0 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self", NULL
17318 };
17319
17320 arg2 = &temp2;
17321 arg3 = &temp3;
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17328
17329 wxPyEndAllowThreads(__tstate);
17330 if (PyErr_Occurred()) SWIG_fail;
17331 }
17332 Py_INCREF(Py_None); resultobj = Py_None;
17333 {
17334 PyObject *o = PyInt_FromLong((long) (*arg2));
17335 resultobj = t_output_helper(resultobj,o);
17336 }
17337 {
17338 PyObject *o = PyInt_FromLong((long) (*arg3));
17339 resultobj = t_output_helper(resultobj,o);
17340 }
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17350 int *arg2 = (int *) 0 ;
17351 int *arg3 = (int *) 0 ;
17352 int temp2 ;
17353 int temp3 ;
17354 PyObject * obj0 = 0 ;
17355 char *kwnames[] = {
17356 (char *) "self", NULL
17357 };
17358
17359 arg2 = &temp2;
17360 arg3 = &temp3;
17361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 Py_INCREF(Py_None); resultobj = Py_None;
17372 {
17373 PyObject *o = PyInt_FromLong((long) (*arg2));
17374 resultobj = t_output_helper(resultobj,o);
17375 }
17376 {
17377 PyObject *o = PyInt_FromLong((long) (*arg3));
17378 resultobj = t_output_helper(resultobj,o);
17379 }
17380 return resultobj;
17381 fail:
17382 return NULL;
17383 }
17384
17385
17386 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17387 PyObject *resultobj;
17388 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17389 wxSize result;
17390 PyObject * obj0 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "self", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 {
17406 wxSize * resultptr;
17407 resultptr = new wxSize((wxSize &) result);
17408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17409 }
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17419 wxSize result;
17420 PyObject * obj0 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 wxSize * resultptr;
17437 resultptr = new wxSize((wxSize &) result);
17438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17439 }
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 (arg1)->base_InitDialog();
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 Py_INCREF(Py_None); resultobj = Py_None;
17465 return resultobj;
17466 fail:
17467 return NULL;
17468 }
17469
17470
17471 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17474 bool result;
17475 PyObject * obj0 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
17481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (bool)(arg1)->base_TransferDataToWindow();
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 {
17491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17492 }
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17502 bool result;
17503 PyObject * obj0 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
17509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (bool)(arg1)->base_TransferDataFromWindow();
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 {
17519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17520 }
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17530 bool result;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
17537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (bool)(arg1)->base_Validate();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 {
17547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17548 }
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17558 bool result;
17559 PyObject * obj0 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self", NULL
17562 };
17563
17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
17565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
17570
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 {
17575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17576 }
17577 return resultobj;
17578 fail:
17579 return NULL;
17580 }
17581
17582
17583 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj;
17585 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17586 bool result;
17587 PyObject * obj0 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
17593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 {
17603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17604 }
17605 return resultobj;
17606 fail:
17607 return NULL;
17608 }
17609
17610
17611 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17612 PyObject *resultobj;
17613 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17614 wxSize result;
17615 PyObject * obj0 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
17621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 {
17631 wxSize * resultptr;
17632 resultptr = new wxSize((wxSize &) result);
17633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17634 }
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17644 wxWindow *arg2 = (wxWindow *) 0 ;
17645 PyObject * obj0 = 0 ;
17646 PyObject * obj1 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self",(char *) "child", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 (arg1)->base_AddChild(arg2);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 Py_INCREF(Py_None); resultobj = Py_None;
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17673 wxWindow *arg2 = (wxWindow *) 0 ;
17674 PyObject * obj0 = 0 ;
17675 PyObject * obj1 = 0 ;
17676 char *kwnames[] = {
17677 (char *) "self",(char *) "child", NULL
17678 };
17679
17680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
17681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17685 {
17686 PyThreadState* __tstate = wxPyBeginAllowThreads();
17687 (arg1)->base_RemoveChild(arg2);
17688
17689 wxPyEndAllowThreads(__tstate);
17690 if (PyErr_Occurred()) SWIG_fail;
17691 }
17692 Py_INCREF(Py_None); resultobj = Py_None;
17693 return resultobj;
17694 fail:
17695 return NULL;
17696 }
17697
17698
17699 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
17700 PyObject *resultobj;
17701 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17702 bool result;
17703 PyObject * obj0 = 0 ;
17704 char *kwnames[] = {
17705 (char *) "self", NULL
17706 };
17707
17708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
17709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 {
17719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17720 }
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17730 wxColour *arg2 = 0 ;
17731 wxColour temp2 ;
17732 PyObject * obj0 = 0 ;
17733 PyObject * obj1 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self",(char *) "c", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow,
17740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17741 {
17742 arg2 = &temp2;
17743 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17744 }
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 Py_INCREF(Py_None); resultobj = Py_None;
17753 return resultobj;
17754 fail:
17755 return NULL;
17756 }
17757
17758
17759 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
17762 wxVisualAttributes result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",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 = (arg1)->base_GetDefaultAttributes();
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 {
17779 wxVisualAttributes * resultptr;
17780 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
17781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17782 }
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 static PyObject * PyScrolledWindow_swigregister(PyObject *self, PyObject *args) {
17790 PyObject *obj;
17791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17792 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
17793 Py_INCREF(obj);
17794 return Py_BuildValue((char *)"");
17795 }
17796 static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
17797 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
17798 return 1;
17799 }
17800
17801
17802 static PyObject *_wrap_PrintoutTitleStr_get() {
17803 PyObject *pyobj;
17804
17805 {
17806 #if wxUSE_UNICODE
17807 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17808 #else
17809 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
17810 #endif
17811 }
17812 return pyobj;
17813 }
17814
17815
17816 static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
17817 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
17818 return 1;
17819 }
17820
17821
17822 static PyObject *_wrap_PreviewCanvasNameStr_get() {
17823 PyObject *pyobj;
17824
17825 {
17826 #if wxUSE_UNICODE
17827 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17828 #else
17829 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
17830 #endif
17831 }
17832 return pyobj;
17833 }
17834
17835
17836 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxPrintData *result;
17839 char *kwnames[] = {
17840 NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (wxPrintData *)new wxPrintData();
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
17852 return resultobj;
17853 fail:
17854 return NULL;
17855 }
17856
17857
17858 static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPrintData *arg1 = (wxPrintData *) 0 ;
17861 PyObject * obj0 = 0 ;
17862 char *kwnames[] = {
17863 (char *) "self", NULL
17864 };
17865
17866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
17867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17869 {
17870 PyThreadState* __tstate = wxPyBeginAllowThreads();
17871 delete arg1;
17872
17873 wxPyEndAllowThreads(__tstate);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 }
17876 Py_INCREF(Py_None); resultobj = Py_None;
17877 return resultobj;
17878 fail:
17879 return NULL;
17880 }
17881
17882
17883 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17884 PyObject *resultobj;
17885 wxPrintData *arg1 = (wxPrintData *) 0 ;
17886 int result;
17887 PyObject * obj0 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 result = (int)(arg1)->GetNoCopies();
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 resultobj = SWIG_FromInt((int)result);
17903 return resultobj;
17904 fail:
17905 return NULL;
17906 }
17907
17908
17909 static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj;
17911 wxPrintData *arg1 = (wxPrintData *) 0 ;
17912 bool result;
17913 PyObject * obj0 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = (bool)(arg1)->GetCollate();
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 {
17929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17930 }
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxPrintData *arg1 = (wxPrintData *) 0 ;
17940 int result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = (int)(arg1)->GetOrientation();
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 resultobj = SWIG_FromInt((int)result);
17957 return resultobj;
17958 fail:
17959 return NULL;
17960 }
17961
17962
17963 static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17964 PyObject *resultobj;
17965 wxPrintData *arg1 = (wxPrintData *) 0 ;
17966 bool result;
17967 PyObject * obj0 = 0 ;
17968 char *kwnames[] = {
17969 (char *) "self", NULL
17970 };
17971
17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
17973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
17974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (bool)(arg1)->Ok();
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 {
17983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17984 }
17985 return resultobj;
17986 fail:
17987 return NULL;
17988 }
17989
17990
17991 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxPrintData *arg1 = (wxPrintData *) 0 ;
17994 wxString *result;
17995 PyObject * obj0 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
18001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 {
18006 wxString const &_result_ref = (arg1)->GetPrinterName();
18007 result = (wxString *) &_result_ref;
18008 }
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 {
18014 #if wxUSE_UNICODE
18015 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18016 #else
18017 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18018 #endif
18019 }
18020 return resultobj;
18021 fail:
18022 return NULL;
18023 }
18024
18025
18026 static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxPrintData *arg1 = (wxPrintData *) 0 ;
18029 bool result;
18030 PyObject * obj0 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
18036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 result = (bool)(arg1)->GetColour();
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 {
18046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18047 }
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxPrintData *arg1 = (wxPrintData *) 0 ;
18057 int result;
18058 PyObject * obj0 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 result = (int)(arg1)->GetDuplex();
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 resultobj = SWIG_FromInt((int)result);
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxPrintData *arg1 = (wxPrintData *) 0 ;
18083 int result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
18090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (int)(arg1)->GetPaperId();
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 resultobj = SWIG_FromInt((int)result);
18100 return resultobj;
18101 fail:
18102 return NULL;
18103 }
18104
18105
18106 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18107 PyObject *resultobj;
18108 wxPrintData *arg1 = (wxPrintData *) 0 ;
18109 wxSize *result;
18110 PyObject * obj0 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
18116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 {
18121 wxSize const &_result_ref = (arg1)->GetPaperSize();
18122 result = (wxSize *) &_result_ref;
18123 }
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxPrintData *arg1 = (wxPrintData *) 0 ;
18138 int result;
18139 PyObject * obj0 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18147 {
18148 PyThreadState* __tstate = wxPyBeginAllowThreads();
18149 result = (int)(arg1)->GetQuality();
18150
18151 wxPyEndAllowThreads(__tstate);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 }
18154 resultobj = SWIG_FromInt((int)result);
18155 return resultobj;
18156 fail:
18157 return NULL;
18158 }
18159
18160
18161 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18162 PyObject *resultobj;
18163 wxPrintData *arg1 = (wxPrintData *) 0 ;
18164 int arg2 ;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self",(char *) "v", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18174 arg2 = (int) SWIG_AsInt(obj1);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 (arg1)->SetNoCopies(arg2);
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 Py_INCREF(Py_None); resultobj = Py_None;
18184 return resultobj;
18185 fail:
18186 return NULL;
18187 }
18188
18189
18190 static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18191 PyObject *resultobj;
18192 wxPrintData *arg1 = (wxPrintData *) 0 ;
18193 bool arg2 ;
18194 PyObject * obj0 = 0 ;
18195 PyObject * obj1 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self",(char *) "flag", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18203 arg2 = (bool) SWIG_AsBool(obj1);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 (arg1)->SetCollate(arg2);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 Py_INCREF(Py_None); resultobj = Py_None;
18213 return resultobj;
18214 fail:
18215 return NULL;
18216 }
18217
18218
18219 static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj;
18221 wxPrintData *arg1 = (wxPrintData *) 0 ;
18222 int arg2 ;
18223 PyObject * obj0 = 0 ;
18224 PyObject * obj1 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "self",(char *) "orient", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
18230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18232 arg2 = (int) SWIG_AsInt(obj1);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 (arg1)->SetOrientation(arg2);
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 Py_INCREF(Py_None); resultobj = Py_None;
18242 return resultobj;
18243 fail:
18244 return NULL;
18245 }
18246
18247
18248 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
18249 PyObject *resultobj;
18250 wxPrintData *arg1 = (wxPrintData *) 0 ;
18251 wxString *arg2 = 0 ;
18252 bool temp2 = False ;
18253 PyObject * obj0 = 0 ;
18254 PyObject * obj1 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self",(char *) "name", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
18260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18262 {
18263 arg2 = wxString_in_helper(obj1);
18264 if (arg2 == NULL) SWIG_fail;
18265 temp2 = True;
18266 }
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 (arg1)->SetPrinterName((wxString const &)*arg2);
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
18274 Py_INCREF(Py_None); resultobj = Py_None;
18275 {
18276 if (temp2)
18277 delete arg2;
18278 }
18279 return resultobj;
18280 fail:
18281 {
18282 if (temp2)
18283 delete arg2;
18284 }
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPrintData *arg1 = (wxPrintData *) 0 ;
18292 bool arg2 ;
18293 PyObject * obj0 = 0 ;
18294 PyObject * obj1 = 0 ;
18295 char *kwnames[] = {
18296 (char *) "self",(char *) "colour", NULL
18297 };
18298
18299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
18300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18302 arg2 = (bool) SWIG_AsBool(obj1);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 (arg1)->SetColour(arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 Py_INCREF(Py_None); resultobj = Py_None;
18312 return resultobj;
18313 fail:
18314 return NULL;
18315 }
18316
18317
18318 static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxPrintData *arg1 = (wxPrintData *) 0 ;
18321 int arg2 ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "duplex", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18331 arg2 = (wxDuplexMode) SWIG_AsInt(obj1);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->SetDuplex((wxDuplexMode )arg2);
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxPrintData *arg1 = (wxPrintData *) 0 ;
18350 int arg2 ;
18351 PyObject * obj0 = 0 ;
18352 PyObject * obj1 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "sizeId", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18360 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 (arg1)->SetPaperId((wxPaperSize )arg2);
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxPrintData *arg1 = (wxPrintData *) 0 ;
18379 wxSize *arg2 = 0 ;
18380 wxSize temp2 ;
18381 PyObject * obj0 = 0 ;
18382 PyObject * obj1 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self",(char *) "sz", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18390 {
18391 arg2 = &temp2;
18392 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18393 }
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 (arg1)->SetPaperSize((wxSize const &)*arg2);
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 Py_INCREF(Py_None); resultobj = Py_None;
18402 return resultobj;
18403 fail:
18404 return NULL;
18405 }
18406
18407
18408 static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxPrintData *arg1 = (wxPrintData *) 0 ;
18411 int arg2 ;
18412 PyObject * obj0 = 0 ;
18413 PyObject * obj1 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self",(char *) "quality", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18421 arg2 = (int) SWIG_AsInt(obj1);
18422 if (PyErr_Occurred()) SWIG_fail;
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 (arg1)->SetQuality(arg2);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 Py_INCREF(Py_None); resultobj = Py_None;
18431 return resultobj;
18432 fail:
18433 return NULL;
18434 }
18435
18436
18437 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18438 PyObject *resultobj;
18439 wxPrintData *arg1 = (wxPrintData *) 0 ;
18440 wxString *result;
18441 PyObject * obj0 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 {
18452 wxString const &_result_ref = (arg1)->GetPrinterCommand();
18453 result = (wxString *) &_result_ref;
18454 }
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 {
18460 #if wxUSE_UNICODE
18461 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18462 #else
18463 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18464 #endif
18465 }
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxPrintData *arg1 = (wxPrintData *) 0 ;
18475 wxString *result;
18476 PyObject * obj0 = 0 ;
18477 char *kwnames[] = {
18478 (char *) "self", NULL
18479 };
18480
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18484 {
18485 PyThreadState* __tstate = wxPyBeginAllowThreads();
18486 {
18487 wxString const &_result_ref = (arg1)->GetPrinterOptions();
18488 result = (wxString *) &_result_ref;
18489 }
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 #if wxUSE_UNICODE
18496 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18497 #else
18498 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18499 #endif
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504 }
18505
18506
18507 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxPrintData *arg1 = (wxPrintData *) 0 ;
18510 wxString *result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 {
18522 wxString const &_result_ref = (arg1)->GetPreviewCommand();
18523 result = (wxString *) &_result_ref;
18524 }
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 {
18530 #if wxUSE_UNICODE
18531 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18532 #else
18533 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18534 #endif
18535 }
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPrintData *arg1 = (wxPrintData *) 0 ;
18545 wxString *result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 {
18557 wxString const &_result_ref = (arg1)->GetFilename();
18558 result = (wxString *) &_result_ref;
18559 }
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 {
18565 #if wxUSE_UNICODE
18566 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18567 #else
18568 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18569 #endif
18570 }
18571 return resultobj;
18572 fail:
18573 return NULL;
18574 }
18575
18576
18577 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxPrintData *arg1 = (wxPrintData *) 0 ;
18580 wxString *result;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 {
18592 wxString const &_result_ref = (arg1)->GetFontMetricPath();
18593 result = (wxString *) &_result_ref;
18594 }
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 {
18600 #if wxUSE_UNICODE
18601 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18602 #else
18603 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18604 #endif
18605 }
18606 return resultobj;
18607 fail:
18608 return NULL;
18609 }
18610
18611
18612 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18613 PyObject *resultobj;
18614 wxPrintData *arg1 = (wxPrintData *) 0 ;
18615 double result;
18616 PyObject * obj0 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18624 {
18625 PyThreadState* __tstate = wxPyBeginAllowThreads();
18626 result = (double)(arg1)->GetPrinterScaleX();
18627
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 resultobj = SWIG_FromDouble((double)result);
18632 return resultobj;
18633 fail:
18634 return NULL;
18635 }
18636
18637
18638 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18639 PyObject *resultobj;
18640 wxPrintData *arg1 = (wxPrintData *) 0 ;
18641 double result;
18642 PyObject * obj0 = 0 ;
18643 char *kwnames[] = {
18644 (char *) "self", NULL
18645 };
18646
18647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
18648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (double)(arg1)->GetPrinterScaleY();
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = SWIG_FromDouble((double)result);
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
18665 PyObject *resultobj;
18666 wxPrintData *arg1 = (wxPrintData *) 0 ;
18667 long result;
18668 PyObject * obj0 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
18674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (long)(arg1)->GetPrinterTranslateX();
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_FromLong((long)result);
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxPrintData *arg1 = (wxPrintData *) 0 ;
18693 long result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",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 result = (long)(arg1)->GetPrinterTranslateY();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 resultobj = SWIG_FromLong((long)result);
18710 return resultobj;
18711 fail:
18712 return NULL;
18713 }
18714
18715
18716 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxPrintData *arg1 = (wxPrintData *) 0 ;
18719 int result;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (int)(arg1)->GetPrintMode();
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 resultobj = SWIG_FromInt((int)result);
18736 return resultobj;
18737 fail:
18738 return NULL;
18739 }
18740
18741
18742 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18743 PyObject *resultobj;
18744 wxPrintData *arg1 = (wxPrintData *) 0 ;
18745 wxString *arg2 = 0 ;
18746 bool temp2 = False ;
18747 PyObject * obj0 = 0 ;
18748 PyObject * obj1 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self",(char *) "command", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18756 {
18757 arg2 = wxString_in_helper(obj1);
18758 if (arg2 == NULL) SWIG_fail;
18759 temp2 = True;
18760 }
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->SetPrinterCommand((wxString const &)*arg2);
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 Py_INCREF(Py_None); resultobj = Py_None;
18769 {
18770 if (temp2)
18771 delete arg2;
18772 }
18773 return resultobj;
18774 fail:
18775 {
18776 if (temp2)
18777 delete arg2;
18778 }
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPrintData *arg1 = (wxPrintData *) 0 ;
18786 wxString *arg2 = 0 ;
18787 bool temp2 = False ;
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 char *kwnames[] = {
18791 (char *) "self",(char *) "options", NULL
18792 };
18793
18794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
18795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18797 {
18798 arg2 = wxString_in_helper(obj1);
18799 if (arg2 == NULL) SWIG_fail;
18800 temp2 = True;
18801 }
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 (arg1)->SetPrinterOptions((wxString const &)*arg2);
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 Py_INCREF(Py_None); resultobj = Py_None;
18810 {
18811 if (temp2)
18812 delete arg2;
18813 }
18814 return resultobj;
18815 fail:
18816 {
18817 if (temp2)
18818 delete arg2;
18819 }
18820 return NULL;
18821 }
18822
18823
18824 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 wxPrintData *arg1 = (wxPrintData *) 0 ;
18827 wxString *arg2 = 0 ;
18828 bool temp2 = False ;
18829 PyObject * obj0 = 0 ;
18830 PyObject * obj1 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "self",(char *) "command", NULL
18833 };
18834
18835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
18836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18838 {
18839 arg2 = wxString_in_helper(obj1);
18840 if (arg2 == NULL) SWIG_fail;
18841 temp2 = True;
18842 }
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 (arg1)->SetPreviewCommand((wxString const &)*arg2);
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 Py_INCREF(Py_None); resultobj = Py_None;
18851 {
18852 if (temp2)
18853 delete arg2;
18854 }
18855 return resultobj;
18856 fail:
18857 {
18858 if (temp2)
18859 delete arg2;
18860 }
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxPrintData *arg1 = (wxPrintData *) 0 ;
18868 wxString *arg2 = 0 ;
18869 bool temp2 = False ;
18870 PyObject * obj0 = 0 ;
18871 PyObject * obj1 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self",(char *) "filename", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
18877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18879 {
18880 arg2 = wxString_in_helper(obj1);
18881 if (arg2 == NULL) SWIG_fail;
18882 temp2 = True;
18883 }
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 (arg1)->SetFilename((wxString const &)*arg2);
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 Py_INCREF(Py_None); resultobj = Py_None;
18892 {
18893 if (temp2)
18894 delete arg2;
18895 }
18896 return resultobj;
18897 fail:
18898 {
18899 if (temp2)
18900 delete arg2;
18901 }
18902 return NULL;
18903 }
18904
18905
18906 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
18907 PyObject *resultobj;
18908 wxPrintData *arg1 = (wxPrintData *) 0 ;
18909 wxString *arg2 = 0 ;
18910 bool temp2 = False ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj1 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "path", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18920 {
18921 arg2 = wxString_in_helper(obj1);
18922 if (arg2 == NULL) SWIG_fail;
18923 temp2 = True;
18924 }
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 (arg1)->SetFontMetricPath((wxString const &)*arg2);
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 Py_INCREF(Py_None); resultobj = Py_None;
18933 {
18934 if (temp2)
18935 delete arg2;
18936 }
18937 return resultobj;
18938 fail:
18939 {
18940 if (temp2)
18941 delete arg2;
18942 }
18943 return NULL;
18944 }
18945
18946
18947 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxPrintData *arg1 = (wxPrintData *) 0 ;
18950 double arg2 ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "x", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18960 arg2 = (double) SWIG_AsDouble(obj1);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 (arg1)->SetPrinterScaleX(arg2);
18965
18966 wxPyEndAllowThreads(__tstate);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 Py_INCREF(Py_None); resultobj = Py_None;
18970 return resultobj;
18971 fail:
18972 return NULL;
18973 }
18974
18975
18976 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxPrintData *arg1 = (wxPrintData *) 0 ;
18979 double arg2 ;
18980 PyObject * obj0 = 0 ;
18981 PyObject * obj1 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "y", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
18988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18989 arg2 = (double) SWIG_AsDouble(obj1);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 (arg1)->SetPrinterScaleY(arg2);
18994
18995 wxPyEndAllowThreads(__tstate);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 Py_INCREF(Py_None); resultobj = Py_None;
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxPrintData *arg1 = (wxPrintData *) 0 ;
19008 double arg2 ;
19009 double arg3 ;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj1 = 0 ;
19012 PyObject * obj2 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self",(char *) "x",(char *) "y", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
19018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19020 arg2 = (double) SWIG_AsDouble(obj1);
19021 if (PyErr_Occurred()) SWIG_fail;
19022 arg3 = (double) SWIG_AsDouble(obj2);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 (arg1)->SetPrinterScaling(arg2,arg3);
19027
19028 wxPyEndAllowThreads(__tstate);
19029 if (PyErr_Occurred()) SWIG_fail;
19030 }
19031 Py_INCREF(Py_None); resultobj = Py_None;
19032 return resultobj;
19033 fail:
19034 return NULL;
19035 }
19036
19037
19038 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
19039 PyObject *resultobj;
19040 wxPrintData *arg1 = (wxPrintData *) 0 ;
19041 long arg2 ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self",(char *) "x", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19051 arg2 = (long) SWIG_AsLong(obj1);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 (arg1)->SetPrinterTranslateX(arg2);
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 Py_INCREF(Py_None); resultobj = Py_None;
19061 return resultobj;
19062 fail:
19063 return NULL;
19064 }
19065
19066
19067 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 wxPrintData *arg1 = (wxPrintData *) 0 ;
19070 long arg2 ;
19071 PyObject * obj0 = 0 ;
19072 PyObject * obj1 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self",(char *) "y", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
19078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19080 arg2 = (long) SWIG_AsLong(obj1);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 (arg1)->SetPrinterTranslateY(arg2);
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 Py_INCREF(Py_None); resultobj = Py_None;
19090 return resultobj;
19091 fail:
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxPrintData *arg1 = (wxPrintData *) 0 ;
19099 long arg2 ;
19100 long arg3 ;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj1 = 0 ;
19103 PyObject * obj2 = 0 ;
19104 char *kwnames[] = {
19105 (char *) "self",(char *) "x",(char *) "y", NULL
19106 };
19107
19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
19109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19111 arg2 = (long) SWIG_AsLong(obj1);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 arg3 = (long) SWIG_AsLong(obj2);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 {
19116 PyThreadState* __tstate = wxPyBeginAllowThreads();
19117 (arg1)->SetPrinterTranslation(arg2,arg3);
19118
19119 wxPyEndAllowThreads(__tstate);
19120 if (PyErr_Occurred()) SWIG_fail;
19121 }
19122 Py_INCREF(Py_None); resultobj = Py_None;
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxPrintData *arg1 = (wxPrintData *) 0 ;
19132 int arg2 ;
19133 PyObject * obj0 = 0 ;
19134 PyObject * obj1 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self",(char *) "printMode", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 arg2 = (wxPrintMode) SWIG_AsInt(obj1);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 (arg1)->SetPrintMode((wxPrintMode )arg2);
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 Py_INCREF(Py_None); resultobj = Py_None;
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPrintData *arg1 = (wxPrintData *) 0 ;
19161 wxOutputStream *result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = (wxOutputStream *)(arg1)->GetOutputStream();
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
19178 return resultobj;
19179 fail:
19180 return NULL;
19181 }
19182
19183
19184 static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj;
19186 wxPrintData *arg1 = (wxPrintData *) 0 ;
19187 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
19188 PyObject * obj0 = 0 ;
19189 PyObject * obj1 = 0 ;
19190 char *kwnames[] = {
19191 (char *) "self",(char *) "outputstream", NULL
19192 };
19193
19194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
19195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
19196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream,
19198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19199 {
19200 PyThreadState* __tstate = wxPyBeginAllowThreads();
19201 (arg1)->SetOutputStream(arg2);
19202
19203 wxPyEndAllowThreads(__tstate);
19204 if (PyErr_Occurred()) SWIG_fail;
19205 }
19206 Py_INCREF(Py_None); resultobj = Py_None;
19207 return resultobj;
19208 fail:
19209 return NULL;
19210 }
19211
19212
19213 static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
19214 PyObject *obj;
19215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19216 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
19217 Py_INCREF(obj);
19218 return Py_BuildValue((char *)"");
19219 }
19220 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPageSetupDialogData *result;
19223 char *kwnames[] = {
19224 NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
19228 {
19229 PyThreadState* __tstate = wxPyBeginAllowThreads();
19230 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19245 PyObject * obj0 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 delete arg1;
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 Py_INCREF(Py_None); resultobj = Py_None;
19261 return resultobj;
19262 fail:
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19270 bool arg2 ;
19271 PyObject * obj0 = 0 ;
19272 PyObject * obj1 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self",(char *) "flag", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19280 arg2 = (bool) SWIG_AsBool(obj1);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 (arg1)->EnableHelp(arg2);
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 Py_INCREF(Py_None); resultobj = Py_None;
19290 return resultobj;
19291 fail:
19292 return NULL;
19293 }
19294
19295
19296 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19299 bool arg2 ;
19300 PyObject * obj0 = 0 ;
19301 PyObject * obj1 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "self",(char *) "flag", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
19307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19309 arg2 = (bool) SWIG_AsBool(obj1);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 (arg1)->EnableMargins(arg2);
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 Py_INCREF(Py_None); resultobj = Py_None;
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19328 bool arg2 ;
19329 PyObject * obj0 = 0 ;
19330 PyObject * obj1 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self",(char *) "flag", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 arg2 = (bool) SWIG_AsBool(obj1);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 (arg1)->EnableOrientation(arg2);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 Py_INCREF(Py_None); resultobj = Py_None;
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19357 bool arg2 ;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self",(char *) "flag", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19367 arg2 = (bool) SWIG_AsBool(obj1);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 (arg1)->EnablePaper(arg2);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 Py_INCREF(Py_None); resultobj = Py_None;
19377 return resultobj;
19378 fail:
19379 return NULL;
19380 }
19381
19382
19383 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj;
19385 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19386 bool arg2 ;
19387 PyObject * obj0 = 0 ;
19388 PyObject * obj1 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self",(char *) "flag", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
19394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19396 arg2 = (bool) SWIG_AsBool(obj1);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 {
19399 PyThreadState* __tstate = wxPyBeginAllowThreads();
19400 (arg1)->EnablePrinter(arg2);
19401
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 Py_INCREF(Py_None); resultobj = Py_None;
19406 return resultobj;
19407 fail:
19408 return NULL;
19409 }
19410
19411
19412 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19413 PyObject *resultobj;
19414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19415 bool result;
19416 PyObject * obj0 = 0 ;
19417 char *kwnames[] = {
19418 (char *) "self", NULL
19419 };
19420
19421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
19422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19424 {
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 result = (bool)(arg1)->GetDefaultMinMargins();
19427
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 {
19432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19433 }
19434 return resultobj;
19435 fail:
19436 return NULL;
19437 }
19438
19439
19440 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19441 PyObject *resultobj;
19442 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19443 bool result;
19444 PyObject * obj0 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "self", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
19450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 result = (bool)(arg1)->GetEnableMargins();
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 {
19460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19461 }
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19471 bool result;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
19482 result = (bool)(arg1)->GetEnableOrientation();
19483
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 {
19488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19489 }
19490 return resultobj;
19491 fail:
19492 return NULL;
19493 }
19494
19495
19496 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
19497 PyObject *resultobj;
19498 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19499 bool result;
19500 PyObject * obj0 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "self", NULL
19503 };
19504
19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
19506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19508 {
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 result = (bool)(arg1)->GetEnablePaper();
19511
19512 wxPyEndAllowThreads(__tstate);
19513 if (PyErr_Occurred()) SWIG_fail;
19514 }
19515 {
19516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19517 }
19518 return resultobj;
19519 fail:
19520 return NULL;
19521 }
19522
19523
19524 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19527 bool result;
19528 PyObject * obj0 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 result = (bool)(arg1)->GetEnablePrinter();
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 {
19544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19545 }
19546 return resultobj;
19547 fail:
19548 return NULL;
19549 }
19550
19551
19552 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19553 PyObject *resultobj;
19554 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19555 bool result;
19556 PyObject * obj0 = 0 ;
19557 char *kwnames[] = {
19558 (char *) "self", NULL
19559 };
19560
19561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19564 {
19565 PyThreadState* __tstate = wxPyBeginAllowThreads();
19566 result = (bool)(arg1)->GetEnableHelp();
19567
19568 wxPyEndAllowThreads(__tstate);
19569 if (PyErr_Occurred()) SWIG_fail;
19570 }
19571 {
19572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19573 }
19574 return resultobj;
19575 fail:
19576 return NULL;
19577 }
19578
19579
19580 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19581 PyObject *resultobj;
19582 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19583 bool result;
19584 PyObject * obj0 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self", NULL
19587 };
19588
19589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
19590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (bool)(arg1)->GetDefaultInfo();
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 {
19600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19601 }
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19609 PyObject *resultobj;
19610 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19611 wxPoint result;
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = (arg1)->GetMarginTopLeft();
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 {
19628 wxPoint * resultptr;
19629 resultptr = new wxPoint((wxPoint &) result);
19630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19631 }
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19641 wxPoint result;
19642 PyObject * obj0 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (arg1)->GetMarginBottomRight();
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 {
19658 wxPoint * resultptr;
19659 resultptr = new wxPoint((wxPoint &) result);
19660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19661 }
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj;
19670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19671 wxPoint result;
19672 PyObject * obj0 = 0 ;
19673 char *kwnames[] = {
19674 (char *) "self", NULL
19675 };
19676
19677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
19678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 result = (arg1)->GetMinMarginTopLeft();
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 {
19688 wxPoint * resultptr;
19689 resultptr = new wxPoint((wxPoint &) result);
19690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19691 }
19692 return resultobj;
19693 fail:
19694 return NULL;
19695 }
19696
19697
19698 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj;
19700 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19701 wxPoint result;
19702 PyObject * obj0 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "self", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
19708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 result = (arg1)->GetMinMarginBottomRight();
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 {
19718 wxPoint * resultptr;
19719 resultptr = new wxPoint((wxPoint &) result);
19720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19721 }
19722 return resultobj;
19723 fail:
19724 return NULL;
19725 }
19726
19727
19728 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
19729 PyObject *resultobj;
19730 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19731 int result;
19732 PyObject * obj0 = 0 ;
19733 char *kwnames[] = {
19734 (char *) "self", NULL
19735 };
19736
19737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",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 = (int)(arg1)->GetPaperId();
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 resultobj = SWIG_FromInt((int)result);
19748 return resultobj;
19749 fail:
19750 return NULL;
19751 }
19752
19753
19754 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
19755 PyObject *resultobj;
19756 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19757 wxSize result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19766 {
19767 PyThreadState* __tstate = wxPyBeginAllowThreads();
19768 result = (arg1)->GetPaperSize();
19769
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 {
19774 wxSize * resultptr;
19775 resultptr = new wxSize((wxSize &) result);
19776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19777 }
19778 return resultobj;
19779 fail:
19780 return NULL;
19781 }
19782
19783
19784 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj;
19786 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19787 wxPrintData *result;
19788 PyObject * obj0 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19796 {
19797 PyThreadState* __tstate = wxPyBeginAllowThreads();
19798 {
19799 wxPrintData &_result_ref = (arg1)->GetPrintData();
19800 result = (wxPrintData *) &_result_ref;
19801 }
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19816 bool result;
19817 PyObject * obj0 = 0 ;
19818 char *kwnames[] = {
19819 (char *) "self", NULL
19820 };
19821
19822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
19823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (bool)(arg1)->Ok();
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 {
19833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19834 }
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj;
19843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19844 bool arg2 ;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self",(char *) "flag", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
19852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19854 arg2 = (bool) SWIG_AsBool(obj1);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 (arg1)->SetDefaultInfo(arg2);
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 Py_INCREF(Py_None); resultobj = Py_None;
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19873 bool arg2 ;
19874 PyObject * obj0 = 0 ;
19875 PyObject * obj1 = 0 ;
19876 char *kwnames[] = {
19877 (char *) "self",(char *) "flag", NULL
19878 };
19879
19880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
19881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19883 arg2 = (bool) SWIG_AsBool(obj1);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 {
19886 PyThreadState* __tstate = wxPyBeginAllowThreads();
19887 (arg1)->SetDefaultMinMargins(arg2);
19888
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 Py_INCREF(Py_None); resultobj = Py_None;
19893 return resultobj;
19894 fail:
19895 return NULL;
19896 }
19897
19898
19899 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj;
19901 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19902 wxPoint *arg2 = 0 ;
19903 wxPoint temp2 ;
19904 PyObject * obj0 = 0 ;
19905 PyObject * obj1 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self",(char *) "pt", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 {
19914 arg2 = &temp2;
19915 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19916 }
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 Py_INCREF(Py_None); resultobj = Py_None;
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19934 wxPoint *arg2 = 0 ;
19935 wxPoint temp2 ;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "self",(char *) "pt", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19945 {
19946 arg2 = &temp2;
19947 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19948 }
19949 {
19950 PyThreadState* __tstate = wxPyBeginAllowThreads();
19951 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
19952
19953 wxPyEndAllowThreads(__tstate);
19954 if (PyErr_Occurred()) SWIG_fail;
19955 }
19956 Py_INCREF(Py_None); resultobj = Py_None;
19957 return resultobj;
19958 fail:
19959 return NULL;
19960 }
19961
19962
19963 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
19964 PyObject *resultobj;
19965 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19966 wxPoint *arg2 = 0 ;
19967 wxPoint temp2 ;
19968 PyObject * obj0 = 0 ;
19969 PyObject * obj1 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self",(char *) "pt", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
19976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19977 {
19978 arg2 = &temp2;
19979 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19980 }
19981 {
19982 PyThreadState* __tstate = wxPyBeginAllowThreads();
19983 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
19984
19985 wxPyEndAllowThreads(__tstate);
19986 if (PyErr_Occurred()) SWIG_fail;
19987 }
19988 Py_INCREF(Py_None); resultobj = Py_None;
19989 return resultobj;
19990 fail:
19991 return NULL;
19992 }
19993
19994
19995 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
19996 PyObject *resultobj;
19997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
19998 wxPoint *arg2 = 0 ;
19999 wxPoint temp2 ;
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 char *kwnames[] = {
20003 (char *) "self",(char *) "pt", NULL
20004 };
20005
20006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
20007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20009 {
20010 arg2 = &temp2;
20011 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20012 }
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 Py_INCREF(Py_None); resultobj = Py_None;
20021 return resultobj;
20022 fail:
20023 return NULL;
20024 }
20025
20026
20027 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj;
20029 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20030 int arg2 ;
20031 PyObject * obj0 = 0 ;
20032 PyObject * obj1 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self",(char *) "id", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20040 arg2 = (wxPaperSize) SWIG_AsInt(obj1);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 (arg1)->SetPaperId((wxPaperSize )arg2);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 Py_INCREF(Py_None); resultobj = Py_None;
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20059 wxSize *arg2 = 0 ;
20060 wxSize temp2 ;
20061 PyObject * obj0 = 0 ;
20062 PyObject * obj1 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self",(char *) "size", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20070 {
20071 arg2 = &temp2;
20072 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20073 }
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 (arg1)->SetPaperSize((wxSize const &)*arg2);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 Py_INCREF(Py_None); resultobj = Py_None;
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
20091 wxPrintData *arg2 = 0 ;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self",(char *) "printData", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
20099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData,
20100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
20102 SWIG_POINTER_EXCEPTION | 0)) == -1)
20103 SWIG_fail;
20104 if (arg2 == NULL) {
20105 PyErr_SetString(PyExc_TypeError,"null reference");
20106 SWIG_fail;
20107 }
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 (arg1)->SetPrintData((wxPrintData const &)*arg2);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 Py_INCREF(Py_None); resultobj = Py_None;
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
20123 PyObject *obj;
20124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20125 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
20126 Py_INCREF(obj);
20127 return Py_BuildValue((char *)"");
20128 }
20129 static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20130 PyObject *resultobj;
20131 wxWindow *arg1 = (wxWindow *) 0 ;
20132 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
20133 wxPageSetupDialog *result;
20134 PyObject * obj0 = 0 ;
20135 PyObject * obj1 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "parent",(char *) "data", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20143 if (obj1) {
20144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 }
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
20162 PyObject *resultobj;
20163 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20164 wxPageSetupDialogData *result;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 {
20176 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
20177 result = (wxPageSetupDialogData *) &_result_ref;
20178 }
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
20184 return resultobj;
20185 fail:
20186 return NULL;
20187 }
20188
20189
20190 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
20193 int result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 {
20203 PyThreadState* __tstate = wxPyBeginAllowThreads();
20204 result = (int)(arg1)->ShowModal();
20205
20206 wxPyEndAllowThreads(__tstate);
20207 if (PyErr_Occurred()) SWIG_fail;
20208 }
20209 resultobj = SWIG_FromInt((int)result);
20210 return resultobj;
20211 fail:
20212 return NULL;
20213 }
20214
20215
20216 static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
20217 PyObject *obj;
20218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20219 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
20220 Py_INCREF(obj);
20221 return Py_BuildValue((char *)"");
20222 }
20223 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) {
20224 PyObject *resultobj;
20225 wxPrintDialogData *result;
20226
20227 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 result = (wxPrintDialogData *)new wxPrintDialogData();
20231
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20236 return resultobj;
20237 fail:
20238 return NULL;
20239 }
20240
20241
20242 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) {
20243 PyObject *resultobj;
20244 wxPrintData *arg1 = 0 ;
20245 wxPrintDialogData *result;
20246 PyObject * obj0 = 0 ;
20247
20248 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
20249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData,
20250 SWIG_POINTER_EXCEPTION | 0)) == -1)
20251 SWIG_fail;
20252 if (arg1 == NULL) {
20253 PyErr_SetString(PyExc_TypeError,"null reference");
20254 SWIG_fail;
20255 }
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
20264 return resultobj;
20265 fail:
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
20271 int argc;
20272 PyObject *argv[2];
20273 int ii;
20274
20275 argc = PyObject_Length(args);
20276 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20277 argv[ii] = PyTuple_GetItem(args,ii);
20278 }
20279 if (argc == 0) {
20280 return _wrap_new_PrintDialogData__SWIG_0(self,args);
20281 }
20282 if (argc == 1) {
20283 int _v;
20284 {
20285 void *ptr;
20286 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20287 _v = 0;
20288 PyErr_Clear();
20289 } else {
20290 _v = 1;
20291 }
20292 }
20293 if (_v) {
20294 return _wrap_new_PrintDialogData__SWIG_1(self,args);
20295 }
20296 }
20297
20298 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'");
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20306 PyObject * obj0 = 0 ;
20307 char *kwnames[] = {
20308 (char *) "self", NULL
20309 };
20310
20311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
20312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 delete arg1;
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 Py_INCREF(Py_None); resultobj = Py_None;
20322 return resultobj;
20323 fail:
20324 return NULL;
20325 }
20326
20327
20328 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20329 PyObject *resultobj;
20330 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20331 int result;
20332 PyObject * obj0 = 0 ;
20333 char *kwnames[] = {
20334 (char *) "self", NULL
20335 };
20336
20337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
20338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = SWIG_FromInt((int)result);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20357 int result;
20358 PyObject * obj0 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "self", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
20364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_FromInt((int)result);
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20383 int result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
20390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = SWIG_FromInt((int)result);
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20409 int result;
20410 PyObject * obj0 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 resultobj = SWIG_FromInt((int)result);
20426 return resultobj;
20427 fail:
20428 return NULL;
20429 }
20430
20431
20432 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20435 int result;
20436 PyObject * obj0 = 0 ;
20437 char *kwnames[] = {
20438 (char *) "self", NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
20442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
20451 resultobj = SWIG_FromInt((int)result);
20452 return resultobj;
20453 fail:
20454 return NULL;
20455 }
20456
20457
20458 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20459 PyObject *resultobj;
20460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20461 bool result;
20462 PyObject * obj0 = 0 ;
20463 char *kwnames[] = {
20464 (char *) "self", NULL
20465 };
20466
20467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
20468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 {
20478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20479 }
20480 return resultobj;
20481 fail:
20482 return NULL;
20483 }
20484
20485
20486 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20487 PyObject *resultobj;
20488 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20489 bool result;
20490 PyObject * obj0 = 0 ;
20491 char *kwnames[] = {
20492 (char *) "self", NULL
20493 };
20494
20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
20496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 {
20506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20507 }
20508 return resultobj;
20509 fail:
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20517 bool result;
20518 PyObject * obj0 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20526 {
20527 PyThreadState* __tstate = wxPyBeginAllowThreads();
20528 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 {
20534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20535 }
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20545 bool result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
20556 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 {
20562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20573 bool result;
20574 PyObject * obj0 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
20580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20582 {
20583 PyThreadState* __tstate = wxPyBeginAllowThreads();
20584 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
20585
20586 wxPyEndAllowThreads(__tstate);
20587 if (PyErr_Occurred()) SWIG_fail;
20588 }
20589 {
20590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20591 }
20592 return resultobj;
20593 fail:
20594 return NULL;
20595 }
20596
20597
20598 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20601 int arg2 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self",(char *) "v", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20611 arg2 = (int) SWIG_AsInt(obj1);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 {
20614 PyThreadState* __tstate = wxPyBeginAllowThreads();
20615 (arg1)->SetFromPage(arg2);
20616
20617 wxPyEndAllowThreads(__tstate);
20618 if (PyErr_Occurred()) SWIG_fail;
20619 }
20620 Py_INCREF(Py_None); resultobj = Py_None;
20621 return resultobj;
20622 fail:
20623 return NULL;
20624 }
20625
20626
20627 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20628 PyObject *resultobj;
20629 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20630 int arg2 ;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self",(char *) "v", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20640 arg2 = (int) SWIG_AsInt(obj1);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 (arg1)->SetToPage(arg2);
20645
20646 wxPyEndAllowThreads(__tstate);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 }
20649 Py_INCREF(Py_None); resultobj = Py_None;
20650 return resultobj;
20651 fail:
20652 return NULL;
20653 }
20654
20655
20656 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20659 int arg2 ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self",(char *) "v", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
20667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20669 arg2 = (int) SWIG_AsInt(obj1);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 {
20672 PyThreadState* __tstate = wxPyBeginAllowThreads();
20673 (arg1)->SetMinPage(arg2);
20674
20675 wxPyEndAllowThreads(__tstate);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 }
20678 Py_INCREF(Py_None); resultobj = Py_None;
20679 return resultobj;
20680 fail:
20681 return NULL;
20682 }
20683
20684
20685 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20686 PyObject *resultobj;
20687 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20688 int arg2 ;
20689 PyObject * obj0 = 0 ;
20690 PyObject * obj1 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self",(char *) "v", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20698 arg2 = (int) SWIG_AsInt(obj1);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 (arg1)->SetMaxPage(arg2);
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 Py_INCREF(Py_None); resultobj = Py_None;
20708 return resultobj;
20709 fail:
20710 return NULL;
20711 }
20712
20713
20714 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20717 int arg2 ;
20718 PyObject * obj0 = 0 ;
20719 PyObject * obj1 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self",(char *) "v", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20727 arg2 = (int) SWIG_AsInt(obj1);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 (arg1)->SetNoCopies(arg2);
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 Py_INCREF(Py_None); resultobj = Py_None;
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20746 bool arg2 ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self",(char *) "flag", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
20754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20756 arg2 = (bool) SWIG_AsBool(obj1);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 (arg1)->SetAllPages(arg2);
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 Py_INCREF(Py_None); resultobj = Py_None;
20766 return resultobj;
20767 fail:
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20775 bool arg2 ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "flag", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20785 arg2 = (bool) SWIG_AsBool(obj1);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 (arg1)->SetSelection(arg2);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 Py_INCREF(Py_None); resultobj = Py_None;
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20804 bool arg2 ;
20805 PyObject * obj0 = 0 ;
20806 PyObject * obj1 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self",(char *) "flag", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20814 arg2 = (bool) SWIG_AsBool(obj1);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 (arg1)->SetCollate(arg2);
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 Py_INCREF(Py_None); resultobj = Py_None;
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20833 bool arg2 ;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self",(char *) "flag", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20843 arg2 = (bool) SWIG_AsBool(obj1);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 (arg1)->SetPrintToFile(arg2);
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 Py_INCREF(Py_None); resultobj = Py_None;
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20862 bool arg2 ;
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "flag", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20872 arg2 = (bool) SWIG_AsBool(obj1);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 {
20875 PyThreadState* __tstate = wxPyBeginAllowThreads();
20876 (arg1)->SetSetupDialog(arg2);
20877
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 Py_INCREF(Py_None); resultobj = Py_None;
20882 return resultobj;
20883 fail:
20884 return NULL;
20885 }
20886
20887
20888 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
20889 PyObject *resultobj;
20890 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20891 bool arg2 ;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj1 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self",(char *) "flag", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
20899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20901 arg2 = (bool) SWIG_AsBool(obj1);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 (arg1)->EnablePrintToFile(arg2);
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 Py_INCREF(Py_None); resultobj = Py_None;
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20920 bool arg2 ;
20921 PyObject * obj0 = 0 ;
20922 PyObject * obj1 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self",(char *) "flag", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20930 arg2 = (bool) SWIG_AsBool(obj1);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 {
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 (arg1)->EnableSelection(arg2);
20935
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 Py_INCREF(Py_None); resultobj = Py_None;
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20949 bool arg2 ;
20950 PyObject * obj0 = 0 ;
20951 PyObject * obj1 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self",(char *) "flag", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
20957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20959 arg2 = (bool) SWIG_AsBool(obj1);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 (arg1)->EnablePageNumbers(arg2);
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 Py_INCREF(Py_None); resultobj = Py_None;
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
20978 bool arg2 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "flag", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
20986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
20987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20988 arg2 = (bool) SWIG_AsBool(obj1);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 (arg1)->EnableHelp(arg2);
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 Py_INCREF(Py_None); resultobj = Py_None;
20998 return resultobj;
20999 fail:
21000 return NULL;
21001 }
21002
21003
21004 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21007 bool result;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 {
21024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21025 }
21026 return resultobj;
21027 fail:
21028 return NULL;
21029 }
21030
21031
21032 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21033 PyObject *resultobj;
21034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21035 bool result;
21036 PyObject * obj0 = 0 ;
21037 char *kwnames[] = {
21038 (char *) "self", NULL
21039 };
21040
21041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
21042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 {
21052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21053 }
21054 return resultobj;
21055 fail:
21056 return NULL;
21057 }
21058
21059
21060 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
21061 PyObject *resultobj;
21062 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21063 bool result;
21064 PyObject * obj0 = 0 ;
21065 char *kwnames[] = {
21066 (char *) "self", NULL
21067 };
21068
21069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
21070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21072 {
21073 PyThreadState* __tstate = wxPyBeginAllowThreads();
21074 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
21075
21076 wxPyEndAllowThreads(__tstate);
21077 if (PyErr_Occurred()) SWIG_fail;
21078 }
21079 {
21080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21081 }
21082 return resultobj;
21083 fail:
21084 return NULL;
21085 }
21086
21087
21088 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21089 PyObject *resultobj;
21090 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21091 bool result;
21092 PyObject * obj0 = 0 ;
21093 char *kwnames[] = {
21094 (char *) "self", NULL
21095 };
21096
21097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21109 }
21110 return resultobj;
21111 fail:
21112 return NULL;
21113 }
21114
21115
21116 static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21119 bool result;
21120 PyObject * obj0 = 0 ;
21121 char *kwnames[] = {
21122 (char *) "self", NULL
21123 };
21124
21125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
21126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21128 {
21129 PyThreadState* __tstate = wxPyBeginAllowThreads();
21130 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
21131
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 {
21136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21137 }
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21147 wxPrintData *result;
21148 PyObject * obj0 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 {
21159 wxPrintData &_result_ref = (arg1)->GetPrintData();
21160 result = (wxPrintData *) &_result_ref;
21161 }
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
21176 wxPrintData *arg2 = 0 ;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj1 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self",(char *) "printData", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
21184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1)
21188 SWIG_fail;
21189 if (arg2 == NULL) {
21190 PyErr_SetString(PyExc_TypeError,"null reference");
21191 SWIG_fail;
21192 }
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 (arg1)->SetPrintData((wxPrintData const &)*arg2);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
21208 PyObject *obj;
21209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21210 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
21211 Py_INCREF(obj);
21212 return Py_BuildValue((char *)"");
21213 }
21214 static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21215 PyObject *resultobj;
21216 wxWindow *arg1 = (wxWindow *) 0 ;
21217 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
21218 wxPrintDialog *result;
21219 PyObject * obj0 = 0 ;
21220 PyObject * obj1 = 0 ;
21221 char *kwnames[] = {
21222 (char *) "parent",(char *) "data", NULL
21223 };
21224
21225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21228 if (obj1) {
21229 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData,
21230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21231 }
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
21240 return resultobj;
21241 fail:
21242 return NULL;
21243 }
21244
21245
21246 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21249 wxPrintDialogData *result;
21250 PyObject * obj0 = 0 ;
21251 char *kwnames[] = {
21252 (char *) "self", NULL
21253 };
21254
21255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
21256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 {
21261 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21262 result = (wxPrintDialogData *) &_result_ref;
21263 }
21264
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21269 return resultobj;
21270 fail:
21271 return NULL;
21272 }
21273
21274
21275 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj;
21277 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21278 wxDC *result;
21279 PyObject * obj0 = 0 ;
21280 char *kwnames[] = {
21281 (char *) "self", NULL
21282 };
21283
21284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
21285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = (wxDC *)(arg1)->GetPrintDC();
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 {
21295 resultobj = wxPyMake_wxObject(result);
21296 }
21297 return resultobj;
21298 fail:
21299 return NULL;
21300 }
21301
21302
21303 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj;
21305 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
21306 int result;
21307 PyObject * obj0 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
21313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog,
21314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 result = (int)(arg1)->ShowModal();
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 resultobj = SWIG_FromInt((int)result);
21323 return resultobj;
21324 fail:
21325 return NULL;
21326 }
21327
21328
21329 static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
21330 PyObject *obj;
21331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21332 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
21333 Py_INCREF(obj);
21334 return Py_BuildValue((char *)"");
21335 }
21336 static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
21339 wxPrinter *result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "data", NULL
21343 };
21344
21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
21346 if (obj0) {
21347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData,
21348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21349 }
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 result = (wxPrinter *)new wxPrinter(arg1);
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
21358 return resultobj;
21359 fail:
21360 return NULL;
21361 }
21362
21363
21364 static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
21365 PyObject *resultobj;
21366 wxPrinter *arg1 = (wxPrinter *) 0 ;
21367 PyObject * obj0 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 delete arg1;
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 Py_INCREF(Py_None); resultobj = Py_None;
21383 return resultobj;
21384 fail:
21385 return NULL;
21386 }
21387
21388
21389 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxPrinter *arg1 = (wxPrinter *) 0 ;
21392 wxWindow *arg2 = (wxWindow *) 0 ;
21393 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21394 PyObject * obj0 = 0 ;
21395 PyObject * obj1 = 0 ;
21396 PyObject * obj2 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self",(char *) "parent",(char *) "printout", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21406 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 (arg1)->CreateAbortWindow(arg2,arg3);
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 Py_INCREF(Py_None); resultobj = Py_None;
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxPrinter *arg1 = (wxPrinter *) 0 ;
21425 wxPrintDialogData *result;
21426 PyObject * obj0 = 0 ;
21427 char *kwnames[] = {
21428 (char *) "self", NULL
21429 };
21430
21431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
21432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 {
21437 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21438 result = (wxPrintDialogData *) &_result_ref;
21439 }
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPrinter *arg1 = (wxPrinter *) 0 ;
21454 wxWindow *arg2 = (wxWindow *) 0 ;
21455 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21456 int arg4 = (int) True ;
21457 bool result;
21458 PyObject * obj0 = 0 ;
21459 PyObject * obj1 = 0 ;
21460 PyObject * obj2 = 0 ;
21461 PyObject * obj3 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21469 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21471 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21473 if (obj3) {
21474 arg4 = (int) SWIG_AsInt(obj3);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 result = (bool)(arg1)->Print(arg2,arg3,arg4);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 {
21485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21486 }
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPrinter *arg1 = (wxPrinter *) 0 ;
21496 wxWindow *arg2 = (wxWindow *) 0 ;
21497 wxDC *result;
21498 PyObject * obj0 = 0 ;
21499 PyObject * obj1 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self",(char *) "parent", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
21505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = (wxDC *)(arg1)->PrintDialog(arg2);
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 {
21517 resultobj = wxPyMake_wxObject(result);
21518 }
21519 return resultobj;
21520 fail:
21521 return NULL;
21522 }
21523
21524
21525 static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
21526 PyObject *resultobj;
21527 wxPrinter *arg1 = (wxPrinter *) 0 ;
21528 wxWindow *arg2 = (wxWindow *) 0 ;
21529 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
21530 wxString *arg4 = 0 ;
21531 bool temp4 = False ;
21532 PyObject * obj0 = 0 ;
21533 PyObject * obj1 = 0 ;
21534 PyObject * obj2 = 0 ;
21535 PyObject * obj3 = 0 ;
21536 char *kwnames[] = {
21537 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21538 };
21539
21540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21545 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout,
21546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21547 {
21548 arg4 = wxString_in_helper(obj3);
21549 if (arg4 == NULL) SWIG_fail;
21550 temp4 = True;
21551 }
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 Py_INCREF(Py_None); resultobj = Py_None;
21560 {
21561 if (temp4)
21562 delete arg4;
21563 }
21564 return resultobj;
21565 fail:
21566 {
21567 if (temp4)
21568 delete arg4;
21569 }
21570 return NULL;
21571 }
21572
21573
21574 static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 wxPrinter *arg1 = (wxPrinter *) 0 ;
21577 wxWindow *arg2 = (wxWindow *) 0 ;
21578 bool result;
21579 PyObject * obj0 = 0 ;
21580 PyObject * obj1 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "parent", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21588 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 result = (bool)(arg1)->Setup(arg2);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 {
21598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21599 }
21600 return resultobj;
21601 fail:
21602 return NULL;
21603 }
21604
21605
21606 static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
21607 PyObject *resultobj;
21608 wxPrinter *arg1 = (wxPrinter *) 0 ;
21609 bool result;
21610 PyObject * obj0 = 0 ;
21611 char *kwnames[] = {
21612 (char *) "self", NULL
21613 };
21614
21615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
21616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter,
21617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21618 {
21619 PyThreadState* __tstate = wxPyBeginAllowThreads();
21620 result = (bool)(arg1)->GetAbort();
21621
21622 wxPyEndAllowThreads(__tstate);
21623 if (PyErr_Occurred()) SWIG_fail;
21624 }
21625 {
21626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21627 }
21628 return resultobj;
21629 fail:
21630 return NULL;
21631 }
21632
21633
21634 static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
21635 PyObject *resultobj;
21636 int result;
21637 char *kwnames[] = {
21638 NULL
21639 };
21640
21641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
21642 {
21643 PyThreadState* __tstate = wxPyBeginAllowThreads();
21644 result = (int)wxPrinter::GetLastError();
21645
21646 wxPyEndAllowThreads(__tstate);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 resultobj = SWIG_FromInt((int)result);
21650 return resultobj;
21651 fail:
21652 return NULL;
21653 }
21654
21655
21656 static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
21657 PyObject *obj;
21658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21659 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
21660 Py_INCREF(obj);
21661 return Py_BuildValue((char *)"");
21662 }
21663 static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
21664 PyObject *resultobj;
21665 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
21666 wxString *arg1 = (wxString *) &arg1_defvalue ;
21667 wxPyPrintout *result;
21668 bool temp1 = False ;
21669 PyObject * obj0 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "title", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
21675 if (obj0) {
21676 {
21677 arg1 = wxString_in_helper(obj0);
21678 if (arg1 == NULL) SWIG_fail;
21679 temp1 = True;
21680 }
21681 }
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 resultobj = wxPyMake_wxObject(result);
21691 }
21692 {
21693 if (temp1)
21694 delete arg1;
21695 }
21696 return resultobj;
21697 fail:
21698 {
21699 if (temp1)
21700 delete arg1;
21701 }
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21709 PyObject *arg2 = (PyObject *) 0 ;
21710 PyObject *arg3 = (PyObject *) 0 ;
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 PyObject * obj2 = 0 ;
21714 char *kwnames[] = {
21715 (char *) "self",(char *) "self",(char *) "_class", NULL
21716 };
21717
21718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21721 arg2 = obj1;
21722 arg3 = obj2;
21723 {
21724 PyThreadState* __tstate = wxPyBeginAllowThreads();
21725 (arg1)->_setCallbackInfo(arg2,arg3);
21726
21727 wxPyEndAllowThreads(__tstate);
21728 if (PyErr_Occurred()) SWIG_fail;
21729 }
21730 Py_INCREF(Py_None); resultobj = Py_None;
21731 return resultobj;
21732 fail:
21733 return NULL;
21734 }
21735
21736
21737 static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21740 wxString result;
21741 PyObject * obj0 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = ((wxPyPrintout const *)arg1)->GetTitle();
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 {
21757 #if wxUSE_UNICODE
21758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21759 #else
21760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21761 #endif
21762 }
21763 return resultobj;
21764 fail:
21765 return NULL;
21766 }
21767
21768
21769 static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21770 PyObject *resultobj;
21771 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21772 wxDC *result;
21773 PyObject * obj0 = 0 ;
21774 char *kwnames[] = {
21775 (char *) "self", NULL
21776 };
21777
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
21779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 result = (wxDC *)(arg1)->GetDC();
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 {
21789 resultobj = wxPyMake_wxObject(result);
21790 }
21791 return resultobj;
21792 fail:
21793 return NULL;
21794 }
21795
21796
21797 static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj;
21799 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21800 wxDC *arg2 = (wxDC *) 0 ;
21801 PyObject * obj0 = 0 ;
21802 PyObject * obj1 = 0 ;
21803 char *kwnames[] = {
21804 (char *) "self",(char *) "dc", NULL
21805 };
21806
21807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
21808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 (arg1)->SetDC(arg2);
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 Py_INCREF(Py_None); resultobj = Py_None;
21820 return resultobj;
21821 fail:
21822 return NULL;
21823 }
21824
21825
21826 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21827 PyObject *resultobj;
21828 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21829 int arg2 ;
21830 int arg3 ;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 PyObject * obj2 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self",(char *) "w",(char *) "h", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21841 arg2 = (int) SWIG_AsInt(obj1);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 arg3 = (int) SWIG_AsInt(obj2);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 (arg1)->SetPageSizePixels(arg2,arg3);
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 Py_INCREF(Py_None); resultobj = Py_None;
21853 return resultobj;
21854 fail:
21855 return NULL;
21856 }
21857
21858
21859 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21862 int *arg2 = (int *) 0 ;
21863 int *arg3 = (int *) 0 ;
21864 int temp2 ;
21865 int temp3 ;
21866 PyObject * obj0 = 0 ;
21867 char *kwnames[] = {
21868 (char *) "self", NULL
21869 };
21870
21871 arg2 = &temp2;
21872 arg3 = &temp3;
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
21874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 (arg1)->GetPageSizePixels(arg2,arg3);
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 Py_INCREF(Py_None); resultobj = Py_None;
21884 {
21885 PyObject *o = PyInt_FromLong((long) (*arg2));
21886 resultobj = t_output_helper(resultobj,o);
21887 }
21888 {
21889 PyObject *o = PyInt_FromLong((long) (*arg3));
21890 resultobj = t_output_helper(resultobj,o);
21891 }
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21901 int arg2 ;
21902 int arg3 ;
21903 PyObject * obj0 = 0 ;
21904 PyObject * obj1 = 0 ;
21905 PyObject * obj2 = 0 ;
21906 char *kwnames[] = {
21907 (char *) "self",(char *) "w",(char *) "h", NULL
21908 };
21909
21910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
21911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21913 arg2 = (int) SWIG_AsInt(obj1);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 arg3 = (int) SWIG_AsInt(obj2);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 (arg1)->SetPageSizeMM(arg2,arg3);
21920
21921 wxPyEndAllowThreads(__tstate);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 }
21924 Py_INCREF(Py_None); resultobj = Py_None;
21925 return resultobj;
21926 fail:
21927 return NULL;
21928 }
21929
21930
21931 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
21932 PyObject *resultobj;
21933 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21934 int *arg2 = (int *) 0 ;
21935 int *arg3 = (int *) 0 ;
21936 int temp2 ;
21937 int temp3 ;
21938 PyObject * obj0 = 0 ;
21939 char *kwnames[] = {
21940 (char *) "self", NULL
21941 };
21942
21943 arg2 = &temp2;
21944 arg3 = &temp3;
21945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
21946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 (arg1)->GetPageSizeMM(arg2,arg3);
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 Py_INCREF(Py_None); resultobj = Py_None;
21956 {
21957 PyObject *o = PyInt_FromLong((long) (*arg2));
21958 resultobj = t_output_helper(resultobj,o);
21959 }
21960 {
21961 PyObject *o = PyInt_FromLong((long) (*arg3));
21962 resultobj = t_output_helper(resultobj,o);
21963 }
21964 return resultobj;
21965 fail:
21966 return NULL;
21967 }
21968
21969
21970 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
21971 PyObject *resultobj;
21972 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21973 int arg2 ;
21974 int arg3 ;
21975 PyObject * obj0 = 0 ;
21976 PyObject * obj1 = 0 ;
21977 PyObject * obj2 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self",(char *) "x",(char *) "y", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
21983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
21984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21985 arg2 = (int) SWIG_AsInt(obj1);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 arg3 = (int) SWIG_AsInt(obj2);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 (arg1)->SetPPIScreen(arg2,arg3);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 Py_INCREF(Py_None); resultobj = Py_None;
21997 return resultobj;
21998 fail:
21999 return NULL;
22000 }
22001
22002
22003 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22006 int *arg2 = (int *) 0 ;
22007 int *arg3 = (int *) 0 ;
22008 int temp2 ;
22009 int temp3 ;
22010 PyObject * obj0 = 0 ;
22011 char *kwnames[] = {
22012 (char *) "self", NULL
22013 };
22014
22015 arg2 = &temp2;
22016 arg3 = &temp3;
22017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
22018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 (arg1)->GetPPIScreen(arg2,arg3);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 Py_INCREF(Py_None); resultobj = Py_None;
22028 {
22029 PyObject *o = PyInt_FromLong((long) (*arg2));
22030 resultobj = t_output_helper(resultobj,o);
22031 }
22032 {
22033 PyObject *o = PyInt_FromLong((long) (*arg3));
22034 resultobj = t_output_helper(resultobj,o);
22035 }
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22045 int arg2 ;
22046 int arg3 ;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 PyObject * obj2 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "x",(char *) "y", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
22055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22057 arg2 = (int) SWIG_AsInt(obj1);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 arg3 = (int) SWIG_AsInt(obj2);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 {
22062 PyThreadState* __tstate = wxPyBeginAllowThreads();
22063 (arg1)->SetPPIPrinter(arg2,arg3);
22064
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 Py_INCREF(Py_None); resultobj = Py_None;
22069 return resultobj;
22070 fail:
22071 return NULL;
22072 }
22073
22074
22075 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj;
22077 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22078 int *arg2 = (int *) 0 ;
22079 int *arg3 = (int *) 0 ;
22080 int temp2 ;
22081 int temp3 ;
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 arg2 = &temp2;
22088 arg3 = &temp3;
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 (arg1)->GetPPIPrinter(arg2,arg3);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 Py_INCREF(Py_None); resultobj = Py_None;
22100 {
22101 PyObject *o = PyInt_FromLong((long) (*arg2));
22102 resultobj = t_output_helper(resultobj,o);
22103 }
22104 {
22105 PyObject *o = PyInt_FromLong((long) (*arg3));
22106 resultobj = t_output_helper(resultobj,o);
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111 }
22112
22113
22114 static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj;
22116 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22117 bool result;
22118 PyObject * obj0 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
22124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (bool)(arg1)->IsPreview();
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 {
22134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22135 }
22136 return resultobj;
22137 fail:
22138 return NULL;
22139 }
22140
22141
22142 static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22143 PyObject *resultobj;
22144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22145 bool arg2 ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self",(char *) "p", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
22153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22155 arg2 = (bool) SWIG_AsBool(obj1);
22156 if (PyErr_Occurred()) SWIG_fail;
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 (arg1)->SetIsPreview(arg2);
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 Py_INCREF(Py_None); resultobj = Py_None;
22165 return resultobj;
22166 fail:
22167 return NULL;
22168 }
22169
22170
22171 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22172 PyObject *resultobj;
22173 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22174 int arg2 ;
22175 int arg3 ;
22176 bool result;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 PyObject * obj2 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
22185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22187 arg2 = (int) SWIG_AsInt(obj1);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 arg3 = (int) SWIG_AsInt(obj2);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 {
22199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22200 }
22201 return resultobj;
22202 fail:
22203 return NULL;
22204 }
22205
22206
22207 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
22216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 (arg1)->base_OnEndDocument();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 Py_INCREF(Py_None); resultobj = Py_None;
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22235 PyObject * obj0 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 (arg1)->base_OnBeginPrinting();
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 Py_INCREF(Py_None); resultobj = Py_None;
22251 return resultobj;
22252 fail:
22253 return NULL;
22254 }
22255
22256
22257 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 (arg1)->base_OnEndPrinting();
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 Py_INCREF(Py_None); resultobj = Py_None;
22276 return resultobj;
22277 fail:
22278 return NULL;
22279 }
22280
22281
22282 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
22283 PyObject *resultobj;
22284 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22285 PyObject * obj0 = 0 ;
22286 char *kwnames[] = {
22287 (char *) "self", NULL
22288 };
22289
22290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
22291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22293 {
22294 PyThreadState* __tstate = wxPyBeginAllowThreads();
22295 (arg1)->base_OnPreparePrinting();
22296
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 Py_INCREF(Py_None); resultobj = Py_None;
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22310 int arg2 ;
22311 bool result;
22312 PyObject * obj0 = 0 ;
22313 PyObject * obj1 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self",(char *) "page", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22321 arg2 = (int) SWIG_AsInt(obj1);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = (bool)(arg1)->base_HasPage(arg2);
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 {
22331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22332 }
22333 return resultobj;
22334 fail:
22335 return NULL;
22336 }
22337
22338
22339 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22340 PyObject *resultobj;
22341 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22342 int *arg2 = (int *) 0 ;
22343 int *arg3 = (int *) 0 ;
22344 int *arg4 = (int *) 0 ;
22345 int *arg5 = (int *) 0 ;
22346 int temp2 ;
22347 int temp3 ;
22348 int temp4 ;
22349 int temp5 ;
22350 PyObject * obj0 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self", NULL
22353 };
22354
22355 arg2 = &temp2;
22356 arg3 = &temp3;
22357 arg4 = &temp4;
22358 arg5 = &temp5;
22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
22360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
22365
22366 wxPyEndAllowThreads(__tstate);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 }
22369 Py_INCREF(Py_None); resultobj = Py_None;
22370 {
22371 PyObject *o = PyInt_FromLong((long) (*arg2));
22372 resultobj = t_output_helper(resultobj,o);
22373 }
22374 {
22375 PyObject *o = PyInt_FromLong((long) (*arg3));
22376 resultobj = t_output_helper(resultobj,o);
22377 }
22378 {
22379 PyObject *o = PyInt_FromLong((long) (*arg4));
22380 resultobj = t_output_helper(resultobj,o);
22381 }
22382 {
22383 PyObject *o = PyInt_FromLong((long) (*arg5));
22384 resultobj = t_output_helper(resultobj,o);
22385 }
22386 return resultobj;
22387 fail:
22388 return NULL;
22389 }
22390
22391
22392 static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
22393 PyObject *obj;
22394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
22396 Py_INCREF(obj);
22397 return Py_BuildValue((char *)"");
22398 }
22399 static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22402 wxWindow *arg2 = (wxWindow *) 0 ;
22403 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22404 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22405 wxSize const &arg4_defvalue = wxDefaultSize ;
22406 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22407 long arg5 = (long) 0 ;
22408 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
22409 wxString *arg6 = (wxString *) &arg6_defvalue ;
22410 wxPreviewCanvas *result;
22411 wxPoint temp3 ;
22412 wxSize temp4 ;
22413 bool temp6 = False ;
22414 PyObject * obj0 = 0 ;
22415 PyObject * obj1 = 0 ;
22416 PyObject * obj2 = 0 ;
22417 PyObject * obj3 = 0 ;
22418 PyObject * obj4 = 0 ;
22419 PyObject * obj5 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22429 if (obj2) {
22430 {
22431 arg3 = &temp3;
22432 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22433 }
22434 }
22435 if (obj3) {
22436 {
22437 arg4 = &temp4;
22438 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22439 }
22440 }
22441 if (obj4) {
22442 arg5 = (long) SWIG_AsLong(obj4);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 if (obj5) {
22446 {
22447 arg6 = wxString_in_helper(obj5);
22448 if (arg6 == NULL) SWIG_fail;
22449 temp6 = True;
22450 }
22451 }
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
22460 {
22461 if (temp6)
22462 delete arg6;
22463 }
22464 return resultobj;
22465 fail:
22466 {
22467 if (temp6)
22468 delete arg6;
22469 }
22470 return NULL;
22471 }
22472
22473
22474 static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
22475 PyObject *obj;
22476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22477 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
22478 Py_INCREF(obj);
22479 return Py_BuildValue((char *)"");
22480 }
22481 static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22484 wxFrame *arg2 = (wxFrame *) 0 ;
22485 wxString *arg3 = 0 ;
22486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22488 wxSize const &arg5_defvalue = wxDefaultSize ;
22489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22490 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22491 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22492 wxString *arg7 = (wxString *) &arg7_defvalue ;
22493 wxPreviewFrame *result;
22494 bool temp3 = False ;
22495 wxPoint temp4 ;
22496 wxSize temp5 ;
22497 bool temp7 = False ;
22498 PyObject * obj0 = 0 ;
22499 PyObject * obj1 = 0 ;
22500 PyObject * obj2 = 0 ;
22501 PyObject * obj3 = 0 ;
22502 PyObject * obj4 = 0 ;
22503 PyObject * obj5 = 0 ;
22504 PyObject * obj6 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
22513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22514 {
22515 arg3 = wxString_in_helper(obj2);
22516 if (arg3 == NULL) SWIG_fail;
22517 temp3 = True;
22518 }
22519 if (obj3) {
22520 {
22521 arg4 = &temp4;
22522 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22523 }
22524 }
22525 if (obj4) {
22526 {
22527 arg5 = &temp5;
22528 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22529 }
22530 }
22531 if (obj5) {
22532 arg6 = (long) SWIG_AsLong(obj5);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 if (obj6) {
22536 {
22537 arg7 = wxString_in_helper(obj6);
22538 if (arg7 == NULL) SWIG_fail;
22539 temp7 = True;
22540 }
22541 }
22542 {
22543 PyThreadState* __tstate = wxPyBeginAllowThreads();
22544 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22545
22546 wxPyEndAllowThreads(__tstate);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 }
22549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
22550 {
22551 if (temp3)
22552 delete arg3;
22553 }
22554 {
22555 if (temp7)
22556 delete arg7;
22557 }
22558 return resultobj;
22559 fail:
22560 {
22561 if (temp3)
22562 delete arg3;
22563 }
22564 {
22565 if (temp7)
22566 delete arg7;
22567 }
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22575 PyObject * obj0 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->Initialize();
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22600 PyObject * obj0 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22608 {
22609 PyThreadState* __tstate = wxPyBeginAllowThreads();
22610 (arg1)->CreateControlBar();
22611
22612 wxPyEndAllowThreads(__tstate);
22613 if (PyErr_Occurred()) SWIG_fail;
22614 }
22615 Py_INCREF(Py_None); resultobj = Py_None;
22616 return resultobj;
22617 fail:
22618 return NULL;
22619 }
22620
22621
22622 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22623 PyObject *resultobj;
22624 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22625 PyObject * obj0 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
22631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 (arg1)->CreateCanvas();
22636
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 Py_INCREF(Py_None); resultobj = Py_None;
22641 return resultobj;
22642 fail:
22643 return NULL;
22644 }
22645
22646
22647 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22648 PyObject *resultobj;
22649 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
22650 wxPreviewControlBar *result;
22651 PyObject * obj0 = 0 ;
22652 char *kwnames[] = {
22653 (char *) "self", NULL
22654 };
22655
22656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
22657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame,
22658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22659 {
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
22662
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
22667 return resultobj;
22668 fail:
22669 return NULL;
22670 }
22671
22672
22673 static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
22674 PyObject *obj;
22675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22676 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
22677 Py_INCREF(obj);
22678 return Py_BuildValue((char *)"");
22679 }
22680 static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22681 PyObject *resultobj;
22682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22683 long arg2 ;
22684 wxWindow *arg3 = (wxWindow *) 0 ;
22685 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22686 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22687 wxSize const &arg5_defvalue = wxDefaultSize ;
22688 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22689 long arg6 = (long) wxTAB_TRAVERSAL ;
22690 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22691 wxString *arg7 = (wxString *) &arg7_defvalue ;
22692 wxPreviewControlBar *result;
22693 wxPoint temp4 ;
22694 wxSize temp5 ;
22695 bool temp7 = False ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 PyObject * obj2 = 0 ;
22699 PyObject * obj3 = 0 ;
22700 PyObject * obj4 = 0 ;
22701 PyObject * obj5 = 0 ;
22702 PyObject * obj6 = 0 ;
22703 char *kwnames[] = {
22704 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22705 };
22706
22707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
22709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22710 arg2 = (long) SWIG_AsLong(obj1);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
22713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22714 if (obj3) {
22715 {
22716 arg4 = &temp4;
22717 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22718 }
22719 }
22720 if (obj4) {
22721 {
22722 arg5 = &temp5;
22723 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22724 }
22725 }
22726 if (obj5) {
22727 arg6 = (long) SWIG_AsLong(obj5);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 if (obj6) {
22731 {
22732 arg7 = wxString_in_helper(obj6);
22733 if (arg7 == NULL) SWIG_fail;
22734 temp7 = True;
22735 }
22736 }
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
22745 {
22746 if (temp7)
22747 delete arg7;
22748 }
22749 return resultobj;
22750 fail:
22751 {
22752 if (temp7)
22753 delete arg7;
22754 }
22755 return NULL;
22756 }
22757
22758
22759 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22760 PyObject *resultobj;
22761 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22762 int result;
22763 PyObject * obj0 = 0 ;
22764 char *kwnames[] = {
22765 (char *) "self", NULL
22766 };
22767
22768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
22769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 result = (int)(arg1)->GetZoomControl();
22774
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 resultobj = SWIG_FromInt((int)result);
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22788 int arg2 ;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self",(char *) "zoom", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22798 arg2 = (int) SWIG_AsInt(obj1);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->SetZoomControl(arg2);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22817 wxPrintPreview *result;
22818 PyObject * obj0 = 0 ;
22819 char *kwnames[] = {
22820 (char *) "self", NULL
22821 };
22822
22823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
22824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22843 PyObject * obj0 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
22849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->OnNext();
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22868 PyObject * obj0 = 0 ;
22869 char *kwnames[] = {
22870 (char *) "self", NULL
22871 };
22872
22873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
22874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 (arg1)->OnPrevious();
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22893 PyObject * obj0 = 0 ;
22894 char *kwnames[] = {
22895 (char *) "self", NULL
22896 };
22897
22898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
22899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 (arg1)->OnFirst();
22904
22905 wxPyEndAllowThreads(__tstate);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 }
22908 Py_INCREF(Py_None); resultobj = Py_None;
22909 return resultobj;
22910 fail:
22911 return NULL;
22912 }
22913
22914
22915 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
22916 PyObject *resultobj;
22917 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22918 PyObject * obj0 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 (arg1)->OnLast();
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 Py_INCREF(Py_None); resultobj = Py_None;
22934 return resultobj;
22935 fail:
22936 return NULL;
22937 }
22938
22939
22940 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
22941 PyObject *resultobj;
22942 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
22943 PyObject * obj0 = 0 ;
22944 char *kwnames[] = {
22945 (char *) "self", NULL
22946 };
22947
22948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
22949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar,
22950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 (arg1)->OnGoto();
22954
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 Py_INCREF(Py_None); resultobj = Py_None;
22959 return resultobj;
22960 fail:
22961 return NULL;
22962 }
22963
22964
22965 static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22966 PyObject *obj;
22967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22968 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
22969 Py_INCREF(obj);
22970 return Py_BuildValue((char *)"");
22971 }
22972 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) {
22973 PyObject *resultobj;
22974 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22975 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22976 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
22977 wxPrintPreview *result;
22978 PyObject * obj0 = 0 ;
22979 PyObject * obj1 = 0 ;
22980 PyObject * obj2 = 0 ;
22981
22982 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
22983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
22984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
22986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22987 if (obj2) {
22988 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
22989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22990 }
22991 {
22992 PyThreadState* __tstate = wxPyBeginAllowThreads();
22993 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
22994
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
22999 return resultobj;
23000 fail:
23001 return NULL;
23002 }
23003
23004
23005 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23006 PyObject *resultobj;
23007 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23008 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23009 wxPrintData *arg3 = (wxPrintData *) 0 ;
23010 wxPrintPreview *result;
23011 PyObject * obj0 = 0 ;
23012 PyObject * obj1 = 0 ;
23013 PyObject * obj2 = 0 ;
23014
23015 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
23016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23020 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23022 {
23023 PyThreadState* __tstate = wxPyBeginAllowThreads();
23024 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
23025
23026 wxPyEndAllowThreads(__tstate);
23027 if (PyErr_Occurred()) SWIG_fail;
23028 }
23029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
23037 int argc;
23038 PyObject *argv[4];
23039 int ii;
23040
23041 argc = PyObject_Length(args);
23042 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23043 argv[ii] = PyTuple_GetItem(args,ii);
23044 }
23045 if ((argc >= 2) && (argc <= 3)) {
23046 int _v;
23047 {
23048 void *ptr;
23049 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23050 _v = 0;
23051 PyErr_Clear();
23052 } else {
23053 _v = 1;
23054 }
23055 }
23056 if (_v) {
23057 {
23058 void *ptr;
23059 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23060 _v = 0;
23061 PyErr_Clear();
23062 } else {
23063 _v = 1;
23064 }
23065 }
23066 if (_v) {
23067 if (argc <= 2) {
23068 return _wrap_new_PrintPreview__SWIG_0(self,args);
23069 }
23070 {
23071 void *ptr;
23072 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23073 _v = 0;
23074 PyErr_Clear();
23075 } else {
23076 _v = 1;
23077 }
23078 }
23079 if (_v) {
23080 return _wrap_new_PrintPreview__SWIG_0(self,args);
23081 }
23082 }
23083 }
23084 }
23085 if (argc == 3) {
23086 int _v;
23087 {
23088 void *ptr;
23089 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23090 _v = 0;
23091 PyErr_Clear();
23092 } else {
23093 _v = 1;
23094 }
23095 }
23096 if (_v) {
23097 {
23098 void *ptr;
23099 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23100 _v = 0;
23101 PyErr_Clear();
23102 } else {
23103 _v = 1;
23104 }
23105 }
23106 if (_v) {
23107 {
23108 void *ptr;
23109 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23110 _v = 0;
23111 PyErr_Clear();
23112 } else {
23113 _v = 1;
23114 }
23115 }
23116 if (_v) {
23117 return _wrap_new_PrintPreview__SWIG_1(self,args);
23118 }
23119 }
23120 }
23121 }
23122
23123 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'");
23124 return NULL;
23125 }
23126
23127
23128 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23131 int arg2 ;
23132 bool result;
23133 PyObject * obj0 = 0 ;
23134 PyObject * obj1 = 0 ;
23135 char *kwnames[] = {
23136 (char *) "self",(char *) "pageNum", NULL
23137 };
23138
23139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23142 arg2 = (int) SWIG_AsInt(obj1);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 result = (bool)(arg1)->SetCurrentPage(arg2);
23147
23148 wxPyEndAllowThreads(__tstate);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
23151 {
23152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23153 }
23154 return resultobj;
23155 fail:
23156 return NULL;
23157 }
23158
23159
23160 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23161 PyObject *resultobj;
23162 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23163 int result;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
23170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (int)(arg1)->GetCurrentPage();
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_FromInt((int)result);
23180 return resultobj;
23181 fail:
23182 return NULL;
23183 }
23184
23185
23186 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23187 PyObject *resultobj;
23188 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23189 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192 char *kwnames[] = {
23193 (char *) "self",(char *) "printout", NULL
23194 };
23195
23196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
23197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23199 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 (arg1)->SetPrintout(arg2);
23204
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 Py_INCREF(Py_None); resultobj = Py_None;
23209 return resultobj;
23210 fail:
23211 return NULL;
23212 }
23213
23214
23215 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
23216 PyObject *resultobj;
23217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23218 wxPyPrintout *result;
23219 PyObject * obj0 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "self", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
23225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
23229 result = (wxPyPrintout *)(arg1)->GetPrintout();
23230
23231 wxPyEndAllowThreads(__tstate);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 {
23235 resultobj = wxPyMake_wxObject(result);
23236 }
23237 return resultobj;
23238 fail:
23239 return NULL;
23240 }
23241
23242
23243 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23246 wxPyPrintout *result;
23247 PyObject * obj0 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
23258
23259 wxPyEndAllowThreads(__tstate);
23260 if (PyErr_Occurred()) SWIG_fail;
23261 }
23262 {
23263 resultobj = wxPyMake_wxObject(result);
23264 }
23265 return resultobj;
23266 fail:
23267 return NULL;
23268 }
23269
23270
23271 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23272 PyObject *resultobj;
23273 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23274 wxFrame *arg2 = (wxFrame *) 0 ;
23275 PyObject * obj0 = 0 ;
23276 PyObject * obj1 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self",(char *) "frame", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
23282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
23285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23286 {
23287 PyThreadState* __tstate = wxPyBeginAllowThreads();
23288 (arg1)->SetFrame(arg2);
23289
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 Py_INCREF(Py_None); resultobj = Py_None;
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23303 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23304 PyObject * obj0 = 0 ;
23305 PyObject * obj1 = 0 ;
23306 char *kwnames[] = {
23307 (char *) "self",(char *) "canvas", NULL
23308 };
23309
23310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
23311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 (arg1)->SetCanvas(arg2);
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 Py_INCREF(Py_None); resultobj = Py_None;
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj;
23331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23332 wxFrame *result;
23333 PyObject * obj0 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
23339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (wxFrame *)(arg1)->GetFrame();
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 {
23349 resultobj = wxPyMake_wxObject(result);
23350 }
23351 return resultobj;
23352 fail:
23353 return NULL;
23354 }
23355
23356
23357 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
23358 PyObject *resultobj;
23359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23360 wxPreviewCanvas *result;
23361 PyObject * obj0 = 0 ;
23362 char *kwnames[] = {
23363 (char *) "self", NULL
23364 };
23365
23366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
23367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23386 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23387 wxDC *arg3 = 0 ;
23388 bool result;
23389 PyObject * obj0 = 0 ;
23390 PyObject * obj1 = 0 ;
23391 PyObject * obj2 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23401 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23402 SWIG_POINTER_EXCEPTION | 0)) == -1)
23403 SWIG_fail;
23404 if (arg3 == NULL) {
23405 PyErr_SetString(PyExc_TypeError,"null reference");
23406 SWIG_fail;
23407 }
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 result = (bool)(arg1)->PaintPage(arg2,*arg3);
23411
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 {
23416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23417 }
23418 return resultobj;
23419 fail:
23420 return NULL;
23421 }
23422
23423
23424 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23425 PyObject *resultobj;
23426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23427 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23428 wxDC *arg3 = 0 ;
23429 bool result;
23430 PyObject * obj0 = 0 ;
23431 PyObject * obj1 = 0 ;
23432 PyObject * obj2 = 0 ;
23433 char *kwnames[] = {
23434 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23435 };
23436
23437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23440 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23442 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
23443 SWIG_POINTER_EXCEPTION | 0)) == -1)
23444 SWIG_fail;
23445 if (arg3 == NULL) {
23446 PyErr_SetString(PyExc_TypeError,"null reference");
23447 SWIG_fail;
23448 }
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
23452
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 {
23457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23458 }
23459 return resultobj;
23460 fail:
23461 return NULL;
23462 }
23463
23464
23465 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23466 PyObject *resultobj;
23467 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23468 int arg2 ;
23469 bool result;
23470 PyObject * obj0 = 0 ;
23471 PyObject * obj1 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self",(char *) "pageNum", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23479 arg2 = (int) SWIG_AsInt(obj1);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 result = (bool)(arg1)->RenderPage(arg2);
23484
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 {
23489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23490 }
23491 return resultobj;
23492 fail:
23493 return NULL;
23494 }
23495
23496
23497 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
23498 PyObject *resultobj;
23499 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23500 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
23501 PyObject * obj0 = 0 ;
23502 PyObject * obj1 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "self",(char *) "canvas", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
23508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
23511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 (arg1)->AdjustScrollbars(arg2);
23515
23516 wxPyEndAllowThreads(__tstate);
23517 if (PyErr_Occurred()) SWIG_fail;
23518 }
23519 Py_INCREF(Py_None); resultobj = Py_None;
23520 return resultobj;
23521 fail:
23522 return NULL;
23523 }
23524
23525
23526 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
23527 PyObject *resultobj;
23528 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23529 wxPrintDialogData *result;
23530 PyObject * obj0 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "self", NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
23536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23538 {
23539 PyThreadState* __tstate = wxPyBeginAllowThreads();
23540 {
23541 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23542 result = (wxPrintDialogData *) &_result_ref;
23543 }
23544
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23549 return resultobj;
23550 fail:
23551 return NULL;
23552 }
23553
23554
23555 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23556 PyObject *resultobj;
23557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23558 int arg2 ;
23559 PyObject * obj0 = 0 ;
23560 PyObject * obj1 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self",(char *) "percent", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23568 arg2 = (int) SWIG_AsInt(obj1);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 (arg1)->SetZoom(arg2);
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 Py_INCREF(Py_None); resultobj = Py_None;
23578 return resultobj;
23579 fail:
23580 return NULL;
23581 }
23582
23583
23584 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
23585 PyObject *resultobj;
23586 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23587 int result;
23588 PyObject * obj0 = 0 ;
23589 char *kwnames[] = {
23590 (char *) "self", NULL
23591 };
23592
23593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
23594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23596 {
23597 PyThreadState* __tstate = wxPyBeginAllowThreads();
23598 result = (int)(arg1)->GetZoom();
23599
23600 wxPyEndAllowThreads(__tstate);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 resultobj = SWIG_FromInt((int)result);
23604 return resultobj;
23605 fail:
23606 return NULL;
23607 }
23608
23609
23610 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23611 PyObject *resultobj;
23612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23613 int result;
23614 PyObject * obj0 = 0 ;
23615 char *kwnames[] = {
23616 (char *) "self", NULL
23617 };
23618
23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
23620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23622 {
23623 PyThreadState* __tstate = wxPyBeginAllowThreads();
23624 result = (int)(arg1)->GetMaxPage();
23625
23626 wxPyEndAllowThreads(__tstate);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
23629 resultobj = SWIG_FromInt((int)result);
23630 return resultobj;
23631 fail:
23632 return NULL;
23633 }
23634
23635
23636 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23637 PyObject *resultobj;
23638 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23639 int result;
23640 PyObject * obj0 = 0 ;
23641 char *kwnames[] = {
23642 (char *) "self", NULL
23643 };
23644
23645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
23646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (int)(arg1)->GetMinPage();
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 resultobj = SWIG_FromInt((int)result);
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23665 bool result;
23666 PyObject * obj0 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
23672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (bool)(arg1)->Ok();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 {
23682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23683 }
23684 return resultobj;
23685 fail:
23686 return NULL;
23687 }
23688
23689
23690 static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23691 PyObject *resultobj;
23692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23693 bool arg2 ;
23694 PyObject * obj0 = 0 ;
23695 PyObject * obj1 = 0 ;
23696 char *kwnames[] = {
23697 (char *) "self",(char *) "ok", NULL
23698 };
23699
23700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
23701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23703 arg2 = (bool) SWIG_AsBool(obj1);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->SetOk(arg2);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 Py_INCREF(Py_None); resultobj = Py_None;
23713 return resultobj;
23714 fail:
23715 return NULL;
23716 }
23717
23718
23719 static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
23720 PyObject *resultobj;
23721 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23722 bool arg2 ;
23723 bool result;
23724 PyObject * obj0 = 0 ;
23725 PyObject * obj1 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self",(char *) "interactive", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
23731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23733 arg2 = (bool) SWIG_AsBool(obj1);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = (bool)(arg1)->Print(arg2);
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23744 }
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
23754 PyObject * obj0 = 0 ;
23755 char *kwnames[] = {
23756 (char *) "self", NULL
23757 };
23758
23759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
23760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
23761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 (arg1)->DetermineScaling();
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 Py_INCREF(Py_None); resultobj = Py_None;
23770 return resultobj;
23771 fail:
23772 return NULL;
23773 }
23774
23775
23776 static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
23777 PyObject *obj;
23778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23779 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
23780 Py_INCREF(obj);
23781 return Py_BuildValue((char *)"");
23782 }
23783 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) {
23784 PyObject *resultobj;
23785 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23786 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23787 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
23788 wxPyPrintPreview *result;
23789 PyObject * obj0 = 0 ;
23790 PyObject * obj1 = 0 ;
23791 PyObject * obj2 = 0 ;
23792
23793 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23798 if (obj2) {
23799 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23801 }
23802 {
23803 PyThreadState* __tstate = wxPyBeginAllowThreads();
23804 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23805
23806 wxPyEndAllowThreads(__tstate);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
23809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23810 return resultobj;
23811 fail:
23812 return NULL;
23813 }
23814
23815
23816 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) {
23817 PyObject *resultobj;
23818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
23819 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
23820 wxPrintData *arg3 = (wxPrintData *) 0 ;
23821 wxPyPrintPreview *result;
23822 PyObject * obj0 = 0 ;
23823 PyObject * obj1 = 0 ;
23824 PyObject * obj2 = 0 ;
23825
23826 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
23827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout,
23828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout,
23830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData,
23832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
23841 return resultobj;
23842 fail:
23843 return NULL;
23844 }
23845
23846
23847 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
23848 int argc;
23849 PyObject *argv[4];
23850 int ii;
23851
23852 argc = PyObject_Length(args);
23853 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
23854 argv[ii] = PyTuple_GetItem(args,ii);
23855 }
23856 if ((argc >= 2) && (argc <= 3)) {
23857 int _v;
23858 {
23859 void *ptr;
23860 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23861 _v = 0;
23862 PyErr_Clear();
23863 } else {
23864 _v = 1;
23865 }
23866 }
23867 if (_v) {
23868 {
23869 void *ptr;
23870 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23871 _v = 0;
23872 PyErr_Clear();
23873 } else {
23874 _v = 1;
23875 }
23876 }
23877 if (_v) {
23878 if (argc <= 2) {
23879 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23880 }
23881 {
23882 void *ptr;
23883 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23884 _v = 0;
23885 PyErr_Clear();
23886 } else {
23887 _v = 1;
23888 }
23889 }
23890 if (_v) {
23891 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
23892 }
23893 }
23894 }
23895 }
23896 if (argc == 3) {
23897 int _v;
23898 {
23899 void *ptr;
23900 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23901 _v = 0;
23902 PyErr_Clear();
23903 } else {
23904 _v = 1;
23905 }
23906 }
23907 if (_v) {
23908 {
23909 void *ptr;
23910 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
23911 _v = 0;
23912 PyErr_Clear();
23913 } else {
23914 _v = 1;
23915 }
23916 }
23917 if (_v) {
23918 {
23919 void *ptr;
23920 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23921 _v = 0;
23922 PyErr_Clear();
23923 } else {
23924 _v = 1;
23925 }
23926 }
23927 if (_v) {
23928 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
23929 }
23930 }
23931 }
23932 }
23933
23934 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'");
23935 return NULL;
23936 }
23937
23938
23939 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23940 PyObject *resultobj;
23941 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23942 PyObject *arg2 = (PyObject *) 0 ;
23943 PyObject *arg3 = (PyObject *) 0 ;
23944 PyObject * obj0 = 0 ;
23945 PyObject * obj1 = 0 ;
23946 PyObject * obj2 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self",(char *) "self",(char *) "_class", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23954 arg2 = obj1;
23955 arg3 = obj2;
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 (arg1)->_setCallbackInfo(arg2,arg3);
23959
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 Py_INCREF(Py_None); resultobj = Py_None;
23964 return resultobj;
23965 fail:
23966 return NULL;
23967 }
23968
23969
23970 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
23971 PyObject *resultobj;
23972 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
23973 int arg2 ;
23974 bool result;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "pageNum", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
23983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23984 arg2 = (int) SWIG_AsInt(obj1);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = (bool)(arg1)->base_SetCurrentPage(arg2);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23995 }
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24005 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24006 wxDC *arg3 = 0 ;
24007 bool result;
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 PyObject * obj2 = 0 ;
24011 char *kwnames[] = {
24012 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24013 };
24014
24015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24020 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24021 SWIG_POINTER_EXCEPTION | 0)) == -1)
24022 SWIG_fail;
24023 if (arg3 == NULL) {
24024 PyErr_SetString(PyExc_TypeError,"null reference");
24025 SWIG_fail;
24026 }
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 {
24035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24036 }
24037 return resultobj;
24038 fail:
24039 return NULL;
24040 }
24041
24042
24043 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24044 PyObject *resultobj;
24045 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24046 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24047 wxDC *arg3 = 0 ;
24048 bool result;
24049 PyObject * obj0 = 0 ;
24050 PyObject * obj1 = 0 ;
24051 PyObject * obj2 = 0 ;
24052 char *kwnames[] = {
24053 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24054 };
24055
24056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24061 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC,
24062 SWIG_POINTER_EXCEPTION | 0)) == -1)
24063 SWIG_fail;
24064 if (arg3 == NULL) {
24065 PyErr_SetString(PyExc_TypeError,"null reference");
24066 SWIG_fail;
24067 }
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
24075 {
24076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24077 }
24078 return resultobj;
24079 fail:
24080 return NULL;
24081 }
24082
24083
24084 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
24085 PyObject *resultobj;
24086 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24087 int arg2 ;
24088 bool result;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "pageNum", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
24096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24098 arg2 = (int) SWIG_AsInt(obj1);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
24102 result = (bool)(arg1)->base_RenderPage(arg2);
24103
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 {
24108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24109 }
24110 return resultobj;
24111 fail:
24112 return NULL;
24113 }
24114
24115
24116 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
24117 PyObject *resultobj;
24118 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24119 int arg2 ;
24120 PyObject * obj0 = 0 ;
24121 PyObject * obj1 = 0 ;
24122 char *kwnames[] = {
24123 (char *) "self",(char *) "percent", NULL
24124 };
24125
24126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
24127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24129 arg2 = (int) SWIG_AsInt(obj1);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 (arg1)->base_SetZoom(arg2);
24134
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 Py_INCREF(Py_None); resultobj = Py_None;
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj;
24147 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24148 bool arg2 ;
24149 bool result;
24150 PyObject * obj0 = 0 ;
24151 PyObject * obj1 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "self",(char *) "interactive", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
24157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24159 arg2 = (bool) SWIG_AsBool(obj1);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (bool)(arg1)->base_Print(arg2);
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 {
24169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24170 }
24171 return resultobj;
24172 fail:
24173 return NULL;
24174 }
24175
24176
24177 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj;
24179 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
24180 PyObject * obj0 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview,
24187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 (arg1)->base_DetermineScaling();
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 Py_INCREF(Py_None); resultobj = Py_None;
24196 return resultobj;
24197 fail:
24198 return NULL;
24199 }
24200
24201
24202 static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
24203 PyObject *obj;
24204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24205 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
24206 Py_INCREF(obj);
24207 return Py_BuildValue((char *)"");
24208 }
24209 static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
24210 PyObject *resultobj;
24211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24212 wxFrame *arg2 = (wxFrame *) 0 ;
24213 wxString *arg3 = 0 ;
24214 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24215 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24216 wxSize const &arg5_defvalue = wxDefaultSize ;
24217 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24218 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
24219 wxString const &arg7_defvalue = wxPyFrameNameStr ;
24220 wxString *arg7 = (wxString *) &arg7_defvalue ;
24221 wxPyPreviewFrame *result;
24222 bool temp3 = False ;
24223 wxPoint temp4 ;
24224 wxSize temp5 ;
24225 bool temp7 = False ;
24226 PyObject * obj0 = 0 ;
24227 PyObject * obj1 = 0 ;
24228 PyObject * obj2 = 0 ;
24229 PyObject * obj3 = 0 ;
24230 PyObject * obj4 = 0 ;
24231 PyObject * obj5 = 0 ;
24232 PyObject * obj6 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
24241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24242 {
24243 arg3 = wxString_in_helper(obj2);
24244 if (arg3 == NULL) SWIG_fail;
24245 temp3 = True;
24246 }
24247 if (obj3) {
24248 {
24249 arg4 = &temp4;
24250 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24251 }
24252 }
24253 if (obj4) {
24254 {
24255 arg5 = &temp5;
24256 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24257 }
24258 }
24259 if (obj5) {
24260 arg6 = (long) SWIG_AsLong(obj5);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 if (obj6) {
24264 {
24265 arg7 = wxString_in_helper(obj6);
24266 if (arg7 == NULL) SWIG_fail;
24267 temp7 = True;
24268 }
24269 }
24270 {
24271 PyThreadState* __tstate = wxPyBeginAllowThreads();
24272 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24273
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
24278 {
24279 if (temp3)
24280 delete arg3;
24281 }
24282 {
24283 if (temp7)
24284 delete arg7;
24285 }
24286 return resultobj;
24287 fail:
24288 {
24289 if (temp3)
24290 delete arg3;
24291 }
24292 {
24293 if (temp7)
24294 delete arg7;
24295 }
24296 return NULL;
24297 }
24298
24299
24300 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24301 PyObject *resultobj;
24302 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24303 PyObject *arg2 = (PyObject *) 0 ;
24304 PyObject *arg3 = (PyObject *) 0 ;
24305 PyObject * obj0 = 0 ;
24306 PyObject * obj1 = 0 ;
24307 PyObject * obj2 = 0 ;
24308 char *kwnames[] = {
24309 (char *) "self",(char *) "self",(char *) "_class", NULL
24310 };
24311
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24315 arg2 = obj1;
24316 arg3 = obj2;
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 (arg1)->_setCallbackInfo(arg2,arg3);
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 Py_INCREF(Py_None); resultobj = Py_None;
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24332 PyObject *resultobj;
24333 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24334 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
24335 PyObject * obj0 = 0 ;
24336 PyObject * obj1 = 0 ;
24337 char *kwnames[] = {
24338 (char *) "self",(char *) "canvas", NULL
24339 };
24340
24341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
24342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas,
24345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 (arg1)->SetPreviewCanvas(arg2);
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 Py_INCREF(Py_None); resultobj = Py_None;
24354 return resultobj;
24355 fail:
24356 return NULL;
24357 }
24358
24359
24360 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj;
24362 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24363 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
24364 PyObject * obj0 = 0 ;
24365 PyObject * obj1 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self",(char *) "bar", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
24371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar,
24374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->SetControlBar(arg2);
24378
24379 wxPyEndAllowThreads(__tstate);
24380 if (PyErr_Occurred()) SWIG_fail;
24381 }
24382 Py_INCREF(Py_None); resultobj = Py_None;
24383 return resultobj;
24384 fail:
24385 return NULL;
24386 }
24387
24388
24389 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
24390 PyObject *resultobj;
24391 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
24398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 (arg1)->base_Initialize();
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 Py_INCREF(Py_None); resultobj = Py_None;
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
24415 PyObject *resultobj;
24416 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24417 PyObject * obj0 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24425 {
24426 PyThreadState* __tstate = wxPyBeginAllowThreads();
24427 (arg1)->base_CreateCanvas();
24428
24429 wxPyEndAllowThreads(__tstate);
24430 if (PyErr_Occurred()) SWIG_fail;
24431 }
24432 Py_INCREF(Py_None); resultobj = Py_None;
24433 return resultobj;
24434 fail:
24435 return NULL;
24436 }
24437
24438
24439 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24440 PyObject *resultobj;
24441 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
24442 PyObject * obj0 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
24448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame,
24449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24450 {
24451 PyThreadState* __tstate = wxPyBeginAllowThreads();
24452 (arg1)->base_CreateControlBar();
24453
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 Py_INCREF(Py_None); resultobj = Py_None;
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
24465 PyObject *obj;
24466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24467 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
24468 Py_INCREF(obj);
24469 return Py_BuildValue((char *)"");
24470 }
24471 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj;
24473 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24474 long arg2 ;
24475 wxWindow *arg3 = (wxWindow *) 0 ;
24476 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24477 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24478 wxSize const &arg5_defvalue = wxDefaultSize ;
24479 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24480 long arg6 = (long) 0 ;
24481 wxString const &arg7_defvalue = wxPyPanelNameStr ;
24482 wxString *arg7 = (wxString *) &arg7_defvalue ;
24483 wxPyPreviewControlBar *result;
24484 wxPoint temp4 ;
24485 wxSize temp5 ;
24486 bool temp7 = False ;
24487 PyObject * obj0 = 0 ;
24488 PyObject * obj1 = 0 ;
24489 PyObject * obj2 = 0 ;
24490 PyObject * obj3 = 0 ;
24491 PyObject * obj4 = 0 ;
24492 PyObject * obj5 = 0 ;
24493 PyObject * obj6 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview,
24500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24501 arg2 = (long) SWIG_AsLong(obj1);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24505 if (obj3) {
24506 {
24507 arg4 = &temp4;
24508 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24509 }
24510 }
24511 if (obj4) {
24512 {
24513 arg5 = &temp5;
24514 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24515 }
24516 }
24517 if (obj5) {
24518 arg6 = (long) SWIG_AsLong(obj5);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 if (obj6) {
24522 {
24523 arg7 = wxString_in_helper(obj6);
24524 if (arg7 == NULL) SWIG_fail;
24525 temp7 = True;
24526 }
24527 }
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
24531
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
24536 {
24537 if (temp7)
24538 delete arg7;
24539 }
24540 return resultobj;
24541 fail:
24542 {
24543 if (temp7)
24544 delete arg7;
24545 }
24546 return NULL;
24547 }
24548
24549
24550 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24551 PyObject *resultobj;
24552 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24553 PyObject *arg2 = (PyObject *) 0 ;
24554 PyObject *arg3 = (PyObject *) 0 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 PyObject * obj2 = 0 ;
24558 char *kwnames[] = {
24559 (char *) "self",(char *) "self",(char *) "_class", NULL
24560 };
24561
24562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24565 arg2 = obj1;
24566 arg3 = obj2;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->_setCallbackInfo(arg2,arg3);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24584 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "preview", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 (arg1)->SetPrintPreview(arg2);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 Py_INCREF(Py_None); resultobj = Py_None;
24604 return resultobj;
24605 fail:
24606 return NULL;
24607 }
24608
24609
24610 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj;
24612 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24613 PyObject * obj0 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->base_CreateButtons();
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 Py_INCREF(Py_None); resultobj = Py_None;
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
24638 int arg2 ;
24639 PyObject * obj0 = 0 ;
24640 PyObject * obj1 = 0 ;
24641 char *kwnames[] = {
24642 (char *) "self",(char *) "zoom", NULL
24643 };
24644
24645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
24646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar,
24647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24648 arg2 = (int) SWIG_AsInt(obj1);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 {
24651 PyThreadState* __tstate = wxPyBeginAllowThreads();
24652 (arg1)->base_SetZoomControl(arg2);
24653
24654 wxPyEndAllowThreads(__tstate);
24655 if (PyErr_Occurred()) SWIG_fail;
24656 }
24657 Py_INCREF(Py_None); resultobj = Py_None;
24658 return resultobj;
24659 fail:
24660 return NULL;
24661 }
24662
24663
24664 static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
24665 PyObject *obj;
24666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24667 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
24668 Py_INCREF(obj);
24669 return Py_BuildValue((char *)"");
24670 }
24671 static PyMethodDef SwigMethods[] = {
24672 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
24673 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
24674 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
24675 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
24676 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24677 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
24678 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24679 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24680 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24681 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
24682 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
24683 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24684 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
24685 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
24686 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
24687 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
24688 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
24689 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
24690 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
24691 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
24692 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
24693 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
24694 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
24695 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
24696 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24697 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
24698 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24699 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
24700 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
24701 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
24702 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
24703 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
24704 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
24705 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
24706 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
24707 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
24708 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
24709 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
24710 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
24711 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
24712 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
24713 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
24714 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
24715 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
24716 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
24717 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
24718 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
24719 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
24720 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
24721 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
24722 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
24723 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
24724 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
24725 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24726 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24727 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24728 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24729 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24730 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
24731 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
24732 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
24733 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
24734 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
24735 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
24736 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24737 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
24738 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
24739 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
24740 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
24741 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
24742 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
24743 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
24744 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
24745 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
24746 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
24747 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
24748 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24749 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
24750 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
24751 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
24752 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
24753 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
24754 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
24755 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
24756 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
24757 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
24758 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
24759 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
24760 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
24761 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
24762 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
24763 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
24764 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
24765 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
24766 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24767 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
24768 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
24769 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
24770 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
24771 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
24772 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
24773 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
24774 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
24775 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
24776 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
24777 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24778 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
24779 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
24780 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
24781 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
24782 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
24783 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
24784 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
24785 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
24786 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
24787 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
24788 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
24789 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
24790 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
24791 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS },
24792 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
24793 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
24794 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
24795 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
24796 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
24797 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24798 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24799 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24800 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
24801 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24802 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24803 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24804 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
24805 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
24806 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
24807 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
24808 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
24809 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
24810 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
24811 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
24812 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
24813 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
24814 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
24815 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
24816 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
24817 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
24818 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
24819 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
24820 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
24821 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
24822 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24823 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
24824 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24825 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
24826 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24827 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24828 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
24829 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
24830 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24831 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24832 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
24833 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
24834 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
24835 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
24836 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
24837 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
24838 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
24839 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
24840 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
24841 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
24842 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
24843 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
24844 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
24845 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
24846 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24847 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
24848 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24849 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24850 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
24851 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
24852 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24853 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24854 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24855 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24856 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
24857 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
24858 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
24859 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
24860 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
24861 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
24862 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
24863 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24864 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
24865 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
24866 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
24867 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
24868 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
24869 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24870 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
24871 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
24872 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24873 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
24874 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
24875 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
24876 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
24877 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
24878 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
24879 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
24880 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
24881 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
24882 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
24883 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24884 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
24885 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24886 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
24887 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
24888 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
24889 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
24890 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
24891 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
24892 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
24893 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24894 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
24895 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24896 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
24897 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
24898 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
24899 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
24900 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
24901 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
24902 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
24903 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
24904 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
24905 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24906 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
24907 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
24908 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
24909 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
24910 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
24911 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
24912 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
24913 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24914 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
24920 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
24935 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
24937 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
24945 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24946 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
24954 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
24955 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
24956 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
24965 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
24968 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24972 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
24975 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
24985 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
24989 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
24993 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
24995 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
24997 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
24999 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
25002 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
25006 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
25022 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
25025 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
25027 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
25031 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
25033 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
25034 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
25040 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
25049 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
25055 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
25062 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
25067 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
25074 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
25078 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
25104 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25115 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25120 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
25130 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25131 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS },
25156 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
25202 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
25234 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
25238 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS },
25239 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
25242 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
25272 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
25277 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
25288 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
25311 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
25313 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
25319 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
25329 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS },
25330 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
25353 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS },
25354 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
25363 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
25371 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
25377 { NULL, NULL }
25378 };
25379
25380
25381 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25382
25383 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
25384 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25385 }
25386 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25388 }
25389 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25390 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25391 }
25392 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25393 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25394 }
25395 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25396 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25397 }
25398 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25399 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25400 }
25401 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25402 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25403 }
25404 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
25405 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25406 }
25407 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25408 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25409 }
25410 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25411 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25412 }
25413 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
25414 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
25415 }
25416 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25417 return (void *)((wxEvent *) ((wxPyEvent *) x));
25418 }
25419 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25421 }
25422 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
25423 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
25424 }
25425 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25426 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25427 }
25428 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25430 }
25431 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25432 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25433 }
25434 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25435 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25436 }
25437 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25438 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25439 }
25440 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25441 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25442 }
25443 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25444 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25445 }
25446 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25447 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25448 }
25449 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25450 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25451 }
25452 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25453 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25454 }
25455 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25457 }
25458 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25459 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25460 }
25461 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25462 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25463 }
25464 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25465 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25466 }
25467 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25468 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25469 }
25470 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25471 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25472 }
25473 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25474 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25475 }
25476 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25478 }
25479 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
25480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
25481 }
25482 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
25483 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25484 }
25485 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25486 return (void *)((wxEvent *) ((wxShowEvent *) x));
25487 }
25488 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25489 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25490 }
25491 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25492 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25493 }
25494 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25496 }
25497 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25498 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25499 }
25500 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25501 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25502 }
25503 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25504 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25505 }
25506 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
25507 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
25508 }
25509 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
25510 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
25511 }
25512 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
25513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25514 }
25515 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
25516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25517 }
25518 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
25519 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25520 }
25521 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25523 }
25524 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25525 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25526 }
25527 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25528 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25529 }
25530 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
25531 return (void *)((wxEvtHandler *) ((wxMenu *) x));
25532 }
25533 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
25534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25535 }
25536 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
25537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25538 }
25539 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
25540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25541 }
25542 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
25543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25544 }
25545 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
25546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25547 }
25548 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
25549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25550 }
25551 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
25552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25553 }
25554 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
25555 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
25556 }
25557 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
25558 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
25559 }
25560 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
25561 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25562 }
25563 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
25564 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25565 }
25566 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
25567 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25568 }
25569 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
25570 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
25571 }
25572 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
25573 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25574 }
25575 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
25576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
25577 }
25578 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
25579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
25580 }
25581 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
25582 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
25583 }
25584 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
25585 return (void *)((wxEvtHandler *) ((wxWindow *) x));
25586 }
25587 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
25588 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25589 }
25590 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
25591 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
25592 }
25593 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
25594 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
25595 }
25596 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
25597 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25598 }
25599 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
25600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
25601 }
25602 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
25603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25604 }
25605 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
25606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25607 }
25608 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
25609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25610 }
25611 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
25612 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
25613 }
25614 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
25615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
25616 }
25617 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
25618 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
25619 }
25620 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
25621 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25622 }
25623 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
25624 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25625 }
25626 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
25627 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25628 }
25629 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
25630 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
25631 }
25632 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
25633 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
25634 }
25635 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
25636 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
25637 }
25638 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
25639 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25640 }
25641 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
25642 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
25643 }
25644 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
25645 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
25646 }
25647 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
25648 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
25649 }
25650 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
25651 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
25652 }
25653 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
25654 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
25655 }
25656 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
25657 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
25658 }
25659 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
25660 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25661 }
25662 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
25663 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
25664 }
25665 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
25666 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
25667 }
25668 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
25669 return (void *)((wxFrame *) ((wxProgressDialog *) x));
25670 }
25671 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
25672 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
25673 }
25674 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
25675 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25676 }
25677 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
25678 return (void *)((wxFrame *) ((wxMiniFrame *) x));
25679 }
25680 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
25681 return (void *)((wxFrame *) ((wxSplashScreen *) x));
25682 }
25683 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
25684 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
25685 }
25686 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
25687 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
25688 }
25689 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
25690 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
25691 }
25692 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
25693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
25694 }
25695 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
25696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
25697 }
25698 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
25699 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
25700 }
25701 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
25702 return (void *)((wxObject *) ((wxSizerItem *) x));
25703 }
25704 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
25705 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
25706 }
25707 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
25708 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
25709 }
25710 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
25711 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
25712 }
25713 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
25714 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
25715 }
25716 static void *_p_wxSizerTo_p_wxObject(void *x) {
25717 return (void *)((wxObject *) ((wxSizer *) x));
25718 }
25719 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
25720 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25721 }
25722 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
25723 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
25724 }
25725 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
25726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
25727 }
25728 static void *_p_wxEventTo_p_wxObject(void *x) {
25729 return (void *)((wxObject *) ((wxEvent *) x));
25730 }
25731 static void *_p_wxFontDataTo_p_wxObject(void *x) {
25732 return (void *)((wxObject *) ((wxFontData *) x));
25733 }
25734 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
25735 return (void *)((wxObject *) ((wxPrintData *) x));
25736 }
25737 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
25738 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
25739 }
25740 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
25741 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
25742 }
25743 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
25744 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
25745 }
25746 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
25747 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
25748 }
25749 static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
25750 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
25751 }
25752 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
25753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
25754 }
25755 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
25756 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
25757 }
25758 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
25759 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
25760 }
25761 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
25762 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
25763 }
25764 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
25765 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
25766 }
25767 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
25768 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25769 }
25770 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
25771 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
25772 }
25773 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
25774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
25775 }
25776 static void *_p_wxControlTo_p_wxObject(void *x) {
25777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
25778 }
25779 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
25780 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
25781 }
25782 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
25783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
25784 }
25785 static void *_p_wxFSFileTo_p_wxObject(void *x) {
25786 return (void *)((wxObject *) ((wxFSFile *) x));
25787 }
25788 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
25789 return (void *)((wxObject *) ((wxFindReplaceData *) x));
25790 }
25791 static void *_p_wxPySizerTo_p_wxObject(void *x) {
25792 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
25793 }
25794 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
25795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
25796 }
25797 static void *_p_wxColourDataTo_p_wxObject(void *x) {
25798 return (void *)((wxObject *) ((wxColourData *) x));
25799 }
25800 static void *_p_wxPyEventTo_p_wxObject(void *x) {
25801 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
25802 }
25803 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
25804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
25805 }
25806 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
25807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
25808 }
25809 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
25810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
25811 }
25812 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
25813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
25814 }
25815 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
25816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
25817 }
25818 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
25819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
25820 }
25821 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
25822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
25823 }
25824 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
25825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
25826 }
25827 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
25828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
25829 }
25830 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
25831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
25832 }
25833 static void *_p_wxShowEventTo_p_wxObject(void *x) {
25834 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
25835 }
25836 static void *_p_wxPrinterTo_p_wxObject(void *x) {
25837 return (void *)((wxObject *) ((wxPrinter *) x));
25838 }
25839 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
25840 return (void *)((wxObject *) ((wxMenuItem *) x));
25841 }
25842 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
25843 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
25844 }
25845 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
25846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
25847 }
25848 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
25849 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
25850 }
25851 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
25852 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
25853 }
25854 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
25855 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
25856 }
25857 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
25858 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
25859 }
25860 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
25861 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
25862 }
25863 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
25864 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
25865 }
25866 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
25867 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
25868 }
25869 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
25870 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
25871 }
25872 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
25873 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
25874 }
25875 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
25876 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
25877 }
25878 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
25879 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
25880 }
25881 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
25882 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
25883 }
25884 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
25885 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
25886 }
25887 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
25888 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
25889 }
25890 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
25891 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
25892 }
25893 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
25894 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
25895 }
25896 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
25897 return (void *)((wxObject *) ((wxImageHandler *) x));
25898 }
25899 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
25900 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
25901 }
25902 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
25903 return (void *)((wxObject *) ((wxEvtHandler *) x));
25904 }
25905 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
25906 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
25907 }
25908 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
25909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
25910 }
25911 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
25912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
25913 }
25914 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
25915 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
25916 }
25917 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
25918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
25919 }
25920 static void *_p_wxImageTo_p_wxObject(void *x) {
25921 return (void *)((wxObject *) ((wxImage *) x));
25922 }
25923 static void *_p_wxFrameTo_p_wxObject(void *x) {
25924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
25925 }
25926 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
25927 return (void *)((wxObject *) ((wxPyPrintout *) x));
25928 }
25929 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
25930 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
25931 }
25932 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
25933 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
25934 }
25935 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
25936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
25937 }
25938 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
25939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
25940 }
25941 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
25942 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25943 }
25944 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
25945 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
25946 }
25947 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
25948 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
25949 }
25950 static void *_p_wxWindowTo_p_wxObject(void *x) {
25951 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
25952 }
25953 static void *_p_wxMenuTo_p_wxObject(void *x) {
25954 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
25955 }
25956 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
25957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
25958 }
25959 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
25960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
25961 }
25962 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
25963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
25964 }
25965 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
25966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
25967 }
25968 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
25969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
25970 }
25971 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
25972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
25973 }
25974 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
25975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
25976 }
25977 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
25978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
25979 }
25980 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
25981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
25982 }
25983 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
25984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
25985 }
25986 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
25987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
25988 }
25989 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
25990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
25991 }
25992 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
25993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
25994 }
25995 static void *_p_wxSashEventTo_p_wxObject(void *x) {
25996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
25997 }
25998 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
25999 return (void *)((wxObject *) ((wxPrintPreview *) x));
26000 }
26001 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
26002 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
26003 }
26004 static void *_p_wxPanelTo_p_wxObject(void *x) {
26005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
26006 }
26007 static void *_p_wxDialogTo_p_wxObject(void *x) {
26008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
26009 }
26010 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
26011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26012 }
26013 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
26014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26015 }
26016 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
26017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26018 }
26019 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
26020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26021 }
26022 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
26023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26024 }
26025 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26026 return (void *)((wxObject *) ((wxFileSystem *) x));
26027 }
26028 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26030 }
26031 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26032 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26033 }
26034 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26035 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26036 }
26037 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26038 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26039 }
26040 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26041 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26042 }
26043 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26044 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26045 }
26046 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26047 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26048 }
26049 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26050 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26051 }
26052 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
26053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
26054 }
26055 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
26056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26057 }
26058 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26059 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26060 }
26061 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26062 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26063 }
26064 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26066 }
26067 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26069 }
26070 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
26071 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
26072 }
26073 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
26074 return (void *)((wxObject *) ((wxPrintDialogData *) x));
26075 }
26076 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26077 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26078 }
26079 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26080 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26081 }
26082 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
26083 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26084 }
26085 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
26086 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
26087 }
26088 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
26089 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26090 }
26091 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
26092 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26093 }
26094 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
26095 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26096 }
26097 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
26098 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
26099 }
26100 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
26101 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
26102 }
26103 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
26104 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
26105 }
26106 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
26107 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
26108 }
26109 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
26110 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
26111 }
26112 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
26113 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
26114 }
26115 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
26116 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
26117 }
26118 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
26119 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
26120 }
26121 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
26122 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
26123 }
26124 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
26125 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
26126 }
26127 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
26128 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
26129 }
26130 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
26131 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
26132 }
26133 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
26134 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
26135 }
26136 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
26137 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
26138 }
26139 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
26140 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
26141 }
26142 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
26143 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
26144 }
26145 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26146 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
26147 }
26148 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
26149 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
26150 }
26151 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
26152 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
26153 }
26154 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26155 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
26156 }
26157 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
26158 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26159 }
26160 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
26161 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
26162 }
26163 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
26164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
26165 }
26166 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
26167 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
26168 }
26169 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26170 return (void *)((wxWindow *) ((wxMenuBar *) x));
26171 }
26172 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
26173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
26174 }
26175 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
26176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
26177 }
26178 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
26179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
26180 }
26181 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
26182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
26183 }
26184 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
26185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
26186 }
26187 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
26188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
26189 }
26190 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
26191 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
26192 }
26193 static void *_p_wxPanelTo_p_wxWindow(void *x) {
26194 return (void *)((wxWindow *) ((wxPanel *) x));
26195 }
26196 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
26197 return (void *)((wxWindow *) ((wxStatusBar *) x));
26198 }
26199 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
26200 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
26201 }
26202 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
26203 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
26204 }
26205 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
26206 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
26207 }
26208 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
26209 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
26210 }
26211 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
26212 return (void *)((wxWindow *) ((wxPopupWindow *) x));
26213 }
26214 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
26215 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
26216 }
26217 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
26218 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
26219 }
26220 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
26221 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
26222 }
26223 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
26224 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
26225 }
26226 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
26227 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
26228 }
26229 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
26230 return (void *)((wxWindow *) ((wxSashWindow *) x));
26231 }
26232 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
26233 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26234 }
26235 static void *_p_wxControlTo_p_wxWindow(void *x) {
26236 return (void *)((wxWindow *) ((wxControl *) x));
26237 }
26238 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
26239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
26240 }
26241 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
26242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
26243 }
26244 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
26245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
26246 }
26247 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26248 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26249 }
26250 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
26251 return (void *)((wxWindow *) ((wxPyWindow *) x));
26252 }
26253 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
26254 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
26255 }
26256 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
26257 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26258 }
26259 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
26260 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26261 }
26262 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
26263 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
26264 }
26265 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
26266 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26267 }
26268 static void *_p_wxFrameTo_p_wxWindow(void *x) {
26269 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
26270 }
26271 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
26272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
26273 }
26274 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
26275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
26276 }
26277 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
26278 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
26279 }
26280 static void *_p_wxDialogTo_p_wxWindow(void *x) {
26281 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
26282 }
26283 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
26284 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
26285 }
26286 static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
26287 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
26288 }
26289 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
26290 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
26291 }
26292 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
26293 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26294 }
26295 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
26296 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
26297 }
26298 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
26299 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
26300 }
26301 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
26302 return (void *)((wxDialog *) ((wxColourDialog *) x));
26303 }
26304 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
26305 return (void *)((wxDialog *) ((wxDirDialog *) x));
26306 }
26307 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
26308 return (void *)((wxDialog *) ((wxFontDialog *) x));
26309 }
26310 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
26311 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
26312 }
26313 static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
26314 return (void *)((wxDialog *) ((wxPrintDialog *) x));
26315 }
26316 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
26317 return (void *)((wxDialog *) ((wxFileDialog *) x));
26318 }
26319 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
26320 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
26321 }
26322 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
26323 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
26324 }
26325 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
26326 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
26327 }
26328 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
26329 return (void *)((wxDialog *) ((wxMessageDialog *) x));
26330 }
26331 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
26332 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
26333 }
26334 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
26335 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
26336 }
26337 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
26338 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
26339 }
26340 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
26341 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
26342 }
26343 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
26344 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
26345 }
26346 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
26347 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
26348 }
26349 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
26350 return (void *)((wxPanel *) ((wxPyPanel *) x));
26351 }
26352 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
26353 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
26354 }
26355 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
26356 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
26357 }
26358 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
26359 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26360 }
26361 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26362 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26363 }
26364 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26365 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26366 }
26367 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26368 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26369 }
26370 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26371 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26372 }
26373 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
26374 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
26375 }
26376 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26377 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26378 }
26379 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26380 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26381 }
26382 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
26383 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
26384 }
26385 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26386 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26387 }
26388 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26389 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26390 }
26391 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
26392 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
26393 }
26394 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
26395 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
26396 }
26397 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}};
26398 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}};
26399 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}};
26400 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}};
26401 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}};
26402 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}};
26403 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}};
26404 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}};
26405 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}};
26406 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}};
26407 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}};
26408 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}};
26409 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}};
26410 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}};
26411 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}};
26412 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}};
26413 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}};
26414 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}};
26415 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}};
26416 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}};
26417 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}};
26418 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}};
26419 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}};
26420 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}};
26421 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}};
26422 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}};
26423 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}};
26424 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}};
26425 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}};
26426 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}};
26427 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}};
26428 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}};
26429 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}};
26430 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}};
26431 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}};
26432 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}};
26433 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}};
26434 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}};
26435 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}};
26436 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}};
26437 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}};
26438 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}};
26439 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}};
26440 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}};
26441 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}};
26442 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}};
26443 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}};
26444 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}};
26445 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}};
26446 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}};
26447 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}};
26448 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}};
26449 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}};
26450 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}};
26451 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}};
26452 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}};
26453 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}};
26454 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}};
26455 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}};
26456 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}};
26457 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}};
26458 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}};
26459 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}};
26460 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}};
26461 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}};
26462 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}};
26463 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}};
26464 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}};
26465 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}};
26466 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}};
26467 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}};
26468 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}};
26469 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}};
26470 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}};
26471 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}};
26472 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}};
26473 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}};
26474 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}};
26475 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}};
26476 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}};
26477 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}};
26478 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}};
26479 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}};
26480 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}};
26481 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}};
26482 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}};
26483 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}};
26484
26485 static swig_type_info *swig_types_initial[] = {
26486 _swigt__p_wxQueryLayoutInfoEvent,
26487 _swigt__p_wxPreviewFrame,
26488 _swigt__p_wxPyPreviewFrame,
26489 _swigt__p_wxPyPanel,
26490 _swigt__p_wxMenu,
26491 _swigt__p_wxFontData,
26492 _swigt__p_wxEvent,
26493 _swigt__p_wxPrintData,
26494 _swigt__p_wxTaskBarIcon,
26495 _swigt__p_wxIconBundle,
26496 _swigt__p_wxLayoutAlgorithm,
26497 _swigt__p_wxFindDialogEvent,
26498 _swigt__p_wxPreviewCanvas,
26499 _swigt__p_wxFont,
26500 _swigt__p_wxSplitterEvent,
26501 _swigt__p_wxRegion,
26502 _swigt__p_wxFindReplaceData,
26503 _swigt__p_int,
26504 _swigt__p_wxSize,
26505 _swigt__p_wxDC,
26506 _swigt__p_wxIcon,
26507 _swigt__p_wxVisualAttributes,
26508 _swigt__p_wxMDIChildFrame,
26509 _swigt__p_wxColourData,
26510 _swigt__p_wxNotifyEvent,
26511 _swigt__p_wxPyWindow,
26512 _swigt__p_wxSplashScreen,
26513 _swigt__p_wxFindReplaceDialog,
26514 _swigt__p_wxProgressDialog,
26515 _swigt__p_wxMessageDialog,
26516 _swigt__p_wxTextEntryDialog,
26517 _swigt__p_wxSingleChoiceDialog,
26518 _swigt__p_wxMultiChoiceDialog,
26519 _swigt__p_wxFileDialog,
26520 _swigt__p_wxPrinter,
26521 _swigt__p_wxArrayInt,
26522 _swigt__p_wxEvtHandler,
26523 _swigt__p_wxCalculateLayoutEvent,
26524 _swigt__p_wxPyHtmlListBox,
26525 _swigt__p_wxPyVListBox,
26526 _swigt__p_wxRect,
26527 _swigt__p_char,
26528 _swigt__p_wxMiniFrame,
26529 _swigt__p_wxFrame,
26530 _swigt__p_wxPyPrintout,
26531 _swigt__p_wxTaskBarIconEvent,
26532 _swigt__p_wxScrollWinEvent,
26533 _swigt__p_wxStatusBar,
26534 _swigt__p_wxMDIParentFrame,
26535 _swigt__p_wxPoint,
26536 _swigt__p_wxObject,
26537 _swigt__p_wxOutputStream,
26538 _swigt__p_unsigned_long,
26539 _swigt__p_wxPyScrolledWindow,
26540 _swigt__p_wxMDIClientWindow,
26541 _swigt__p_wxTipWindow,
26542 _swigt__p_wxSashLayoutWindow,
26543 _swigt__p_wxSplitterWindow,
26544 _swigt__p_wxPyVScrolledWindow,
26545 _swigt__p_wxPyPopupTransientWindow,
26546 _swigt__p_wxPopupWindow,
26547 _swigt__p_wxSashWindow,
26548 _swigt__p_wxTopLevelWindow,
26549 _swigt__p_wxWindow,
26550 _swigt__p_wxScrolledWindow,
26551 _swigt__p_wxSplashScreenWindow,
26552 _swigt__p_wxMenuBar,
26553 _swigt__p_wxPrintPreview,
26554 _swigt__p_wxSashEvent,
26555 _swigt__p_wxString,
26556 _swigt__p_wxPyPrintPreview,
26557 _swigt__p_wxFontDialog,
26558 _swigt__p_wxDirDialog,
26559 _swigt__p_wxColourDialog,
26560 _swigt__p_wxDialog,
26561 _swigt__p_wxPanel,
26562 _swigt__p_wxPageSetupDialog,
26563 _swigt__p_wxPrintDialog,
26564 _swigt__p_wxFileSystem,
26565 _swigt__p_wxBitmap,
26566 _swigt__p_wxCommandEvent,
26567 _swigt__p_wxPreviewControlBar,
26568 _swigt__p_wxPyPreviewControlBar,
26569 _swigt__p_wxColour,
26570 _swigt__p_wxToolBar,
26571 _swigt__p_wxPageSetupDialogData,
26572 _swigt__p_wxPrintDialogData,
26573 0
26574 };
26575
26576
26577 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26578
26579 static swig_const_info swig_const_table[] = {
26580 {0}};
26581
26582 #ifdef __cplusplus
26583 }
26584 #endif
26585
26586 #ifdef __cplusplus
26587 extern "C"
26588 #endif
26589 SWIGEXPORT(void) SWIG_init(void) {
26590 static PyObject *SWIG_globals = 0;
26591 static int typeinit = 0;
26592 PyObject *m, *d;
26593 int i;
26594 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
26595 m = Py_InitModule((char *) SWIG_name, SwigMethods);
26596 d = PyModule_GetDict(m);
26597
26598 if (!typeinit) {
26599 for (i = 0; swig_types_initial[i]; i++) {
26600 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
26601 }
26602 typeinit = 1;
26603 }
26604 SWIG_InstallConstants(d,swig_const_table);
26605
26606 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
26607 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
26608 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
26609 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
26610 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
26611 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
26612 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
26613 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
26614 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
26615 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
26616 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
26617 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
26618 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
26619 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
26620 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
26621 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
26622 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
26623 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
26624 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
26625 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
26626 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
26627 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
26628 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
26629 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
26630 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
26631 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
26632 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
26633 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
26634 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
26635 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
26636 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR));
26637 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
26638 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
26639 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER));
26640 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION));
26641 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL));
26642 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG));
26643 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
26644 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
26645 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE));
26646 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT));
26647 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT));
26648 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
26649 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER));
26650 PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH));
26651 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT));
26652 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE));
26653 PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH));
26654 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER));
26655 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME));
26656 PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER));
26657 PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D));
26658 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL));
26659 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL));
26660 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE));
26661 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING));
26662 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
26663 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
26664 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
26665 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
26666 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
26667 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
26668 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
26669 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE));
26670 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING));
26671 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
26672 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER));
26673 PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER));
26674 PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH));
26675 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER));
26676 PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D));
26677 PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP));
26678 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT));
26679 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM));
26680 PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT));
26681 PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE));
26682 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK));
26683 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
26684 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
26685 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL));
26686 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL));
26687 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE));
26688 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP));
26689 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT));
26690 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT));
26691 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM));
26692 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y));
26693 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X));
26694 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH));
26695 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY));
26696 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
26697 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
26698 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
26699
26700 // Map renamed classes back to their common name for OOR
26701 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26702 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26703 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26704
26705 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
26706 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
26707 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
26708 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
26709 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
26710 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
26711 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
26712 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
26713 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
26714 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
26715 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
26716 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
26717 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
26718 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE));
26719 PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN));
26720 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD));
26721 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE));
26722 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG));
26723 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN));
26724 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE));
26725 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD));
26726 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
26727 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
26728 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
26729 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
26730 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
26731 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001));
26732 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001));
26733 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002));
26734 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003));
26735 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004));
26736 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005));
26737 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100));
26738 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600));
26739 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
26740 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
26741 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE));
26742 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW));
26743 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE));
26744 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER));
26745 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM));
26746 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR));
26747 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED));
26748 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR));
26749 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT));
26750 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS));
26751 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT));
26752 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM));
26753 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST));
26754 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST));
26755 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO));
26756 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT));
26757 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE));
26758 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT));
26759 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS));
26760 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT));
26761 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM));
26762 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST));
26763 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST));
26764 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO));
26765
26766 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
26767
26768 }
26769